Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] No HW accel with ati-drivers and xorg
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
warpster
n00b
n00b


Joined: 26 Dec 2004
Posts: 31

PostPosted: Fri Apr 01, 2005 3:50 am    Post subject: [Solved] No HW accel with ati-drivers and xorg Reply with quote

Hi... hopefully somebody can help me.

I've been having no problems with my ATI Radeon 9800 card and the previous version of Xorg (6.8.0-something), but today I emerged -uD world and now I have no hardware acceleration. Both ati-drivers and xorg-x11 got upgraded to higher versions.
Here's some outputs, hopefully they're helpful... sorry, it'll be a pretty long message, though I'll try to trim wherever possible.

Quote:
$ startx

[useless output trimmed]

(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
FATAL: Error inserting fglrx (/lib/modules/2.6.9-gentoo-r1/video/fglrx.ko): Unknown symbol in module, or unknown
parameter (see dmesg)
[drm] failed to load kernel module "fglrx"
(EE) fglrx(0): DRIScreenInit failed!

Notice it tells me to "see dmesg"... I did, but this is all it says:

Quote:
# dmesg | grep fglrx

fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol remap_pfn_range (repeated 10 times)

Here's the output of emerge info:

Quote:
# emerge info

Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 09:25:28)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4-r1
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.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -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=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts audiofile avi berkdb bigger-fonts bitmap-fonts bootsplash cdparanoia cdr crypt cups curl directfb divx4linux doc dri dv dvd dvdr dvdread emboss encode esd fam fbcon ffmpeg flac fmod font-server foomaticdb fortran ftp gdbm geoip gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardenedphp ieee1394 imagemagick imap imlib java javascript jpeg junit kde lcms ldap libcaca libg++ libwww live lzo mad maildir mikmod mime mmx mmx2 motif mp3 mpeg mysql mysqli ncurses nls nodrm nptl nptlonly ntlm offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl php png python qt quicktime radeon readline real rtc samba sdl session slang sndfile sockets socks5 speex spell spl sse sse2 ssl svga tcltk tcpd tga theora tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 videos xanim xine xml xml2 xmlrpc xmms xv xvid xvmc zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

To see my xorg.conf, please click the following link: http://www.corridorofmadness.com/gentoo/etc/X11/xorg.conf.
I can't think of any other useful info to post, but if you need anything else, of course I'll be happy to provide it.

Thanks in advance for your kind help, suggestions, and pointers to useful info!

:: warpster ::


Last edited by warpster on Fri Apr 01, 2005 7:31 am; edited 1 time in total
Back to top
View user's profile Send private message
warpster
n00b
n00b


Joined: 26 Dec 2004
Posts: 31

PostPosted: Fri Apr 01, 2005 5:00 am    Post subject: Reply with quote

I have even tried to recompile the kernel, but at make modules_install I get this:

Quote:
WARNING: /lib/modules/2.6.9-gentoo-r1/video/fglrx.ko needs unknown symbol remap_pfn_range


What's going on here!? :(
Back to top
View user's profile Send private message
llsardonicll
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 110

PostPosted: Fri Apr 01, 2005 5:44 am    Post subject: Reply with quote

Taking DRM out of the kernel helped my problem w/the new drivers, though not sure if you have the same problem or not..
what's "grep DRM /usr/src/linux/.config" give you?
Back to top
View user's profile Send private message
warpster
n00b
n00b


Joined: 26 Dec 2004
Posts: 31

PostPosted: Fri Apr 01, 2005 7:31 am    Post subject: Reply with quote

Yes, indeed I tried taking DRM out of the kernel, after reading a lot of references to that on the forums. It didn't work, but then I upgraded to the latest gentoo-dev-sources (2.6.11-r4). Now it works! Thanks for your suggestion.

However, now when I launch X and the module loads (successfully at last), I get this weird thing:

Quote:
Mar 31 22:33:59 [kernel] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
Mar 31 22:33:59 [kernel] [fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
Mar 31 22:33:59 [kernel] ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Mar 31 22:33:59 [kernel] [fglrx] module loaded - fglrx 8.10.19 [Feb 9 2005] on minor 0
Mar 31 22:33:59 [kernel] allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
Mar 31 22:33:59 [kernel] Fire GL built-in AGP-support
Mar 31 22:33:59 [kernel] Based on agpgart interface v0.99 (c) Jeff Hartmann
Mar 31 22:33:59 [kernel] AGP: Found 2 AGPv3 devices
Mar 31 22:33:59 [kernel] AGP: Doing enable for AGPv3
Mar 31 22:33:59 [kernel] [fglrx] free AGP = 121909248
Mar 31 22:33:59 [kernel] [fglrx] max AGP = 121909248


Uhm... what's that? Should I worry about it? Should I really pass vmalloc=256 (assuming the default is still 128) at boot time or something like that?
I'll mark this post as solved now, might post this as a standalone if nobody answers here.

Thanks again,

:: warpster ::
Back to top
View user's profile Send private message
llsardonicll
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 110

PostPosted: Fri Apr 01, 2005 9:24 am    Post subject: Reply with quote

Yeah, pass vmalloc=256 onto it. Hopefully no more errors after that.
Back to top
View user's profile Send private message
warpster
n00b
n00b


Joined: 26 Dec 2004
Posts: 31

PostPosted: Fri Apr 01, 2005 7:42 pm    Post subject: Reply with quote

Unfortunately, the kernel will refuse to boot if I pass it that argument. See https://forums.gentoo.org/viewtopic-t-317185.html?sid=525bb8fde00c49e29f5c99d06ddd33a8, and of course I appreciate any suggestions. Thanks,

:: warpster ::
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum