nixos/x11: default to the modesetting driver#218437
Conversation
The upstream drivers are very dead: - nouveau: - https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/commits/master - last meaningful change in August 2020 - ati (aka radeon): - https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/commits/master - last meaningful change in April 2020 - amdgpu: - https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/commits/master - barely alive, mostly thanks to Valve people Modesetting isn't even the future, it's the now, especially with Wayland. We should embrace it.
|
I don't really know about nuances. Maybe in some cases there's a reason why people might prefer the "older" ones, but those can always choose explicitly. When I experimented with intel settings last year, I was unable to avoid tearing with the |
|
I had similar experience with tearing on intel. My only option was using a compositor which I don't want so I switches back to |
| [upstream's release notes](https://github.com/iputils/iputils/releases/tag/20221126) | ||
| for more details and available replacements. | ||
|
|
||
| - [services.xserver.videoDrivers](options.html#opt-services.xserver.videoDrivers) now defaults to the `modesetting` driver over device-specific ones. The `radeon`, `amdgpu` and `nouveau` drivers are still available, but effectively unmaintained and not recommended for use. |
There was a problem hiding this comment.
effectively unmaintained and not recommended for use
Is this your opinion, or is there upstream verbiage along those lines?
(Not that there is anything wrong with it, but if there are, it puts weight behind the statement.)
There was a problem hiding this comment.
I can't find direct statements from upstreams saying "don't use this", but upstreams have also all but disappeared.
There was a problem hiding this comment.
I can't find direct statements from upstreams saying "don't use this", but upstreams have also all but disappeared.
nouveau just got updated in linux 6.2 and is expected to receive substantial updates in autumn/winter.
There was a problem hiding this comment.
This is the kernel bits, not the DDX.
There was a problem hiding this comment.
This is the kernel bits, not the DDX.
I see, sorry.
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/amdgpu-driver-issues-after-upgrade/26252/3 |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/amd-gpu-optimal-settings/27648/3 |
The upstream drivers are very dead:
Modesetting isn't even the future, it's the now, especially with Wayland. We should embrace it.
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)