Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11910 - xf86-video-intel 2.5.0 breaks direct rendering

Attached to Project: Arch Linux
Opened by Thomas B├Ąchler (brain0) - Tuesday, 28 October 2008, 12:14 GMT
Last edited by Jan de Groot (JGC) - Thursday, 06 November 2008, 21:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

With the new Intel driver, version 2.5.0, my Intel 945GM has no direct rendering any more. Instead of the i915_drm, the swrast_drm driver is loaded.

This results in compositing being broken (black screen) and probably no 3D, which I didn't try though. The Xorg.0.log contains no hints as to why the swrast driver is being used, however, dmesg states the following:

Oct 25 00:17:20 artin [drm] Initialized drm 1.1.0 20060810
Oct 25 00:17:20 artin pci 0000:00:02.0: setting latency timer to 64
Oct 25 00:17:20 artin [drm] Initialized i915 1.6.0 20060119 on minor 0
Oct 25 00:17:27 artin [drm:i915_getparam] *ERROR* Unknown parameter 5
Oct 25 00:17:27 artin [drm:i915_initialize] *ERROR* can not ioremap virtual address for ring buffer
Oct 25 00:22:10 artin mtrr: no MTRR for c0000000,10000000 found
Oct 25 00:22:28 artin X:29141 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Oct 25 00:22:28 artin reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Oct 25 00:22:29 artin X:29141 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Oct 25 00:22:29 artin reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Oct 25 00:22:29 artin X:29145 freeing invalid memtype c0000000-d0000000
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 06 November 2008, 21:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Reverted to 2.4.2
Comment by Jan de Groot (JGC) - Friday, 31 October 2008, 07:55 GMT
Is this fixed with libdrm 2.4.1?
Comment by Joel (Jeol) - Saturday, 01 November 2008, 14:16 GMT
(I cant find any "swrast_drm", so I assume swrast_dri was meant)

I don't know how I can test compositing, but otherwise it's the same for me.
I got direct renderendering, though it's using the swrast module. This is good enough for 3d applications not to complain, but is rather slow.

This is using x3500 igp, and according to pacman I'm using:

pacman -Q libdrm mesa xf86-video-intel xorg-server intel-dri libgl
libdrm 2.4.1-1
mesa 7.2-1
xf86-video-intel 2.5.0-2
xorg-server 1.5.2-3
intel-dri 7.2-1
libgl 7.2-1

Isn't this a more a bug in the libgl that it choose swrast rather than the driver from intel-dri?

LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
Xlib: extension "Generic Event Extension" missing on display ":0.0".
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
display: :0 screen: 0
direct rendering: Yes
....<snip>

Loading...