You are not logged in.
Trying to solve this for 2 weeks/ Kindly help me.
I installed Arch linux with lightdm, xorg and i3. My laptop has Nvidia gtx 1070.
every time I boot into arch, I need a secondary monitor or else the booting fails and I get a black screen (I can still login with tty).
(I have installed nvidia drivers and blacklisted nouveau, if that means anything)
I have added the logs below.
Xorg log: http://s000.tinyupload.com/?file_id=867 … 3344885797
lightdm log: https://gofile.io/?c=XLO3ii
ix.io link
Xorg log: http://ix.io/1PPU
lightdm log: http://ix.io/1PQ1
Last edited by reaganrewop (2019-07-28 13:49:20)
Offline
Please use a pastebin client (not pastebin.com) that does not require us to download your logs.
Offline
It's broken for some reason.
Offline
There's nothing broken, use ix.io.
Offline
There's nothing broken, use ix.io.
sorry, done now. kindly check.
Offline
How do you attempt to configure the optimus config?
Read https://wiki.archlinux.org/index.php/NVIDIA_Optimus and follow the relevant links.
Offline
How do you attempt to configure the optimus config?
Read https://wiki.archlinux.org/index.php/NVIDIA_Optimus and follow the relevant links.
ah! I went through that before. but why would that be an issue? If I am able to login in with a secondary monitor, then everything works w.r.t graphic card right?
or am I wrong?
Offline
You went through that in what direction? Why do you start X11 on the nvidia blob? Do you think your internal display is wired to the nvidia chip? If not, what did you do to deal w/ that?
Offline
You went through that in what direction? Why do you start X11 on the nvidia blob? Do you think your internal display is wired to the nvidia chip? If not, what did you do to deal w/ that?
I went through the wiki and added xorg.conf file like they mentioned and edited ~/.xinitrc with the following
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoIn lightDM added the below
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoand edited this in lightdm.conf
display-setup-script=/etc/lightdm/display_setup.shbut, after rebooting my display just started blinking rapidly. log didn't show anything except that it got a kill signal and therefore it is stopping the lightdm proces.
Offline
The journal you posted before suggest you had edited
Jul 28 18:01:54 ray sudo[2462]: ray__ : TTY=pts/0 ; PWD=/var/log ; USER=root ; COMMAND=/usr/bin/gedit /etc/X11/xorg.conf.d/10-nvidia.confHow?
Overmore the xorg logs do not indicate an addition of the nvidia library paths and also
[ 18.890] (EE) No devices detected.what means the GPU isn't found and it's also not identified anywhere.
You must have taken other steps before, please elaborate on that and paste the complete output of "sudo journalctl -b"
Offline
The journal you posted before suggest you had edited
Jul 28 18:01:54 ray sudo[2462]: ray__ : TTY=pts/0 ; PWD=/var/log ; USER=root ; COMMAND=/usr/bin/gedit /etc/X11/xorg.conf.d/10-nvidia.confHow?
ix.io was refusing the file. so I trimmed it down. Will try to put the full one.
Overmore the xorg logs do not indicate an addition of the nvidia library paths and also
[ 18.890] (EE) No devices detected.what means the GPU isn't found and it's also not identified anywhere.
But, I am able to run nvidia-smi and nvidia-settings. I thought the "no devices" meant display device.
You must have taken other steps before, please elaborate on that and paste the complete output of "sudo journalctl -b"
with respect to nvidia, this is all I did.
sudo pacman -S nvidia nvidia-utils nvidia-settings xorg-server xorg-apps xorg-xinit i3 numlockxOffline
How do you run nvidia-settings w/o an X11 server??
Offline
How do you run nvidia-settings w/o an X11 server??
Am I getting something wrong? you will get X11 with Xorg installation right?
Offline
Ah, you do that with the second monitor attached when things work (sorry, semi-forgot)
Please post the xorg log of the working server as well then.
Offline
Ah, you do that with the second monitor attached when things work (sorry, semi-forgot)
Please post the xorg log of the working server as well then.
you mean the jourmalctl logs?
I am not able to push them to ix.io. It is closing the connection early
curl -F 'f:1=@file.log' ix.ioIs the above command right?
Last edited by reaganrewop (2019-07-28 16:04:14)
Offline
Hey, I did a quick hot fix for right now by adding the below command in my i3 config file.
xrandr --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output eDP-1-1 --primary --mode 1920x1080 --pos 0x0 --rotate normalcan you tell me how do I make this config stable in either lightdm or xorg instead of a WM?
and any idea why I need to specifically mention my laptop monitor as primary?
Offline
Is the above command right?
Is file.log the actual name of the file right in the current path?? Should be more sth. like Xorg.0.log
Section "Monitor"
Identifier "eDP-1-1"
Option "Enable" "True"
Option "Primary" "True"
EndSectionHowever that does not reflect the problem from your xorg log which indicates a completely failing X11 server. This could not be fixed by some xrandr call (notably since there'd be no X11 server for xrandr to talk to…)
Offline
Is file.log the actual name of the file right in the current path?? Should be more sth. like Xorg.0.log
I just renamed the file.
However that does not reflect the problem from your xorg log which indicates a completely failing X11 server. This could not be fixed by some xrandr call (notably since there'd be no X11 server for xrandr to talk to…)
how are you saying that my X11 server failed to start? from the logs which I gave above, it reports a message that no screen to display and during my manual reboot, it may have exited with logging that error.
and when I tried to do
xrandr . it said, "cannot open display". I presume if the Xorg server wasn't running, it would have stated that instead.
Offline
Not sure why the upload would fail, but you can simply post the contents here (in quote tags)
how are you saying that my X11 server failed to start?
[ 18.890] (EE) No devices detected.
[ 18.890] (EE)
Fatal server error:
[ 18.890] (EE) no screens found(EE)
[ 18.890] (EE) Devices essentially refer to your GPU, the "screen" is the fundamental part of the X11 server, thus we end up with a "fatal" error.
This is the reason why milliseconds later the server aborts with an error
[ 18.917] (EE) Server terminated with error (1). Closing log file.Also a functional server would spill wayyyyy more messages.
The log may be dated and no longer reflect the status of yor system, but it's the information we've got.
If this however would still be the problematic condition, there's no way an xrandr call in your i3wm config could ever fix it.
I'm unsure about what you're trying to say in the last sentence, but "cannot open display" means that either there's no X11 server or it can't be found because the DISPLAY variable isn't correctly set.
Offline