Repository navigation
xorg: init xf86-video-vboxvideo at 1.0.0 - #50280
Conversation
... and switch to it by default in virtualbox guests
|
Thanks for doing this!!! The only thing i would want to make sure is that it’s kept reasonably up to date from version to version. |
|
So far they've only released a single version. It gets compiled against our default xorg-server, just like all our standard X drivers. |
|
|
||
| # Map video driver names to driver packages. FIXME: move into card-specific modules. | ||
| knownVideoDrivers = { | ||
| virtualbox = { modules = [ kernelPackages.virtualboxGuestAdditions ]; driverName = "vboxvideo"; }; |
There was a problem hiding this comment.
@vcunat I think we should leave in virtualbox guest additions for other things. I believe it provides more than just the driver. If it's listed last, I think it will get lower precedence in the case of conflicts.
There was a problem hiding this comment.
Actually, didn't realize this only effects xserver, so disregard the previous comment.
|
Tried it on Windows 10 amd64 virtualbox host, log: https://gist.github.com/jhillyerd/6ab6d20ea440c4da2865bbb34db24cc8 The driver does load now, but still falls back to modeset for me. Might be my vbox setup though. |
|
That’s what it should do i think. |
|
It's X driver. I can't see any relation to text-mode modesetting, if that's what you mean. |
Based on reports X wouldn't start out of the box and seems OK now. In case there are still some problems, we can improve later. I checked that nixos.tests.virtualbox.* still succeed.
|
I wonder – this might even be safe enough for 18.09, given the (supposedly) broken state of X before the change. Still, I know really nothing about VMs, so I won't do that myself, at least until getting more feedback. |
|
If I understand correctly, modesetting is also a video driver of sorts that can draw on basic framebuffer. But I haven't spent time configuring Xorg in years, so I'm very out of the loop. I don't understand the "kernel driver found" part. This PR didn't make anything worse for me, X worked before and after it. |
|
Oh, I've been blind. You end up using the modesetting driver, both before and after this PR :-/ |
|
One should be able to use this fix by switching to 19.03, right? |
|
Yes, unstable or 19.03. But I'm not really confident this change fixed anything. |
|
I don't think this fixed things for me. |
... and switch to it by default in virtualbox guests
Motivation for this change
#31889
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)nix path-info -Sbefore and after)