Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fedora 5.2.13-200.fc30.x86_64, using Xorg session. Last clean reinstall F28
lspci -k | egrep -A 3 -i '3d|vga'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1d6d
Kernel driver in use: i915
Kernel modules: i915
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 1d6d
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
nvidia-drm modeset is not enabled as per kmod-common spec
nvidia is now listed under 3D controller, it was VGA compatible before.
Some random commands from the google search that might show something useful:
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1df cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x1b8 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0
$ DRI_PRIME=1 glxinfo | grep vendor
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center
$ __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (NV-GLX)
Minor opcode of failed request: 6 ()
Value in failed request: 0x0
Serial number of failed request: 83
Current serial number in output stream: 83
$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment