Created attachment 36239 [details]
Bug detailed description:
On extended mode, when width exceed 2048, error message is reported:
(EE) intel(0): Failed to allocate framebuffer.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 148 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 28
Current serial number in output stream: 29
1. xrandr --output LVDS1 --mode 1024x600
2. xrandr --output VGA1 --mode 1280x1024
3. xrandr --output LVDS1 --left-of VGA1
I can reproduce this and have tracked it down to a change in the ddx between db586624d4f2908d2a998ba87fe0ae31c10f46b91 and 41684d54592cf93554a4d6534e7ea74562b1798.
So the change to use drm to create the tiled buffer was the cause. We were failing to limit what we requested from the kernel and subsequently did not check the return code [EINVAL] and interpreted as a general failure.
Author: Chris Wilson <email@example.com>
Date: Thu Jun 24 11:38:00 2010 +0100
intel: Limit tiled pitches to 8192 on pre-i965.
Bug 28515 - Failed to allocate framebuffer when exceed 2048 width
Signed-off-by: Chris Wilson <firstname.lastname@example.org>
*** Bug 28571 has been marked as a duplicate of this bug. ***
It should be noted the fix is in drm master.
*** Bug 30372 has been marked as a duplicate of this bug. ***
Closing old verified.