xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 7 weeks ago

#2345 closed enhancement (wontfix)

cache opengl probe results

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 3.0
Component: client Version: 2.5.x
Keywords: Cc:

Description (last modified by Antoine Martin)

It would be nice to be able to probe the opengl state just once and cache the results - this would speedup the client startup.

On Linux, this could be cached by graphics card so that a change in configuration would cause xpra to re-run the opengl probing:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)

Looks like this would involve parsing the output of lspci which is going to be slow.. https://github.com/rdobson/python-hwinfo, Python, In linux obtain VGA specifications via lspci or HAL?

Preferably, this cache should be per-host: Get a unique computer ID in Python on windows and linux.
And ideally, we should somehow record the driver version in case a driver update / downgrade breaks things.

Change History (4)

comment:1 Changed 3 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 3 months ago by Antoine Martin

Description: modified (diff)

comment:3 Changed 8 weeks ago by Antoine Martin

Similar to #2349.

comment:4 Changed 7 weeks ago by Antoine Martin

Resolution: wontfix
Status: assignedclosed

Detecting the driver makes this too hard: by the time we get the driver information, we've already done most of the job required for a full opengl device test.

Note: See TracTickets for help on using tickets.