In /sys/class/drm device names are:
card0-DP-1 card0-DP-2 card0-DP-3 card0-eDP-1 card0-VGA-1
However, xrardr reports:
eDP1, VGA1, DP-1-1, DP-1-2, DP-1-3
This is on an Optimus laptop with Hybrid Graphics enabled. With Hybrid Graphics disabled, xrandr reports correct device names.
This started with xorg version 1.20
Please attach the corresponding Xorg log file.
Created attachment 142159 [details]
(In reply to Michel Dänzer from comment #1)
> Please attach the corresponding Xorg log file.
xorg log attached.
According to the Xorg log file, eDP and VGA are connected to the integrated Intel GPU, used as primary by Xorg, whereas DP- are connected to the discrete Nvidia GPU, used as a secondary by GPU. Outputs of secondary GPUs get a suffix (like -1 in this case) to avoid output name clashes between GPUs.