Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ati-drivers (fglrx) problem with gentoo-sources-2.6.12
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
AusGen
n00b
n00b


Joined: 31 Jul 2005
Posts: 11
Location: Jervis Bay, ACT, Australia

PostPosted: Mon Aug 01, 2005 1:02 am    Post subject: Best solution... Reply with quote

Gentoo is not alone in its problems with the ati drivers. I've just made the switch from Debian AMD64, and the scene isn't much prettier there either. I'm due for a new card replacement (I'm running a 9700 Pro), and most certainly wont be getting another Ati. With the exception of our video cards, my wife's pc and mine are identical. Hers contains an Nvidia Ti4400 - no install problems and better FPS than a fully configured 9700Pro, which is meant to be a generation newer. Once ATI realise they are loosing sales due to their inferior (cf. NVidia) support of Linux, they may take a more concerted effort. It is a shame they haven't tried harder as their products are actually quite good. In Window$, the card still kicks butt in most modern games.

For those who are not in a position to upgrade/replace their video card, follow the excellent advice provided in these forums. For those who are, get yourself a nice new Geforce and let ATI know why you've made the swtich.
Back to top
View user's profile Send private message
Mythos
l33t
l33t


Joined: 02 May 2004
Posts: 953
Location: Portugal

PostPosted: Tue Aug 02, 2005 9:44 am    Post subject: Reply with quote

The latest ati-driver in portage works fine to me with internalagpgart "no" ...

emerge the latest ati-driver and the latest gentoo-sources and the problem will be solved.
_________________
Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
LordNikon9x
n00b
n00b


Joined: 31 May 2005
Posts: 12
Location: Estonia

PostPosted: Tue Aug 02, 2005 5:44 pm    Post subject: Reply with quote

Hello!

Just curious:

If you do
Code:
LIBGL_DEBUG=verbose glxinfo

does it show
Code:
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 8.14.13 fglrx (screen 0)
libGL: OpenDriver: trying /root/test//usr/X11R6/lib64/modules/dri//fglrx_dri.so
libGL error: dlopen /root/test//usr/X11R6/lib64/modules/dri//fglrx_dri.so failed (/root/test//usr/X11R6/lib64/modules/dri//fglrx_dri.so: cannot open shared object file: Permission denied)
libGL: OpenDriver: trying /root/test//usr/X11R6/lib/modules/dri//fglrx_dri.so
libGL error: dlopen /root/test//usr/X11R6/lib/modules/dri//fglrx_dri.so failed (/root/test//usr/X11R6/lib/modules/dri//fglrx_dri.so: cannot open shared object file: Permission denied)
libGL error: unable to find driver: fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.14.13 fglrx (screen 0)
libGL: OpenDriver: trying /root/test//usr/X11R6/lib64/modules/dri//fglrx_dri.so
libGL error: dlopen /root/test//usr/X11R6/lib64/modules/dri//fglrx_dri.so failed (/root/test//usr/X11R6/lib64/modules/dri//fglrx_dri.so: cannot open shared object file: Permission denied)
libGL: OpenDriver: trying /root/test//usr/X11R6/lib/modules/dri//fglrx_dri.so
libGL error: dlopen /root/test//usr/X11R6/lib/modules/dri//fglrx_dri.so failed (/root/test//usr/X11R6/lib/modules/dri//fglrx_dri.so: cannot open shared object file: Permission denied)
libGL error: unable to find driver: fglrx_dri.so


I see it in /etc/profile
Code:

<snip>
### START ATI FGLRX ###
### Automatically modified by ATI Proprietary driver scripts
### Please do not modify between START ATI FGLRX and END ATI FGLRX

if [ $LD_LIBRARY_PATH ]
then
  if ! set | grep LD_LIBRARY_PATH | grep /root/test//usr/X11R6/lib64:/root/test//usr/X11R6/lib > /dev/null
  then
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/test//usr/X11R6/lib64:/root/test//usr/X11R6/lib
    export LD_LIBRARY_PATH
  fi
