2026年8月6日 · 星期四
● 每日更新·改变自己
Eurekar·TOP
捕捉真实世界的英语信号
25信息来源
10,461精选文章
168单词卡片
18照片图片
全部7,076口语2,068免费780帖子3,025新闻1,599hackernews790tmz606techmeme526slashdot376随笔323外刊291arstechnica287techcrunch285Cards168simonwillison100动态69bloomberg59sethgodin49图片18youtube7

I want to run Linux under Windows, with DE (probably XFCE) and 3D acceleration.

我想在Windows下跑Linux,带桌面环境(可能是XFCE)和3D加速。

4chan /g/ · Anonymous · 2026-08-02 11:59 · 20 帖 · 原文 ↗

← 上一篇返回列表下一篇 →
#1 I want to run Linux under Windows, with DE (probably XFCE) and 3D acceleration. / 我想在Windows下跑Linux,带桌面环境(可能是XFCE)和3D加速。
Anonymous · 2026-08-02 11:59

I want to run Linux under Windows, with DE (probably XFCE) and 3D acceleration.

我想在Windows下跑Linux,带桌面环境(可能是XFCE)和3D加速。

>why

Because I can.

因为我行。

>m-muh dual boot

>我—我—双启动

No.

So...

Do you suggest WSL (running Debian 13) or QEMU-KVM (will also run Debian 13) running under WSL?

你建议用WSL(跑Debian 13)还是QEMU-KVM(也跑Debian 13)跑在WSL下面?

I'm blocking outgoing and incoming svchost from firewall, so telemetry shouldn't be a factor. I'm also blocking WSL automounting all my drives, so it SHOULD be sandboxed enough...

我已经从防火墙屏蔽了svchost的进出流量,所以遥测应该不是问题。我也屏蔽了WSL自动挂载我所有的驱动器,所以它应该已经足够沙盒化了……

Should I just eat the small performance cost of going VM inside VM inside VM?

我是不是就该忍受一下在虚拟机里套虚拟机再套虚拟机的小小性能损失?

图片: https://i.4cdn.org/g/1785671950387761.png

#2 No.109436194
Anonymous · 2026-08-02 12:01

>>109436175

>small performance cost of going VM inside VM inside VM

>在虚拟机里套虚拟机再套虚拟机的小小性能损失

That's not really small. A single virtualization layer is negligible. But two layers is where the problem begins.

那其实不小了。单独一层虚拟化可以忽略不计,但两层才是问题开始的地方。

Why do you want to do this even?

你为啥要这么干啊?

#3 No.109436205
Anonymous · 2026-08-02 12:03

>>109436175

Just get rid of Windows altogether, there has never been a better time. WSL uses a VM anyway.

干脆彻底把Windows删了得了,现在是最好的时机。WSL反正也是用虚拟机跑。

#4 No.109436211
Anonymous · 2026-08-02 12:04

>>109436175

Just use VMware with 3d accel. Also, be careful, your keystrokes can still be logged from your host and make sure to have recall disabled, because your screen scan still be screenshotted. I recommend you to use a separate GPU and passthrough a separate keyboard, that way M*crosoft can't spy on you.

直接用VMware加3D加速吧。另外小心点,你的按键记录还是能被宿主机抓到,记得把Recall关掉,因为屏幕还是可能被截屏。我建议你用独立显卡,再直通一个单独的键盘,这样M*crosoft就偷窥不到你了。

#5 No.109436237
Anonymous · 2026-08-02 12:08

>>109436211

You know VMWare's 3D acceleration is garbage right?

你知道VMware的3D加速是垃圾吧?

#6 No.109436242
Anonymous · 2026-08-02 12:08

>>109436194

I want to try making a linux native game using GTK and OpenGL. Just for fun.

我想试试用GTK和OpenGL做个Linux原生游戏,纯属好玩。

>>109436205

I'd very much rather not, that's why I'm asking this to begin with, come on anon at least try to read the room a little.

我真不想那么干,所以才来问这个的,哥们儿你多少也看看语境好吗。

>>109436211

I get better performance with WSL than with either VMware or Virtualbox.

我用WSL跑性能比VMware或Virtualbox都好。

>keyboard logging

>按键记录

What the fuck, they do that too now? I don't even have recall, I'm on leeteeseecee.

卧槽,他们现在连这都干了?我根本没开Recall,我用的还是LTSC。

#7 No.109436259
Anonymous · 2026-08-02 12:10

>>109436242

>I get better performance with WSL than with either VMware or Virtualbox.

>我用WSL跑性能比VMware或Virtualbox都好。

Well duh of course.

那当然了啊,废话。

>I want to try making a linux native game using GTK and OpenGL. Just for fun.

>我想试试用GTK和OpenGL做个Linux原生游戏,纯属好玩。

You know WSL2g exists and can open GUI applications, right? Why do you need a second VM?

你知道WSL2g存在,能开GUI应用吧?干嘛还要第二个虚拟机?

#8 No.109436266
Anonymous · 2026-08-02 12:11

>>109436237

>You know VMWare's 3D acceleration is garbage right?

>你知道VMware的3D加速是垃圾吧?

At least it's there, I use 3D accel on qemu/kvm, it's okay-ish. Better than nothing.

至少它有,我在qemu/kvm上用3D加速,马马虎虎吧。总比没有强。

>>109436242

>What the fuck, they do that too now?

>卧槽,他们现在连这都干了?

Yeah, but "only" for diagnostic purposes and they have a placebo toggle in the privacy settings, to turn it off.

是的,但“只是”用于诊断目的,他们在隐私设置里还有个安慰剂开关,让你能关掉。

图片: https://i.4cdn.org/g/1785672714533612.png

