Skip to content
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

linuxPackages.nvidiaPackages.production: 535.154.05 -> 550.67 #297237

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Kiskae
Copy link
Contributor

@Kiskae Kiskae commented Mar 19, 2024

Description of changes

  • Fixed a bug that could cause the GPU driver to hang when running some Vkd3d games, such as F1 2021.
  • Fixed a bug that caused eglExportDMABUFImageQueryMESA() to return invalid DRM formats for the images that use the sRGB color space.
  • Fixed a bug that caused wgpu applications to hang on Wayland.
  • Fixed a bug that caused "Flip event timeout" messages to be printed to the system log when the system is suspended without using /usr/bin/nvidia-sleep.sh when nvidia-drm is loaded with the fbdev=1 kernel module parameter.
  • Updated the nvidia-settings control panel to ensure that the entire Display Configuration page can be used when the Layout window is shown.
  • Updated the nvidia-settings control panel to allow the primary display to be set on any GPU in a multi-GPU system.
  • Fixed Xid error when playing Alan Wake 2 with ray tracing enabled.

Currently a draft until I can confirm this is the correct release branch,

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@Kiskae
Copy link
Contributor Author

Kiskae commented Mar 19, 2024

Result of nixpkgs-review pr 297237 run on x86_64-linux 1

10 packages failed to build:
  • linuxKernel.packages.linux_4_19_hardened.nvidia_x11
  • linuxKernel.packages.linux_4_19_hardened.nvidia_x11.bin
  • linuxKernel.packages.linux_4_19_hardened.nvidia_x11.firmware
  • linuxKernel.packages.linux_4_19_hardened.nvidia_x11.lib32
  • linuxKernel.packages.linux_4_19_hardened.nvidia_x11_beta_open
  • linuxKernel.packages.linux_5_4_hardened.nvidia_x11
  • linuxKernel.packages.linux_5_4_hardened.nvidia_x11.bin
  • linuxKernel.packages.linux_5_4_hardened.nvidia_x11.firmware
  • linuxKernel.packages.linux_5_4_hardened.nvidia_x11.lib32
  • linuxKernel.packages.linux_5_4_hardened.nvidia_x11_beta_open
113 packages built:
  • bottles
  • bottles-unwrapped
  • gl-gsync-demo
  • gwe
  • heroic
  • libvibrant
  • linuxKernel.packages.linux_4_19.nvidia_x11
  • linuxKernel.packages.linux_4_19.nvidia_x11.bin
  • linuxKernel.packages.linux_4_19.nvidia_x11.firmware
  • linuxKernel.packages.linux_4_19.nvidia_x11.lib32
  • linuxKernel.packages.linux_4_19.nvidia_x11_beta_open
  • linuxKernel.packages.linux_5_10.nvidia_x11
  • linuxKernel.packages.linux_5_10.nvidia_x11.bin
  • linuxKernel.packages.linux_5_10.nvidia_x11.firmware
  • linuxKernel.packages.linux_5_10.nvidia_x11.lib32
  • linuxKernel.packages.linux_5_10.nvidia_x11_beta_open
  • linuxKernel.packages.linux_5_10_hardened.nvidia_x11
  • linuxKernel.packages.linux_5_10_hardened.nvidia_x11.bin
  • linuxKernel.packages.linux_5_10_hardened.nvidia_x11.firmware
  • linuxKernel.packages.linux_5_10_hardened.nvidia_x11.lib32
  • linuxKernel.packages.linux_5_10_hardened.nvidia_x11_beta_open
  • linuxKernel.packages.linux_5_15.nvidia_x11
  • linuxKernel.packages.linux_5_15.nvidia_x11.bin
  • linuxKernel.packages.linux_5_15.nvidia_x11.firmware
  • linuxKernel.packages.linux_5_15.nvidia_x11.lib32
  • linuxKernel.packages.linux_5_15.nvidia_x11_beta_open
  • linuxKernel.packages.linux_5_15_hardened.nvidia_x11
  • linuxKernel.packages.linux_5_15_hardened.nvidia_x11.bin
  • linuxKernel.packages.linux_5_15_hardened.nvidia_x11.firmware
  • linuxKernel.packages.linux_5_15_hardened.nvidia_x11.lib32
  • linuxKernel.packages.linux_5_15_hardened.nvidia_x11_beta_open
  • linuxKernel.packages.linux_5_4.nvidia_x11
  • linuxKernel.packages.linux_5_4.nvidia_x11.bin
  • linuxKernel.packages.linux_5_4.nvidia_x11.firmware
  • linuxKernel.packages.linux_5_4.nvidia_x11.lib32
  • linuxKernel.packages.linux_5_4.nvidia_x11_beta_open
  • linuxKernel.packages.linux_6_1.nvidia_x11
  • linuxKernel.packages.linux_6_1.nvidia_x11.bin
  • linuxKernel.packages.linux_6_1.nvidia_x11.firmware
  • linuxKernel.packages.linux_6_1.nvidia_x11.lib32
  • linuxKernel.packages.linux_6_1.nvidia_x11_beta_open
  • linuxKernel.packages.linux_6_1_hardened.nvidia_x11
  • linuxKernel.packages.linux_6_1_hardened.nvidia_x11.bin
  • linuxKernel.packages.linux_6_1_hardened.nvidia_x11.firmware
  • linuxKernel.packages.linux_6_1_hardened.nvidia_x11.lib32
  • linuxKernel.packages.linux_6_1_hardened.nvidia_x11_beta_open
  • linuxKernel.packages.linux_6_6.nvidia_x11
  • linuxKernel.packages.linux_6_6.nvidia_x11.bin
  • linuxKernel.packages.linux_6_6.nvidia_x11.firmware
  • linuxKernel.packages.linux_6_6.nvidia_x11.lib32
  • linuxKernel.packages.linux_6_6.nvidia_x11_beta_open
  • linuxKernel.packages.linux_hardened.nvidia_x11 (linuxKernel.packages.linux_6_6_hardened.nvidia_x11)
  • linuxKernel.packages.linux_hardened.nvidia_x11.bin (linuxKernel.packages.linux_6_6_hardened.nvidia_x11.bin)
  • linuxKernel.packages.linux_hardened.nvidia_x11.firmware (linuxKernel.packages.linux_6_6_hardened.nvidia_x11.firmware)
  • linuxKernel.packages.linux_hardened.nvidia_x11.lib32 (linuxKernel.packages.linux_6_6_hardened.nvidia_x11.lib32)
  • linuxKernel.packages.linux_hardened.nvidia_x11_beta_open (linuxKernel.packages.linux_6_6_hardened.nvidia_x11_beta_open)
  • linuxKernel.packages.linux_6_7.nvidia_x11
  • linuxKernel.packages.linux_6_7.nvidia_x11.bin
  • linuxKernel.packages.linux_6_7.nvidia_x11.firmware
  • linuxKernel.packages.linux_6_7.nvidia_x11.lib32
  • linuxKernel.packages.linux_6_7.nvidia_x11_beta_open
  • linuxKernel.packages.linux_6_7_hardened.nvidia_x11
  • linuxKernel.packages.linux_6_7_hardened.nvidia_x11.bin
  • linuxKernel.packages.linux_6_7_hardened.nvidia_x11.firmware
  • linuxKernel.packages.linux_6_7_hardened.nvidia_x11.lib32
  • linuxKernel.packages.linux_6_7_hardened.nvidia_x11_beta_open
  • linuxKernel.packages.linux_6_8.nvidia_x11
  • linuxKernel.packages.linux_6_8.nvidia_x11.bin
  • linuxKernel.packages.linux_6_8.nvidia_x11.firmware
  • linuxKernel.packages.linux_6_8.nvidia_x11.lib32
  • linuxKernel.packages.linux_6_8.nvidia_x11_beta_open
  • linuxKernel.packages.linux_latest_libre.nvidia_x11
  • linuxKernel.packages.linux_latest_libre.nvidia_x11.bin
  • linuxKernel.packages.linux_latest_libre.nvidia_x11.firmware
  • linuxKernel.packages.linux_latest_libre.nvidia_x11.lib32
  • linuxKernel.packages.linux_latest_libre.nvidia_x11_beta_open
  • linuxKernel.packages.linux_libre.nvidia_x11
  • linuxKernel.packages.linux_libre.nvidia_x11.bin
  • linuxKernel.packages.linux_libre.nvidia_x11.firmware
  • linuxKernel.packages.linux_libre.nvidia_x11.lib32
  • linuxKernel.packages.linux_libre.nvidia_x11_beta_open
  • linuxKernel.packages.linux_lqx.nvidia_x11
  • linuxKernel.packages.linux_lqx.nvidia_x11.bin
  • linuxKernel.packages.linux_lqx.nvidia_x11.firmware
  • linuxKernel.packages.linux_lqx.nvidia_x11.lib32
  • linuxKernel.packages.linux_lqx.nvidia_x11_beta_open
  • linuxKernel.packages.linux_xanmod.nvidia_x11
  • linuxKernel.packages.linux_xanmod.nvidia_x11.bin
  • linuxKernel.packages.linux_xanmod.nvidia_x11.firmware
  • linuxKernel.packages.linux_xanmod.nvidia_x11.lib32
  • linuxKernel.packages.linux_xanmod.nvidia_x11_beta_open
  • linuxKernel.packages.linux_xanmod_latest.nvidia_x11 (linuxKernel.packages.linux_xanmod_stable.nvidia_x11)
  • linuxKernel.packages.linux_xanmod_latest.nvidia_x11.bin (linuxKernel.packages.linux_xanmod_stable.nvidia_x11.bin)
  • linuxKernel.packages.linux_xanmod_latest.nvidia_x11.firmware (linuxKernel.packages.linux_xanmod_stable.nvidia_x11.firmware)
  • linuxKernel.packages.linux_xanmod_latest.nvidia_x11.lib32 (linuxKernel.packages.linux_xanmod_stable.nvidia_x11.lib32)
  • linuxKernel.packages.linux_xanmod_latest.nvidia_x11_beta_open (linuxKernel.packages.linux_xanmod_stable.nvidia_x11_beta_open)
  • linuxKernel.packages.linux_zen.nvidia_x11
  • linuxKernel.packages.linux_zen.nvidia_x11.bin
  • linuxKernel.packages.linux_zen.nvidia_x11.firmware
  • linuxKernel.packages.linux_zen.nvidia_x11.lib32
  • linuxKernel.packages.linux_zen.nvidia_x11_beta_open
  • mangohud
  • mangohud.doc
  • mangohud.man
  • monitor
  • nvfancontrol
  • psensor
  • tuxclocker
  • tuxclocker-nvidia-plugin
  • tuxclocker-plugins-with-unfree
  • vibrantlinux
  • xpraWithNvenc
  • xpraWithNvenc.dist

