You are not logged in.
Hello to all the Arch LInux community! i need a bit of help.
Every time that i am trying to use systemctl start "a specficic dm" (like lxdm, gdm, else), it doesnt start; it shows a total Black Screen with nothing (is like my notebook screen shuted down u.u)
Its a strange problem because if i use, as example, "startx" (which starts xfce4; i configured it as that in my xinitrc), it starts normally and i can use it without any problem. My unique problem is the DM
.
I use the Nvidia Propietary driver (even being a notebook with Optimus, because i know that sometimes can have better performance than Optimus or primusrun in games like Dota2 -yeah, i am into gaming-); so i dont use Bumblebee.
THis is my xorg.conf (which i use for run startx normally)
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 361.28 (buildmeister@swio-display-x64-rhel04-04) Wed Feb 3 16:27:53 PST 2016Section "ServerLayout"
Identifier "layout"
Screen 1 "nvidia"
Inactive "intel"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSectionSection "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSectionSection "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSectionSection "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSectionSection "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration" "Yes"
EndSectionSection "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "Yes"
EndSectionSection "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "sna"
#Option "TearFree" "True"
#Option "Tiling" "True"
#Option "SwapbuffersWait" "True"
EndSectionSection "Screen"
Identifier "intel"
Device "intel"
EndSection
And this is my .xinitrc:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fiif [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name loginxrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
exec startxfce4
So if someone can help me with this strange question, i would thank it. If you need some more data from this problem i will try to help.
Clue: when i used journalctl -xe after cancelling the black screen (using all key combination that i could hahaha) from LXDM session it appeared the phase "this pci device is not a vga device".
Thank you, sorry for my bad english and short knowdlenge about archlinux (being a newbie) ![]()
Offline
The problem is probably that those 2 xrandr commands are needed to prevent the black screen issue.
Try configuring one of the DMs to execute them before showing the login screen
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
The problem is probably that those 2 xrandr commands are needed to prevent the black screen issue.
Try configuring one of the DMs to execute them before showing the login screen
xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto
Done, and solved! Thank you very much!
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline