Bug 17690 - [G45] DRI disabled with "Failed to allocate hw status page"
Summary: [G45] DRI disabled with "Failed to allocate hw status page"
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 7.1
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-21 03:29 UTC by Jan Mette
Modified: 2008-09-24 12:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg output (23.47 KB, text/plain)
2008-09-21 03:29 UTC, Jan Mette
Details
lspci output (1.87 KB, text/plain)
2008-09-21 03:32 UTC, Jan Mette
Details
Xorg.0.log (21.17 KB, text/plain)
2008-09-21 03:33 UTC, Jan Mette
Details
glxinfo output (11.99 KB, text/plain)
2008-09-21 03:33 UTC, Jan Mette
Details
xorg.conf (2.40 KB, text/plain)
2008-09-21 03:34 UTC, Jan Mette
Details

Description Jan Mette 2008-09-21 03:29:19 UTC
Created attachment 19052 [details]
dmesg output

Hi there,

my intel X4500 (Intel Corporation Eaglelake Integrated Graphics Controller (rev 03), ASrock G43Twins-FullHD) doesnt want to do direct rendering as it seems. There are some errors in Xorg.log:

...
(WW) intel(0): Bad V_BIOS checksum
...
(II) intel(0): Kernel reported 748288 total, 1 used
(II) intel(0): I830CheckAvailableMemory: 2993148 kB available
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: drmOpenMinor returns 11
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] loaded kernel module for "i915" driver.
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Allocating 6144 scanlines for pixmap cache
(WW) intel(0): Failed to allocate hw status page.
(II) intel(0): Tiled allocation failed.
(II) intel(0): Attempting memory allocation with untiled buffers.
(II) intel(0): Allocating 6144 scanlines for pixmap cache
(WW) intel(0): Failed to allocate hw status page.
(II) intel(0): Untiled allocation failed.
(II) intel(0): Couldn't allocate 3D memory, disabling DRI.
...



A search on google had lead to no solution yet. So far i have tried it with my xorg.conf and a plain one (X -configure) and also with EXA/XAA and all this stuff - everything leads to the same problems.



OS is Arch Linux i686, with the following packages:

kernel26 2.6.26.5
libdrm 2.3.1
mesa 7.1
intel-dri 7.1
xf86-video-intel 2.4.2
libgl 7.1
Comment 1 Jan Mette 2008-09-21 03:32:40 UTC
Created attachment 19053 [details]
lspci output
Comment 2 Jan Mette 2008-09-21 03:33:27 UTC
Created attachment 19054 [details]
Xorg.0.log
Comment 3 Jan Mette 2008-09-21 03:33:54 UTC
Created attachment 19055 [details]
glxinfo output
Comment 4 Jan Mette 2008-09-21 03:34:14 UTC
Created attachment 19056 [details]
xorg.conf
Comment 5 Wang Zhenyu 2008-09-22 22:42:58 UTC
oh, it looks your stolen memory size is set to 256M, and pci bar size for graphics device is also 256M, which will allocate all memory into stolen...I never saw config like this before, could you try to config stolen memory size to other values in bios?
Comment 6 Jan Mette 2008-09-24 12:48:22 UTC
Thank you for your suggestions, it is solved now.

The settings in the bios are badly documented in the handbook and so i just set everything to the highest amount, because i have plenty of ram. Also the DVMT setting is "only for Windows XP", at least my bios tells me that, but now i know that this isnt the case :)

Now the "Share Memory" is set to 32MB and the "DVMT/FIXED" Memory is set to 256MB and everything works properly...

I guess integrated graphics could use some common terminology, take a look at these screenshots to see what i mean:

http://img89.imageshack.us/img89/8794/bios1es6.jpg
http://img525.imageshack.us/img525/3802/bios2vc7.jpg

But thats ofcourse not your thing, but the manufacturers one :)

Thanks again!

Jan


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.