You are not logged in.
Hi fellas!
My install is quite fresh and everything seems to work quite well now. But there something that annoys me is that the resolution is not right sometimes when I boot my computer. The problem will be fixed when I logout and login again.
After the grub menu usually the resolution is bad. But after that the login section in my login page (lightdm) has either bad resolution or the right one. If its bad then I login and logout to fix it. This is becoming tedious.
I am using sometimes xfce and i3wm but I think its unrelating to this problem.
My built is.
GPU: Nvidia GTX1070
CPU: AMD Ryzen 5 1600X
Kernel: 4.11.2-1-ARCH 4.11.2-1-ARCH
Xorg-server: 1.19.3
Nvidia: 381.22-2
And using hdmi.
giving more time for bootup seems to be the cure.. as it hasnt being occured after that..
Last edited by simplisticways (2017-07-26 14:30:47)
Offline
The bad resolution at boot before Xorg starts is normal. Nvidia basically ignored the text console stuff in Linux and only made a driver for Xorg stuff. When lightdm starts, the bad resolution for that is not normal. This happening for you is a bug somewhere.
You should log in when the resolution is bad and save the output of this command here:
xrandr --verboseAnd save the contents of the X log file, which should be the following file-name when using lightdm (check the file date/time to see if it is a new file or not):
/var/log/Xorg.0.logThen also do the same when the resolution is good. There should be interesting differences when comparing the files. Perhaps share everything here.
Offline
Logs had quite many lines.
So I used pastebin.
Bad resolution
xrandr --verboseXorg.o.logGood resolution
xrandr --verboseXorg.o.logOffline
In the bad case you're down to the VESA driver (which however correctly identifies the nvidia chip) - nvidia is not matched as autoconfigured driver, the problem seems the absence of /dev/dri/card0 - try to delay the lightdm start a bit and/or see https://wiki.archlinux.org/index.php/GR … ramebuffer
Offline
How do u delay lightdm? Is it even possible?
Offline
Edit the /usr/lib/systemd/system/lightdm.service and make it sth. like
'ExecStart=/bin/sh -c '/usr/bin/sleep 2; /usr/bin/lightdm'Offline
Edit the /usr/lib/systemd/system/lightdm.service and make it sth. like
'ExecStart=/bin/sh -c '/usr/bin/sleep 2; /usr/bin/lightdm'
So it slows it down for like 2 seconds?
Offline
That's the idea, yes. You want to know whether this is "just" a timing issue and the dri init is just too late for the X11 server launch.
You could ultimately go for https://lists.fedoraproject.org/piperma … 60917.html
Offline