You are not logged in.
# original title: primusrun crashes with "undefined symbol: glXCreateContextWithConfigS"
When I try running a graphical application using primusrun, I get the following error:
$ primusrun glxgears_fbconfig
glxgears_fbconfig: symbol lookup error: glxgears_fbconfig: undefined symbol: glXCreateContextWithConfigSGIXThe same happens with pvkrun.
I have the following versions installed:
local/lib32-primus 20151110-4
Faster OpenGL offloading for Bumblebee (32-bit)
local/lib32-primus_vk 1.6.1-1
Nvidia Vulkan offloading for Bumblebee
local/primus 20151110-9
Faster OpenGL offloading for Bumblebee
local/primus_vk 1.6.1-1
Nvidia Vulkan offloading for Bumblebee
local/bumblebee 3.2.1-21
NVIDIA Optimus support for Linux through VirtualGL
local/lib32-nvidia-utils 495.44-1
NVIDIA drivers utilities (32-bit)
local/lib32-primus_vk 1.6.1-1
Nvidia Vulkan offloading for Bumblebee
local/nvidia 495.44-13
NVIDIA drivers for linux
local/nvidia-dkms 495.44-6
NVIDIA drivers - module sources
local/nvidia-settings 495.44-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 495.44-6
NVIDIA drivers utilities
local/primus_vk 1.6.1-1
Nvidia Vulkan offloading for BumblebeeWhen I search for this error in the context of primusrun, I do not find anything.
Do you have any idea what could be going wrong or how to even debug this in more detail?
Last edited by kpj (2021-12-02 11:14:08)
Offline
Check the xorg configs bumblebee uses in /etc/bumblebee/xorg.conf.nvidia and uncomment the BusID (and double check it's correct in lspci or so) there seems to have been a change in the way xorg applies device sections that now requires an explicit identification directive.
Other than that primus-run has not been in development for quite some time and afaik also uses quite a specific injection method, does normal optirun work?
Offline
The line with "BusID "PCI:01:00:0"' is already uncommented in /etc/bumblebee/xorg.conf.nvidia and it's indeed the right one:
$ lspci -v -s 01:00.0
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: nouveau, nvidia_drm, nvidiaIs it currently recommened to use optirun or primusrun? Because of askubuntu I assumed primusrun was favored (how does optirun work with Vulkan?).
"optirun glxgears_fbconfig' does indeed work without crashing.
Last edited by kpj (2021-11-30 22:00:54)
Offline
Your GPU isn't supported by 495xx
https://aur.archlinux.org/packages/nvidia-470xx-dkms/
https://aur.archlinux.org/packages/nvidia-470xx-utils/
Online
Interesting, I hadn't considered that. Can I see somewhere which driver versions are supported by my GPU?
I have now installed the packages nvidia-470xx-utils nvidia-470xx-dkms nvidia-470xx-settings lib32-nvidia-470xx-utils.
Unfortunately, executing "primusrun glxgears_fbconfig" results in the same error as before
Offline
GM107 is Maxwell, should still be supported by the current nvidia 495 package. I really think primusrun is just broken, but not entirely sure which of the updated components (could be xorg or mesa or so I'd guess) is to blame, if you can take the slight power drawing hit (...which I've wanted to test on my 950M for a while now, didn't get around to that yet), using nvidia-prime instead is likely more fruitful
Offline
Okay, I upgraded to the latest nvidia drivers again and also installed nvidia-prime.
When I try using prime-run I get this new error:
$ prime-run glxgears_fbconfig
GLX 1.3 is supported.
GLX_SGIX_fbconfig is supported.
The following fbconfigs meet the requirements. The first one will be used.
[..]
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 1480
Current serial number in output stream: 1481Not sure what that is supposed to mean.
Offline
For properly using nvidia-prime you'd have to remove bumblebee, maybe also post a xorg log.
Last edited by V1del (2021-12-01 10:18:44)
Offline
Oh right! I now uninstalled the packages bumblebee bbswitch lib32-primus lib32-primus_vk primus primus_vk and "prime-run glxgears_fbconfig" actually runs.
Is there any way of checking whether the Nvidia GPU is actually used though?
When I run games with prime-run and MangoHud, it shows that only my Intel GPU is used and has very low FPS.
Here's my /var/log/Xorg.0.log:
[ 11.141]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 11.141]
X.Org X Server 1.21.1.1
X Protocol Version 11, Revision 0
[ 11.141] Current Operating System: Linux bowtie 5.15.5-arch1-1 #1 SMP PREEMPT Thu, 25 Nov 2021 22:09:33 +0000 x86_64
[ 11.141] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/mapper/rootfs rw cryptdevice=/dev/sda2:rootfs allow-discards initrd=../initramfs-linux.img
[ 11.141]
[ 11.142] Current version of pixman: 0.40.0
[ 11.142] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 11.142] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11.142] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 1 10:21:53 2021
[ 11.150] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 11.151] (==) No Layout section. Using the first Screen section.
[ 11.151] (==) No screen section available. Using defaults.
[ 11.151] (**) |-->Screen "Default Screen Section" (0)
[ 11.151] (**) | |-->Monitor "<default monitor>"
[ 11.152] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 11.152] (==) Automatically adding devices
[ 11.152] (==) Automatically enabling devices
[ 11.152] (==) Automatically adding GPU devices
[ 11.152] (==) Automatically binding GPU devices
[ 11.152] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 11.153] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 11.153] Entry deleted from font path.
[ 11.153] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 11.153] Entry deleted from font path.
[ 11.153] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 11.153] Entry deleted from font path.
[ 11.153] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 11.153] Entry deleted from font path.
[ 11.156] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 11.156] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 11.156] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 11.156] (II) Module ABI versions:
[ 11.156] X.Org ANSI C Emulation: 0.4
[ 11.156] X.Org Video Driver: 25.2
[ 11.156] X.Org XInput driver : 24.4
[ 11.156] X.Org Server Extension : 10.0
[ 11.157] (++) using VT number 1
[ 11.158] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 11.159] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11.159] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[ 11.159] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 11.159] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 11.159] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 11.160] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[ 11.161] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 11.162] (--) PCI:*(0@0:2:0) 8086:0416:17aa:3978 rev 6, Mem @ 0xd1000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 11.162] (--) PCI: (1@0:0:0) 10de:139b:17aa:3978 rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 11.162] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 11.162] (II) LoadModule: "glx"
[ 11.165] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 11.175] (II) Module glx: vendor="X.Org Foundation"
[ 11.175] compiled for 1.21.1.1, module version = 1.0.0
[ 11.175] ABI class: X.Org Server Extension, version 10.0
[ 11.175] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 11.175] loading driver: nvidia
[ 11.175] (==) Matched intel as autoconfigured driver 0
[ 11.175] (==) Matched nvidia as autoconfigured driver 1
[ 11.175] (==) Matched nouveau as autoconfigured driver 2
[ 11.175] (==) Matched nv as autoconfigured driver 3
[ 11.175] (==) Matched modesetting as autoconfigured driver 4
[ 11.175] (==) Matched fbdev as autoconfigured driver 5
[ 11.175] (==) Matched vesa as autoconfigured driver 6
[ 11.175] (==) Assigned the driver to the xf86ConfigLayout
[ 11.175] (II) LoadModule: "intel"
[ 11.177] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 11.181] (II) Module intel: vendor="X.Org Foundation"
[ 11.181] compiled for 1.21.1.1, module version = 2.99.917
[ 11.181] Module class: X.Org Video Driver
[ 11.181] ABI class: X.Org Video Driver, version 25.2
[ 11.181] (II) LoadModule: "nvidia"
[ 11.181] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 11.188] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 11.188] compiled for 1.6.99.901, module version = 1.0.0
[ 11.188] Module class: X.Org Video Driver
[ 11.189] (II) LoadModule: "nouveau"
[ 11.189] (WW) Warning, couldn't open module nouveau
[ 11.189] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 11.189] (II) LoadModule: "nv"
[ 11.190] (WW) Warning, couldn't open module nv
[ 11.190] (EE) Failed to load module "nv" (module does not exist, 0)
[ 11.190] (II) LoadModule: "modesetting"
[ 11.190] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 11.192] (II) Module modesetting: vendor="X.Org Foundation"
[ 11.192] compiled for 1.21.1.1, module version = 1.21.1
[ 11.192] Module class: X.Org Video Driver
[ 11.192] ABI class: X.Org Video Driver, version 25.2
[ 11.192] (II) LoadModule: "fbdev"
[ 11.193] (WW) Warning, couldn't open module fbdev
[ 11.193] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 11.193] (II) LoadModule: "vesa"
[ 11.193] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 11.193] (II) Module vesa: vendor="X.Org Foundation"
[ 11.193] compiled for 1.21.1.1, module version = 2.5.0
[ 11.193] Module class: X.Org Video Driver
[ 11.193] ABI class: X.Org Video Driver, version 25.2
[ 11.193] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 11.194] (II) intel: Driver for Intel(R) HD Graphics
[ 11.194] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 11.194] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 11.194] (II) NVIDIA dlloader X Driver 495.44 Fri Oct 22 06:11:21 UTC 2021
[ 11.194] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 11.194] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 11.194] (II) VESA: driver for VESA chipsets: vesa
[ 11.195] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 11.195] (II) intel(0): SNA compiled from 2.99.917-916-g31486f40
[ 11.212] (WW) Falling back to old probe method for modesetting
[ 11.212] (II) systemd-logind: releasing fd for 226:0
[ 11.213] (II) Loading sub module "fb"
[ 11.213] (II) LoadModule: "fb"
[ 11.213] (II) Module "fb" already built-in
[ 11.213] (II) Loading sub module "wfb"
[ 11.213] (II) LoadModule: "wfb"
[ 11.213] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 11.215] (II) Module wfb: vendor="X.Org Foundation"
[ 11.215] compiled for 1.21.1.1, module version = 1.0.0
[ 11.215] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11.215] (II) Loading sub module "ramdac"
[ 11.215] (II) LoadModule: "ramdac"
[ 11.215] (II) Module "ramdac" already built-in
[ 11.217] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[ 11.217] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[ 11.217] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 11.217] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 11.217] (==) intel(0): RGB weight 888
[ 11.217] (==) intel(0): Default visual is TrueColor
[ 11.218] (II) intel(0): Output eDP1 has no monitor section
[ 11.218] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[ 11.218] (II) intel(0): Enabled output eDP1
[ 11.218] (II) intel(0): Output HDMI1 has no monitor section
[ 11.218] (II) intel(0): Enabled output HDMI1
[ 11.218] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 11.218] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 11.218] (II) intel(0): Enabled output VIRTUAL1
[ 11.218] (--) intel(0): Output eDP1 using initial mode 3840x2160 on pipe 0
[ 11.218] (==) intel(0): TearFree disabled
[ 11.218] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 11.218] (==) intel(0): DPI set to (96, 96)
[ 11.218] (II) Loading sub module "dri3"
[ 11.218] (II) LoadModule: "dri3"
[ 11.218] (II) Module "dri3" already built-in
[ 11.218] (II) Loading sub module "dri2"
[ 11.218] (II) LoadModule: "dri2"
[ 11.218] (II) Module "dri2" already built-in
[ 11.218] (II) Loading sub module "present"
[ 11.218] (II) LoadModule: "present"
[ 11.218] (II) Module "present" already built-in
[ 11.218] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[ 11.218] (==) NVIDIA(G0): RGB weight 888
[ 11.218] (==) NVIDIA(G0): Default visual is TrueColor
[ 11.218] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 11.219] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 11.219] (**) NVIDIA(G0): Option "AllowEmptyInitialConfiguration"
[ 11.219] (**) NVIDIA(G0): Enabling 2D acceleration
[ 11.219] (II) Loading sub module "glxserver_nvidia"
[ 11.219] (II) LoadModule: "glxserver_nvidia"
[ 11.219] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[ 11.283] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 11.283] compiled for 1.6.99.901, module version = 1.0.0
[ 11.283] Module class: X.Org Server Extension
[ 11.283] (II) NVIDIA GLX Module 495.44 Fri Oct 22 06:08:29 UTC 2021
[ 11.285] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 11.654] (II) NVIDIA(G0): NVIDIA GPU NVIDIA GeForce GTX 960M (GM107-A) at PCI:1:0:0
[ 11.654] (II) NVIDIA(G0): (GPU-0)
[ 11.654] (--) NVIDIA(G0): Memory: 4194304 kBytes
[ 11.654] (--) NVIDIA(G0): VideoBIOS: 82.07.7c.00.0c
[ 11.654] (II) NVIDIA(G0): Detected PCI Express Link width: 16X
[ 11.654] (II) NVIDIA(G0): Validated MetaModes:
[ 11.654] (II) NVIDIA(G0): "NULL"
[ 11.654] (II) NVIDIA(G0): Virtual screen size determined to be 640 x 480
[ 11.654] (WW) NVIDIA(G0): Unable to get display device for DPI computation.
[ 11.654] (==) NVIDIA(G0): DPI set to (75, 75); computed from built-in default
[ 11.654] (II) UnloadModule: "modesetting"
[ 11.654] (II) Unloading modesetting
[ 11.654] (II) UnloadModule: "vesa"
[ 11.654] (II) Unloading vesa
[ 11.665] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[ 11.665] (==) intel(0): Backing store enabled
[ 11.665] (==) intel(0): Silken mouse enabled
[ 11.665] (II) intel(0): HW Cursor enabled
[ 11.666] (==) intel(0): DPMS enabled
[ 11.666] (==) intel(0): Display hotplug detection enabled
[ 11.667] (II) intel(0): [DRI2] Setup complete
[ 11.667] (II) intel(0): [DRI2] DRI driver: i965
[ 11.667] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 11.667] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[ 11.667] (II) intel(0): hardware support for Present enabled
[ 11.667] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
[ 11.667] (II) NVIDIA: access.
[ 11.670] (II) NVIDIA(G0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 11.670] (II) NVIDIA(G0): may not be running or the "AcpidSocketPath" X
[ 11.670] (II) NVIDIA(G0): configuration option may not be set correctly. When the
[ 11.671] (II) NVIDIA(G0): ACPI event daemon is available, the NVIDIA X driver will
[ 11.671] (II) NVIDIA(G0): try to use it to receive ACPI event notifications. For
[ 11.671] (II) NVIDIA(G0): details, please see the "ConnectToAcpid" and
[ 11.671] (II) NVIDIA(G0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 11.671] (II) NVIDIA(G0): Config Options in the README.
[ 11.690] (II) NVIDIA(G0): Setting mode "NULL"
[ 11.693] (==) NVIDIA(G0): Disabling shared memory pixmaps
[ 11.693] (==) NVIDIA(G0): Backing store enabled
[ 11.693] (==) NVIDIA(G0): Silken mouse enabled
[ 11.693] (==) NVIDIA(G0): DPMS enabled
[ 11.694] (II) Loading sub module "dri2"
[ 11.694] (II) LoadModule: "dri2"
[ 11.694] (II) Module "dri2" already built-in
[ 11.694] (II) NVIDIA(G0): [DRI2] Setup complete
[ 11.694] (II) NVIDIA(G0): [DRI2] VDPAU driver: nvidia
[ 11.694] (II) Initializing extension Generic Event Extension
[ 11.694] (II) Initializing extension SHAPE
[ 11.694] (II) Initializing extension MIT-SHM
[ 11.694] (II) Initializing extension XInputExtension
[ 11.695] (II) Initializing extension XTEST
[ 11.695] (II) Initializing extension BIG-REQUESTS
[ 11.695] (II) Initializing extension SYNC
[ 11.695] (II) Initializing extension XKEYBOARD
[ 11.695] (II) Initializing extension XC-MISC
[ 11.695] (II) Initializing extension SECURITY
[ 11.696] (II) Initializing extension XFIXES
[ 11.696] (II) Initializing extension RENDER
[ 11.696] (II) Initializing extension RANDR
[ 11.696] (II) Initializing extension COMPOSITE
[ 11.696] (II) Initializing extension DAMAGE
[ 11.696] (II) Initializing extension MIT-SCREEN-SAVER
[ 11.696] (II) Initializing extension DOUBLE-BUFFER
[ 11.696] (II) Initializing extension RECORD
[ 11.696] (II) Initializing extension DPMS
[ 11.696] (II) Initializing extension Present
[ 11.697] (II) Initializing extension DRI3
[ 11.697] (II) Initializing extension X-Resource
[ 11.697] (II) Initializing extension XVideo
[ 11.697] (II) Initializing extension XVideo-MotionCompensation
[ 11.697] (II) Initializing extension GLX
[ 11.697] (II) Initializing extension GLX
[ 11.697] (II) Indirect GLX disabled.
[ 11.744] (II) AIGLX: Loaded and initialized i965
[ 11.744] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 11.744] (II) Initializing extension XFree86-VidModeExtension
[ 11.744] (II) Initializing extension XFree86-DGA
[ 11.744] (II) Initializing extension XFree86-DRI
[ 11.744] (II) Initializing extension DRI2
[ 11.745] (II) Initializing extension NV-GLX
[ 11.745] (II) Initializing extension NV-CONTROL
[ 11.763] (II) intel(0): switch to mode 3840x2160@48.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 11.771] (II) intel(0): Setting screen physical size to 1016 x 571
[ 11.853] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 11.853] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 11.853] (II) LoadModule: "libinput"
[ 11.853] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 11.858] (II) Module libinput: vendor="X.Org Foundation"
[ 11.858] compiled for 1.21.1, module version = 1.2.0
[ 11.858] Module class: X.Org XInput Driver
[ 11.858] ABI class: X.Org XInput driver, version 24.4
[ 11.858] (II) Using input driver 'libinput' for 'Power Button'
[ 11.858] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 38 paused 0
[ 11.858] (**) Power Button: always reports core events
[ 11.858] (**) Option "Device" "/dev/input/event3"
[ 11.859] (**) Option "_source" "server/udev"
[ 11.871] (II) event3 - Power Button: is tagged by udev as: Keyboard
[ 11.871] (II) event3 - Power Button: device is a keyboard
[ 11.871] (II) event3 - Power Button: device removed
[ 11.871] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 11.871] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 11.872] (II) event3 - Power Button: is tagged by udev as: Keyboard
[ 11.872] (II) event3 - Power Button: device is a keyboard
[ 11.873] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[ 11.873] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 11.873] (II) Using input driver 'libinput' for 'Video Bus'
[ 11.873] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 41 paused 0
[ 11.873] (**) Video Bus: always reports core events
[ 11.873] (**) Option "Device" "/dev/input/event11"
[ 11.873] (**) Option "_source" "server/udev"
[ 11.874] (II) event11 - Video Bus: is tagged by udev as: Keyboard
[ 11.874] (II) event11 - Video Bus: device is a keyboard
[ 11.874] (II) event11 - Video Bus: device removed
[ 11.874] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input23/event11"
[ 11.874] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 11.875] (II) event11 - Video Bus: is tagged by udev as: Keyboard
[ 11.875] (II) event11 - Video Bus: device is a keyboard
[ 11.875] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 11.875] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 11.875] (II) Using input driver 'libinput' for 'Power Button'
[ 11.876] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 42 paused 0
[ 11.876] (**) Power Button: always reports core events
[ 11.876] (**) Option "Device" "/dev/input/event0"
[ 11.876] (**) Option "_source" "server/udev"
[ 11.876] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 11.876] (II) event0 - Power Button: device is a keyboard
[ 11.876] (II) event0 - Power Button: device removed
[ 11.876] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input0/event0"
[ 11.876] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 11.877] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 11.877] (II) event0 - Power Button: device is a keyboard
[ 11.878] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 11.878] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 11.878] (II) Using input driver 'libinput' for 'Sleep Button'
[ 11.878] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 43 paused 0
[ 11.878] (**) Sleep Button: always reports core events
[ 11.878] (**) Option "Device" "/dev/input/event1"
[ 11.878] (**) Option "_source" "server/udev"
[ 11.879] (II) event1 - Sleep Button: is tagged by udev as: Keyboard
[ 11.879] (II) event1 - Sleep Button: device is a keyboard
[ 11.879] (II) event1 - Sleep Button: device removed
[ 11.879] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0E:00/input/input1/event1"
[ 11.879] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[ 11.880] (II) event1 - Sleep Button: is tagged by udev as: Keyboard
[ 11.880] (II) event1 - Sleep Button: device is a keyboard
[ 11.880] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[ 11.881] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 11.881] (II) Using input driver 'libinput' for 'Video Bus'
[ 11.881] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 44 paused 0
[ 11.881] (**) Video Bus: always reports core events
[ 11.881] (**) Option "Device" "/dev/input/event10"
[ 11.881] (**) Option "_source" "server/udev"
[ 11.882] (II) event10 - Video Bus: is tagged by udev as: Keyboard
[ 11.882] (II) event10 - Video Bus: device is a keyboard
[ 11.882] (II) event10 - Video Bus: device removed
[ 11.882] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:43/LNXVIDEO:00/input/input22/event10"
[ 11.882] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 10)
[ 11.883] (II) event10 - Video Bus: is tagged by udev as: Keyboard
[ 11.883] (II) event10 - Video Bus: device is a keyboard
[ 11.883] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 11.883] (II) No input driver specified, ignoring this device.
[ 11.883] (II) This device may have been added with another device file.
[ 11.883] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event15)
[ 11.883] (II) No input driver specified, ignoring this device.
[ 11.883] (II) This device may have been added with another device file.
[ 11.884] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event16)
[ 11.884] (II) No input driver specified, ignoring this device.
[ 11.884] (II) This device may have been added with another device file.
[ 11.884] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event17)
[ 11.884] (II) No input driver specified, ignoring this device.
[ 11.884] (II) This device may have been added with another device file.
[ 11.884] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event18)
[ 11.884] (II) No input driver specified, ignoring this device.
[ 11.884] (II) This device may have been added with another device file.
[ 11.884] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event19)
[ 11.884] (II) No input driver specified, ignoring this device.
[ 11.884] (II) This device may have been added with another device file.
[ 11.885] (II) config/udev: Adding input device Logitech MX Keys (/dev/input/event5)
[ 11.885] (**) Logitech MX Keys: Applying InputClass "libinput keyboard catchall"
[ 11.885] (II) Using input driver 'libinput' for 'Logitech MX Keys'
[ 11.885] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 45 paused 0
[ 11.885] (**) Logitech MX Keys: always reports core events
[ 11.885] (**) Option "Device" "/dev/input/event5"
[ 11.885] (**) Option "_source" "server/udev"
[ 11.887] (II) event5 - Logitech MX Keys: is tagged by udev as: Keyboard
[ 11.887] (II) event5 - Logitech MX Keys: device is a keyboard
[ 11.887] (II) event5 - Logitech MX Keys: device removed
[ 11.887] (II) libinput: Logitech MX Keys: needs a virtual subdevice
[ 11.887] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:046D:C52B.0003/0003:046D:408A.0004/input/input16/event5"
[ 11.887] (II) XINPUT: Adding extended input device "Logitech MX Keys" (type: MOUSE, id 11)
[ 11.887] (**) Option "AccelerationScheme" "none"
[ 11.887] (**) Logitech MX Keys: (accel) selected scheme none/0
[ 11.887] (**) Logitech MX Keys: (accel) acceleration factor: 2.000
[ 11.887] (**) Logitech MX Keys: (accel) acceleration threshold: 4
[ 11.888] (II) event5 - Logitech MX Keys: is tagged by udev as: Keyboard
[ 11.888] (II) event5 - Logitech MX Keys: device is a keyboard
[ 11.889] (II) config/udev: Adding input device Logitech MX Keys (/dev/input/mouse0)
[ 11.889] (II) No input driver specified, ignoring this device.
[ 11.889] (II) This device may have been added with another device file.
[ 11.889] (II) config/udev: Adding input device Lenovo EasyCamera: Lenovo EasyC (/dev/input/event9)
[ 11.889] (**) Lenovo EasyCamera: Lenovo EasyC: Applying InputClass "libinput keyboard catchall"
[ 11.889] (II) Using input driver 'libinput' for 'Lenovo EasyCamera: Lenovo EasyC'
[ 11.889] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 46 paused 0
[ 11.889] (**) Lenovo EasyCamera: Lenovo EasyC: always reports core events
[ 11.889] (**) Option "Device" "/dev/input/event9"
[ 11.889] (**) Option "_source" "server/udev"
[ 11.890] (II) event9 - Lenovo EasyCamera: Lenovo EasyC: is tagged by udev as: Keyboard
[ 11.890] (II) event9 - Lenovo EasyCamera: Lenovo EasyC: device is a keyboard
[ 11.890] (II) event9 - Lenovo EasyCamera: Lenovo EasyC: device removed
[ 11.890] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/input/input21/event9"
[ 11.890] (II) XINPUT: Adding extended input device "Lenovo EasyCamera: Lenovo EasyC" (type: KEYBOARD, id 12)
[ 11.891] (II) event9 - Lenovo EasyCamera: Lenovo EasyC: is tagged by udev as: Keyboard
[ 11.891] (II) event9 - Lenovo EasyCamera: Lenovo EasyC: device is a keyboard
[ 11.892] (II) config/udev: Adding input device Logitech MX Master 3 (/dev/input/event6)
[ 11.892] (**) Logitech MX Master 3: Applying InputClass "libinput pointer catchall"
[ 11.892] (**) Logitech MX Master 3: Applying InputClass "libinput keyboard catchall"
[ 11.892] (II) Using input driver 'libinput' for 'Logitech MX Master 3'
[ 11.893] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 47 paused 0
[ 11.893] (**) Logitech MX Master 3: always reports core events
[ 11.893] (**) Option "Device" "/dev/input/event6"
[ 11.893] (**) Option "_source" "server/udev"
[ 11.894] (II) event6 - Logitech MX Master 3: is tagged by udev as: Keyboard Mouse
[ 11.894] (II) event6 - Logitech MX Master 3: device is a pointer
[ 11.894] (II) event6 - Logitech MX Master 3: device is a keyboard
[ 11.894] (II) event6 - Logitech MX Master 3: device removed
[ 11.894] (II) libinput: Logitech MX Master 3: needs a virtual subdevice
[ 11.894] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.2/0003:046D:C52B.0007/0003:046D:4082.0008/input/input17/event6"
[ 11.894] (II) XINPUT: Adding extended input device "Logitech MX Master 3" (type: MOUSE, id 13)
[ 11.894] (**) Option "AccelerationScheme" "none"
[ 11.894] (**) Logitech MX Master 3: (accel) selected scheme none/0
[ 11.894] (**) Logitech MX Master 3: (accel) acceleration factor: 2.000
[ 11.895] (**) Logitech MX Master 3: (accel) acceleration threshold: 4
[ 11.896] (II) event6 - Logitech MX Master 3: is tagged by udev as: Keyboard Mouse
[ 11.896] (II) event6 - Logitech MX Master 3: device is a pointer
[ 11.896] (II) event6 - Logitech MX Master 3: device is a keyboard
[ 11.897] (II) config/udev: Adding input device Logitech MX Master 3 (/dev/input/mouse1)
[ 11.897] (II) No input driver specified, ignoring this device.
[ 11.897] (II) This device may have been added with another device file.
[ 11.897] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
[ 11.897] (II) No input driver specified, ignoring this device.
[ 11.897] (II) This device may have been added with another device file.
[ 11.897] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
[ 11.897] (II) No input driver specified, ignoring this device.
[ 11.897] (II) This device may have been added with another device file.
[ 11.898] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event7)
[ 11.898] (**) Ideapad extra buttons: Applying InputClass "libinput keyboard catchall"
[ 11.898] (II) Using input driver 'libinput' for 'Ideapad extra buttons'
[ 11.898] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 48 paused 0
[ 11.898] (**) Ideapad extra buttons: always reports core events
[ 11.898] (**) Option "Device" "/dev/input/event7"
[ 11.898] (**) Option "_source" "server/udev"
[ 11.899] (II) event7 - Ideapad extra buttons: is tagged by udev as: Keyboard
[ 11.899] (II) event7 - Ideapad extra buttons: device is a keyboard
[ 11.899] (II) event7 - Ideapad extra buttons: device removed
[ 11.899] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input18/event7"
[ 11.899] (II) XINPUT: Adding extended input device "Ideapad extra buttons" (type: KEYBOARD, id 14)
[ 11.900] (II) event7 - Ideapad extra buttons: is tagged by udev as: Keyboard
[ 11.900] (II) event7 - Ideapad extra buttons: device is a keyboard
[ 11.901] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 11.901] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 11.901] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 11.901] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 49 paused 0
[ 11.901] (**) AT Translated Set 2 keyboard: always reports core events
[ 11.901] (**) Option "Device" "/dev/input/event4"
[ 11.901] (**) Option "_source" "server/udev"
[ 11.902] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 11.902] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[ 11.903] (II) event4 - AT Translated Set 2 keyboard: device removed
[ 11.903] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[ 11.903] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 15)
[ 11.904] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 11.904] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[ 11.905] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event12)
[ 11.905] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[ 11.905] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[ 11.906] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 50 paused 0
[ 11.906] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 11.906] (**) Option "Device" "/dev/input/event12"
[ 11.906] (**) Option "_source" "server/udev"
[ 11.908] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[ 11.909] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 11.910] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[ 11.910] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input20/event12"
[ 11.910] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 16)
[ 11.911] (**) Option "AccelerationScheme" "none"
[ 11.911] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[ 11.911] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 11.911] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 11.912] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[ 11.913] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 11.913] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[ 11.913] (II) No input driver specified, ignoring this device.
[ 11.913] (II) This device may have been added with another device file.
[ 11.913] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[ 11.914] (II) No input driver specified, ignoring this device.
[ 11.914] (II) This device may have been added with another device file.
[ 11.961] (**) Logitech MX Keys: Applying InputClass "libinput keyboard catchall"
[ 11.961] (II) Using input driver 'libinput' for 'Logitech MX Keys'
[ 11.961] (II) systemd-logind: returning pre-existing fd for /dev/input/event5 13:69
[ 11.961] (**) Logitech MX Keys: always reports core events
[ 11.961] (**) Option "Device" "/dev/input/event5"
[ 11.961] (**) Option "_source" "_driver/libinput"
[ 11.961] (II) libinput: Logitech MX Keys: is a virtual subdevice
[ 11.961] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:046D:C52B.0003/0003:046D:408A.0004/input/input16/event5"
[ 11.961] (II) XINPUT: Adding extended input device "Logitech MX Keys" (type: KEYBOARD, id 17)
[ 11.961] (**) Logitech MX Master 3: Applying InputClass "libinput pointer catchall"
[ 11.961] (**) Logitech MX Master 3: Applying InputClass "libinput keyboard catchall"
[ 11.961] (II) Using input driver 'libinput' for 'Logitech MX Master 3'
[ 11.961] (II) systemd-logind: returning pre-existing fd for /dev/input/event6 13:70
[ 11.961] (**) Logitech MX Master 3: always reports core events
[ 11.961] (**) Option "Device" "/dev/input/event6"
[ 11.961] (**) Option "_source" "_driver/libinput"
[ 11.961] (II) libinput: Logitech MX Master 3: is a virtual subdevice
[ 11.961] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.2/0003:046D:C52B.0007/0003:046D:4082.0008/input/input17/event6"
[ 11.961] (II) XINPUT: Adding extended input device "Logitech MX Master 3" (type: KEYBOARD, id 18)
[ 13.668] (II) intel(0): EDID vendor "SDC", prod id 18514
[ 13.668] (II) intel(0): DDCModeFromDetailedTiming: Ignoring tiny 0x0 mode
[ 13.668] (II) intel(0): DDCModeFromDetailedTiming: Ignoring tiny 0x1107 mode
[ 13.668] (II) intel(0): DDCModeFromDetailedTiming: Ignoring tiny 0x1100 mode
[ 13.668] (II) intel(0): Printing DDC gathered Modelines:
[ 13.668] (II) intel(0): Modeline "3840x2160"x0.0 421.55 3840 3888 3920 3956 2160 2162 2167 2220 -hsync -vsync (106.6 kHz eP)
[ 16.282] (II) intel(0): resizing framebuffer to 1920x1080
[ 16.284] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection noneLast edited by kpj (2021-12-01 10:33:44)
Offline
nvidia-smi should show more than just xorg as the used processes. Also in general you might want to remove xf86-video-intel as xorg's built-in modesetting driver is better tested with this method and xf86-video-intel has in general a few buggy behaviours
Offline
I now removed the xf86-video-intel package.
According to nvidia-smi this seems to work. I first run "prime-run glxgears_fbconfig" and then get this:
$ nvidia-smi
Wed Dec 1 11:32:49 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.44 Driver Version: 495.44 CUDA Version: 11.5 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 41C P0 N/A / N/A | 20MiB / 4046MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 691 G /usr/lib/Xorg 17MiB |
| 0 N/A N/A 2562 G glxgears_fbconfig 1MiB |
+-----------------------------------------------------------------------------+In fact, nvidia-smi also lists the game I start in its processes section while MangoHud says it's using the Intel GPU and it has the same FPS as when not using prime-run.
Any idea why that could be happening?
Offline
When I run games with prime-run and MangoHud, it shows that only my Intel GPU is used and has very low FPS.
How exactly?
Sicne mangohud seems to be a wrapper around the binary and prime-run is too, order and export level will matter.
Look at https://github.com/archlinux/svntogit-p … /prime-run and just export the variables to your current shell, then "mangohud $THEGAME" from that shell.
Edit: btw, sorry because of wrong driver support statement :\
Last edited by seth (2021-12-01 11:50:13)
Online
Good question! Everything seems a bit confusing right now, so I will try to be as clear as possible.
All following investigations are with $DXVK_HUD=1 and $MANGOHUD_CONFIG=full.
When I just run "glxgears_fbconfig" I obviously only see the gears.
When I run "mangohud glxgears_fbconfig", MangoHud displays (the literal text) Geforce GTX 960M but "nvidia-smi" only lists the Xorg process.
When I run "mangohud prime-run glxgears_fbconfig", MangoHud also displays Geforce GTX 960M and "nvidia-smi" also lists the glxgears_fbconfig process.
Now consider the Steam game Trackmania Nations Forever.
First, I will launch it from the commandline.
When I run "wine TmForever.exe" the game starts and no HUD is shown.
When I run "mangohud wine TmForever.exe" also no hub is shown. This I do not understand.
When I run "prime-run mangohud wine TmForever.exe" no hub is shown and the graphics are messed up (everything is black and white).
Second, I launch Trackmania from within Steam and modify the LAUNCH OPTIONS in the general properties menu of that game.
When I use "%command%" there is a HUD on the top left which does now say "Geforce GTX 960M" instead of Intel as before... And the FPS are around 200 instead of 22 as before...
So things suddenly things work although I did not even use prime-run?
In preparation for this, I unset the environment variable VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nv_vulkan_wrapper.json:/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.i686.json" which I needed before for things to run...
This seems to have been the magical change.
While it is nice that things somehow seem to work, I am still deeply confused: why is my Nvidia GPU being used without me enabling it? Why does MangoHud display my Nvidia GPU while nvidia-smi does not list it in the glxgears example? Where does the Steam HUD for Trackmania come from? When I launch CS: Source I do not get it.
Last edited by kpj (2021-12-01 15:26:58)
Offline
why is my Nvidia GPU being used without me enabling it?
For proton/wine/dxvk or in general Vulkan titles, if you didn't installed vulkan icd files for your integrated chipset, the available icd files you probably installed just for nvidia or the one with greater priority is used.
koko@Gozer# pacman -Ql nvidia-utils|grep icd
nvidia-utils /usr/share/vulkan/icd.d/
nvidia-utils /usr/share/vulkan/icd.d/nvidia_icd.jsonWhy does MangoHud display my Nvidia GPU while nvidia-smi does not list it in the glxgears example?
This could be a mangohud related issue.
Where does the Steam HUD for Trackmania come from? When I launch CS: Source I do not get it.
No idea about that, i don't even know how this HUD is made
Last edited by kokoko3k (2021-12-01 15:53:13)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Afaik dxvk has on it's own code that will prefer a dedicated GPU without the lib-bender prime-run needs to do, but it shouldn't be harmful to combine the two.
So DXVK can be ran without prime-run and will automatically use dedicated GPUs, everything else should have prime-run to ensure the proper injections happen.
Last edited by V1del (2021-12-01 16:01:19)
Offline
Afaik dxvk has on it's own code that will prefer a dedicated GPU
Didn't know about that!
but it shouldn't be harmful to combine the two.
Indeed:
koko@Gozer# vkcube
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Selected GPU 0: NVIDIA GeForce GTX 1060 3GB, type: 2
koko@Gozer# prime-run vkcube
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Selected GPU 0: NVIDIA GeForce GTX 1060 3GB, type: 2Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
For proton/wine/dxvk or in general Vulkan titles, if you didn't installed vulkan icd files for your integrated chipset, the available icd files you probably installed just for nvidia or the one with greater priority is used.
Makes sense! I did notice that native Linux games need to be run with "prime-run %command%" while Proton games need nothing to be run on the Nvidia GPU (just as @V1del suggested).
No idea about that, i don't even know how this HUD is made
Turns out this HUD is another consequence of DXVK. Linux games (like CS: Source) don't have it while Proton games do.
When I run the Proton game with "DXVK_HUD= %command%" the HUD disappears.
Everything seems to work (for now...). I'll try to enjoy it until a random kernel/driver update breaks everything again :-D
Thank you all so much for your help!
Last edited by kpj (2021-12-02 09:10:28)
Offline
Great, please mark as [SOLVED] by editing the title in the first post (might have to shorten it a little)
Offline