You are not logged in.
Pages: 1
I am having issues with X running. What happens is the following. If I boot my laptop shortly after the kernel starts to load the modules the display turns black. I get no login prompt, so I rebooted and edited my boot line with "nomodeset" on the end. That allows me to have something displayed on the laptop screen. So I can login and run anything from the console, however X starts and runs, but nothing shows on the laptop LCD.
Here is the log of X successfully starting and running. No fatal errors to stop X from running.
http://pastebin.com/pxYr1GyV
Here is my Xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Modeline "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
BusID "PCI:2:0:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
I have a bunch of questions about this. Since this laptop has intel and a nvida card, how do I go about setting up X to run? Is Xorg trying to display to the displayport or another 'monitor' that I don't have connected or listed, but somehow still seen on the system?
I had created the modeline with the following.
~ ub818@t440p
❯ cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
I am a pretty adept linux user and troubleshooting my way through X was starting X, reading log trying different kernel modules and I would wind up with something that worked. However now, I don't know where to turn next. Should I reinstall the modules (nvida xorg-xf86-intel) ? Is there any software that I should install to detect the lcd? If I set nomodeset in the kernel parameters, does that mean it won't ever work? What commands can I use to further diagnose this "blank screen".
Am I supposed to put the modules in mkinitcpio.conf ?
Is there something goofy with the modeline, are there any other 'minimal' settings that I should try?
Offline
What do you have in .xinitrc? Maybe there's no exec line, thus nothing will start?
It's 106 miles to Chicago we got a full tank of gas, half a pack of cigarettes, its dark and we're wearing sunglasses.
Offline
Okay I just got it working. I did pacman -R nvidia, mesa, xf86-video-intel. Then I added i915 and nvidia to modules in mkinitcpio.conf and compiled it.
sudo mkinitcpio -p linux
And it is a bit confusing... As it seems to work fine ONLY after I reboot and recompile. Meaning if I were to reboot right now, I wouldn't see anything. It get it to work, I would need to ssh in and do sudo mkinitcpio -p linux and then reboot and it would work then. Is there something that I should do t permanently put it in the the init
Here is my xinitrc
#!/bin/sh
# ~/.xinitrc
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
xsetroot -cursor_name left_ptr #cursor dursor
xset dpms 180 #screen sleep 3min
xautolock -detectsleep \
-time 20 -locker "xtrlock -b" &
xbindkeys &
xmodmap ~/.Xmodmap #keymapping
syndaemon -t -k -i 1 & #synaptics daemon not sure if its a good thing or bad thing
xflux -l 43.253015 -g -89.153016 > /dev/null
eval $(cat ~/.fehbg)
#last is xmonad
exec xmonad
I also drastically changed my Xorg.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
Option "AccelMethod" "none"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
I just need a way to figure out how the kernel modules will still work after mkinitcpio and reboot.
Offline
That's nVidia Optimus as it's best :-/
Do you use a displamanager? Then you need to add the xrandr lines of the .xinitrc to the config of this one.
If you've got a display manager installed, disable it for now and if not: do not autostart x anymore.
Then just reboot and try starting x manually.
To stop it you can ctrl+alt+F4 to a tty and pkill -15 x.
If it works: Be glad. If not: Provide the logs.
I might see tomorrow into this as I have a Optimus card myself. I got it up and running but it wouldn't detect my monitors edid and only dirty-hacks *kinda* fixed it.
If you can: disable the intel card in the BIOS. I'm personally now on the nouveau driver again. Much more stable, though less speey :-/
It's 106 miles to Chicago we got a full tank of gas, half a pack of cigarettes, its dark and we're wearing sunglasses.
Offline
Pages: 1