You are not logged in.

#1 2020-05-15 08:57:27

draziel
Member
Registered: 2020-05-15
Posts: 4

[solved]Most applications are not using my GPU

Hello,

My system seems to only use GPU through Xorg and Proton applications (meaning that most windows games played through Proton works fine, but not native games).
I have no idea why some games (factorio, Xcom2, neverball for exemple) are not using my gpu (for exemple, i tried to run the game neverball, and while top showed 300% cpu used, nvidia-smi showed only xorg process)

Any idea of the commands/steps whoch would help me troubleshoot this ?

CPU : ryzen 3600
GPU : nvidia GTX 1660 super
GPU driver : nvidia
Kernell installed : linux, linux-zen, linux-fsync (nvidia-dkms also installed)
Kernell used : linux-zen (though probleme also tested with linux)
Xorg installed (and wayland seems to be installed too)
DE : i3

result of nvidia-smi after boot

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82       Driver Version: 440.82       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 166...  Off  | 00000000:06:00.0  On |                  N/A |
| 44%   31C    P8     3W / 125W |     56MiB /  5941MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       624      G   /usr/lib/Xorg                                 54MiB |
+-----------------------------------------------------------------------------+

An exemple while launching a game through Proton

[draziel@raven ~]$ nvidia-smi 
Fri May 15 10:50:12 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82       Driver Version: 440.82       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 166...  Off  | 00000000:06:00.0  On |                  N/A |
| 44%   33C    P0    28W / 125W |    535MiB /  5941MiB |     13%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       624      G   /usr/lib/Xorg                                 70MiB |
|    0     10391    C+G   ...\Terraforming Mars\TerraformingMars.exe   460MiB |
+-----------------------------------------------------------------------------+

x11 seems to be used

[draziel@raven ~]$ loginctl show-session 1 -p Type
Type=x11

Last edited by draziel (2020-05-15 15:36:45)

Offline

#2 2020-05-15 09:23:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [solved]Most applications are not using my GPU

Please use [ code ] and not [ quote ] tags. Post your xorg.log and maybe

pacman -Qs nvidia
printenv | grep GL
glxinfo -B #Needs mesa-demos

Offline

#3 2020-05-15 11:51:07

draziel
Member
Registered: 2020-05-15
Posts: 4

Re: [solved]Most applications are not using my GPU

pacman -Qs nvidia

[draziel@raven ~]$ pacman -Qs nvidia
local/lib32-nvidia-utils 440.82-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 440.82-1
    NVIDIA NV-CONTROL X extension
local/nvidia 440.82-12
    NVIDIA drivers for linux
local/nvidia-dkms 440.82-1
    NVIDIA drivers - module sources
local/nvidia-settings 440.82-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 440.82-1
    NVIDIA drivers utilities

printenv | grep GL gives no result  (should it gives some result ?)

glxinfo -B

[draziel@raven ~]$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 10.0.0, 128 bits) (0xffffffff)
    Version: 20.0.6
    Accelerated: no
    Video memory: 16019MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 10.0.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.0.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Xorg log

[     5.479] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[     5.479] Build Operating System: Linux Arch Linux
[     5.479] Current Operating System: Linux raven 5.6.11-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 06 May 2020 17:32:39 +0000 x86_64
[     5.479] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=23396911-268a-4132-9f91-396d66e6f311 rw ignore_loglevel nvidia-drm.modeset=1
[     5.479] Build Date: 05 May 2020  05:08:17AM
[     5.479]  
[     5.479] Current version of pixman: 0.40.0
[     5.479] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     5.479] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     5.479] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 15 10:04:17 2020
[     5.482] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     5.482] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     5.483] (==) ServerLayout "X.org Configured"
[     5.483] (**) |-->Screen "Screen0" (0)
[     5.483] (**) |   |-->Monitor "Monitor0"
[     5.484] (**) |   |-->Device "Card0"
[     5.484] (**) |   |-->GPUDevice "nvidia"
[     5.484] (**) |-->Input Device "Mouse0"
[     5.484] (**) |-->Input Device "Keyboard0"
[     5.484] (==) Automatically adding devices
[     5.484] (==) Automatically enabling devices
[     5.484] (==) Automatically adding GPU devices
[     5.484] (==) Automatically binding GPU devices
[     5.484] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     5.485] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     5.485] 	Entry deleted from font path.
[     5.485] (**) FontPath set to:
	
