You are not logged in.

#1 2019-08-29 11:56:29

mhi
Member
Registered: 2018-02-18
Posts: 6

screen freeze on X startup with nvidia driver for GT 1060M

I have a laptop with integrated Intel GPU + NVidia 1060M

When I use bbswitch and nvidia drivers are not installed, everything (SDDM + X + i3wm) works perfectly.

When I try to switch to nvidia drivers and uninstall bbswitch, I get screen freeze on X startup, though I still can log into tty2. nvidia modules are loading properly. Some log and config files:

X logs: https://pastebin.com/228ySxXm
dmesg: https://pastebin.com/ghdYhAhn
lsmod output: https://pastebin.com/b8ejVZrf

sddm output when I try to start it manually: https://pastebin.com/avjBPRyw

xorg.conf: https://pastebin.com/fJiV4e2v
modprobe blacklist: https://pastebin.com/cX94guaG
.xinitrc is prepended with: https://pastebin.com/gd8H25Tx

Not sure where to start even, since I don't see any obvious errors apart from the one in sddm output.

Help pls.

Offline

#2 2019-08-29 12:14:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,256

Re: screen freeze on X startup with nvidia driver for GT 1060M

https://wiki.archlinux.org/index.php/NV … timus#SDDM

Make sure the file is read and executable by the sddm user, display managers generally don't read your .xinitrc (well, you aren't logged in yet so they can't...) so adjusting the lines there and then not using startx will not have the desired effect.

Last edited by V1del (2019-08-29 12:17:37)

Offline

#3 2019-08-30 06:46:39

mhi
Member
Registered: 2018-02-18
Posts: 6

Re: screen freeze on X startup with nvidia driver for GT 1060M

Good point, but didn't help, same problem remains.

Offline

#4 2019-08-30 07:29:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,256

Re: screen freeze on X startup with nvidia driver for GT 1060M

Ah wait, didn't see that. You must not blacklist the intel drivers, Optimus works by relaying the render image from the nvidia card over the intel card. You have to have the intel card accessible.

Shouldthat not be it post a new xorg log and

lspci -k | grep -EA3 'VGA|3D'
stat /usr/share/sddm/scripts/Xsetup
sudo journalctl -b

Last edited by V1del (2019-08-30 07:37:11)

Offline

#5 2019-09-07 14:26:07

mhi
Member
Registered: 2018-02-18
Posts: 6

Re: screen freeze on X startup with nvidia driver for GT 1060M

Everything works now, thanks!

Offline

Board footer

Powered by FluxBB