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

nvidia-x11: 455.45.01 -> 460.27.04 #106999

Merged
merged 1 commit into from Dec 16, 2020
Merged

nvidia-x11: 455.45.01 -> 460.27.04 #106999

merged 1 commit into from Dec 16, 2020

Conversation

timothyklim
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@timothyklim
Copy link
Contributor Author

Changes for reference:

Added support for the following GPUs: RTX A6000
Fixed a bug that could cause detailed timing information for displays with a large number of detailed timings to be truncated in the X log.
Fixed a bug that prevented scaled display resolutions configured via the nvidia-settings control panel from being reported by RandR.
Fixed a bug with the SLI Mosaic Mode configuration dialog in nvidia-settings that left displays enabled when they were not needed in the selected configuration.
Added support for RandR rotation and reflection while using an NVIDIA-driven display as a PRIME Display Offload sink.
Added support for "Reverse PRIME Bypass", an optimization that bypasses the bandwidth overhead of PRIME Render Offload and PRIME Display Offload in conditions where a render offload application is fullscreen, unredirected, and visible only on a given NVIDIA-driven PRIME Display Offload output. Use of the optimization is reported in the X log when verbose logging is enabled in the X server.
Add support for the VK_KHR_acceleration_structure extension.
Add support for the VK_KHR_ray_tracing_pipeline extension.
Add support for the VK_KHR_ray_query extension.
Add support for the VK_KHR_pipeline_library extension.
Add support for the VK_KHR_deferred_host_operations extension.
Removed the MetaMode string truncation warning for older X Servers when saving the X Configuration file from nvidia-settings.
Add support for the VK_NV_fragment_shading_rate_enums extension.
Fixed a bug where copying from an X11 pixmap to an RGB overlay window would exhibit corruption.
Fixed an issue with VK_ACCESS_MEMORY_READ_BIT and VK_ACCESS_MEMORY_WRITE_BIT when used as part of a render pass.
Add support for the VK_KHR_fragment_shading_rate extension.
Add support for the VK_KHR_shader_terminate_invocation extension.
Reduce host memory consumption for descriptor memory in cases where thep Next chain contains a structure of type
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO.
Increased the default size for new OpenGL/Vulkan Shader Disk Cache location to 1024MB. Note that caches with paths containing "/.nv/ will continue to use the previous default of 128MB unless the size is manually overridden. For more information see the "OpenGL Shader Disk Cache" section in the "Specifying OpenGL Environment Variable Settings" chapter of the README.
Changed the default location for new OpenGL/Vulkan Shader Disk Caches. If the location is not manually overridden and a cache is detected in the previous default location, that location will be used instead of the new default location. For more information see the "OpenGL Shader Disk Cache" section in the "Specifying OpenGL Environment Variable Settings" chapter of the README.
Add support for the VK_EXT_shader_image_atomic_int64 extension.
Add support for the VK_KHR_copy_commands2 extension.
Allow importing cached memory via VK_EXT_external_memory_host.
Removed support for the following deprecated frame lock NV-CONTROL attributes:
NV_CTRL_FRAMELOCK_MASTER
NV_CTRL_FRAMELOCK_SLAVES
NV_CTRL_FRAMELOCK_MASTERABLE
NV_CTRL_FRAMELOCK_SLAVEABLE
Default AllowEmptyInitialConfiguration to True such that the NVIDIA X driver succeeds when launching the X server even if there are no display devices connected.
RRGetCrtcInfo will now return Rotate_0 instead of 0 as the active rotation for disabled CRTCs.
Improved the NVIDIA VDPAU implementation of VdpVideoSurfaceGetBitsYCbCr and VdpVideoSurfacePutBitsYCbCr when using planar or semi-planar formats. This helps applications that transfer data between VDPAU video surfaces and system memory.
Added initial experimental support for S0ix-based system suspend (suspend-to-idle). This feature is platform and GPU dependent, so the feature will be disabled by default. To enable this feature, refer to the 'powermanagement' section of the README.
Fixed an issue where Vulkan applications would fail to initialize if the connected X11 Server did not expose support for GLX.
Improved the memory allocation strategy in nvidia-modeset.ko to reduce the likelihood of out-of-memory errors, which typically manifest as "page allocation failure" messages in the kernel log.

Tested on NixOS (unstable) and linux 5.10.1.

Copy link
Member

@Atemu Atemu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working fine on 5.10-zen1 so far, can't be much worse than the previous version.

@danieldk danieldk merged commit 77b7d8b into NixOS:master Dec 16, 2020
sha256_64bit = "6tyMfggvZVQPp/aiSdgwn7VG/mIGb0lUcnAdyMEDoVM=";
settingsSha256 = "70ABqnO/heCp/5IztpU0Lo7eZd4n4wUoTlp1xIQ3aCc=";
persistencedSha256 = "36sM+djZvm77Gle7dcZ5tppgzQkD4IA0FJgCGsdZRI8=";
version = "460.27.04";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't 460.27.04 a beta release?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, sorry for the oversight. I opened #107105 to revert this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for that. It does not matter to me, I prefer the latest drivers, but I think it might lead to unexpected behavior with cuda.
A few lines down you can replace

beta = stable;

with the beta build

beta = generic {
      version = "460.27.04";
      ....
}

then setting services.xserver.videoDrivers = [ "nvidiaBeta" ];

Also note #99323 which would allow us to select driver package versions directly.

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.

None yet

4 participants