[     5.485] (**) ModulePath set to "/usr/lib/xorg/modules"
[     5.485] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     5.485] (WW) Disabling Mouse0
[     5.485] (WW) Disabling Keyboard0
[     5.485] (II) Module ABI versions:
[     5.485] 	X.Org ANSI C Emulation: 0.4
[     5.485] 	X.Org Video Driver: 24.1
[     5.485] 	X.Org XInput driver : 24.1
[     5.485] 	X.Org Server Extension : 10.0
[     5.485] (++) using VT number 1

[     5.485] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     5.488] (--) PCI:*(6@0:0:0) 10de:21c4:1462:c75a rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[     5.488] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     5.488] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[     5.488] (II) LoadModule: "glx"
[     5.488] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     5.501] (II) Module glx: vendor="X.Org Foundation"
[     5.501] 	compiled for 1.20.8, module version = 1.0.0
[     5.501] 	ABI class: X.Org Server Extension, version 10.0
[     5.501] (II) LoadModule: "nvidia"
[     5.502] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     5.511] (II) Module nvidia: vendor="NVIDIA Corporation"
[     5.511] 	compiled for 1.6.99.901, module version = 1.0.0
[     5.511] 	Module class: X.Org Video Driver
[     5.513] (II) NVIDIA dlloader X Driver  440.82  Wed Apr  1 19:50:17 UTC 2020
[     5.513] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     5.514] (II) Loading sub module "fb"
[     5.514] (II) LoadModule: "fb"
[     5.514] (II) Loading /usr/lib/xorg/modules/libfb.so
[     5.515] (II) Module fb: vendor="X.Org Foundation"
[     5.515] 	compiled for 1.20.8, module version = 1.0.0
[     5.515] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.515] (II) Loading sub module "wfb"
[     5.515] (II) LoadModule: "wfb"
[     5.515] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     5.517] (II) Module wfb: vendor="X.Org Foundation"
[     5.517] 	compiled for 1.20.8, module version = 1.0.0
[     5.517] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.517] (II) Loading sub module "ramdac"
[     5.517] (II) LoadModule: "ramdac"
[     5.517] (II) Module "ramdac" already built-in
[     6.489] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     6.489] (==) NVIDIA(0): RGB weight 888
[     6.489] (==) NVIDIA(0): Default visual is TrueColor
[     6.489] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     6.490] (**) NVIDIA(0): Enabling 2D acceleration
[     6.490] (II) Loading sub module "glxserver_nvidia"
[     6.490] (II) LoadModule: "glxserver_nvidia"
[     6.490] (WW) Warning, couldn't open module glxserver_nvidia
[     6.490] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[     6.490] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[     6.490] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[     6.490] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[     6.490] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[     6.490] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[     6.490] (II) NVIDIA: The X server does not support PRIME Render Offload.
[     6.564] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:6:0:0
[     6.564] (--) NVIDIA(0):     DFP-0
[     6.564] (--) NVIDIA(0):     DFP-1
[     6.564] (--) NVIDIA(0):     DFP-2
[     6.564] (--) NVIDIA(0):     DFP-3
[     6.564] (--) NVIDIA(0):     DFP-4 (boot)
[     6.564] (--) NVIDIA(0):     DFP-5
[     6.564] (--) NVIDIA(0):     DFP-6
[     6.632] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1660 SUPER (TU116-B) at PCI:6:0:0
[     6.632] (II) NVIDIA(0):     (GPU-0)
[     6.632] (--) NVIDIA(0): Memory: 6291456 kBytes
[     6.632] (--) NVIDIA(0): VideoBIOS: 90.16.42.00.e7
[     6.632] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     6.632] (--) NVIDIA(GPU-0): DFP-0: disconnected
[     6.632] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[     6.632] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[     6.632] (--) NVIDIA(GPU-0): 
[     6.632] (--) NVIDIA(GPU-0): DFP-1: disconnected
[     6.632] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[     6.632] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[     6.632] (--) NVIDIA(GPU-0): 
[     6.632] (--) NVIDIA(GPU-0): DFP-2: disconnected
[     6.632] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[     6.632] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[     6.632] (--) NVIDIA(GPU-0): 
[     6.632] (--) NVIDIA(GPU-0): DFP-3: disconnected
[     6.632] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[     6.632] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[     6.632] (--) NVIDIA(GPU-0): 
[     6.648] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): connected
[     6.648] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): Internal TMDS
[     6.648] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): 165.0 MHz maximum pixel clock
[     6.648] (--) NVIDIA(GPU-0): 
[     6.648] (--) NVIDIA(GPU-0): DFP-5: disconnected
[     6.648] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[     6.648] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[     6.648] (--) NVIDIA(GPU-0): 
[     6.648] (--) NVIDIA(GPU-0): DFP-6: disconnected
[     6.648] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[     6.648] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[     6.648] (--) NVIDIA(GPU-0): 
[     6.681] (==) NVIDIA(0): 
[     6.681] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[     6.681] (==) NVIDIA(0):     will be used as the requested mode.
[     6.681] (==) NVIDIA(0): 
[     6.682] (II) NVIDIA(0): Validated MetaModes:
[     6.682] (II) NVIDIA(0):     "DFP-4:nvidia-auto-select"
[     6.682] (II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
[     6.712] (--) NVIDIA(0): DPI set to (90, 88); computed from "UseEdidDpi" X config
[     6.712] (--) NVIDIA(0):     option
[     6.713] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[     6.713] (II) NVIDIA:     access.
[     6.716] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[     6.716] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[     6.716] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[     6.716] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[     6.716] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[     6.716] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[     6.716] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[     6.716] (II) NVIDIA(0):     Config Options in the README.
[     6.764] (II) NVIDIA(0): Setting mode "DFP-4:nvidia-auto-select"
[     6.900] (==) NVIDIA(0): Disabling shared memory pixmaps
[     6.900] (==) NVIDIA(0): Backing store enabled
[     6.900] (==) NVIDIA(0): Silken mouse disabled
[     6.900] (==) NVIDIA(0): DPMS enabled
[     6.902] (II) Loading sub module "dri2"
[     6.902] (II) LoadModule: "dri2"
[     6.902] (II) Module "dri2" already built-in
[     6.902] (II) NVIDIA(0): [DRI2] Setup complete
[     6.902] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     6.903] (II) Initializing extension Generic Event Extension
[     6.903] (II) Initializing extension SHAPE
[     6.903] (II) Initializing extension MIT-SHM
[     6.903] (II) Initializing extension XInputExtension
[     6.903] (II) Initializing extension XTEST
[     6.903] (II) Initializing extension BIG-REQUESTS
[     6.903] (II) Initializing extension SYNC
[     6.903] (II) Initializing extension XKEYBOARD
[     6.903] (II) Initializing extension XC-MISC
[     6.903] (II) Initializing extension SECURITY
[     6.903] (II) Initializing extension XFIXES
[     6.903] (II) Initializing extension RENDER
[     6.903] (II) Initializing extension RANDR
[     6.903] (II) Initializing extension COMPOSITE
[     6.903] (II) Initializing extension DAMAGE
[     6.903] (II) Initializing extension MIT-SCREEN-SAVER
[     6.903] (II) Initializing extension DOUBLE-BUFFER
[     6.903] (II) Initializing extension RECORD
[     6.903] (II) Initializing extension DPMS
[     6.903] (II) Initializing extension Present
[     6.903] (II) Initializing extension DRI3
[     6.903] (II) Initializing extension X-Resource
[     6.903] (II) Initializing extension XVideo
[     6.903] (II) Initializing extension XVideo-MotionCompensation
[     6.903] (II) Initializing extension GLX
[     6.903] (II) AIGLX: Screen 0 is not DRI2 capable
[     7.117] (II) IGLX: Loaded and initialized swrast
[     7.117] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     7.117] (II) Initializing extension XFree86-VidModeExtension
[     7.117] (II) Initializing extension XFree86-DGA
[     7.117] (II) Initializing extension XFree86-DRI
[     7.117] (II) Initializing extension DRI2
[     7.117] (II) Initializing extension NV-GLX
[     7.117] (II) Initializing extension NV-CONTROL
[     7.117] (II) Initializing extension XINERAMA
[     7.161] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     7.161] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     7.161] (**) Power Button: Applying InputClass "Keyboard Layout"
[     7.161] (II) LoadModule: "libinput"
[     7.161] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     7.166] (II) Module libinput: vendor="X.Org Foundation"
[     7.166] 	compiled for 1.20.7, module version = 0.29.0
[     7.166] 	Module class: X.Org XInput Driver
[     7.166] 	ABI class: X.Org XInput driver, version 24.1
[     7.166] (II) Using input driver 'libinput' for 'Power Button'
[     7.166] (**) Power Button: always reports core events
[     7.166] (**) Option "Device" "/dev/input/event1"
[     7.166] (**) Option "_source" "server/udev"
[     7.172] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     7.172] (II) event1  - Power Button: device is a keyboard
[     7.173] (II) event1  - Power Button: device removed
[     7.183] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[     7.183] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     7.183] (**) Option "xkb_layout" "fr"
[     7.183] (**) Option "xkb_variant" "latin9"
[     7.197] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     7.197] (II) event1  - Power Button: device is a keyboard
[     7.198] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     7.198] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     7.198] (**) Power Button: Applying InputClass "Keyboard Layout"
[     7.198] (II) Using input driver 'libinput' for 'Power Button'
[     7.198] (**) Power Button: always reports core events
[     7.198] (**) Option "Device" "/dev/input/event0"
[     7.198] (**) Option "_source" "server/udev"
[     7.199] (II) event0  - Power Button: is tagged by udev as: Keyboard
[     7.199] (II) event0  - Power Button: device is a keyboard
[     7.199] (II) event0  - Power Button: device removed
[     7.211] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[     7.211] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[     7.211] (**) Option "xkb_layout" "fr"
[     7.211] (**) Option "xkb_variant" "latin9"
[     7.212] (II) event0  - Power Button: is tagged by udev as: Keyboard
[     7.212] (II) event0  - Power Button: device is a keyboard
[     7.212] (II) config/udev: Adding input device SOAI Gaming Mouse (/dev/input/event15)
[     7.212] (**) SOAI Gaming Mouse: Applying InputClass "libinput keyboard catchall"
[     7.212] (**) SOAI Gaming Mouse: Applying InputClass "Keyboard Layout"
[     7.212] (II) Using input driver 'libinput' for 'SOAI Gaming Mouse'
[     7.212] (**) SOAI Gaming Mouse: always reports core events
[     7.212] (**) Option "Device" "/dev/input/event15"
[     7.212] (**) Option "_source" "server/udev"
[     7.214] (II) event15 - SOAI Gaming Mouse: is tagged by udev as: Keyboard
[     7.214] (II) event15 - SOAI Gaming Mouse: device is a keyboard
[     7.214] (II) event15 - SOAI Gaming Mouse: device removed
[     7.231] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.0/0003:1D57:AD03.0001/input/input15/event15"
[     7.231] (II) XINPUT: Adding extended input device "SOAI Gaming Mouse" (type: KEYBOARD, id 8)
[     7.231] (**) Option "xkb_layout" "fr"
[     7.231] (**) Option "xkb_variant" "latin9"
[     7.232] (II) event15 - SOAI Gaming Mouse: is tagged by udev as: Keyboard
[     7.232] (II) event15 - SOAI Gaming Mouse: device is a keyboard
[     7.233] (II) config/udev: Adding input device SOAI Gaming Mouse (/dev/input/event16)
[     7.233] (**) SOAI Gaming Mouse: Applying InputClass "libinput pointer catchall"
[     7.233] (II) Using input driver 'libinput' for 'SOAI Gaming Mouse'
[     7.233] (**) SOAI Gaming Mouse: always reports core events
[     7.233] (**) Option "Device" "/dev/input/event16"
[     7.233] (**) Option "_source" "server/udev"
[     7.235] (II) event16 - SOAI Gaming Mouse: is tagged by udev as: Mouse
[     7.235] (II) event16 - SOAI Gaming Mouse: device is a pointer
[     7.235] (II) event16 - SOAI Gaming Mouse: device removed
[     7.267] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.1/0003:1D57:AD03.0002/input/input16/event16"
[     7.267] (II) XINPUT: Adding extended input device "SOAI Gaming Mouse" (type: MOUSE, id 9)
[     7.267] (**) Option "AccelerationScheme" "none"
[     7.267] (**) SOAI Gaming Mouse: (accel) selected scheme none/0
[     7.267] (**) SOAI Gaming Mouse: (accel) acceleration factor: 2.000
[     7.267] (**) SOAI Gaming Mouse: (accel) acceleration threshold: 4
[     7.268] (II) event16 - SOAI Gaming Mouse: is tagged by udev as: Mouse
[     7.268] (II) event16 - SOAI Gaming Mouse: device is a pointer
[     7.269] (II) config/udev: Adding input device SOAI Gaming Mouse (/dev/input/mouse0)
[     7.269] (II) No input driver specified, ignoring this device.
[     7.269] (II) This device may have been added with another device file.
[     7.270] (II) config/udev: Adding input device SOAI Gaming Mouse Consumer Control (/dev/input/event17)
[     7.270] (**) SOAI Gaming Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
[     7.270] (**) SOAI Gaming Mouse Consumer Control: Applying InputClass "Keyboard Layout"
[     7.270] (II) Using input driver 'libinput' for 'SOAI Gaming Mouse Consumer Control'
[     7.270] (**) SOAI Gaming Mouse Consumer Control: always reports core events
[     7.270] (**) Option "Device" "/dev/input/event17"
[     7.270] (**) Option "_source" "server/udev"
[     7.271] (II) event17 - SOAI Gaming Mouse Consumer Control: is tagged by udev as: Keyboard
[     7.271] (II) event17 - SOAI Gaming Mouse Consumer Control: device is a keyboard
[     7.272] (II) event17 - SOAI Gaming Mouse Consumer Control: device removed
[     7.283] (II) libinput: SOAI Gaming Mouse Consumer Control: needs a virtual subdevice
[     7.283] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.1/0003:1D57:AD03.0002/input/input17/event17"
[     7.283] (II) XINPUT: Adding extended input device "SOAI Gaming Mouse Consumer Control" (type: MOUSE, id 10)
[     7.283] (**) Option "AccelerationScheme" "none"
[     7.283] (**) SOAI Gaming Mouse Consumer Control: (accel) selected scheme none/0
[     7.283] (**) SOAI Gaming Mouse Consumer Control: (accel) acceleration factor: 2.000
[     7.283] (**) SOAI Gaming Mouse Consumer Control: (accel) acceleration threshold: 4
[     7.284] (II) event17 - SOAI Gaming Mouse Consumer Control: is tagged by udev as: Keyboard
[     7.284] (II) event17 - SOAI Gaming Mouse Consumer Control: device is a keyboard
[     7.285] (II) config/udev: Adding input device SOAI Gaming Mouse System Control (/dev/input/event18)
[     7.285] (**) SOAI Gaming Mouse System Control: Applying InputClass "libinput keyboard catchall"
[     7.285] (**) SOAI Gaming Mouse System Control: Applying InputClass "Keyboard Layout"
[     7.285] (II) Using input driver 'libinput' for 'SOAI Gaming Mouse System Control'
[     7.285] (**) SOAI Gaming Mouse System Control: always reports core events
[     7.285] (**) Option "Device" "/dev/input/event18"
[     7.285] (**) Option "_source" "server/udev"
[     7.287] (II) event18 - SOAI Gaming Mouse System Control: is tagged by udev as: Keyboard
[     7.287] (II) event18 - SOAI Gaming Mouse System Control: device is a keyboard
[     7.287] (II) event18 - SOAI Gaming Mouse System Control: device removed
[     7.295] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.1/0003:1D57:AD03.0002/input/input18/event18"
[     7.295] (II) XINPUT: Adding extended input device "SOAI Gaming Mouse System Control" (type: KEYBOARD, id 11)
[     7.295] (**) Option "xkb_layout" "fr"
[     7.295] (**) Option "xkb_variant" "latin9"
[     7.296] (II) event18 - SOAI Gaming Mouse System Control: is tagged by udev as: Keyboard
[     7.296] (II) event18 - SOAI Gaming Mouse System Control: device is a keyboard
[     7.297] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event19)
[     7.297] (**) Logitech USB Keyboard: Applying InputClass "libinput keyboard catchall"
[     7.297] (**) Logitech USB Keyboard: Applying InputClass "Keyboard Layout"
[     7.297] (II) Using input driver 'libinput' for 'Logitech USB Keyboard'
[     7.297] (**) Logitech USB Keyboard: always reports core events
[     7.297] (**) Option "Device" "/dev/input/event19"
[     7.297] (**) Option "_source" "server/udev"
[     7.299] (II) event19 - Logitech USB Keyboard: is tagged by udev as: Keyboard
[     7.299] (II) event19 - Logitech USB Keyboard: device is a keyboard
[     7.299] (II) event19 - Logitech USB Keyboard: device removed
[     7.311] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-6/1-6:1.0/0003:046D:C31C.0003/input/input19/event19"
[     7.311] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 12)
[     7.311] (**) Option "xkb_layout" "fr"
[     7.311] (**) Option "xkb_variant" "latin9"
[     7.312] (II) event19 - Logitech USB Keyboard: is tagged by udev as: Keyboard
[     7.312] (II) event19 - Logitech USB Keyboard: device is a keyboard
[     7.313] (II) config/udev: Adding input device Logitech USB Keyboard Consumer Control (/dev/input/event20)
[     7.313] (**) Logitech USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[     7.313] (**) Logitech USB Keyboard Consumer Control: Applying InputClass "Keyboard Layout"
[     7.313] (II) Using input driver 'libinput' for 'Logitech USB Keyboard Consumer Control'
[     7.313] (**) Logitech USB Keyboard Consumer Control: always reports core events
[     7.313] (**) Option "Device" "/dev/input/event20"
[     7.313] (**) Option "_source" "server/udev"
[     7.314] (II) event20 - Logitech USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[     7.315] (II) event20 - Logitech USB Keyboard Consumer Control: device is a keyboard
[     7.315] (II) event20 - Logitech USB Keyboard Consumer Control: device removed
[     7.339] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-6/1-6:1.1/0003:046D:C31C.0004/input/input20/event20"
[     7.339] (II) XINPUT: Adding extended input device "Logitech USB Keyboard Consumer Control" (type: KEYBOARD, id 13)
[     7.339] (**) Option "xkb_layout" "fr"
[     7.339] (**) Option "xkb_variant" "latin9"
[     7.340] (II) event20 - Logitech USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[     7.340] (II) event20 - Logitech USB Keyboard Consumer Control: device is a keyboard
[     7.341] (II) config/udev: Adding input device Logitech USB Keyboard System Control (/dev/input/event21)
[     7.341] (**) Logitech USB Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[     7.341] (**) Logitech USB Keyboard System Control: Applying InputClass "Keyboard Layout"
[     7.341] (II) Using input driver 'libinput' for 'Logitech USB Keyboard System Control'
[     7.341] (**) Logitech USB Keyboard System Control: always reports core events
[     7.341] (**) Option "Device" "/dev/input/event21"
[     7.341] (**) Option "_source" "server/udev"
[     7.342] (II) event21 - Logitech USB Keyboard System Control: is tagged by udev as: Keyboard
[     7.342] (II) event21 - Logitech USB Keyboard System Control: device is a keyboard
[     7.343] (II) event21 - Logitech USB Keyboard System Control: device removed
[     7.355] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-6/1-6:1.1/0003:046D:C31C.0004/input/input21/event21"
[     7.355] (II) XINPUT: Adding extended input device "Logitech USB Keyboard System Control" (type: KEYBOARD, id 14)
[     7.355] (**) Option "xkb_layout" "fr"
[     7.355] (**) Option "xkb_variant" "latin9"
[     7.356] (II) event21 - Logitech USB Keyboard System Control: is tagged by udev as: Keyboard
[     7.356] (II) event21 - Logitech USB Keyboard System Control: device is a keyboard
[     7.356] (II) config/udev: Adding drm device (/dev/dri/card0)
[     7.356] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.357] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event3)
[     7.357] (II) No input driver specified, ignoring this device.
[     7.357] (II) This device may have been added with another device file.
[     7.357] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event4)
[     7.357] (II) No input driver specified, ignoring this device.
[     7.357] (II) This device may have been added with another device file.
[     7.358] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event5)
[     7.358] (II) No input driver specified, ignoring this device.
[     7.358] (II) This device may have been added with another device file.
[     7.358] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event6)
[     7.358] (II) No input driver specified, ignoring this device.
[     7.358] (II) This device may have been added with another device file.
[     7.358] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event7)
[     7.358] (II) No input driver specified, ignoring this device.
[     7.358] (II) This device may have been added with another device file.
[     7.359] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=11 (/dev/input/event8)
[     7.359] (II) No input driver specified, ignoring this device.
[     7.359] (II) This device may have been added with another device file.
[     7.359] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=12 (/dev/input/event9)
[     7.359] (II) No input driver specified, ignoring this device.
[     7.359] (II) This device may have been added with another device file.
[     7.359] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event10)
[     7.359] (II) No input driver specified, ignoring this device.
[     7.359] (II) This device may have been added with another device file.
[     7.360] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event11)
[     7.360] (II) No input driver specified, ignoring this device.
[     7.360] (II) This device may have been added with another device file.
[     7.360] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event12)
[     7.360] (II) No input driver specified, ignoring this device.
[     7.360] (II) This device may have been added with another device file.
[     7.360] (II) config/udev: Adding input device HD-Audio Generic Line Out (/dev/input/event13)
[     7.360] (II) No input driver specified, ignoring this device.
[     7.360] (II) This device may have been added with another device file.
[     7.361] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event14)
[     7.361] (II) No input driver specified, ignoring this device.
[     7.361] (II) This device may have been added with another device file.
[     7.361] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[     7.361] (II) No input driver specified, ignoring this device.
[     7.361] (II) This device may have been added with another device file.
[     7.364] (**) SOAI Gaming Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
[     7.364] (**) SOAI Gaming Mouse Consumer Control: Applying InputClass "Keyboard Layout"
[     7.364] (II) Using input driver 'libinput' for 'SOAI Gaming Mouse Consumer Control'
[     7.364] (**) SOAI Gaming Mouse Consumer Control: always reports core events
[     7.364] (**) Option "Device" "/dev/input/event17"
[     7.364] (**) Option "_source" "_driver/libinput"
[     7.364] (II) libinput: SOAI Gaming Mouse Consumer Control: is a virtual subdevice
[     7.364] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.1/0003:1D57:AD03.0002/input/input17/event17"
[     7.364] (II) XINPUT: Adding extended input device "SOAI Gaming Mouse Consumer Control" (type: KEYBOARD, id 15)
[     7.364] (**) Option "xkb_layout" "fr"
[     7.364] (**) Option "xkb_variant" "latin9"
[     7.365] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:03.1/0000:06:00.0/drm/card0 /dev/dri/card0
[     7.365] (II) config/udev: Adding drm device (/dev/dri/card0)
[     7.365] (II) xfree86: Adding drm device (/dev/dri/card0)
[    36.827] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    36.827] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    36.827] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    36.827] (--) NVIDIA(GPU-0): 
[    36.827] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    36.827] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    36.827] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    36.827] (--) NVIDIA(GPU-0): 
[    36.827] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    36.827] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    36.827] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    36.827] (--) NVIDIA(GPU-0): 
[    36.828] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    36.828] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    36.828] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    36.828] (--) NVIDIA(GPU-0): 
[    36.843] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): connected
[    36.843] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): Internal TMDS
[    36.843] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): 165.0 MHz maximum pixel clock
[    36.843] (--) NVIDIA(GPU-0): 
[    36.843] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    36.843] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    36.843] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[    36.843] (--) NVIDIA(GPU-0): 
[    36.843] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    36.843] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[    36.843] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[    36.843] (--) NVIDIA(GPU-0): 
[    40.441] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    40.441] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    40.441] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    40.441] (--) NVIDIA(GPU-0): 
[    40.442] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    40.442] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    40.442] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    40.442] (--) NVIDIA(GPU-0): 
[    40.442] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    40.442] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    40.442] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    40.442] (--) NVIDIA(GPU-0): 
[    40.442] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    40.442] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    40.442] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    40.442] (--) NVIDIA(GPU-0): 
[    40.457] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): connected
[    40.457] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): Internal TMDS
[    40.457] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-4): 165.0 MHz maximum pixel clock
[    40.457] (--) NVIDIA(GPU-0): 
[    40.457] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    40.457] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    40.457] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[    40.457] (--) NVIDIA(GPU-0): 
[    40.458] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    40.458] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[    40.458] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[    40.458] (--) NVIDIA(GPU-0): 

