NVIDIA Driver 510.54 RTX 2080 Mobile Graphical Glitches

Lenovo Y740, a mux laptop, set to discrete graphics, running Arch Linux with KDE Plasma v5.24.1-1 and GNOME, features the following graphical glitches:

  • Black or white area or screen
  • Black area or screen with white bars
  • Gaussian blur-like bars
  • Areas painted at a wrong location
  • Screen freeze

Applications creating the glitches:

  • Generic
    • MPV, a video player
    • Wine running FFXIV Online using XIV Launcher via Lutris
  • Chromium/Electron
    • Steam
    • Ferdi, an electron-based web app wrapper

If one of the preceding application is run, the glitches affect one display and virtual consoles. Interacting with applications on unaffected displays can worsen the effects, however.

I followed the advice outlined in the following articles:

  • wiki(dot)archlinux(dot)org/title/NVIDIA#DRM_kernel_mode_setting
  • wiki(dot)archlinux(dot)org/title/NVIDIA#Early_loading
  • wiki(dot)archlinux(dot)org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
    had to pass the 3 link policy here

I further changed the following settings to see whether they mitigate the glitches:

    • Force Composition Pipeline
    • Force Full Composition Pipeline
    • Sync to VBlank
    • Allow Flipping
    • Allow G-SYNC/G-SYNC Compatible
    • Image Settings (Quality, Performance, etc.)
    • PowerMixer preferred mode
    • Dithering
  • KDE Plasma Compositor
    • Enable on startup
    • Allow applications to block compositing
    • Scale method
    • Latency
    • Tearing prevention

I rebooted the laptop if the setting indicated that a reboot is needed and made sure to save the Xorg server configuration.

name of display: :0
display: :0  screen: 0
direct rendering: Yes // DRM is enabled
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 8192 MB
    Currently available dedicated video memory: 7271 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2080 with Max-Q Design/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 510.54
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 510.54
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.54
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

nvidia-bug-report.log.gz (551.3 KB)

I can’t provide more information on this issue as I distro hopped to popOS, whose proprietary NVIDIA drivers work for some reason.