I need some help to change/convert a previous Nvidia xorg config for Intel HD Graphics 530
unfortunately I don’t get a working config for a multi monitor setup (3 screens)
can someone help w/ an example of a working multi monitor config?
xrandr --listmonitors
Monitors: 3
0: +*HDMI-2 1920/531x1080/299+0+768 HDMI-2
1: +HDMI-1 1920/531x1080/299+1920+768 HDMI-1
2: +DP-2 1360/410x768/230+276+0 DP-2
previous configuration
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-D-0: 1920x1080 +0+768 {ForceCompositionPipeline=On}, VGA-0: nvidia-auto-select +40+0 {ForceCompositionPipeline=On}, HDMI-0: 1920x1080 +1920+768 {ForceCompositionPipeline=On}"
Option "AllowIndirectGLXProtocol" "off"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Details:
inxi -Fxxxz
System:
Kernel: 6.1.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 info: cairo-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Dell product: OptiPlex 7040 v: N/A
serial: <superuser required> Chassis: type: 3 serial: <superuser required>
Mobo: Dell model: 0HD5W2 v: A00 serial: <superuser required>
UEFI-[Legacy]: Dell v: 1.11.1 date: 10/10/2018
CPU:
Info: quad core model: Intel Core i7-6700 bits: 64 type: MT MCP smt: enabled
arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 3399 high: 3400 min/max: 800/3400 cores: 1: 3400 2: 3400
3: 3399 4: 3400 5: 3400 6: 3400 7: 3400 8: 3400 bogomips: 54417
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel
arch: Gen-9 ports: active: DP-2,HDMI-A-1,HDMI-A-2 empty: DP-1,DP-3,HDMI-A-3
bus-ID: 00:02.0 chip-ID: 8086:1912 class-ID: 0300
Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: X:
loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 3840x1848 s-dpi: 96 s-size: 1013x487mm (39.88x19.17")
s-diag: 1124mm (44.25")
Monitor-1: DP-2 pos: top-center model: Samsung SyncMaster serial: <filter>
res: 1360x768 hz: 60 dpi: 84 size: 410x230mm (16.14x9.06")
diag: 470mm (18.5") modes: max: 1360x768 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: bottom-r model: Acer K242HL
serial: <filter> res: 1920x1080 hz: 60 dpi: 92
size: 531x299mm (20.91x11.77") diag: 609mm (24") modes: max: 1920x1080
min: 720x400
Monitor-3: HDMI-A-2 mapped: HDMI-2 pos: primary,bottom-l
model: Acer K242HL serial: <filter> res: 1920x1080 hz: 60 dpi: 92
size: 531x299mm (20.91x11.77") diag: 609mm (24") modes: max: 1920x1080
min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.4 renderer: Mesa Intel HD Graphics 530 (SKL
GT2) direct-render: Yes
Audio:
Device-1: Focusrite-Novation Focusrite Scarlett 2i2 type: USB
driver: snd-usb-audio bus-ID: 1-4:3 chip-ID: 1235:8016 class-ID: fe01
Device-2: USB MIDI Interface type: USB driver: snd-usb-audio bus-ID: 1-7:5
chip-ID: fc02:0101 class-ID: 0103
Sound API: ALSA v: k6.1.9-1-MANJARO running: yes
Sound Interface: sndio v: N/A running: no
Sound Server-1: JACK v: 1.9.21 running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b7 class-ID: 0200
IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 1.39 TiB used: 237.43 GiB (16.7%)
ID-1: /dev/sda vendor: SanDisk model: SDSSDH3 500G size: 465.76 GiB
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 20RL scheme: GPT
ID-2: /dev/sdb vendor: Silicon Power model: SPCC Solid State Disk
size: 953.87 GiB speed: 6.0 Gb/s type: SSD serial: <filter> rev: 916a
scheme: GPT
Partition:
ID-1: / size: 57.37 GiB used: 17.57 GiB (30.6%) fs: ext4 dev: /dev/sda2
ID-2: /boot size: 511 MiB used: 149.2 MiB (29.2%) fs: vfat dev: /dev/sda1
ID-3: /home size: 152.74 GiB used: 57.11 GiB (37.4%) fs: ext4
dev: /dev/sda3
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 29.0 C pch: 43.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 260 Uptime: 6h 22m wakeups: 0 Memory: 31.11 GiB
used: 4.37 GiB (14.1%) Init: systemd v: 252 default: graphical Compilers:
gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman pkgs: 1453 Shell: Bash
v: 5.1.16 running-in: konsole inxi: 3.3.25
cluster:
previous configuration
What is the nvidia.config doing there when your system doesn’t have an Nvidia GPU? Please share from terminal:
mhwd -li
1 Like
Thank you!
I can boot with it, but it seems the “metamodes” option doesn’t work with VGA-0: nvidia-auto-select everything is shifted (only half of the screen visible on VGA-0) which is now listed as DP-2…
0: +*HDMI-2 1920/531x1080/299+0+768 HDMI-2
1: +HDMI-1 1920/531x1080/299+1920+768 HDMI-1
2: +DP-2 1360/410x768/230+276+0 DP-2
removed Option “nvidiaXineramaInfoOrder” “DFP-0”
I guess that part is not compatible with Intel:
Option "metamodes" "DVI-D-0: 1920x1080 +0+768 {ForceCompositionPipeline=On}, VGA-0: nvidia-auto-select +40+0 {ForceCompositionPipeline=On}, HDMI-0: 1920x1080 +1920+768 {ForceCompositionPipeline=On}"
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
is there an xorg example for a multi monitor setup with intel gpu?
In principle you should not need it, but in some special cases you can address some of the issues, via a config file, or early kms as described here Intel graphics - ArchWiki
1 Like
Yes it works without xorg config but I need to add some options. There are problems with the login screen when it goes into power save lockdown mode, the mouse and input are mixed up om different screens, xrandr --primary works only as long the power save lockdown screen was not activated.
There is also flickering with DP-2, boot options are already set but i think the problem can only be solved with an xorg config.
Maybe the part at the end (Xinerama)
https://wiki.archlinux.org/title/multihead
it’s a little confusing as it starts with intel and in the last part it’s going towards nvidia configuration
currently multi monitor setup in manjaro (possible other distros too) for hybrid GPU is broken! hope it will get fixed soon
1 Like
it’s not manjaro related only so I have always used an xorg config to get it work, but now w/ intel gpu it’s more difficult than with nvidia
could you please take a look to see if this is correct?
detection steps:
xrandr --listmonitors
Monitors: 3
0: +*HDMI-2 1920/531x1080/299+0+768 HDMI-2
1: +HDMI-1 1920/531x1080/299+1920+768 HDMI-1
2: +DP-2 1360/410x768/230+276+0 DP-2
xrandr | grep -w connected
HDMI-1 connected 1920x1080+1920+768 (normal left inverted right x axis y axis) 531mm x 299mm
HDMI-2 connected primary 1920x1080+0+768 (normal left inverted right x axis y axis) 531mm x 299mm
DP-2 connected 1360x768+276+0 (normal left inverted right x axis y axis) 410mm x 230mm
modeline
cvt 1360 768
Modeline "1360x768_60.00" 84.75 1366 1431 1567 1776 768 771 781 798 -hsync +vsync
cvt 1920 1080
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
position & IDs:
xrandr -q
Screen 0: minimum 320 x 200, current 3840 x 1848, maximum 16384 x 16384
HDMI-1 connected 1920x1080+1920+768 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91
1152x864 75.00
1280x720 60.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 1920x1080+0+768 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91
1152x864 75.00
1280x720 60.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DP-2 connected 1360x768+276+0 (normal left inverted right x axis y axis) 410mm x 230mm
1360x768 60.02*+
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
new xorg configuration files:
nano /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "HDMI-2"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Option "PreferredMode" "1920x1080_60.00"
Option "Position" "0 768"
Option "Primary" "true"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "HDMI-1"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Option "PreferredMode" "1920x1080_60.00"
Option "Position" "1920 768"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "DP-2"
Modeline "1360x768_60.00" 84.75 1366 1431 1567 1776 768 771 781 798 -hsync +vsync
Option "PreferredMode" "1360x768_60.00"
Option "Position" "276 0"
Option "DPMS" "true"
EndSection
Section "Screen"
Identifier "Screen 0"
Device "Intel"
Monitor "HDMI-2"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 3840 1848
EndSubSection
EndSection
nano /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel"
Driver "intel"
Option "Monitor-HDMI-2" "HDMI-2"
Option "Monitor-HDMI-1" "HDMI-1"
Option "Monitor-DP-2" "DP-2"
EndSection
this configuration seems to work correctly …
with nvidia I can specify an option to focus the login screen (primary) on boot (login & mouse) e.g.
Section “Screen”
Option "nvidiaXineramaInfoOrder" "DFP-0"
which option can I use for the intel configuration?
10-monitor.conf
Section "Monitor"
Identifier "HDMI2"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Option "PreferredMode" "1920x1080"
Option "Position" "0 768"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "HDMI1"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Option "PreferredMode" "1920x1080"
Option "Position" "1920 768"
EndSection
Section "Monitor"
Identifier "DP2"
Modeline "1360x768_60.00" 84.75 1366 1431 1567 1776 768 771 781 798 -hsync +vsync
Option "PreferredMode" "1360x768"
Option "Position" "276 0"
Option "DPMS" "true"
EndSection
Section "Screen"
Identifier "Screen 0"
Device "Intel"
Monitor "HDMI2"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 3840 1848
EndSubSection
EndSection
Section "Extensions"
Option "DPMS" "Disable"
EndSection
20-intel.conf
Section "Device"
Identifier "Intel"
Driver "intel"
Option "Monitor-HDMI2" "HDMI2"
Option "Monitor-HDMI1" "HDMI1"
Option "Monitor-DP2" "DP2"
EndSection