Offline

#4 2020-05-15 12:18:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [solved]Most applications are not using my GPU

Remove the static xorg.conf that you generated. the GLX module fails to initialize, so you do not have access to OpenGL acceleration (proton works because most things will inherently use vulkan and vulkan seems to work). Should removal of the xorg.conf not be enough include the nvidia modules into your initramfs as detailed in: https://wiki.archlinux.org/index.php/NV … de_setting

Regarding the printenv it shouldn't under normal circumstances, I was checking on whether you had some environment variable set that would enforce software rendering)

Last edited by V1del (2020-05-15 12:19:48)

Offline

#5 2020-05-15 13:34:08

draziel
Member
Registered: 2020-05-15
Posts: 4

Re: [solved]Most applications are not using my GPU

I disabled all my xorg.conf file and the last to be disabled made the system work

Culprit seems to be the file recommended to be here : https://wiki.archlinux.org/index.php/NV … figuration

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        BoardName "GeForce GTX 1660 Super"
EndSection

System now seems to be running fine.

Any idea why ?

Offline

#6 2020-05-15 13:44:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [solved]Most applications are not using my GPU

Yes. That configuration seems to break/prevent the normal logic present in /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf from triggering, which is the file that ensures that the nvidia xorg driver can find its GLX modules, while doing nothing useful on it's own as it stands (it might help in forcing the nvdia driver if you have multiple graphics chipsets and you need to ensure nvidia is the driving force but as it stands on single GPU systems, not much use).

