dummy driver and maximum resolutions, config hacks via LD_PRELOAD, etc

Adam Jackson ajax at nwnk.net
Wed Apr 6 16:57:49 PDT 2011


On 4/6/11 6:38 PM, Aaron Plattner wrote:
> On Wed, Apr 06, 2011 at 02:37:52PM -0700, Antoine Martin wrote:
>> diff --git a/src/dummy_driver.c b/src/dummy_driver.c
>> index 804e41e..05450d5 100644
>> --- a/src/dummy_driver.c
>> +++ b/src/dummy_driver.c
>> @@ -85,6 +85,9 @@ static Bool   dummyDriverFunc(ScrnInfoPtr pScrn,
>> xorgDriverFuncOp op,
>>   #define DUMMY_MINOR_VERSION PACKAGE_VERSION_MINOR
>>   #define DUMMY_PATCHLEVEL PACKAGE_VERSION_PATCHLEVEL
>>
>> +#define DUMMY_MAX_WIDTH=4096
>> +#define DUMMY_MAX_HEIGHT=4096
>
> 4096 is low.  Modern GPUs go up to at least 16kx16k, and I think you can
> get away with X screens at the protocol level up to 32kx32k, though I
> vaguely recall there being some restriction against that.

It should be 64k-1, but because of protocol bugs (and 4G overflow on 
32bpp) it ends up being 32k-1.

Also, #define A B, not #define A=B.

- ajax



More information about the xorg mailing list