You are not logged in.

#1 2020-09-22 11:31:44

Noki
Member
Registered: 2018-06-08
Posts: 98

[SOLVED] Nvidia Graphics card terrible performance

Hi all, I've recently switch back to Arch from Manjaro and am having issues with my Geforce RTX 2060 card. I've been debugging but have hit a bit of a wall and need help. Below I will list some of the issues I am seeing and what I have done to attempt to fix it. I installed it with this guide, and went through this wiki too.

- No transparency options for apps in KDE, Konsole and things like the shutdown overlay are solid colour. Konsole even says in the Profile Menu under Appearance 'This colour scheme uses a transparent background which does not appear to be supported on your desktop'.
- Games (such as HL2) run at 0.5 FPS. I recently completed HL2 with Manjaro as my OS and it was smooth as butter.
- Overall the desktop feels more sluggish than it used to, but it's hard to tell.
- Thermals are higher than they used to be (may be unrelated, the machine is getting old).

In terms of packages this is what I have installed (nvidia nvidia-settings lib32-nvidia-utils lib32-nvidia-libgl mesa xf86-video-intel nvidia-utils mesa mesa-libgl lib32-mesa) and I also installed and run the bumblebee service. I have even blakclisted nouveua.

I ran HL2 again and then quit and ran dmesg and lspci, this pastebin has the contents. I see 'error' around a USB thing, doesn't seem related, and it does mention bumblebee but I get the same performance with or without it so also seems unrelated.

What are my next steps in debugging this issue? Happy to post any logs etc that might help. Any help would be appreciated.

Last edited by Noki (2020-09-22 14:38:52)

Offline

#2 2020-09-22 11:47:36

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

Re: [SOLVED] Nvidia Graphics card terrible performance

Post your xorg config, if you've generated anything here, remove whatever you generated and retry, maybe also post a xorg log and

pacman -Qs nvidia
pacman -Qs linux
glxinfo -B

...
Why did you install bumblebee? Do you have multiple cards? is this a laptop? The lspci output suggest there's no intel  vga but it is loaded in dmesg.

Last edited by V1del (2020-09-22 11:56:09)

Offline

#3 2020-09-22 12:13:50

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

I removed the xorg.conf I made and ran the above commands outout here. I then foolishly rebooted without restoring the backup file. Having a no brain day today.

[noki@GRANDSLAM ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 455.23.04

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 450.66

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AUS ASUS VP28U"
    HorizSync       134.0 - 134.0
    VertRefresh     40.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 2060"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DP-0: 3840x2160_60 +0+1080, HDMI-0: 1920x1080_60 +2432+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Another example is Spectacle (the screenshot tool) when I try to take a 'rectangle region' grab it should bring up a transparent overlay but often the app just crashes or disappears without error when I try to do it.

Last edited by Noki (2020-09-22 12:48:29)

Offline

#4 2020-09-22 13:15:38

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

tialing X logs gives this when I run HL2:

[  3746.481] (II) event6  - Logitech G502 HERO Gaming Mouse: SYN_DROPPED event - some input events have been lost.
[  3753.104] (II) event6  - Logitech G502 HERO Gaming Mouse: SYN_DROPPED event - some input events have been lost.
[  3762.230] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-11ms), your system is too slow
[  3767.316] (--) NVIDIA(GPU-0): DENON, Ltd. DENON-AVAMP (DFP-0): connected
[  3767.316] (--) NVIDIA(GPU-0): DENON, Ltd. DENON-AVAMP (DFP-0): Internal TMDS
[  3767.316] (--) NVIDIA(GPU-0): DENON, Ltd. DENON-AVAMP (DFP-0): 600.0 MHz maximum pixel clock
[  3767.316] (--) NVIDIA(GPU-0): 
[  3767.316] (--) NVIDIA(GPU-0): AUS ASUS VP28U (DFP-1): connected
[  3767.316] (--) NVIDIA(GPU-0): AUS ASUS VP28U (DFP-1): Internal DisplayPort
[  3767.316] (--) NVIDIA(GPU-0): AUS ASUS VP28U (DFP-1): 2660.0 MHz maximum pixel clock
[  3767.316] (--) NVIDIA(GPU-0): 
[  3767.317] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  3767.317] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  3767.317] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  3767.317] (--) NVIDIA(GPU-0): 
[  3767.317] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): connected
[  3767.317] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): Internal DisplayPort
[  3767.317] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): 2660.0 MHz maximum pixel clock
[  3767.317] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): supports NVIDIA 3D Vision stereo.
[  3767.317] (--) NVIDIA(GPU-0): 
[  3767.318] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  3767.318] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[  3767.318] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[  3767.318] (--) NVIDIA(GPU-0): 
[  3767.318] (--) NVIDIA(GPU-0): DFP-5: disconnected
[  3767.318] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[  3767.318] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[  3767.318] (--) NVIDIA(GPU-0): 
[  3767.319] (--) NVIDIA(GPU-0): DFP-6: disconnected
[  3767.319] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[  3767.319] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[  3767.319] (--) NVIDIA(GPU-0): 
[  3767.355] (--) NVIDIA(GPU-0): DENON, Ltd. DENON-AVAMP (DFP-0): connected
[  3767.355] (--) NVIDIA(GPU-0): DENON, Ltd. DENON-AVAMP (DFP-0): Internal TMDS
[  3767.355] (--) NVIDIA(GPU-0): DENON, Ltd. DENON-AVAMP (DFP-0): 600.0 MHz maximum pixel clock
[  3767.355] (--) NVIDIA(GPU-0): 
[  3767.355] (--) NVIDIA(GPU-0): AUS ASUS VP28U (DFP-1): connected
[  3767.355] (--) NVIDIA(GPU-0): AUS ASUS VP28U (DFP-1): Internal DisplayPort
[  3767.355] (--) NVIDIA(GPU-0): AUS ASUS VP28U (DFP-1): 2660.0 MHz maximum pixel clock
[  3767.355] (--) NVIDIA(GPU-0): 
[  3767.356] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  3767.356] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  3767.356] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  3767.357] (--) NVIDIA(GPU-0): 
[  3767.357] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): connected
[  3767.357] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): Internal DisplayPort
[  3767.357] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): 2660.0 MHz maximum pixel clock
[  3767.357] (--) NVIDIA(GPU-0): BenQ XL2420T (DFP-3): supports NVIDIA 3D Vision stereo.
[  3767.357] (--) NVIDIA(GPU-0): 
[  3767.358] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  3767.358] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[  3767.358] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[  3767.358] (--) NVIDIA(GPU-0): 
[  3767.358] (--) NVIDIA(GPU-0): DFP-5: disconnected
[  3767.358] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[  3767.358] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[  3767.358] (--) NVIDIA(GPU-0): 
[  3767.358] (--) NVIDIA(GPU-0): DFP-6: disconnected
[  3767.358] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[  3767.358] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[  3767.358] (--) NVIDIA(GPU-0): 
[  3772.245] (EE) event6  - Logitech G502 HERO Gaming Mouse: client bug: event processing lagging behind by 26ms, your system is too slow
[  3772.245] (EE) event6  - Logitech G502 HERO Gaming Mouse: WARNING: log rate limit exceeded (5 msgs per 60s). Discarding future messages.
[  3806.181] (EE) event6  - Logitech G502 HERO Gaming Mouse: client bug: event processing lagging behind by 15ms, your system is too slow
[  3815.937] (EE) client bug: timer event6 debounce short: scheduled expiry is in the past (-4ms), your system is too slow
[  3840.215] (EE) event6  - Logitech G502 HERO Gaming Mouse: client bug: event processing lagging behind by 16ms, your system is too slow