#9 No.109436273
Anonymous · 2026-08-02 12:13

>>109436266

>Era of legal keyloggers.

>合法键盘记录器的时代。

#10 No.109436279
Anonymous · 2026-08-02 12:13

>>109436273

I mean google has this for a while now :/ so we are cooked... think thrice before you type slurs

我是说谷歌这玩意儿已经有一阵子了 :/ 所以我们完了……打字骂人前先想三遍。

#11 No.109436391
Anonymous · 2026-08-02 12:30

>>109436259

>You know WSL2g exists and can open GUI applications, right? Why do you need a second VM?

>你知道WSL2g存在,能开GUI应用吧?干嘛还要第二个虚拟机?

Because KVM virtualizes hardware better than WSL2 ever could.

因为KVM硬件虚拟化比WSL2强多了,WSL2永远比不了。

>>109436175

Do this: https://www.youtube.com/watch?v=dPg8P5DYZNg

#12 No.109436405
Anonymous · 2026-08-02 12:32

>>109436391

>Because KVM virtualizes hardware better than WSL2 ever could.

>因为KVM硬件虚拟化比WSL2强多了,WSL2永远比不了。

Why do you need to virtualize hardware? It's also emulation, not virtualization.

你需要虚拟化硬件干嘛?那也还是模拟,不是虚拟化。

#13 No.109438151
Anonymous · 2026-08-02 16:50

>>109436175

juse use xen or kvm.

就用xen或kvm吧。

if you're too retarded for that, then use qemu on windows.

如果你蠢到不会弄那些,那就用Windows上的qemu。

in any cases, you'll get actual performances, because they killed wsl 1 which was way faster but microsoft can't implement a sandbox on their own os.

反正不管怎样,你才能拿到真正性能,因为他们把WSL1砍掉了,那个快多了,但微软在自己系统上连个沙盒都实现不了。

#14 No.109438169
Anonymous · 2026-08-02 16:52

>>109436242

While you can use GTK and opengl, you'll end up fighting GTK because it's not meant for ui that refreshes many times per seconds.

虽然你能用GTK和OpenGL,但你会跟GTK打架,因为它本来就不是为每秒刷新多次的UI设计的。

If you want to use opengl, then why not use literally any ui library made for games, like nuklear or imgui?

如果你要用OpenGL,那为啥不用任何给游戏用的UI库,比如nuklear或imgui?

#15 No.109438187
Anonymous · 2026-08-02 16:54

>>109436391

>wsl runs a linux vm

>wsl跑一个linux虚拟机

>so you can install the linux version of qemu (instead of the windows version for some reason)

>所以你能装Linux版qemu(而不是Windows版,不知道为什么)

>so you can run a linux distro inside it

>所以你能在里面跑个Linux发行版

what's even the point? you'll likely not get any acceleration inside the qemu vm because it first has to go to wsl.

这有啥意义?你在 QEMU 虚拟机里大概率拿不到硬件加速,因为它首先得通过 WSL 走一层。

#16 No.109438191
Anonymous · 2026-08-02 16:55

>>109438187

>wrong usage of the term acceleration in provided context.

>在给出的语境里,“加速”这个词用错了。

#17 No.109438317
Anonymous · 2026-08-02 17:10

>>109436175

You should use WSL2 since it has proper 3D acceleration with OpenGL AND Vulkan thanks to Vulkan-on-D3D12 Mesa driver. With QEMU, Virtualbox, VMWare you will only get bad OpenGL performance.

你应该用 WSL2,因为它有完整的 3D 加速,支持 OpenGL 和 Vulkan,靠的是 Vulkan-on-D3D12 的 Mesa 驱动。用 QEMU、Virtualbox、VMWare 的话,你只会得到很烂的 OpenGL 性能。

>QEMU-KVM (will also run Debian 13) running under WSL?

>在 WSL 下跑 QEMU-KVM(也会跑 Debian 13)?

That's running VM in 2 layers which is retarded and you still won't get proper 3D hardware acceleration.

那就是两层虚拟化叠加,纯属智障操作,而且你还是拿不到真正的 3D 硬件加速。

#18 No.109438336
Anonymous · 2026-08-02 17:12

>>109436391

>Because KVM virtualizes hardware better than WSL2 ever could.

>因为KVM硬件虚拟化比WSL2强多了,WSL2永远比不了。

That's given you're running Linux on bare metal, and there's no guarantee that WSL2 provides APIs enough to run QEMU's KVM acceleration, and you won't benefit with it at all since it still will be managed by Hyper-V

这还得是你在裸机上跑 Linux 才行,而且没人保证 WSL2 提供的 API 足够支持 QEMU 的 KVM 加速,就算支持你也白搭,因为最终还是归 Hyper-V 管。

#19 No.109438695
Anonymous · 2026-08-02 18:06

Why has no one suggested Cygwin? Cygwin is basically reverse wine, you can run native linux applications on windows using Cygwin

怎么没人提 Cygwin?Cygwin 基本就是反向 Wine,你可以用它在 Windows 上跑原生 Linux 应用。

#20 No.109438792
Anonymous · 2026-08-02 18:20

>>109436175

Ive tried literally everything (including xephyr running in wslg) and in the end vmware worked the best, if youre going for a graphical linux environment running on windows. everything else is just not worth it (vmware player is free now btw, even commercially)

我啥都试过了(包括在 WSLg 里跑 Xephyr),最后发现 VMware 最好用,如果你想要在 Windows 上跑图形化 Linux 环境的话。其他方案都不值得折腾(顺便说 VMware Player 现在免费了,连商业用途都行)。

← 上一篇返回列表下一篇 →

(如果你觉得这篇文章有启发,可以点击这里付费