This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma 5 (plasmashell) crashed with Nvidia Optimus

Tags: None
(comma "," separated)
User avatar
vylaern
Registered Member
Posts
157
Karma
0
Hi,
I use ~amd64 Gentoo with Plasma 5 and Nvidia Optimus (details bellow). I was trying xorg-server 1.17.4, 1.18.0, 1.18.1, 1.18.2.

[1] When I type from text console "startx" and when I use Nvidia Opengl with /etc/X11/xorg.conf ...X starts with black screen, then after few seconds I could see kontact and stretched window from kwallet (see first photo) asking for password,
http://s15.postimg.org/mxe7s6c7v/blad.jpg
but there is NO desktop, NO menu , only black screen. Mouse do not works, keyboard do. Kontact works ok. There is NO report about crash. X


Xorg.0.log says anything about errors, so everything should be fine, but is not:
http://pastebin.com/tQnKJx26

[2] The same configuration like above, but without etc/X11/xorg.conf give similair result - only kontact + kwallet window - but this time kwallet window asking for password has normal size (see second photo)
http://s15.postimg.org/mxe7s6c7v/blad.jpg
there is no desktop (black screen), but this time I have a report about plasma crash. When I click on plasma crash report, I can open Firefox through this or konsole which works, there is NO pulpit or other menu.

[3] Everything works fine when only intel is used without nvidia (xorg-x11 opengl instead nvidia opengl)


Code: Select all
*  x11-drivers/nvidia-drivers
      Latest version available: 361.28-r2
      Latest version installed: 361.28-r2


Code: Select all
*  x11-base/xorg-server
      Latest version available: 1.18.2
      Latest version installed: 1.18.2


Code: Select all
*  kde-frameworks/plasma
      Latest version available: 5.19.0-r1
      Latest version installed: 5.19.0-r1


Code: Select all
*  kde-plasma/plasma-desktop
      Latest version available: 5.5.5
      Latest version installed: 5.5.5


.xinitrc
Code: Select all
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
exec startkde


xorg.conf
Code: Select all
Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
    Option "ConnectedMonitor" "CRT-0"
    Option "CustomEDID" "CRT-0:/lib/firmware/edid/1920x1080_Clevo_W670SR.bin"
    Option "UseEDID" "True"
EndSection


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft