You are not logged in.
Hey all
After reading the NVIDIA Optimus and the SDDM wiki pages I am kind of at a loss as to how to proceed.
My problem is the following:
I have a Lenovo T540p and I am using the NVIDIA drivers. I have followed the Optimus setup guide succesfully and have setup my xorg.conf for the card that the laptop has. I am sure that it's successfull since if I start X manually I get into my desktop environment.
This is my xorg.conf
Section "ServerLayout"
Identifier "Lefteris edited from Archwiki Optimus page"
Screen 0 "nvidia"
Inactive "intel"
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 "eDP-1-0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Modeline "1792x1008_60.00" 149.50 1792 1904 2088 2384 1008 1011 1016 1046 -hsync +vsync
Modeline "1664x936_60.00" 128.50 1664 1768 1936 2208 936 939 944 972 -hsync +vsync
Modeline "1536x864_60.00" 109.25 1536 1624 1784 2032 864 867 872 897 -hsync +vsync
Modeline "1408x792_60.00" 90.75 1408 1480 1624 1840 792 795 800 823 -hsync +vsync
Modeline "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
Option "PreferredMode" "1920x1080_60.00"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSectionThis is my .xinitrc
#!/bin/bash
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
# make sure udiskie is running, for usb auto detection
udiskie &
# for the desktop set the resolution
if [ $HOSTNAME == "archdesktop" ]; then
# also set the 120HZ resolution
xrandr --output DVI-I-1 --mode 0x281
fi
#for the laptop let's disable touchpad when typing
if [ $HOSTNAME == "archlenovo" ]; then
# more info here: https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Using_.xinitrc
syndaemon -t -k -i 2 -d &
fi
# activate custom xkeymap configuration
test -f ~/.Xkeymap && xkbcomp ~/.Xkeymap $DISPLAY
# generate i3 config from the templates
~/.local/bin/gen-i3-config.sh
# if Xresources is there load it
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
#--------------------------
# Start the window manager
#--------------------------
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# i3 is the default window manager
session=${1:-i3}
case $session in
awesome ) exec awesome;;
bspwm ) exec bspwm;;
catwm ) exec catwm;;
cinnamon ) exec cinnamon-session;;
dwm ) exec dwm;;
enlightenment ) exec enlightenment_start;;
ede ) exec startede;;
fluxbox ) exec startfluxbox;;
gnome ) exec gnome-session;;
gnome-classic ) exec gnome-session --session=gnome-classic;;
i3|i3wm ) exec i3;;
icewm ) exec icewm-session;;
jwm ) exec jwm;;
kde ) exec startkde;;
mate ) exec mate-session;;
monster|monsterwm ) exec monsterwm;;
notion ) exec notion;;
openbox ) exec openbox-session;;
unity ) exec unity;;
xfce|xfce4 ) exec startxfce4;;
xmonad ) exec xmonad;;
# No known session, try to run it as command
*) exec $1;;
esacAfter looking around a bit I realized that the problem probably lies with the 2 xrandr calls that I have at the beginning of the .xinitrc. X server starts manually if I do it with startx since then the xrandr commands can be properly interpreted. But it seems that sddm needs to somehow run them before X starts.
Thankfully the Archwiki Optimus page mentions that for an Optimus setup to work with the SDDM login manager the xrandr calls need to be moved to this file: /usr/share/sddm/scripts/Xsetup
I did that and expected things to finally work but when rebooting I still get a black screen. As I said in the beginning if I switch to another tty and startx I get to my window manager and all is fine. The problem is with the X server that SDDM starts.
In case it is of any help this is my pstree of the SDDM process
├─sddm,308
│ ├─Xorg.bin,322 :0 -auth /var/run/sddm/:0 -nolisten tcp -background none -noreset vt1
│ │ ├─{Xorg.bin},396
│ │ ├─{Xorg.bin},397
│ │ ├─{Xorg.bin},398
│ │ ├─{Xorg.bin},399
│ │ ├─{Xorg.bin},400
│ │ ├─{Xorg.bin},401
│ │ ├─{Xorg.bin},402
│ │ └─{Xorg.bin},403
│ ├─sddm-helper,407 --socket /tmp/sddm-auth58feec8a-ca2f-4b56-bcf0-3b9cb4c07204 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm-:0-khPjni --theme /usr/share/sddm/themes/maui --user sddm --greeter
│ │ ├─sddm-greeter,412 --socket /tmp/sddm-:0-khPjni --theme /usr/share/sddm/themes/maui
│ │ │ ├─{QQmlThread},422
│ │ │ ├─{QXcbEventReader},413
│ │ │ ├─{sddm-greeter},414
│ │ │ ├─{sddm-greeter},415
│ │ │ ├─{sddm-greeter},416
│ │ │ ├─{sddm-greeter},417
│ │ │ ├─{sddm-greeter},418
│ │ │ ├─{sddm-greeter},419
│ │ │ ├─{sddm-greeter},420
│ │ │ └─{sddm-greeter},421
│ │ └─{QProcessManager},411
│ └─{QProcessManager},321Any help would be really appreciated.
Last edited by lefteris (2014-12-19 15:24:09)
Offline
Post the output of both of the following:
ls -la /usr/share/sddm/scripts/*and
cat /usr/share/sddm/scripts/XsetupNote: The instructions for the SDDM stuff you are following are to USE THE NVIDIA CARD ONLY. If you are wanting to do that, you need to re-examine your xorg.conf because it is not inactivating the Intel card. Are you wanting to use nVidia only, or use Bumblebee to allow switching?
(FWIW: I use SDDM and nVidia only, and my setup works fine with the xrandr settings. But again, my xorg.conf is inactivating the Intel card where yours is not.)
Matt
"It is very difficult to educate the educated."
Offline
Thanks for the reply. I did not know that. To be honest I don't really care about the possibility to switch between cards with bumblebee at the moment. My priority for now is to make the display manager work with the NVIDIA card. Switching between cards can come later even though I wouldn't mind working only with the NVIDIA one. Unless that exactly could be the reason why I am getting this problem.
As for what you requested:
lefteris ~ ls -la /usr/share/sddm/scripts/*
-rwxr-xr-x 1 root root 2900 Nov 20 16:47 /usr/share/sddm/scripts/Xsession
-rwxr-xr-x 1 root root 67 Dec 19 15:22 /usr/share/sddm/scripts/Xsetuplefteris ~ cat /usr/share/sddm/scripts/Xsetup
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoOffline
It works fine for me, and I actually made the patch to add Xsetup to SDDM. Have you tried to remove your .xinitrc?
The xorg.conf I use is the one provided by nvidia on their website though:
http://us.download.nvidia.com/XFree86/L … ndr14.html
Offline
Hello AnAkkk, yes I actually saw your github Pull Request. Thanks for doing that. I just now tried to remove my .xinitrc but no luck. I still got a black screen.
I also tried using exactly the xorg.conf provided by nvidia now but still no luck. But If you examine the xorg.conf I posted it's actually the same just with some other extra stuff. I did an nvidia-xconfig and then edited the generated one according to what the wikis said.
I am kind of at a loss as to how to proceed. Is there some kind of extra debug output from X that I can enable in order to get more information?
Offline
Just in case it can help I am posting the output of journalctl -b with only the relevant entries of and around sddm starting.
Dec 20 01:54:32 archlenovo systemd[1]: Starting Simple Desktop Display Manager...
Dec 20 01:54:32 archlenovo systemd-logind[303]: Watching system buttons on /dev/input/event3 (Power Button)
Dec 20 01:54:32 archlenovo systemd-logind[303]: Watching system buttons on /dev/input/event1 (Lid Switch)
Dec 20 01:54:32 archlenovo systemd[1]: Started Simple Desktop Display Manager.
Dec 20 01:54:32 archlenovo systemd-logind[303]: Watching system buttons on /dev/input/event2 (Sleep Button)
Dec 20 01:54:32 archlenovo systemd-logind[303]: Watching system buttons on /dev/input/event4 (ThinkPad Extra Buttons)
Dec 20 01:54:32 archlenovo systemd-logind[303]: New seat seat0.
Dec 20 01:54:32 archlenovo systemd[1]: Started Login Service.
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: autoconfig: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: mono: mono_out=0x0
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: inputs:
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: Dock Mic=0x19
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: Mic=0x1a
Dec 20 01:54:32 archlenovo kernel: sound hdaudioC1D0: Internal Mic=0x12
Dec 20 01:54:32 archlenovo kernel: i915 0000:00:02.0: irq 32 for MSI/MSI-X
Dec 20 01:54:32 archlenovo kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Dec 20 01:54:32 archlenovo kernel: [drm] Driver supports precise vblank timestamp query.
Dec 20 01:54:32 archlenovo kernel: vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=none:owns=mem
Dec 20 01:54:32 archlenovo kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input8
Dec 20 01:54:32 archlenovo kernel: input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
Dec 20 01:54:32 archlenovo kernel: input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10
Dec 20 01:54:32 archlenovo kernel: input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11
Dec 20 01:54:32 archlenovo kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
Dec 20 01:54:32 archlenovo kernel: [drm] VBT doesn't support DRRS
Dec 20 01:54:32 archlenovo sddm[312]: Initializing...
Dec 20 01:54:32 archlenovo sddm[312]: Starting...
Dec 20 01:54:32 archlenovo sddm[312]: Adding new display 0 on vt 1 ...
Dec 20 01:54:32 archlenovo sddm[312]: Adding cookie to "/var/run/sddm/:0"
Dec 20 01:54:32 archlenovo dbus[305]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
Dec 20 01:54:32 archlenovo systemd[1]: Starting Authorization Manager...
Dec 20 01:54:32 archlenovo polkitd[323]: Started polkitd version 0.112
Dec 20 01:54:32 archlenovo sddm[312]: Display server starting...
Dec 20 01:54:32 archlenovo sddm[312]: Running: /usr/bin/X :0 -auth /var/run/sddm/:0 -nolisten tcp -background none -noreset vt1
Dec 20 01:54:32 archlenovo systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill2...
Dec 20 01:54:32 archlenovo polkitd[323]: Loading rules from directory /etc/polkit-1/rules.d
Dec 20 01:54:32 archlenovo polkitd[323]: Loading rules from directory /usr/share/polkit-1/rules.d
Dec 20 01:54:32 archlenovo polkitd[323]: Finished loading, compiling and executing 1 rules
Dec 20 01:54:32 archlenovo systemd[1]: Started Load/Save RF Kill Switch Status of rfkill2.
Dec 20 01:54:32 archlenovo dbus[305]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Dec 20 01:54:32 archlenovo polkitd[323]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Dec 20 01:54:32 archlenovo systemd[1]: Started Authorization Manager.
Dec 20 01:54:32 archlenovo kernel: ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
Dec 20 01:54:32 archlenovo kernel: iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
Dec 20 01:54:32 archlenovo systemd[1]: Starting Multi-User System.
Dec 20 01:54:32 archlenovo systemd[1]: Reached target Multi-User System.
Dec 20 01:54:32 archlenovo systemd[1]: Starting Graphical Interface.
Dec 20 01:54:32 archlenovo systemd[1]: Reached target Graphical Interface.
Dec 20 01:54:32 archlenovo systemd[1]: Startup finished in 1.599s (kernel) + 633ms (userspace) = 23.528s.
Dec 20 01:54:33 archlenovo kernel: [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
Dec 20 01:54:33 archlenovo kernel: usb 3-11: new full-speed USB device number 4 using xhci_hcd
Dec 20 01:54:33 archlenovo dbus[305]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service'
Dec 20 01:54:33 archlenovo systemd[1]: Starting WPA supplicant...
Dec 20 01:54:33 archlenovo dbus[305]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Dec 20 01:54:33 archlenovo systemd[1]: Started WPA supplicant.
Dec 20 01:54:33 archlenovo systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill3...
Dec 20 01:54:33 archlenovo systemd[1]: Starting Bluetooth.
Dec 20 01:54:33 archlenovo systemd[1]: Reached target Bluetooth.
Dec 20 01:54:33 archlenovo systemd[1]: Started Load/Save RF Kill Switch Status of rfkill3.
Dec 20 01:54:34 archlenovo kernel: fbcon: inteldrmfb (fb0) is primary device
Dec 20 01:54:34 archlenovo kernel: e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
Dec 20 01:54:34 archlenovo kernel: e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
Dec 20 01:54:34 archlenovo kernel: iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
Dec 20 01:54:34 archlenovo kernel: iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
Dec 20 01:54:34 archlenovo kernel: usb 3-12: new high-speed USB device number 5 using xhci_hcd
Dec 20 01:54:34 archlenovo kernel: Switched to clocksource tsc
Dec 20 01:54:34 archlenovo kernel: psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x12f800, board id: 2964, fw id: 2560
Dec 20 01:54:34 archlenovo kernel: psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
Dec 20 01:54:34 archlenovo kernel: input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input6
Dec 20 01:54:34 archlenovo kernel: mousedev: PS/2 mouse device common for all mice
Dec 20 01:54:34 archlenovo kernel: cdc_acm 3-10:1.2: This device cannot do calls on its own. It is not a modem.
Dec 20 01:54:34 archlenovo kernel: cdc_acm 3-10:1.2: ttyACM0: USB ACM device
Dec 20 01:54:34 archlenovo kernel: media: Linux media interface: v0.10
Dec 20 01:54:34 archlenovo kernel: usbcore: registered new interface driver cdc_acm
Dec 20 01:54:34 archlenovo kernel: cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Dec 20 01:54:34 archlenovo kernel: usbcore: registered new interface driver cdc_ncm
Dec 20 01:54:34 archlenovo kernel: usbcore: registered new interface driver cdc_wdm
Dec 20 01:54:34 archlenovo kernel: Linux video capture interface: v2.00
Dec 20 01:54:34 archlenovo kernel: Bluetooth: Core ver 2.19
Dec 20 01:54:34 archlenovo kernel: NET: Registered protocol family 31
Dec 20 01:54:34 archlenovo kernel: Bluetooth: HCI device and connection manager initialized
Dec 20 01:54:34 archlenovo kernel: Bluetooth: HCI socket layer initialized
Dec 20 01:54:34 archlenovo kernel: Bluetooth: L2CAP socket layer initialized
Dec 20 01:54:34 archlenovo kernel: Bluetooth: SCO socket layer initialized
Dec 20 01:54:34 archlenovo kernel: uvcvideo: Found UVC 1.00 device Integrated Camera (04ca:7035)
Dec 20 01:54:34 archlenovo kernel: usbcore: registered new interface driver btusb
Dec 20 01:54:34 archlenovo kernel: input: Integrated Camera as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.0/input/input14
Dec 20 01:54:34 archlenovo kernel: usbcore: registered new interface driver uvcvideo
Dec 20 01:54:34 archlenovo kernel: USB Video Class driver (1.1.1)
Dec 20 01:54:34 archlenovo kernel: cdc_mbim 3-10:1.0: cdc-wdm0: USB WDM device
Dec 20 01:54:34 archlenovo kernel: cdc_mbim 3-10:1.0 wwan0: register 'cdc_mbim' at usb-0000:00:14.0-10, CDC MBIM, d2:e0:c7:93:ea:9d
Dec 20 01:54:34 archlenovo kernel: usbcore: registered new interface driver cdc_mbim
Dec 20 01:54:34 archlenovo kernel: cdc_mbim 3-10:1.0 wwp0s20u10: renamed from wwan0
Dec 20 01:54:34 archlenovo kernel: Bluetooth: hci0: read Intel version: 370710018002030d41
Dec 20 01:54:34 archlenovo kernel: Bluetooth: hci0: Intel device is already patched. patch num: 41
Dec 20 01:54:34 archlenovo kernel: cfg80211: Calling CRDA to update world regulatory domain
Dec 20 01:54:34 archlenovo kernel: cfg80211: Calling CRDA to update world regulatory domain
Dec 20 01:54:34 archlenovo kernel: Console: switching to colour frame buffer device 360x101
Dec 20 01:54:34 archlenovo kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Dec 20 01:54:34 archlenovo kernel: i915 0000:00:02.0: registered panic notifier
Dec 20 01:54:34 archlenovo kernel: ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
Dec 20 01:54:34 archlenovo kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15
Dec 20 01:54:34 archlenovo kernel: ACPI: Video Device [VID1] (multi-head: yes rom: yes post: no)
Dec 20 01:54:34 archlenovo kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input16
Dec 20 01:54:34 archlenovo kernel: [drm] Initialized i915 1.6.0 20140725 for 0000:00:02.0 on minor 0
Dec 20 01:54:34 archlenovo kernel: i801_smbus 0000:00:1f.3: SMBus using PCI Interrupt
Dec 20 01:54:34 archlenovo kernel: snd_hda_intel 0000:00:03.0: irq 33 for MSI/MSI-X
Dec 20 01:54:34 archlenovo systemd-logind[303]: Watching system buttons on /dev/input/event14 (Video Bus)
Dec 20 01:54:34 archlenovo systemd-logind[303]: Watching system buttons on /dev/input/event13 (Video Bus)
Dec 20 01:54:34 archlenovo kernel: iTCO_vendor_support: vendor-support=0
Dec 20 01:54:34 archlenovo systemd[1]: Starting system-systemd\x2dbacklight.slice.
Dec 20 01:54:34 archlenovo systemd[1]: Created slice system-systemd\x2dbacklight.slice.
Dec 20 01:54:34 archlenovo systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
Dec 20 01:54:34 archlenovo kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
Dec 20 01:54:34 archlenovo kernel: iTCO_wdt: Found a Lynx Point TCO device (Version=2, TCOBASE=0x1860)
Dec 20 01:54:34 archlenovo kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
Dec 20 01:54:34 archlenovo systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
Dec 20 01:54:34 archlenovo kernel: input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17
Dec 20 01:54:34 archlenovo kernel: input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
Dec 20 01:54:34 archlenovo kernel: input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19
Dec 20 01:54:34 archlenovo kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 20 01:54:34 archlenovo kernel: Disabling lock debugging due to kernel taint
Dec 20 01:54:34 archlenovo kernel: nvidia 0000:01:00.0: enabling device (0004 -> 0007)
Dec 20 01:54:34 archlenovo kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Dec 20 01:54:34 archlenovo kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
Dec 20 01:54:34 archlenovo kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 343.36 Mon Dec 1 16:18:58 PST 2014
Dec 20 01:54:34 archlenovo kernel: nvidia 0000:01:00.0: irq 34 for MSI/MSI-X
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:34 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:38 archlenovo kernel: psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
Dec 20 01:54:38 archlenovo kernel: ACPI Error: Field [TBF3] at 270336 exceeds Buffer [NULL] size 262144 (bits) (20140724/dsopcode-236)
Dec 20 01:54:38 archlenovo kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG_.VID_.GETB] (Node ffff880235835a78), AE_AML_BUFFER_LIMIT (20140724/psparse-536)
Dec 20 01:54:38 archlenovo kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG_.VID_._ROM] (Node ffff880235835a50), AE_AML_BUFFER_LIMIT (20140724/psparse-536)
Dec 20 01:54:38 archlenovo kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dec 20 01:54:38 archlenovo kernel: input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input13
Dec 20 01:54:38 archlenovo kernel: thinkpad_acpi: asked for hotkey mask 0x0070ffbf, but firmware forced it to 0x0070ffbb
Dec 20 01:54:39 archlenovo sddm[312]: Signal received: SIGUSR1
Dec 20 01:54:39 archlenovo sddm[312]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Dec 20 01:54:39 archlenovo sddm[312]: Display server started.
Dec 20 01:54:39 archlenovo sddm[312]: Socket server starting...
Dec 20 01:54:39 archlenovo sddm[312]: Socket server started.
Dec 20 01:54:39 archlenovo sddm[312]: Greeter starting...
Dec 20 01:54:39 archlenovo sddm-helper[408]: [PAM] Starting...
Dec 20 01:54:39 archlenovo sddm-helper[408]: [PAM] Authenticating...
Dec 20 01:54:39 archlenovo sddm-helper[408]: [PAM] returning.
Dec 20 01:54:39 archlenovo sddm-helper[408]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Dec 20 01:54:39 archlenovo systemd[1]: Starting user-619.slice.
Dec 20 01:54:39 archlenovo systemd[1]: Created slice user-619.slice.
Dec 20 01:54:39 archlenovo systemd[1]: Starting User Manager for UID 619...
Dec 20 01:54:39 archlenovo systemd[1]: Starting Session c1 of user sddm.
Dec 20 01:54:39 archlenovo systemd-logind[303]: New session c1 of user sddm.
Dec 20 01:54:39 archlenovo systemd[1]: Started Session c1 of user sddm.
Dec 20 01:54:39 archlenovo systemd[409]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Dec 20 01:54:39 archlenovo systemd[409]: Starting -.slice.
Dec 20 01:54:39 archlenovo systemd[409]: Created slice -.slice.
Dec 20 01:54:39 archlenovo systemd[409]: Starting D-Bus Message Bus Socket.
Dec 20 01:54:39 archlenovo systemd[409]: Listening on D-Bus Message Bus Socket.
Dec 20 01:54:39 archlenovo systemd[409]: Starting Sockets.
Dec 20 01:54:39 archlenovo systemd[409]: Reached target Sockets.
Dec 20 01:54:39 archlenovo systemd[409]: Starting Paths.
Dec 20 01:54:39 archlenovo systemd[409]: Reached target Paths.
Dec 20 01:54:39 archlenovo systemd[409]: Starting Timers.
Dec 20 01:54:39 archlenovo systemd[409]: Reached target Timers.
Dec 20 01:54:39 archlenovo systemd[409]: Starting Basic System.
Dec 20 01:54:39 archlenovo systemd[409]: Reached target Basic System.
Dec 20 01:54:39 archlenovo systemd[409]: Starting Default.
Dec 20 01:54:39 archlenovo systemd[409]: Reached target Default.
Dec 20 01:54:39 archlenovo systemd[409]: Startup finished in 5ms.
Dec 20 01:54:39 archlenovo systemd[1]: Started User Manager for UID 619.
Dec 20 01:54:39 archlenovo sddm[312]: Greeter session started successfully
Dec 20 01:54:39 archlenovo sddm-greeter[413]: Connected to the daemon.
Dec 20 01:54:39 archlenovo sddm[312]: Message received from greeter: Connect
Dec 20 01:54:39 archlenovo sddm-greeter[413]: QXcbConnection: XCB error: 148 (Unknown), sequence: 161, resource id: 0, major code: 140 (Unknown), minor code: 20
Dec 20 01:54:39 archlenovo sddm-greeter[413]: Message received from daemon: Capabilities
Dec 20 01:54:39 archlenovo sddm-greeter[413]: Message received from daemon: HostNameFrom
20 01:54:39 archlenovo sddm[312]: Running display setup script "/usr/share/sddm/scripts/Xsetup"we can see that it does indeed try to display the setup script.
But at the very end there is also an error by the greeter. I will try to research about it more but in the meantime if anyone more knowledgeable can figure something out from the above that would be awesome.
Offline
FWIW, here is my xorg.conf for using nVidia only:
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Screen 1 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Monitor "Builtin"
Device "nvidia"
#Option "UseDisplayDevice" "none"
Option "AllowEmptyInitialConfiguration"
# Added because KDM would not use the full screen.
# See: https://devtalk.nvidia.com/default/topic/702159/331-49-optimus-offloading-graphicsdisplay-with-xrandr-1-4/
SubSection "Display"
Virtual 1920 1080
EndSubSection
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSectionMatt
"It is very difficult to educate the educated."
Offline
Thank you for posting your conf file. I tried by replacing mine with yours, since we have the same PCI bus but I had the same exact problem as before. I am unfortunately still stuck at the same postion.
Offline