Decrease boot time by not probing unconnected ports to improve desktop user experience

Michel Dänzer michel at daenzer.net
Mon Jul 30 09:40:10 UTC 2018


On 2018-07-28 09:10 PM, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> It looks like, that loading a graphics driver, the DRM methods probe
> each connector.
> 
> For example, the Asus F2A85-M PRO has four monitor ports, but only one
> monitor is connected over DVI. Here is the log excerpt with Linux
> 4.18-rc6+.
> 
>> [...]
> 
> If I am reading the logs correctly, probing the non-connected ports is
> not done in parallel, 

It could be, though. That would probably be the best solution.


> On desktop systems and often with laptops (mostly no external monitor
> connected) the setup doesn’t change that often.

Still, the driver missing when it does change will make for an unhappy user.


> Is it possible to pass options to the driver to not probe certain ports
> during startup?

video=<output name>:d might do the trick, see Documentation/fb/modedb.txt .


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the dri-devel mailing list