You are not logged in.
I have my ThinPad x240 on a docking station hooked up to two 1920x1080 Monitors with the laptop closed. The resolution of my internal screen is 1366x768. When booting up and in the SDDM login screen, the resolution on my external monitors is the resolution of my internal monitors. I've tried manually setting framebuffer resolution in Grub (I switched to systemd-boot by now), running
#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --output eDP1 --auto --output DP2-2 --mode 1920x1080 --output DP2-3 --1920x1080 > /home/lars/xrandr.out
echo "---------------------------------------------------------" >> /home/lars/xrandr.out
xrandr >> /home/lars/xrandr.out
in /usr/share/sddm/scripts/Xsetup and using different bootloaders (GRUB, rEFInd and Systemd-boot). I've never had those issues with my ThinkPad T430 hooked up in the same setup using BIOS instead of UEFI.
I've made sure that /usr/share/sddm/scripts/Xsetup actually fires up and sets the resolution correctly by outputting xrandr to /home/lars/xrandr.out. Here's the output:
---------------------------------------------------------
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 280mm x 160mm
1366x768 60.00*+
1280x720 59.86 60.00 59.74
1024x768 60.00
1024x576 60.00 59.90 59.82
960x540 60.00 59.63 59.82
800x600 60.32 56.25
864x486 60.00 59.92 59.57
640x480 59.94
720x405 59.51 60.00 58.99
680x384 60.00
640x360 59.84 59.32 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP2-1 disconnected (normal left inverted right x axis y axis)
DP2-2 connected 1280x720+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
1920x1080 60.00 + 50.00 59.94 24.00 23.98
1280x1024 75.02
1152x864 75.00
1280x720 60.00* 50.00 59.94
1024x768 119.99 99.97 75.03 60.00
832x624 74.55
800x600 119.97 99.99 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 119.99 100.00 75.00 60.00 59.94
720x400 70.08
DP2-3 connected 1280x720+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
1920x1080 60.00 +
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1280x720 60.00*
1024x768 75.03 60.00
832x624 74.55
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
The only thing that somehow worked was setting the internal screen to "off" in /usr/share/sddm/scripts/Xsetup with this script from the arch wiki, the only problem is that the internal screen was off even when not connected to the docking station.
Any ideas on how to fix that?
EDIT:
My system specs, if they are helpful:
ThinkPad x240
CPU: Intel i7-4600U
GPU: Intel HD Graphics 4400 (though lspci shows it as VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) - maybe a driver problem?)
Kernel: 5.2.2-arch1-1-ARCH
lspci output:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series HECI KT (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)
EDIT 2:
As it might be important, here's my /etc/mkinitcpio.conf:
MODULES=(hid usbhid hid_generic ohci_pci i915)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt filesystems fsck)
EDIT 3:
I've tried hooking up my screens directly to the laptop instead of the docking station, which actually prevents this issue.
Last edited by lars250698 (2019-07-31 17:59:52)
Offline
Adding
Option "AccelMethod" "uxa"
to /etc/X11/xorg.conf.d/20-intel.conf as described here somehow fixed the issue.
Offline