I might give a shot at rewritting/rewording the wiki after work if I remember, if the issue is [SOLVED] please indicate it as such by editing the title in the first post.

Last edited by V1del (2020-05-15 15:05:08)

Offline

#7 2020-05-15 15:36:25

draziel
Member
Registered: 2020-05-15
Posts: 4

Re: [solved]Most applications are not using my GPU

Strangest thing is there was a file 10-nvidia-drm-outpoutclass.conf in the /etc/X11 folder
So my drivers should have been loaded hmm (is that because there is 2 10-xxx files ?)

[draziel@raven ~]$ diff /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf.backup /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 
6d5
<     Option "PrimaryGPU" "yes"
[draziel@raven ~]$ cat /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf.backup 
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection
[draziel@raven ~]$ ls -al /etc/X11/xorg.conf.d/
total 24
drwxr-xr-x 2 root root 4096 May 15 15:38 .
drwxr-xr-x 4 root root 4096 May 15 15:00 ..
-rw-r--r-- 1 root root 1529 Dec 12 02:11 00-xorg.conf.backup
-rw-r--r-- 1 root root  281 May 13 07:11 10-keyboard-layout.conf
-rw-r--r-- 1 root root  257 Apr 22 03:05 10-nvidia-drm-outputclass.conf.backup
-rw-r--r-- 1 root root  168 May 15 15:36 20-nvidia.conf.backup

Thx anyway, problem solved !

Offline

#8 2020-05-15 15:51:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [solved]Most applications are not using my GPU

The "Device" Section switches xorg from "autodetection to determine the devices" to "that device section knows what it's talking about"-Mode (or at least that's my observation of the behaviour, maybe someone might want to confirm/deny that observation) so you could do all of these definitions in the Device section as well, but the Outputclass information intended to be applied for automatically detected cards will simply get ignored, as the device section enforces a static configuration.

Last edited by V1del (2020-05-15 15:53:09)

Offline

Board footer

Powered by FluxBB