xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 7 years ago

Closed 4 years ago

Last modified 5 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 (6)

comment:1 Changed 7 years ago by Antoine Martin

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

comment:2 Changed 6 years ago by Antoine Martin

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

comment:3 Changed 5 years ago by Antoine Martin

Milestone: 1.01.1

Milestone renamed

comment:4 Changed 5 years ago by Antoine Martin

Milestone: 1.12.0

Milestone renamed

comment:5 Changed 4 years ago by Antoine Martin

Resolution: wontfix
Status: assignedclosed

Best to work on #56 and get that solved.

comment:6 Changed 5 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/732

Note: See TracTickets for help on using tickets.