View previous topic :: View next topic |
Author |
Message |
o43 n00b
Joined: 17 May 2007 Posts: 8
|
Posted: Thu May 17, 2007 5:08 pm Post subject: [SOLVED] fglrx almost configured |
|
|
Hi, i am new to Gentoo and here is my forst question.
I am trying to configure the openGL hardware acceleration for my ATI card. I think i almost finished, but i still have a problem : fglrxinfo says MESA is used.
here is a part of my Xorg.log:
Quote: | (II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0x1e000
(II) fglrx(0): [drm] mapped SAREA 0x1e000 to 0x2b97dddd3000
(II) fglrx(0): [drm] framebuffer handle = 0x1f000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.35.5
(II) fglrx(0): Date: Mar 27 2007
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.20-gentoo-r7
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0x00020000
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] texture shared area handle = 0x00024000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x005e9000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,1210)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,800) (front color buffer - assumption)
(II) fglrx(0): Largest offscreen area available: 1280 x 410
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
30 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(==) fglrx(0): Using hardware cursor
(**) fglrx(0): Video overlay enabled on CRTC1
(II) fglrx(0): Interrupt handler installed at IRQ 11.
(II) fglrx(0): Exposed events to the /proc interface
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib64/xorg/modules/extensions//libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
|
As you can see, fglrx is found, loaded and does not even make a warning, but it is not used
I'm sure there is only a small thing left to don but i can't figure what.
Last edited by o43 on Fri May 18, 2007 7:10 am; edited 1 time in total |
|
Back to top |
|
|
Lasneyx Iliah Tux's lil' helper
Joined: 10 Jul 2006 Posts: 147
|
Posted: Thu May 17, 2007 5:22 pm Post subject: |
|
|
Have you set ati as your opengl interface?
Code: | # eselect opengl set ati |
Also, make sure that you give permissions for every user apart from root:
Code: | Section "DRI"
Mode 0666
EndSection |
Finally, have you run aticonfig?
Code: | # aticonfig --initial |
Cheers. _________________ Search: google.com | forums | Wiki
BBCode is your friend.
Strip
Mark [SOLVED] |
|
Back to top |
|
|
o43 n00b
Joined: 17 May 2007 Posts: 8
|
Posted: Thu May 17, 2007 6:53 pm Post subject: |
|
|
Thanks, eselect finished the job And it seems that 'aticonfig --initial' had nothing left to do.
But will i have to do eselect at every reboot , or is there a config file where i can tell Gentoo to first switch to ATI opengl instead of first choosing MESA and then switching to ATI? |
|
Back to top |
|
|
Lasneyx Iliah Tux's lil' helper
Joined: 10 Jul 2006 Posts: 147
|
Posted: Thu May 17, 2007 8:47 pm Post subject: |
|
|
o43 wrote: | But will i have to do eselect at every reboot , or is there a config file where i can tell Gentoo to first switch to ATI opengl instead of first choosing MESA and then switching to ATI? |
When you select your opengl interface, setting ati or xorg, it should be set till you change it again. Unless you emerge something that changes it itself.
Does your opengl interface change on every logout/reboot?
Cheers.
PS: If you have solved your problem, please mark your thread as [SOLVED] _________________ Search: google.com | forums | Wiki
BBCode is your friend.
Strip
Mark [SOLVED] |
|
Back to top |
|
|
o43 n00b
Joined: 17 May 2007 Posts: 8
|
Posted: Fri May 18, 2007 7:09 am Post subject: |
|
|
Yeah, it resets to MESA at each restart. I think somewhere in a config file is written a line to tell to use MESA, and i'd like to put ATI instead. |
|
Back to top |
|
|
Lasneyx Iliah Tux's lil' helper
Joined: 10 Jul 2006 Posts: 147
|
Posted: Fri May 18, 2007 7:56 am Post subject: |
|
|
Try this:
Code: | # eselect opengl set ati
# env-update
# source /etc/profile |
_________________ Search: google.com | forums | Wiki
BBCode is your friend.
Strip
Mark [SOLVED] |
|
Back to top |
|
|
o43 n00b
Joined: 17 May 2007 Posts: 8
|
Posted: Fri May 18, 2007 1:07 pm Post subject: |
|
|
This didn't solved the problem, but i found a solution. I found out that at every restart, my libGL.so.1 is changed and links the mesa file. To solve it, i removed the MESA libGL.so. Let's hope i won't need it another day |
|
Back to top |
|
|
|