else
  LD_LIBRARY_PATH=/root/test//usr/X11R6/lib64:/root/test//usr/X11R6/lib
  export LD_LIBRARY_PATH
fi

if [ $LIBGL_DRIVERS_PATH ]
then
  if ! set | grep LIBGL_DRIVERS_PATH | grep /root/test//usr/X11R6/lib64/modules/dri/:/root/test//usr/X11R6/lib/modules/dri/ > /dev/null
  then
    LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/root/test//usr/X11R6/lib64/modules/dri/:/root/test//usr/X11R6/lib/modules/dri/
    export LIBGL_DRIVERS_PATH
  fi
else
  LIBGL_DRIVERS_PATH=/root/test//usr/X11R6/lib64/modules/dri/:/root/test//usr/X11R6/lib/modules/dri/
  export LIBGL_DRIVERS_PATH
fi

### END ATI FGLRX ###


Is it ATI doing or am I doing somethig wrong with emerge??
(I do not have /root/test directory)

Andres

Update:
After removing /root/test/ from /etc/profile and env-update and a reboot (just to be sure ;) ) 3D started to work like it did before.
Currently I am still running 2.6.11-something, and I am too lazy to boot to 2.6.12-something to verify if 3D works with 2.6.12- kernel.
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Fri Aug 05, 2005 9:30 pm    Post subject: Reply with quote

Mythos wrote:
The latest ati-driver in portage works fine to me with internalagpgart "no" ...

emerge the latest ati-driver and the latest gentoo-sources and the problem will be solved.


Where does "internalagpgart "no"" should be inserted? I mean, in which section? I inserted it in the module section, I emerged the last ati-drivers ebuild (8.14.13-r2), but the 3d acceleration still doesn't work. The kernel version is 2.6.12-r6 and the video card is a ATI radeon 7000 Mobility. Can someone understand what I'm doing wrong? The output of glxinfo | grep rendering is:

Code:

Xlib: extension "XFree86-DRI" missing on display ":0.0".
direct rendering: no


Thanks for any informations.
Back to top
View user's profile Send private message
papernik
n00b
n00b


Joined: 08 Aug 2005
Posts: 1

PostPosted: Mon Aug 08, 2005 4:54 pm    Post subject: Reply with quote

Thanks to all, i solve my problem with your help in this thread.

i have kernel-2.6.12-r6, ati-drivers-8.14.13-r2 and ati radeon 9600 xt

i have emerged last (unstable) ati-drivers and gentoo-kernels.

in /etc/X11/xorg.conf i have put :

Option "UseInternalAGPGART" "no"

then in kernel

Code:
Loadable Module Support --->
 [*] Enable loadable module support
   [*]   Module unloading

Processor type and features  --->
 [*] MTRR (Memory Type Range Register) support

