-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some notes for UTM/QEMU #37
Comments
All sounds great to me. Thanks @vancluever! |
Adding a note on the |
So I think this is the core of the issue with UTM: utmapp/UTM#4285. It seems like the bottleneck here is ANGLE limiting the OpenGL implementations actually available to the guest. As a result, the available versions of OpenGL given to a guest are rather old. There likely is no way around this on QEMU until this is corrected. Incidentally, using the native Apple hypervisor framework on UTM works just fine using the same NixOS flake. 🙂 (I've built myself a minimal flake in the meantime to work through some of these issues). |
Looks like this is due to SW rendering on the Apple virtualization side - so yeah, likely software is our only hope for now. |
Hello!! Any updates on this? |
@tobiabocchi I've moved on to my own config and VMware Fusion, but from what I understand, the situation with OpenGL and QEMU is still not much better. The aforementioned UTM issue still seems to be open, so that is probably telling of the current status. That said UTM works just fine on Apple Silicon in general and software graphics, and the same goes for NixOS. |
@vancluever @mitchellh This is off-topic. I don't get the 3d acceleration working on my VMware Fusion 13.5.1 w/ NixOS in my web browsers e.g. Firefox or Chromium. With NixOS 23.11 or unstable,
But the benchmarking with glmark2 shows good performance. How do you manage to get it work? |
@fspillner yeah interesting, honestly I never noticed that, but I have that as well. Are you on aarch64? Unfortunately I don't have an Intel Mac to test on to eliminate. I don't think there's an easy answer - there doesn't seem to be many issues for it in nixpkgs and the ones that are open are inconclusive, see NixOS/nixpkgs#239598 - not exactly related, but yeah. I guess like you, performance has been good so I haven't needed to mess with it too much, heh. FWIW, my daily NixOS driver these days is bare metal so that probably helps as well. |
I'm seeing the recommendation to use https://github.com/guibou/nixGL, but that seems to be for non-nix host targets. estoy practicando ingles jajaj, nose mucho pero quiero ayudar |
hola amigos quiero hacer amigos nuevos, como estan, estoy pe aprendiendo a pe jaja o sea a programar 👯♂️ |
Been working with trying to get bootstrapped off of this setup, thanks @mitchellh!
Couple of things I've noticed as I've been messing with this on UTM:
spice-vdagent
(notvdagentd
) running in the user's X session, e.g. launched out of.xprofile
.LIBGL_ALWAYS_SOFTWARE
may be unnecessary now, unless I haven't stumbled on issues yet. 😉 I was building from scratch and didn't include this option, and things seemed to be working okay.I'll add a PR once I get more settled in with my config!
I might also take a stab at adding some automation for dynamic resolution too so that I don't necessarily need to run
xrandr-auto
super quick after I resize. I noticed the note about udev rules, I'll see if I can find a way to get this tidy so that it's localized to the UTM setup!The text was updated successfully, but these errors were encountered: