Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI 9800pro et acceleration 3D (Solved)
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
h_des_steppes
n00b
n00b


Joined: 09 Feb 2008
Posts: 9

PostPosted: Sat Feb 09, 2008 6:04 pm    Post subject: ATI 9800pro et acceleration 3D (Solved) Reply with quote

Hello,

I'm trying to have the 3D acceleration on my ATI 9800pro. Depsite all my tests, nothing.

I use driver fglrx :

Code:
localhost ~ # fglrxinfo
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: unable to open display :0

localhost ~ # su - stba
stba@localhost ~ $ fglrxinfo
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!

Erreur de segmentation


My xorg.conf :
Code:
Section "Device"

        Identifier  "ati2"
        Driver      "fglrx"
        Option      "VideoOverlay"     "on"
        Option      "OpenGLOverlay"    "off"

EndSection


And the result in Xorg.0.log :

Code:
localhost ~ # grep -e WW -e drm /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(WW) fglrx(0): Failed to open DRM connection
(WW) fglrx(0): More than one displays are connected,so clone mode is enabled
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib/xorg/modules/linux//libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
(WW) fglrx(0): No DRM connection for driver fglrx.
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *



I'm completly lost.
For information, my folder /dev/dri is empty. Is it normal ?

Could you help me ?


Last edited by h_des_steppes on Mon Feb 11, 2008 6:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Loci79
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2005
Posts: 86

PostPosted: Sun Feb 10, 2008 7:58 pm    Post subject: Reply with quote

Did you have a look at http://gentoo-wiki.com/HOWTO_ATI_Drivers ?
Back to top
View user's profile Send private message
h_des_steppes
n00b
n00b


Joined: 09 Feb 2008
Posts: 9

PostPosted: Sun Feb 10, 2008 9:30 pm    Post subject: Reply with quote

Yes, I've already read a lot of documentation.

Well, I've just discovered that there was a parameter in /etc/make/conf :
Code:
VIDEO_CARDS="fglrx"

It was at "nvidia". So that I changed it, and launched following :
Code:
emerge --update --newuse --deep world.


My gentoo compiled all night ! :lol:

But it doesn't work. The only change is the result of fglrxinfo :

Quote:

localhost ~ # fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)


Still look for some ideas....
Back to top
View user's profile Send private message
h_des_steppes
n00b
n00b


Joined: 09 Feb 2008
Posts: 9

PostPosted: Sun Feb 10, 2008 11:41 pm    Post subject: Reply with quote

Well, in order to be more clear regarding what I have done with "How-to ati" !
-> Verify that all modules where integrated into kernel : OK
-> Verifiy that xorg-conf is not integrated with dllloader : emerge --info xorg-x11 does not show any dlloader.
-> modprobe fglrx :
Code:
localhost ~ # modprobe fglrx
FATAL: Module fglrx not found.

But in Xorg.0.log
Code:
(II) LoadModule: "fglrx"
(II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
        compiled for 7.1.0, module version = 8.40.4
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.0

-> Configuration of xorg.conf :
Following sections exists :
Code:
Section "DRI"
        Group        0
        Mode         0666
EndSection

Section "Extensions"
        Option      "Composite" "false"
EndSection

-> I tried
Code:
eselect opengl set ati


-> And the result of glxinfo :
Code:
localhost ~ # LIBGL_DEBUG="verbose"
localhost ~ # glxinfo
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
Back to top
View user's profile Send private message
h_des_steppes
n00b
n00b


Joined: 09 Feb 2008
Posts: 9

PostPosted: Mon Feb 11, 2008 6:23 pm    Post subject: Reply with quote

Hello,

I've get help from following links :

Code:
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html


I really think that this link should be added in the official gentoo how to ati.

It is explained that when modprobe fglrx fails, you should compile your ati-drivers.

I did this to solve my problem :

Code:
emerge ati-drivers
modprobe -r radeon
modprobe fglrx

And restart X.

Now I have :

Code:
localhost ~ # fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 PRO
OpenGL version string: 2.0.6747 (8.40.4)
localhost ~ # glxgears
5262 frames in 5.0 seconds = 1049.484 FPS
9248 frames in 5.0 seconds = 1849.575 FPS
10022 frames in 5.0 seconds = 2000.662 FPS
9739 frames in 5.0 seconds = 1944.090 FPS
10118 frames in 5.0 seconds = 2023.528 FPS



Thank you very much for your help !
Back to top
View user's profile Send private message
cybermc75
n00b
n00b


Joined: 19 Apr 2007
Posts: 74

PostPosted: Sun Apr 06, 2008 1:05 pm    Post subject: Reply with quote

Solved my DRI issue with this post. Thank you.
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