Device Drivers --->
 Character Devices --->
  [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

Kernel Hacking --->
  [ ] Kernel debugging



don't forget your specific chipset

Code:

Device Drivers --->
 Character Devices --->
    [*] /dev/agpgart (AGP Support)

and

Device Drivers --->
 Character Devices --->
    [*]  Intel 440LX/BX/GX, I8xx and E7x05 chipset support  (in my case i have an intel 865 chipset



Then don't forget to load agp modules if you compile it like modules (agpgart+your specific chipset module). (im my case i compile it built-in kernel with * no M)

I hope it will work for you too.


bye paper
Back to top
View user's profile Send private message
keithjr
n00b
n00b


Joined: 12 Aug 2005
Posts: 12
Location: Greensboro, NC

PostPosted: Fri Aug 12, 2005 8:19 pm    Post subject: Reply with quote

I've been having the exact same problem emerging ati-drivers, with it saying "DRM module not built" in the compiliation...using 2.6.12-r6 gentoo kernel

do I have to "emerge ati-drivers-8.14.13-r2" and that'll work differently, or what?
Back to top
View user's profile Send private message
keithjr
n00b
n00b


Joined: 12 Aug 2005
Posts: 12
Location: Greensboro, NC

PostPosted: Fri Aug 12, 2005 8:49 pm    Post subject: Reply with quote

also... I've been considering downgrading back to the gentoo-sources-2.6.11-r11 kernel, but is it even possible to emerge this??? I checked the gentoo.org cvs and it says all but the latests 3 gentoo-sources ebuilds are DEAD?!

is it possible to get ahold of previous gentoo kernels? Or will I just have to settle with a vanilla one from kernel.org?
Back to top
View user's profile Send private message
zparta
n00b
n00b


Joined: 12 Mar 2005
Posts: 8

PostPosted: Sat Aug 13, 2005 8:31 am    Post subject: Reply with quote

anyone got the patches from lenny?
i havent been able to reach his site for over 2 days
i think they should fix the ati-drivers ebuild

http://lenny.v-brne.net/fglrx that page is not reachable woud be nice if anyone had the patchset to upload it somewhere so i can download
Back to top
View user's profile Send private message
RR64
n00b
n00b


Joined: 06 Aug 2005
Posts: 34

PostPosted: Mon Aug 15, 2005 3:38 am    Post subject: Reply with quote

zparta wrote:
anyone got the patches from lenny?
i havent been able to reach his site for over 2 days
i think they should fix the ati-drivers ebuild

http://lenny.v-brne.net/fglrx that page is not reachable woud be nice if anyone had the patchset to upload it somewhere so i can download


I second the request. I'm willing to try anything while waiting for a release from ATI.

Is there a specific forum or thread I can check that has constant updates if ATI has built a new driver or not to support 3d acceleration on the 2.6.12 kernel?

Will the patch work across the board for ANY ati card? I have a zv6000 laptop with an ATI radeon xpress 200m card and was wondering if the patch would work for me like some of the others. My glxgears peak out at 720 FPS at the most.

Thanks
Back to top
View user's profile Send private message
senduran
n00b
n00b


Joined: 05 Aug 2005
Posts: 71

PostPosted: Mon Aug 15, 2005 12:23 pm    Post subject: Reply with quote

Likwise, I want to try the lenny patch as well.

Like papernik above I'm using kernel-2.6.12-r6 and ati-drivers-8.14.13-r2, but with a radeon 9800 pro, Asus A8V Deluxe and AMD 4400+. I've setup exactly as he did except no Intel 440LX... chipset support. I've tried Option "UseInternalAGPGART" "no" and Option "UseInternalAGPGART" "yes".

But always I get:

Code:

glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI

dmesg
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 3820 MBytes.
[fglrx] module loaded - fglrx 8.14.13 [Jun  8 2005] on minor 0
mtrr: type mismatch for e8000000,8000000 old: write-back new: write-combining
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState   = 0x1f000a1b (hardware caps of chipset)
mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
[fglrx:firegl_unlock] *ERROR* Process 6111 using kernel context 0


Through some random combination of settings I have occasionally gotten glxinfo to report a server glx vendor string of ATI, but always direct rendering: No.
Back to top
View user's profile Send private message
RR64
n00b
n00b


Joined: 06 Aug 2005
Posts: 34

PostPosted: Thu Aug 25, 2005 11:44 am    Post subject: Reply with quote

Can someone please repost/rehost the lenny fix?:(
_________________
OLD SETUP
Hp zv6130us laptop
AMD64 Athlon 3200+
80g Harddrive
512 ddr ram
ATI Radeon Xpress 200M 128 dedicated memory
64bit OS gentoo-2.6.12-r9

Newsetup to be posted as soon as its running ;)
Back to top
View user's profile Send private message
spinez
n00b
n00b


Joined: 30 Mar 2003
Posts: 58

PostPosted: Fri Sep 02, 2005 8:12 pm    Post subject: Reply with quote

bump..

i'm using ati-drivers with xorg 6.8.2 and when I startx, my cpu load jumps to 100% and the system locks - I have to hit the power. This happens with internal *and* external AGPGART options. /sigh

Any workarounds for this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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