Skip to contentSkip to conversation

6.1-rc: names of video outputs changed?

DISCUSSION Pavel Machek 3 participants 6 messages Oct 31, 2022

lore
Share & tools
lore
#0 lore raw

Hi!

I used to be able to do:

pavel@duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
warning: output HDMI1 not found; ignoring
pavel@duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
warning: output VGA1 not found; ignoring

...but now I have to do:

pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
xrandr: cannot find crtc for output VGA-1
pavel@duo:~$     xrandr --output LVDS-1 --off
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1

Notice the change from HDMI1 to HDMI-1. I believe that's new in 6.1 or so. Who did it and why? Hardware is thinkpad x220, and this breaks my scripts :-(.

Best regards,
Pavel

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.
#1 lore raw

Did you change which xorg DDX you are using? E.g., between xf86-video-modesetting and a xf86-video-[i915/radeon/amdgpu/etc.]? They may have different naming conventions.

Alex

Quoted 25 lines · Pavel Machek

Hi!

I used to be able to do:

pavel@duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
warning: output HDMI1 not found; ignoring
pavel@duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
warning: output VGA1 not found; ignoring

...but now I have to do:

pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
xrandr: cannot find crtc for output VGA-1
pavel@duo:~$     xrandr --output LVDS-1 --off
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1

Notice the change from HDMI1 to HDMI-1. I believe that's new in 6.1 or so. Who did it and why? Hardware is thinkpad x220, and this breaks my scripts :-(.

Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

#2 lore raw
In reply to Pavel Machek
Quoted 11 lines · Pavel Machek

Hi!

I used to be able to do:

pavel@duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
warning: output HDMI1 not found; ignoring
pavel@duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
warning: output VGA1 not found; ignoring

...but now I have to do:

Quoted 8 lines
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
xrandr: cannot find crtc for output VGA-1
pavel@duo:~$     xrandr --output LVDS-1 --off
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1

Notice the change from HDMI1 to HDMI-1. I believe that's new in 6.1 or so. Who did it and why? Hardware is thinkpad x220, and this breaks my scripts :-(.

Are you sure you didn't just switch from intel ddx to modesetting ddx?

Signature · 2 lines
Ville Syrjälä
Intel
#3 lore raw

Hi!

Quoted 14 lines
Quoted 14 lines

I used to be able to do:

pavel@duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
warning: output HDMI1 not found; ignoring
pavel@duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
warning: output VGA1 not found; ignoring

...but now I have to do:

pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
xrandr: cannot find crtc for output VGA-1
pavel@duo:~$     xrandr --output LVDS-1 --off
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
Quoted 5 lines
Quoted 3 lines

Notice the change from HDMI1 to HDMI-1. I believe that's new in 6.1 or so. Who did it and why? Hardware is thinkpad x220, and this breaks my scripts :-(.

Are you sure you didn't just switch from intel ddx to modesetting ddx?

How do I tell?

I don't think I did such changes recently. It is Debian 10.13 system (rather old) so I don't think it did update for me.

Thanks and best regards,
Pavel

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.
#4 lore raw
Quoted 17 lines · Pavel Machek

Hi!

Quoted 14 lines
Quoted 14 lines

I used to be able to do:

pavel@duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
warning: output HDMI1 not found; ignoring
pavel@duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
warning: output VGA1 not found; ignoring

...but now I have to do:

pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
xrandr: cannot find crtc for output VGA-1
pavel@duo:~$     xrandr --output LVDS-1 --off
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Notice the change from HDMI1 to HDMI-1. I believe that's new in 6.1 or so. Who did it and why? Hardware is thinkpad x220, and this breaks my scripts :-(.

Are you sure you didn't just switch from intel ddx to modesetting ddx?

How do I tell?

Check your xorg log.

Alex

Quoted 8 lines

I don't think I did such changes recently. It is Debian 10.13 system (rather old) so I don't think it did update for me.

Thanks and best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

#5 lore raw
In reply to Pavel Machek
Quoted 16 lines · Pavel Machek

Hi!

Quoted 14 lines
Quoted 14 lines

I used to be able to do:

pavel@duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
warning: output HDMI1 not found; ignoring
pavel@duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
warning: output VGA1 not found; ignoring

...but now I have to do:

pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
xrandr: cannot find crtc for output VGA-1
pavel@duo:~$     xrandr --output LVDS-1 --off
pavel@duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Notice the change from HDMI1 to HDMI-1. I believe that's new in 6.1 or so. Who did it and why? Hardware is thinkpad x220, and this breaks my scripts :-(.

Are you sure you didn't just switch from intel ddx to modesetting ddx?

How do I tell?

You can read through your Xorg log file.

Or you can do something like this:
lsof -p $(pidof X) | grep _drv.so

Signature · 2 lines
Ville Syrjälä
Intel