You are not logged in.

#1 2006-10-17 22:24:25

_will
Member
Registered: 2004-07-08
Posts: 123

[solved]ati/fglrx:DRI initialization failed [disable compos]

a search pulled up a lot of people struggling with ati, but none of the solved issues seem to apply for this


i am clueless. i dont know if this is due to an update, just now tried to get proprietary working for beryl

any help appreciated
will

uname -a                                                                   ~
Linux RedBanana 2.6.18-ARCH #1 SMP PREEMPT Mon Oct 16 10:36:48 CEST 2006 i686 Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux
lspci |grep ATI                                                            ~
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
pacman -Qs fglrx                                                           ~
local/ati-fglrx 8.29.6-2
    ATI proprietary binary drivers for >= r300 chipsets. Drivers for the Linux
    kernel.
local/ati-fglrx-utils 8.29.6-2
    ATI proprietary binary drivers for >= r300 chipsets. Userspace tools and
    libraries
glxinfo |grep dir                                                        ~
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
grep "EE|WW" /var/log/Xorg.0.log                                          ~
Current Operating System: Linux RedBanana 2.6.18-ARCH #1 SMP PREEMPT Mon Oct 16 10:36:48 CEST 2006 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
(II) Loading extension MIT-SCREEN-SAVER
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(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): ********************************************* *
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
grep fglrx /etc/rc.conf                                                    ~
MODULES=(!usbserial !snd_intel8x0m snd_intel8x0 snd-seq-virmidi intel_agp agpgart  fglrx)
lsmod |grep agp                                                            ~
intel_agp              19740  1 
agpgart                25944  2 fglrx,intel_agp
grep "DRI|glx" /etc/X11/xorg.conf -C 2                                    ~


Section "DRI"
  Mode 0666
EndSection
--

Section "Module"
        Load  "glx"
        Load  "dri"
        Load  "record"
dmesg|grep fglrx                                                           ~
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 8.29.6 [Sep 19 2006] on minor 0
locate libGL                                                               ~
/var/abs/local/berly-everything/src/beryl-build/beryl-core/mesa/lib/libGL.a
/var/abs/local/google-earth/pkg/opt/google-earth/libGLU.so.1
/usr/lib/xorg/modules/extensions/libGLcore.so
/usr/lib/xorg/modules/extensions/libGLcore.xorg
/usr/lib/libGL.so.1
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.060501
/usr/lib/libGLw.so
/usr/lib/libGLw.so.1
/usr/lib/libGLw.so.1.0.0
/usr/lib/libGL.so.1.2
/usr/lib/libGL.so
/usr/lib/libGLEW.so.1.3.4
/usr/lib/libGLEW.so
/usr/lib/libGLEW.a
/usr/lib/libGLEW.so.1.3

----- longer stuff ---
xorg.conf

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
  Option "AIGLX" "off" # Disable AIGLX (use old XGL driver)
EndSection 


Section "DRI"
  Mode 0666
EndSection

Section "Extensions"
  Option "Composite" "true"
EndSection
Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "glx"
        Load  "dri"
        Load  "record"
        Load  "xtrap"
        Load  "dbe"
        Load  "extmod"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]

        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card0"
        Driver      "vesa"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV350 [Mobility Radeon 9600 M10]"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
 LIBGL_DEBUG=verbose glxinfo                                         ~
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libGL error: XF86DRIQueryDirectRenderingCapable failed
display: :0  screen: 0
direct rendering: No
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.2 (1.5 Mesa 6.5.1)
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
0x3c 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None

Offline

#2 2006-10-18 01:55:51

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

Section "Extensions"
  Option "Composite" "true"
EndSection 

fglrx doesn't play nic e with composite - try disabling this

Offline

#3 2006-10-18 14:27:57

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

@_will .. I am having the same problem. No direct rendering with fglrx and Xgl

Offline

#4 2006-10-19 16:18:53

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

As Cerebral said, the "composite" thing must be responsible.

_will : It seems we have the same configuration and everything works fine for me.

But as soon as I try to enable the composite, I get all errors you have!

Offline

#5 2006-10-19 17:20:46

_will
Member
Registered: 2004-07-08
Posts: 123

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

thanks for all the replies
removing composite got rid of some of the errors however

glxgears wrote:

1248 frames in 5.0 seconds = 249.443 FPS

Xorg.0.log wrote:

(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used

Offline

#6 2006-10-19 18:19:28

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

I too see those warnings

Offline

#7 2006-10-19 20:36:55

_will
Member
Registered: 2004-07-08
Posts: 123

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

with my driver as "vesa"

glxgears wrote:

Xlib:  extension "XFree86-DRI" missing on display ":0.0".
2158 frames in 5.3 seconds = 404.987 FPS

...better fps without fglrx?


also i can't go back to open source "ati" driver which IIRC reported fps in the 1000s with glxgears (?)

Xorg log wrote:

(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
(WW) RADEON(0): Direct rendering disabled
(EE) AIGLX: Screen 0 is not DRI capable

i think there was another error about the monitor too, i was stuck in low bit low resolution

i also get this "(EE) AIGLX: Screen 0 is not DRI capable" with vesa drivers

is everyone having problems with this?

Offline

#8 2006-10-19 20:40:27

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

Apparently it's only you and me buddy sad

Offline

#9 2006-10-20 02:41:10

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

_will wrote:

thanks for all the replies
removing composite got rid of some of the errors however

glxgears wrote:

1248 frames in 5.0 seconds = 249.443 FPS

glxgears is not a benchmark.  If you're having issues in actually graphically-intensive applications, like games, then say so, but otherwise this output means very little, even though you get higher scores with vesa.

_will wrote:
Xorg.0.log wrote:

(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used

Those are fine, harmless messages.

_will wrote:

also i can't go back to open source "ati" driver which IIRC reported fps in the 1000s with glxgears (?)

Xorg log wrote:

(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
(WW) RADEON(0): Direct rendering disabled
(EE) AIGLX: Screen 0 is not DRI capable

'radeon' DRI needs the 'libgl-dri' package, which conflicts with ati-fglrx-utils.  You can't have both installed at the same time - if you didn't remove ati-fglrx-utils and reinstall libgl-dri before trying this, that's likely your problem.

Offline

#10 2006-10-20 15:02:50

_will
Member
Registered: 2004-07-08
Posts: 123

Re: [solved]ati/fglrx:DRI initialization failed [disable compos]

thanks that was it. you made it sound so obvious  :oops:

Offline

Board footer

Powered by FluxBB