Last active
April 30, 2019 20:52
-
-
Save jamincollins/d80bbf5ddae1074c47051ba9e63caf1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thinkpad P1 w/ Quadro P1000 | |
$ lspci | grep -i vga | |
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) | |
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] (rev a1) | |
$ cat /proc/cmdline | |
BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/nvme-root rw drm.rnodes=1 net.ifnames=1 | |
$ pacman -Q | grep -P '(video-(intel|nouveau)|^linux |xorg-server )' | |
linux 5.0.9.arch1-1 | |
xf86-video-intel 1:2.99.917+863+g6afed33b-1 | |
xf86-video-nouveau 1.0.16-1 | |
xorg-server 1.20.4-1 | |
$ ls -l /dev/dri/ | |
total 0 | |
drwxr-xr-x 2 root root 120 Apr 30 12:32 by-path | |
crw-rw----+ 1 root video 226, 0 Apr 30 12:32 card0 | |
crw-rw----+ 1 root video 226, 1 Apr 30 12:32 card1 | |
crw-rw-rw- 1 root render 226, 128 Apr 30 12:32 renderD128 | |
crw-rw-rw- 1 root render 226, 129 Apr 30 12:32 renderD129 | |
$ id | |
uid=1000(jamin) gid=1000(jamin) groups=1000(jamin),4(adm),10(wheel),56(bumblebee),78(kvm),91(video),92(audio),95(storage),100(users),108(vboxusers),986(render),990(docker),995(printadmin) | |
$ xrandr --listproviders | |
Providers: number : 2 | |
Provider 0: id: 0x6d cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:Intel | |
Provider 1: id: 0x47 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 4 outputs: 4 associated providers: 1 name:nouveau | |
$ xrandr --setprovideroffloadsink nouveau Intel | |
$ LIBGL_DEBUG=verbose DRI_PRIME=1 glxinfo | grep "OpenGL vendor string" | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: pci id for fd 5: 10de:1cbb, driver nouveau | |
libGL: MESA-LOADER: dlopen(/usr/lib/dri/nouveau_dri.so) | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
nvc0_screen_create:1007 - Error allocating PGRAPH context for M2MF: -16 | |
libGL error: failed to create dri screen | |
libGL error: failed to load driver: nouveau | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: pci id for fd 4: 8086:3e9b, driver i965 | |
libGL: MESA-LOADER: dlopen(/usr/lib/dri/i965_dri.so) | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: Using DRI2 for screen 0 | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
OpenGL vendor string: Intel Open Source Technology Center | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/jamin/.drirc: No such file or directory. | |
#### RESOLUTION | |
Apply: | |
https://github.com/karolherbst/linux/commit/ecb1d072ebdb5538e5b4fd5210c4173dd7f33719.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment