Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95833 - sis dri not working on xorg-6.8.2-r1, kernel linux-2.6.11-gentoo-r9
Summary: sis dri not working on xorg-6.8.2-r1, kernel linux-2.6.11-gentoo-r9
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 21:46 UTC by Ramiro Simões Lopes
Modified: 2007-04-01 20:10 UTC (History)
1 user (show)

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


Attachments
kernel linux-2.6.11-gentoo-r9 .config (.config,21.40 KB, text/plain)
2005-06-12 12:39 UTC, Ramiro Simões Lopes
Details
lsmod (lsmod.txt,1.29 KB, text/plain)
2005-06-12 12:40 UTC, Ramiro Simões Lopes
Details
xorg.conf (xorg.conf,14.40 KB, text/plain)
2005-06-12 12:41 UTC, Ramiro Simões Lopes
Details
glxinfo (glxinfo.txt,3.19 KB, text/plain)
2005-06-12 12:43 UTC, Ramiro Simões Lopes
Details
dmesg (info.txt,8.11 KB, text/plain)
2005-06-13 14:35 UTC, Ramiro Simões Lopes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramiro Simões Lopes 2005-06-11 21:46:21 UTC
Hi! I've been trying to upgrade to kernel 2.6 but I'm getting problems with dri.

With kernel 2.4 I didn't have dri compiled in the kernel and used the x11-drm package wich worked fine.
Now with kernel 2.6 I know I can't use x11-drm anymore so I unmerged it and compiled the kernel with dri / sis support as modules and agpgart into the kernel.
I also recompiled xorg with and without the dlloader use flag and xorg-6.8.2.r2 too.

There are no error messages in dmesg and xorg log, but when I do a: string /usr/lib/libGL.so | grep dri I get the following errors:

driGetDriver
driCreateDisplay
Cannot determine driver name for screen %d
Neither __driCreateScreen or __driCreateNewScreen are defined in %s_dri.so!
unable to find driver: %s_dri.so
__driConfigOptions
/usr/lib/modules/dri
%s/%s_dri.so
__driCreateScreen
__driCreateNewScreen
libGL warning: 3D driver claims to not support visual 0x%02x
libGL warning: 3D driver returned no fbconfigs.
/proc/dri/0
/dev/dri
/proc/dri/%d/name

All GL apps load but the screen remains black, glxgears even shows the fps but the window is black.

Can anyone give me a hint?
I've done everything I could imagine...

Thanks in advance
Comment 1 Ramiro Simões Lopes 2005-06-11 21:49:46 UTC
emerge info:

Gentoo Base System version 1.6.12
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Duron(tm) Processor
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  7 2005, 20:39:40)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/lib/X11/xkb /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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/
http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo bzip2
cdr cross crypt cups curl dga directfb divx4linux doc emboss encode esd fam
fbcon foomaticdb fortran gd gdbm gif gpm gtk gtk2 gtkhtml guile imagemagick
imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmx2 mmxext motif mozilla mp3
mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl pic plotutils png
python qt quicktime readline real sdl shared sharedmem slang spell sse sse2 ssl
svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb
vorbis x86 xml xml2 xmms xv xvid zlib video_cards_sis userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

OBS.: I've already compiled without any optimisations and got the same results.
Comment 2 Ramiro Simões Lopes 2005-06-12 12:35:08 UTC
I forgot to say I have a sis 300 series card, a 630/730 for wich there's 3d
hardware acceleration support in linux, I used it with kernel 2.4.
Software accel works fine.
Comment 3 Ramiro Simões Lopes 2005-06-12 12:39:53 UTC
Created attachment 61120 [details]
kernel linux-2.6.11-gentoo-r9 .config
Comment 4 Ramiro Simões Lopes 2005-06-12 12:40:50 UTC
Created attachment 61121 [details]
lsmod
Comment 5 Ramiro Simões Lopes 2005-06-12 12:41:47 UTC
Created attachment 61122 [details]
xorg.conf
Comment 6 Ramiro Simões Lopes 2005-06-12 12:43:17 UTC
Created attachment 61123 [details]
glxinfo
Comment 7 Ramiro Simões Lopes 2005-06-13 14:35:11 UTC
Created attachment 61170 [details]
dmesg
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 20:10:25 UTC
If you still have issues w/ current xorg/kernel/x11-drivers/xf86-video-sis ebuilds, file a new bug. Thanks.