Offline

#5 2020-09-22 13:20:16

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

Re: [SOLVED] Nvidia Graphics card terrible performance

Please post the entire thing instead of a random excerpt. And answer my questions. If this isn't a laptop, remove the xorg.conf and bumblebee.

Last edited by V1del (2020-09-22 13:23:16)

Offline

#6 2020-09-22 13:22:33

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

Sure, here is my entire Xorg.0.log file.

Offline

#7 2020-09-22 13:25:42

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

Re: [SOLVED] Nvidia Graphics card terrible performance

If you remove your xorg.conf does xorg simply not start? There is technically a second GPU but it doesn't appear to be connected anywhere, to be absolutely certain, disable the integrated GPU in your BIOS/UEFI

Offline

#8 2020-09-22 13:35:18

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

Hi,

I cannot see an option in my BIOS to disable the Intel GPU. When I remove xorg.conf I get a black screen on boot but have a mint install i can use to restore from easily.

This post has a similar error in the log to mine but adding these lines had no effect on the system.

Offline

#9 2020-09-22 13:52:18

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

I have now removed everything nvidia related, deleted xorg.conf and stopped the bumblebee service (even had to remove steam to allow it) and I am now on the basics, I will attempt to start from scratch installing and setting it all up.

This is the output for the commands you asked for earlier now everything is removed:

[noki@GRANDSLAM ~]$ pacman -Qs nvidia
local/egl-wayland 1.1.5-1
    EGLStream-based Wayland external platform
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 455.23.04-1
    NVIDIA NV-CONTROL X extension
[noki@GRANDSLAM ~]$ pacman -Qs linux
local/alsa-lib 1.2.3.2-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.2.3-2
    Advanced Linux Sound Architecture - Utilities
local/archlinux-appstream-data 20200828-1
    Arch Linux application database for AppStream-based software centers
local/archlinux-keyring 20200820-1
    Arch Linux PGP keyring
local/avahi 0.8+15+ge8a3dd0-1
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 2-2
    Minimal package set to define a basic Arch Linux installation
local/cpupower 5.7-1 (linux-tools)
    Linux kernel tool to examine and tune power saving related features of your processor
local/efibootmgr 17-2
    Linux user-space application to modify the EFI Boot Manager
local/filesystem 2020.08.21-1
    Base Arch Linux files
local/flatpak 1.8.1-1
    Linux application sandboxing and distribution framework (formerly xdg-app)
local/i7z 0.27.2.git1-8
    A better i7 (and now i3, i5) reporting tool for Linux
