Article 6NCJ7 NVK being forced on NVIDIA after MESA upgrade on -current

NVK being forced on NVIDIA after MESA upgrade on -current

by
rinza
from LinuxQuestions.org on (#6NCJ7)
Hi, after upgrading the latest -current my system throws the following error whenever I try to load some video related applications:

Code:DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.Wine games no longer work, terminating after this error. My system has a NVIDIA card with proprietary drivers, I'm not using Optimus (whole system is running on NVIDIA driver). Nouveau is blacklisted in /etc/modprobe.d/blacklist.conf. Glxinfo confirm I'm using NVIDIA:

Code:name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
....
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX ....
OpenGL core profile version string: 4.6.0 NVIDIA 555.42.02
OpenGL core profile shading language version string: 4.60 NVIDIAI'm on X not Wayland. Xorg.conf was this for years:

Code:Section "ServerLayout"
Identifier "Layout0"
Screen 0 "screen_nvidia"
Inactive "intel"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AllowNVIDIAGPUScreens"
EndSection

Section "Module"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "....."
HorizSync 26.0 - 81.0
VertRefresh 24.0 - 75.0
Option "DPI" "96 x 96"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
HorizSync 26.0 - 81.0
VertRefresh 24.0 - 75.0
Option "DPI" "96 x 96"
EndSection

Section "Device"
Identifier "card_nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX ....."
BusID "PCI:01:00:0"
Option "HardDPMS" "false"
EndSection

Section "Device"
Identifier "intel"
Driver "modesetting"
Option "AsyncFlipSecondaries" "on"
BusID "PCI:00:02:0"
Option "DRI3" "1"
EndSection

Section "Screen"
Identifier "screen_nvidia"
Device "card_nvidia"
DefaultDepth 24
Option "Stereo" "0"
Option "AllowNVIDIAGPUScreens"
Option "PrimaryGPU" "yes"
Option "Coolbits" "13"
Option "AllowEmptyInitialConfiguration" "True"
Option "NoFlip" "true"
Option "metamodes" "1920x1080_60i +0+0 {ForceCompositionPipeline=On, AllowGSYNC=Off}"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
DefaultDepth 24
Option "Stereo" "0"
EndSection
Playing video on mpv with hardware acceleration (set with gpu-api=vulkan), even with that error, still shows that it is using NVIDIA hardware acceleration (checked gpu usage and vram with nvidia-smi). VLC, on contrary, does not throw that error and is configured to use hardware acceleration VA-API.

My instinct suggest that this is related to the new Mesa package settings related to Vulkan. What is exactly happening and how to fix that?

Thanks!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments