Bug 101929 - [i965 cherryview] Modesetting does not support framebuffers greater then 4096x4096
Summary: [i965 cherryview] Modesetting does not support framebuffers greater then 4096...
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 17.1
Hardware: Other All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-26 14:42 UTC by Jan Burgmeier
Modified: 2017-07-26 14:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
lspci -vv (11.75 KB, text/plain)
2017-07-26 14:42 UTC, Jan Burgmeier
Details
kernel output with drm debug (1014.12 KB, text/plain)
2017-07-26 14:42 UTC, Jan Burgmeier
Details
cat /proc/cpuinfo (1.88 KB, text/plain)
2017-07-26 14:43 UTC, Jan Burgmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Burgmeier 2017-07-26 14:42:31 UTC
Created attachment 132989 [details]
lspci -vv

Hello,

if I try to use a resolution greater then 4096 in either direction the displays stay black and the kernel logs:

[drm:drm_ioctl [drm]] pid=1986, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB
[drm:intel_framebuffer_init [i915]] tiled pitch (23040) must be at less than 16384
[drm:drm_internal_framebuffer_create [drm]] could not create framebuffer
[drm:drm_ioctl [drm]] ret = -22

From the error message I assume that the stride is somehow wrong so I filled the bug against mesa because the stride is calculated by mesa's 
"brw_bo_alloc_tiled".

The maximum allowed stride is set in the kernel and is hardware dependent so this may only occur on cherryview.

xrandr with modesetting says the maximum framebuffer is 8192x8192 and when using the intel driver and SNA acceleration it is working. So the hardware should support a greater resolution.

System spec:
Kernel: 4.9.30 32Bit
Mesa: 17.1.1
libdrm: 2.4.81
Xorg: 1.19.3

Best regards
Jan Burgmeier
Comment 1 Jan Burgmeier 2017-07-26 14:42:54 UTC
Created attachment 132990 [details]
kernel output with drm debug
Comment 2 Jan Burgmeier 2017-07-26 14:43:14 UTC
Created attachment 132991 [details]
cat /proc/cpuinfo


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.