local/iptables 1:1.8.5-2
    Linux kernel packet control tool (using legacy interface)
local/kdenlive 20.08.1-1 (kde-applications kde-multimedia)
    A non-linear video editor for Linux using the MLT video framework
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 27-2
    Linux kernel module management tools and library
local/lib32-alsa-lib 1.2.3.2-1
    An alternative implementation of Linux sound support (32 bit)
local/lib32-libxshmfence 1.3-2
    a library that exposes a event API on top of Linux futexes (32-bit)
local/lib32-util-linux 2.36-1
    Miscellaneous system utilities for Linux (32-bit)
local/libaio 0.3.112-2
    The Linux-native asynchronous I/O facility (aio) library
local/libiec61883 1.2.0-6
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.3.0-1
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/liburing 0.7-1
    Linux-native io_uring I/O access library
local/libva 2.9.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3-2
    a library that exposes a event API on top of Linux futexes
local/linux 5.8.10.arch1-1
    The Linux kernel and modules
local/linux-api-headers 5.8-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20200817.7a30af1-1
    Firmware files for Linux
local/lirc 1:0.10.1-6
    Linux Infrared Remote Control utilities
local/mdadm 4.1-2
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/ndctl 69-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/pacman-mirrorlist 20200920-1
    Arch Linux mirror list for use by pacman
local/pkgstats 2.4.2-2
    Submit a list of installed packages to the Arch Linux project
local/psensor 1.2.0-7
    A graphical hardware temperature monitor for Linux
local/python-distro 1.5.0-1
    Linux OS platform information API
local/python-evdev 1.3.0-1
    Python bindings for the Linux input subsystem
local/thermald 2.3-1
    The Linux Thermal Daemon program from 01.org
local/util-linux 2.36-4
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.36-4
    util-linux runtime libraries
local/v4l-utils 1.20.0-1
    Userspace tools and conversion library for Video 4 Linux
[noki@GRANDSLAM ~]$ 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.1, 256 bits) (0xffffffff)
    Version: 20.1.8
    Accelerated: no
    Video memory: 31993MB
    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.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.8
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.1.8
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
[noki@GRANDSLAM ~]$ lspci -k | grep -A 2 -E "(VGA|3D)"
02:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3755
        Kernel driver in use: nouveau

Last edited by Noki (2020-09-22 13:53:35)

Offline

#10 2020-09-22 13:55:01

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

Re: [SOLVED] Nvidia Graphics card terrible performance

Updated xorg log with this configuration?

Now you don't have the nvidia nor the nvidia-utils packages installed, you definitely need them in any case. I don't know what exactly you did with regards to bumblebee there shouldn't be a need to remove steam or anything else along side it.

Last edited by V1del (2020-09-22 13:56:17)

Offline

#11 2020-09-22 13:58:21

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] Nvidia Graphics card terrible performance

Adding those lines: where?

[     9.096] (==) ModulePath set to "/usr/lib/xorg/modules"
…
     9.834] (II) Loading sub module "glxserver_nvidia"
[     9.834] (II) LoadModule: "glxserver_nvidia"
[     9.834] (WW) Warning, couldn't open module glxserver_nvidia
[     9.834] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[     9.834] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[     9.834] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[     9.834] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[     9.834] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[     9.834] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[     9.834] (II) NVIDIA: The X server does not support PRIME Render Offload.

Output of

cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
lsmod | grep nvidia

also post the updated xorg log and in doubt remove the static xorg.conf and see https://wiki.archlinux.org/index.php/NV … de_setting and configure early kms

Edit: shit.

Last edited by seth (2020-09-22 13:59:03)

Offline

#12 2020-09-22 14:12:37

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

The error was related to some vulkan lib dependency that steam required. But the package wasn't there when I looked for it directly.

Offline

#13 2020-09-22 14:15:23

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] Nvidia Graphics card terrible performance

What?

Edit: the error I pointed out happens because the nvidia-drm match doesn't apply and the modulepath isn't extended. So the driver can't find or load its glx module. This has nothing to do w/ steam or vulkan.

Last edited by seth (2020-09-22 14:16:58)

Offline

#14 2020-09-22 14:35:14

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

V1del wrote:

Updated xorg log with this configuration?

Now you don't have the nvidia nor the nvidia-utils packages installed, you definitely need them in any case. I don't know what exactly you did with regards to bumblebee there shouldn't be a need to remove steam or anything else along side it.

Sorry I was responding to this.

I seem to have mostly resolved the issue after some back and forth removing and installing things fresh. Games now run smoothly but I still have some issue (like transparency not working) but these are probably unrelated to drivers. I no longer have the most of the things I installed, just the bare minimum required for it to work. My guess is I installed and configured things in the wrong order originally and it caused some weird glitches. Now it seems fine.

I will triple check everything and mark this as solved once I am done.

Last edited by Noki (2020-09-22 14:35:42)

Offline

#15 2020-09-22 14:38:35

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Nvidia Graphics card terrible performance

Update, I had to disable and reenable the compositor to get transparency to work.

KDE System Settings > Display and Monitor >  Compositor

Solved. Thanks both for you're help in this weird issue.

Offline

Board footer

Powered by FluxBB