Bug 45160 - direct rendering fails on Intel 945GME chipset
Summary: direct rendering fails on Intel 945GME chipset
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.5 (2009.10)
Hardware: x86 (IA32) FreeBSD
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 17:00 UTC by Yuri
Modified: 2012-04-23 08:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log file (14.36 KB, text/plain)
2012-01-23 17:00 UTC, Yuri
no flags Details
Xorg.0.log (with drm.ko loaded) containing warnings (14.50 KB, application/octet-stream)
2012-03-13 23:41 UTC, Yuri
no flags Details

Description Yuri 2012-01-23 17:00:32 UTC
Created attachment 56060 [details]
Xorg log file

On Lenovo S10-2 laptop hardware rendering fails, even though documentation says it is supported: http://ark.intel.com/products/chipsets/30439

glxinfo | grep -i render says
direct rendering: Yes
OpenGL rendering string: Software Rasterizer

This is because the Xorg.log has an error in it:
(II) intel(0): direct rendering: Failed
See log file attached.

xorg-7.5.1 (from ports)
xorg-server-1.7.7
xf86-video-intel-2.7.1
FreeBSD-9.0
Comment 1 Alan Coopersmith 2012-03-13 22:37:21 UTC
Comment on attachment 56060 [details]
Xorg log file

drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed


Are you sure your FreeBSD kernel has the DRM support for this card?
Comment 2 Yuri 2012-03-13 23:04:40 UTC
FreeBSD drm.ko kernel module is loaded.
Device in question is Intel (vid=0x8086 pid=0x27ae) is listed as supported in drm.ko source. Here all Intel 945* cards are listed as supported in drm_pciids.h:
        {0x8086, 0x2772, CHIP_I9XX|CHIP_I915, "Intel i945G"}, \
        {0x8086, 0x27A2, CHIP_I9XX|CHIP_I915, "Intel i945GM"}, \
        {0x8086, 0x27AE, CHIP_I9XX|CHIP_I915, "Intel i945GME"}, \
Comment 3 Yuri 2012-03-13 23:13:54 UTC
Also device /dev/dri/card0 exists, and command "chown root /dev/dri/card0" succeeds. I am not sure why xorg prints:
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
Comment 4 Yuri 2012-03-13 23:40:23 UTC
Now I see that drm.ko isn't loaded at the time of xorg initialization, hence those errors about /dev/dri/card0. It was loaded later, not sure how.

However the direct rendering failure persists. Please see the new Xorg log file with the warnings in it:
(WW) intel(0): drmDropMaster failed: Unknown error: -1

and also another subsequent warnings:
(WW) intel(0): ESR is 0x00000011, page table error, instruction error
(WW) intel(0): PGTBL_ER is 0x00000010, display A pte
(WW) intel(0): Existing errors found in hardware state.
Comment 5 Yuri 2012-03-13 23:41:54 UTC
Created attachment 58418 [details]
Xorg.0.log (with drm.ko loaded) containing warnings
Comment 6 Chris Wilson 2012-04-23 08:00:04 UTC
Presuming fixed in the recent release.


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.