6.1-rc: names of video outputs changed?

Ville Syrjälä ville.syrjala at linux.intel.com
Mon Oct 31 17:29:56 UTC 2022


On Mon, Oct 31, 2022 at 06:19:52PM +0100, Pavel Machek wrote:
> Hi!
> 
> > > I used to be able to do:
> > > 
> > > pavel at duo:~$     xrandr --output HDMI1 --mode 1920x1080 --primary
> > > warning: output HDMI1 not found; ignoring
> > > pavel at duo:~$     xrandr --output VGA1 --mode 1280x1024 --below HDMI1
> > > warning: output VGA1 not found; ignoring
> > > 
> > > ...but now I have to do:
> > > 
> > > pavel at duo:~$     xrandr --output VGA-1 --mode 1280x1024 --below HDMI-1
> > > xrandr: cannot find crtc for output VGA-1
> > > pavel at duo:~$     xrandr --output LVDS-1 --off
> > > pavel at 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?
> 
> 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

-- 
Ville Syrjälä
Intel


More information about the dri-devel mailing list