Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63684 - no more direct rendering for i810 in xorg-6.8
Summary: no more direct rendering for i810 in xorg-6.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-11 08:36 UTC by Raphael Marichez (Falco) (RETIRED)
Modified: 2004-09-11 16:32 UTC (History)
0 users

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


Attachments
inclusion into kernel of the i915 module, replacing i830 one, for newest xorg (i915_linux.diff,50.54 KB, patch)
2004-09-11 16:30 UTC, Raphael Marichez (Falco) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Marichez (Falco) (RETIRED) gentoo-dev 2004-09-11 08:36:27 UTC
chipset i830, modules compiled in kernel. (2.6.8)
DRI with xorg-x11-6.7.0-r1 works very well (driver name : i810), but no in 6.8, using same conf files.
Only difference in the Xorg log is:
-(II) I810(0): VESA VBE Total Mem: 832 kB
+(II) I810(0): VESA VBE Total Mem: 12288 kB
(...)
+(WW) I810(0): Detected stolen memory (832 kB) doesn't match what the BIOS reports (12288 kB)
(...)
-(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM
-(II) Loading sub module "int10"
-(II) LoadModule: "int10"
-(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
-(II) I810(0): initializing int10
-(WW) I810(0): Bad V_BIOS checksum
-(II) I810(0): Primary V_BIOS segment is: 0xc000
-(II) I810(0): VESA BIOS detected
-(II) I810(0): VESA VBE Version 3.0
-(II) I810(0): VESA VBE Total Mem: 12288 kB
-(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
-(II) I810(0): VESA VBE OEM Software Rev: 1.0
-(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
-(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
-(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
-(II) I810(0): BIOS now sees 12288 kB VideoRAM
(...)
-(II) I810(0): VESA VBE Total Mem: 832 kB
+(II) I810(0): VESA VBE Total Mem: 12288 kB
(...)
-(II) I810(0): [drm] added 8192 byte SAREA at 0xe0cec000
-(II) I810(0): [drm] mapped SAREA 0xe0cec000 to 0x402fc000
-(II) I810(0): [drm] framebuffer handle = 0xf0020000
-(II) I810(0): [drm] added 1 reserved context for kernel
-(II) I810(0): Allocated 3072 kB for the back buffer at 0x7800000.
-(II) I810(0): Allocated 3072 kB for the depth buffer at 0x7400000.
-(II) I810(0): Allocated 32 kB for the logical context at 0x73f8000.
-(II) I810(0): Allocated 21248 kB for textures at 0xfeb40000
+(II) I810(0): [drm] drmAddMap failed
+(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(...)
-(II) I810(0): X context handle = 0x00000001
-(II) I810(0): [drm] installed DRM signal handler
-(II) I810(0): [DRI] installation complete
-(II) I810(0): direct rendering: Enabled
+(II) I810(0): direct rendering: Failed

re-emerging old xfree 6.7 solves the problem


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 
2.6.8-rc1-bk1) 
================================================================= 
System uname: 2.6.8-rc1-bk1 i686 Intel(R) Pentium(R) M processor 1400MHz 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -march=pentium3 -pipe -mmmx -msse -ffast-math -fomit-frame-pointer 
-frename-registers" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-Os -march=pentium3 -pipe -mmmx -msse -ffast-math 
-fomit-frame-pointer -frename-registers" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr/ http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X aalib acpi alsa apm arts avi berkdb bitmap-fonts caps cdr crypt cups 
curl dga directfb dvd dvdr encode ethereal fbcon foomaticdb gdbm gif gpm gtk 
gtk2 imlib java javascript jpeg kde libg++ libwww mad maildir matroska mbox 
memlimit mikmod mmx mmxext motif mpeg ncurses nls oggvorbis opengl openssh oss 
pam pcmcia pdflib perl png python qt quicktime readline sdl slang socks5 sse 
ssl svga tcltk tcpd tetex truetype x86 xinerama xml2 xmms xosd xprint xv xvid 
zlib"
Comment 1 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2004-09-11 08:42:37 UTC
i'm using a Dell laptop based on Intel chipsets,
lspci gives:
0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
Comment 2 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2004-09-11 16:30:27 UTC
Created attachment 39415 [details, diff]
inclusion into kernel of the i915 module, replacing i830 one, for newest xorg

OK, seeing the LKML, it's a light change in xorg 6.8, using the kernel driver
"i915" replacing the "i830" one:

http://marc.theaimsgroup.com/?l=linux-kernel&m=109360274615220&w=2
(2004-08-27)

this patch ( http://www.skynet.ie/~airlied/patches/dri/i915_linux.diff ) is NOT
included in the vanilla sources of the 2.6.8 branch, neither the 2.6.9-rc1
kernel. It was included somewhere between 2.6.9-rc1 and 2.6.9-rc1-bk18.
I successfully applied this patch against kernel 2.6.9-rc1 and 2.6.8

this patch provides a new kernel driver, i915, lightly different from i830.
But theses two drivers aren't compatibles.
in the section "Character devices", you should chose:
<*> /dev/agpgart (AGP Support)
 <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
  or
 <*>   Intel i865 chipset support
  (depending of your hardware)
and :
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
 < >   Intel 830M, 845G, 852GM, 855GM, 865G   ( -> called i830)
 <*>   Intel 830M, 845G, 852GM, 855GM, 865G, 915G  ( -> called i915)

you shouldn't build both i830 and i915 drivers.
i915 driver is for xorg 6.8.0
i830 driver is for xorg 6.7.0

this closed "bug" could be related (is the same?) to
http://bugs.gentoo.org/show_bug.cgi?id=63436 , "kernel module i915 missing
(causes no DRI in xorg-x11-6.8.0)"
Comment 3 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2004-09-11 16:32:12 UTC
future 2.6.9 kernel will contain the i915 driver, needed for xorg 6.8