Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143419 - No direct rendering with x11-drivers/xf86-video-i810-1.6.4
Summary: No direct rendering with x11-drivers/xf86-video-i810-1.6.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 21:51 UTC by Sebastian Bergmann (RETIRED)
Modified: 2006-08-10 15:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of glxinfo (glxinfo,4.86 KB, text/plain)
2006-08-09 21:51 UTC, Sebastian Bergmann (RETIRED)
Details
/var/log/Xorg.0.log (Xorg.0.log,67.12 KB, text/plain)
2006-08-09 21:52 UTC, Sebastian Bergmann (RETIRED)
Details
Fix Clobbered DRI (dristruct-fix.diff,915 bytes, patch)
2006-08-10 11:49 UTC, Roderick B. Greening
Details | Diff
ebuild which includes the patch line (xf86-video-i810-1.6.4.ebuild,897 bytes, text/plain)
2006-08-10 11:52 UTC, Roderick B. Greening
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bergmann (RETIRED) gentoo-dev 2006-08-09 21:51:11 UTC
ERROR!  sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering

I am not sure if this is related to the update to x11-drivers/xf86-video-i810-1.6.4, but it used to work when I initially configured X.org 7.1 on this notebook.

-- 

Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r5 i686)
=================================================================
System uname: 2.6.17-gentoo-r5 i686 Genuine Intel(R) CPU           L2400  @ 1.66GHz
Gentoo Base System version 1.12.4
Last Sync: Thu, 10 Aug 2006 04:01:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=" "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf avi berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdr cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode exif fame firefox flac foomaticdb fortran gaim galago gdbm gif glitz gnome gpm graphviz gstreamer gtk gtk2 hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog java jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ libnotify libsexy libwww lzo mad matroska mikmod mjpeg mmx mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nomotif nptl nsplugin ogg oggvorbis opengl oss pam pam_console pcre pdf pdflib perl png pppd python quicktime readline reflection samba session smp spell spl sse sse2 ssl startup-notification svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_i810 vorbis win32codecs wmf xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-08-09 21:51:38 UTC
Created attachment 93885 [details]
Output of glxinfo
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2006-08-09 21:52:17 UTC
Created attachment 93886 [details]
/var/log/Xorg.0.log
Comment 3 Francisco J. Vazquez 2006-08-10 02:42:34 UTC
Same here with xorg-7.1. xf86-video-i810-1.6.1 works well.
Comment 4 Roderick B. Greening 2006-08-10 06:47:08 UTC
I also have the same. I have reported this at freedesktop bugzilla and linked back to here.

Here's the bug:

https://bugs.freedesktop.org/show_bug.cgi?id=7835

I suspect the driver needs a newer Kernel AGP, but I could be wrong.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-08-10 08:15:00 UTC
I noticed that Roderick is using the x11-drm package as his kernel DRM provider.  Is everyone else here doing the same, or is someone using the the in-kernel DRM support?

Also, I'd appreciate if someone tested against 2.6.18-rc4 (in-kernel DRM and AGP support) and posted the results on the upstream bug.
Comment 6 Sebastian Bergmann (RETIRED) gentoo-dev 2006-08-10 08:19:59 UTC
I do not have x11-base/x11-drm installed.
Comment 7 Roderick B. Greening 2006-08-10 10:31:31 UTC
I'm using sys-kernel/gentoo-sources-2.6.16-r13.

The latest aviable in portage is 2.6.17-r5. Where can one get 2.6.18? What version of AGP/DRM is included in that kernel vs 2.6.16? Would it help to get a newer snapshot of x11-drm instead of swapping kernel completely?

Just wondering.

Thanks.
Comment 8 Francisco J. Vazquez 2006-08-10 10:47:39 UTC
I'm using vanilla-sources-2.6.18_rc4 with built-in AGP and DRM (i915).
Comment 9 Roderick B. Greening 2006-08-10 10:52:11 UTC
Have a look at the freedesktop bug. Someone added a comment about missing fields in the following file:i830_dri.h

Looks like the i965 merge clobbered something still require in that header (potentially).

http://gitweb.freedesktop.org/?p=xorg-driver-xf86-video-intel;a=blobdiff;h=f97c1dd55a663e71f41b7ea5792cea7902bca9a1;hp=b521489cfe3f3249ffd2c8dc68787f3f1a1bbd64;hb=d150b53d102c511f3c9245ef1f6fd36c12b01ca3;f=src/i830_dri.h
Comment 10 Roderick B. Greening 2006-08-10 11:49:06 UTC
Created attachment 93928 [details, diff]
Fix Clobbered DRI

Ok, this is a quick hack to put back some stuff clobbered from i830_dri.h.

Not sure if anything else from other files missing. But this compiles fine and works now on my Intel 855GM
Comment 11 Roderick B. Greening 2006-08-10 11:52:40 UTC
Created attachment 93929 [details]
ebuild which includes the patch line

Copy this to your local overlay under x11-drivers/xf86-video-i810 along with previous diff/patch to x11-drivers/xf86-video-i810/files and re-digest.
Comment 12 Francisco J. Vazquez 2006-08-10 12:33:42 UTC
The patch works for me (Intel 945GM), thanks :)
Comment 13 Joshua Baergen (RETIRED) gentoo-dev 2006-08-10 15:28:19 UTC
I added Eric's patch from upstream (it's functionally identical to the one here, of course) in 1.6.4-r1.  Thanks all.