xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 9 months ago

#732 closed enhancement (wontfix)

make it easier to know what version of the dummy driver is installed (and if it has the required patches)

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 2.0
Component: packaging Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

At the moment, the only way to tell is to check the package database (and assume it is the version in use..) or parse the server output and look for the tell-tale sign:

[245872.234] (II) DUMMY(0): get_constant_dpi_value() found property "dummy-constant-xdpi" with value=96
[245872.234] (II) DUMMY(0): get_constant_dpi_value() found property "dummy-constant-ydpi" with value=96
[245872.234] (II) DUMMY(0): mm(dpi 96x96)=677x423

Things like xvinfo and glxinfo don't help much either.
I don't think we can get that information through the X11 randr protocol either. The only place where the driverName seems to be exported is in ProcDRI2Connect.

We should add a root window property (a bit like what Xvfb does) and stick the version and patch level in there.
Then we can look it up on the server and know what we're dealing with, and emit a warning if it looks outdated.

Code would probably look like this:

	Atom prop = MakeAtom(pProp->name, strlen(pProp->name), TRUE);
	err = dixChangeWindowProperty(serverClient, pWin,
				prop, pProp->type, pProp->format, PropModeReplace,
                                pProp->size, pProp->data, FALSE);

Change History (5)

comment:1 Changed 3 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Antoine Martin
Status: newassigned

comment:2 Changed 2 years ago by Antoine Martin

Improvement in r9770: we warn if the DPI is way off.

comment:3 Changed 17 months ago by Antoine Martin

Milestone: 1.01.1

Milestone renamed

comment:4 Changed 15 months ago by Antoine Martin

Milestone: 1.12.0

Milestone renamed

comment:5 Changed 9 months ago by Antoine Martin

Resolution: wontfix
Status: assignedclosed

Best to work on #56 and get that solved.

Note: See TracTickets for help on using tickets.