Bug 481828 - With NVIDIA GPU, screen flickering and jumping letters jumping left/right in google-chrome, brave, Arduino ide, ms edge
Summary: With NVIDIA GPU, screen flickering and jumping letters jumping left/right in ...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.93.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-25 18:46 UTC by vic
Modified: 2024-02-27 19:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vic 2024-02-25 18:46:45 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
screen flickering and jumping letters jumping left/right in google-chrome, brave, Arduino ide, ms edge
Comment 1 fanzhuyifan 2024-02-25 19:56:38 UTC
GPU? Driver version? Distro? Kernel Version? 

There is not much we can do without any information...
Comment 2 vic 2024-02-26 13:55:45 UTC
Sorry.
Nvidia T106, drv. ver. latest.
Kernel 6.7.6-arch1-1
Arch  Linux x86_64
Resolution: 1980x1080
DE: Plasma 5.93.0 
WM: kwin 
Theme: [Plasma], Breeze [GTK2/3] 
Icons: breeze-dark [Plasma], breeze [GTK2/ 
Terminal: konsole 
RAM 32GB
Comment 3 vic 2024-02-26 13:57:16 UTC
Sorry again 
resolution: 1920x1080
Comment 4 vic 2024-02-26 13:59:19 UTC
Will record screen and attach here later, but for now OBS says no device found.
nvidia driver installed with pacman, as arch wiki advises
Comment 5 vic 2024-02-26 14:06:58 UTC
I used to have xfce4
now installed fresh arch from scratch with formating system partition
did not install any of xorg packages, as I'm iterested only in wayland
and installed plasma 6 RC... to try and report 
BUT my home partition was not wiped and I had kde 5.27 before,
so there might be some issues there,
I would like to try plasma installed from scratch but I don't know how to remove everything related to kde from my home partition which has only one user - myself
maybe you can advise where I can get the full list of everything to remove from my home partition that I can try to install fresh plasma from very scratch, try and see if there are any issuses.
thanx
Comment 6 fanzhuyifan 2024-02-26 16:20:21 UTC
(In reply to vic from comment #5)
> I used to have xfce4
> now installed fresh arch from scratch with formating system partition
> did not install any of xorg packages, as I'm iterested only in wayland
> and installed plasma 6 RC... to try and report 
> BUT my home partition was not wiped and I had kde 5.27 before,
> so there might be some issues there,
> I would like to try plasma installed from scratch but I don't know how to
> remove everything related to kde from my home partition which has only one
> user - myself
> maybe you can advise where I can get the full list of everything to remove
> from my home partition that I can try to install fresh plasma from very
> scratch, try and see if there are any issuses.
> thanx

You could test by creating a new user with a clean home directory and see if things are broken there.

> Nvidia T106, drv. ver. latest.

Which version is that? And I guess you are using the proprietary drivers?
Comment 7 vic 2024-02-26 18:22:44 UTC
Here is neofetch:

OS: Arch Linux x86_64 
Host: X570 GAMING X 
Kernel: 6.7.6-arch1-1 
Uptime: 7 mins 
Packages: 1067 (pacman) 
Shell: bash 5.2.26 
Resolution: 1920x1080 
DE: Plasma 5.93.0 
WM: kwin 
Theme: Breeze [GTK3] 
Icons: breeze-dark [GTK2], breeze [GTK3] 
Terminal: konsole 
Terminal Font: Hack 10 
CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz 
GPU: NVIDIA GeForce RTX 2060 SUPER 
Memory: 8941MiB / 32012MiB
Comment 8 vic 2024-02-26 18:23:42 UTC
here is the list of my printenv:

SHELL=/bin/bash
SESSION_MANAGER=local/v1:@/tmp/.ICE-unix/974,unix/v1:/tmp/.ICE-unix/974
WINDOWID=3
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/vic/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_MENU_PREFIX=plasma-
LANGUAGE=
VDPAU_DRIVER=nvidia
SHELL_SESSION_ID=bf0a7cad8f754d35ad3fb2f18934c759
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
LIBVA_DRIVER_NAME=nvidia
DESKTOP_SESSION=plasma
GTK_RC_FILES=/etc/gtk/gtkrc:/home/vic/.gtkrc:/home/vic/.config/gtkrc
XDG_SEAT=seat0
PWD=/home/vic
XDG_SESSION_DESKTOP=KDE
LOGNAME=vic
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=986
XAUTHORITY=/run/user/1000/xauth_fgVfYG
PICO_EXTRAS_PATH=/home/vic/pico/pico-extras
MOTD_SHOWN=pam
PICO_SDK_PATH=/home/vic/pico/pico-sdk
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/vic/.gtkrc-2.0:/home/vic/.config/gtkrc-2.0
HOME=/home/vic
LANG=en_GB.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
NVCC_PREPEND_FLAGS=-ccbin /opt/cuda/bin
XDG_CURRENT_DESKTOP=KDE
KONSOLE_DBUS_SERVICE=:1.63
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
KONSOLE_DBUS_SESSION=/Sessions/1
PROFILEHOME=
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=039c2adefc814d1b8bb8dce7aed63d43
KONSOLE_VERSION=240195
MANAGERPID=603
QT_QPA_PLATFORM=wayland
KDE_SESSION_UID=1000
PICO_PLAYGROUND_PATH=/home/vic/pico/pico-playground
XDG_ACTIVATION_TOKEN=kwin-1
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=vic
QSG_RHI_BACKEND=vulkan
CUDA_PATH=/opt/cuda
COLORFGBG=15;0
QT_WAYLAND_RECONNECT=1
KDE_SESSION_VERSION=6
DISPLAY=:1
SHLVL=1
PICO_EXAMPLES_PATH=/home/vic/pico/pico-examples
XDG_VTNR=1
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=8:6683
KDE_FULL_SESSION=true
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/vic
KONSOLE_DBUS_WINDOW=/Windows/1
_=/usr/bin/printenv
Comment 9 vic 2024-02-26 18:26:10 UTC
> Which version is that? And I guess you are using the proprietary drivers?

Yes, drivers are proprietary:
extra-testing/nvidia 550.54.14-1 [installed]
Comment 10 vic 2024-02-26 18:27:31 UTC
(In reply to vic from comment #9)
> > Which version is that? And I guess you are using the proprietary drivers?
> 
> Yes, drivers are proprietary:
> extra-testing/nvidia 550.54.14-1 [installed]

I think I should disable extra-testing, install nvidia, then re-enable it to install plasma 6???
Comment 11 Nate Graham 2024-02-26 22:04:36 UTC
Sounds good. Also please to test in a clean user account as requested. And a clean install not on top of XFCE might also be advised.
Comment 12 vic 2024-02-27 14:38:41 UTC
I re-installed arch and put nvidia 545, the same issue.

Also need to say that this happens with nvidia only.
On my laptop I have intel gpu Kaby lake with vaapi drivers and hw accel. enabled, and everything works fine.
So it looks like it's nvidia with wayland creates problems.
Comment 13 Nate Graham 2024-02-27 19:32:48 UTC
Yeah, there's no chance this isn't an NVIDIA driver bug, unfortunately. Please report this issue to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-graphics/linux. It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!