Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Video] KDE Desktop messed up after install of NVIDIA driver

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
rskildum
Posts: 9
Joined: 2022-11-10 19:03

[Video] KDE Desktop messed up after install of NVIDIA driver

#1 Post by rskildum »

I have a fresh install of Debian 11 with KDE plasma desktop. Every thing was fine until I installed the Nvidia display driver. After reboot the first thing I noticed was the SSDM login screen was messed up. The picture and text was much larger that it should be. After logging in the KDE Plasma display had the same problem. The background displayed beautiful but all the text and icons were much too large. I found that any KDE application such and kate had the same problem. Non KDE applications such Guake terminal and Brave browser display fine.
~$ inxi -SGz
System:
Kernel: 6.0.0-3-amd64 arch: x86_64 bits: 64 Desktop: Cinnamon v: 5.4.12
Distro: Debian GNU/Linux bookworm/sid
Graphics:
Device-1: NVIDIA GK208B [GeForce GT 710] driver: nvidia v: 390.154
Device-2: Microdia USB Live camera type: USB
driver: snd-usb-audio,uvcvideo
Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5
driver: N/A resolution: 1920x1080~60Hz
API: OpenGL v: 4.6.0 NVIDIA 390.154 renderer: GeForce GT 710/PCIe/SSE2

I installed the Gnome and Cinnamon desktops and there displays are fine. By the way the Nvidia driver seems to be working fine and I even uninstalled it but did not fix the problem. The Nvidia driver is back installed now.

I uninstalled the KDE Plasma desktop with these commands:

sudo apt remove kde-plasma-desktop
sudo apt autoclean && sudo apt autoremove

After reboot I found that SDDM had apparently been removed also and I was left with a Debian login prompt. I reinstalled KDE with this command:

sudo apt install kde-plasma-desktop

Now back with the same display problems with SDDM and KDE. Any Ideas? I would like to use KDE but am happy to use Cinnamon but would like to fix SDDM.
Thanks

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#2 Post by sunrat »

Install firmware-misc-nonfree.
Also how did you install the 390.154 driver, and why? If you run nvidia-detect it should show the GeForce GT 710 is supported by the current nvidia-driver package in Bullseye which is 470.141.03
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

rskildum
Posts: 9
Joined: 2022-11-10 19:03

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#3 Post by rskildum »

nvidia-detect output is:
:~$ nvida-detect
bash: nvida-detect: command not found
roger@mint:~$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)

Checking card: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
Your card is only supported up to the 390 legacy drivers series.
Your card is also supported by the Tesla 470 drivers series.
Your card is also supported by the Tesla 450 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
nvidia-legacy-390xx-driver
package.

Driver installed with command:
sudo apt install nvidia-legacy-390xx-driver

rskildum
Posts: 9
Joined: 2022-11-10 19:03

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#4 Post by rskildum »

Latest version of firmware-misc-nonfree is already installed

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#5 Post by sunrat »

Kernel: 6.0.0-3-amd64 - you should still have an older kernel installed such as default 5.10 one. Does it work properly with that?
Xwayland - does it work if you use X11 instead?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

rskildum
Posts: 9
Joined: 2022-11-10 19:03

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#6 Post by rskildum »

Not sure about the kernel but the Nvidia driver seems to be working just fine in Gnome and Cinnamon. Much better and clearer graphics that the stock driver. How do I try X11?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#7 Post by sunrat »

You should be able to select "KDE on Xorg" from the options button at the login screen. Not tested here as I don't use Wayland.
I searched a little more and whaddyaknow, there's a section in the Debian wiki! https://wiki.debian.org/Wayland . Apparently KDE needs the non-default package plasma-workspace-wayland to work with Wayland. Install that.

I know from reading a KDE development blog that a lot of work is still ongoing for full Wayland support in KDE. But also have read that it generally works, maybe with some things not quite ready yet.

It is encouraged to do your own searches before posting. You could have had your answer 2 days ago. https://www.startpage.com/do/dsearch?qu ... and+to+x11
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

rskildum
Posts: 9
Joined: 2022-11-10 19:03

Re: [Video] KDE Desktop messed up after install of NVIDIA driver

#8 Post by rskildum »

My KDE display was still messed up with X11. I did install plasma-workspace-wayland and that made things better I think. The display was correct but I ended up with a KDE display with the Cinnamon panel at the bottom over the KDE panel. I was able to move the Cinnamon panel to the top and both worked. I think I know why, I just switched user instead of logging out when I switched to KDE. Anyway then I did something which seemed to mess things up as I could not even start KDE in wayland and other thing weren't correct. I ended up doing a fresh install again and will not try to install the Nvidia driver. I thank you for all your help

Post Reply