@Kiskae
Copy link
Contributor Author

Kiskae commented Mar 20, 2024

Going by https://docs.nvidia.com/datacenter/tesla/drivers/index.html#cuda-drivers and https://www.nvidia.com/en-us/drivers/unix/ it looks like 550 is a production branch, so this PR should be good to merge.

@Kiskae Kiskae marked this pull request as ready for review March 20, 2024 16:33
@Kiskae Kiskae requested a review from NickCao March 20, 2024 16:33
@NickCao NickCao merged commit 2fe0900 into NixOS:master Mar 20, 2024
21 checks passed
@Kiskae Kiskae deleted the nvidia/550.67 branch March 20, 2024 19:08
@philiptaron
Copy link
Contributor

Since this was merged, X crashes for me:

Mar 22 09:32:18 zebul kernel: NVRM: API mismatch: the client has the version 550.54.14, but
                              NVRM: this kernel module has the version 550.67.  Please
                              NVRM: make sure that this kernel module and all NVIDIA driver
                              NVRM: components have the same version.
Mar 22 09:32:18 zebul /nix/store/c1azc01j043qaz79fcl2bx299h8hf868-gdm-45.0.1/libexec/gdm-x-session[1389]: (EE) Server terminated with error (1). Closing log file.

This is likely something wrong with my X configuration, but I want to surface this in case others run into a similar journal message.

@Kiskae
Copy link
Contributor Author

Kiskae commented Mar 22, 2024

Since this was merged, X crashes for me:

Mar 22 09:32:18 zebul kernel: NVRM: API mismatch: the client has the version 550.54.14, but
                              NVRM: this kernel module has the version 550.67.  Please
                              NVRM: make sure that this kernel module and all NVIDIA driver
                              NVRM: components have the same version.
Mar 22 09:32:18 zebul /nix/store/c1azc01j043qaz79fcl2bx299h8hf868-gdm-45.0.1/libexec/gdm-x-session[1389]: (EE) Server terminated with error (1). Closing log file.

This is likely something wrong with my X configuration, but I want to surface this in case others run into a similar journal message.

I'm honestly not sure how you managed to get an error like that, since it means you're using an older userspace library than the loaded kernel module.

@philiptaron
Copy link
Contributor

I'm also flabbergasted. I can't find anything in the system closure that's referring to 550.54.14 drivers. Ugh.

@philiptaron
Copy link
Contributor

I think it's something more general. On reboot, /run/current-system/etc doesn't match /etc. I did also switch to using boot.initrd.systemd.root = "gpt-auto";, and maybe it really messed up the activation.

@philiptaron
Copy link
Contributor

I reverted the option (philiptaron/flock.nix@d3bb46c) and immediately activation worked again. 🚨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants