Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hardware acceleration problem: AMD64, ATI X700SE
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
LostInGentoo
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 269
Location: Denmark

PostPosted: Sat Sep 30, 2006 11:20 am    Post subject: Hardware acceleration problem: AMD64, ATI X700SE Reply with quote

Hi.

I have configured my kernel such that I have the:
Code:

agpgart
amd64-agp agp_try_unsupported=1
fglrx

content of the "/etc/modules.autoload.d/kernel-2.6"-file.
The three modules get loaded just fine.

Next I have this configuration file for xorg.conf:
Code:

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/share/fonts/xdtv"
        FontPath        "/usr/share/fonts/mathematica-fonts"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "dk"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "ATI Technologies, Inc. Radeon X700 SE (RV410)"
        Driver          "fglrx"
        BusID           "PCI:3:0:0"
        Option          "MonitorLayout" "TMDS, NONE"
        Option          "RenderAccel" "true"
        Option          "UseFastTLS" "1"
        Option          "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
        Identifier      "SyncMaster 172T"
        HorizSync       30-81
        VertRefresh     56-75
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. Radeon X700 SE (RV410)"
        Monitor         "SyncMaster 172T"
        DefaultDepth    24
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection


but still the output from glxinfo:
Code:

name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
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_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig
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_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.4.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
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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  1 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None



What do I do wrong?

(EDIT): I have run
"eselect opengl set ati" and an eselect opengl list gives:
Code:

Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11


/ Preben
Back to top
View user's profile Send private message
Neo2
Apprentice
Apprentice


Joined: 25 Sep 2006
Posts: 224
Location: Italy

PostPosted: Sat Sep 30, 2006 6:46 pm    Post subject: Reply with quote

You can search google for this error:
Code:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".

All solutions I've checked are all different from each other. Someone has reinstalled the drivers, someone has rebuilt its xorg.conf. Since I really don't know what's the cause of this problem I haven't posted links because they're really too much to post 8O I think that looking with google you'll find out that one of the several existing solutions works for you.
_________________
Neo2
Unofficial minimal liveCD for x86/amd64 w/reiser4+truecrypt
Back to top
View user's profile Send private message
LostInGentoo
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 269
Location: Denmark

PostPosted: Tue Oct 03, 2006 4:47 pm    Post subject: Reply with quote

I don't seem to find any other solution than to reinstall the driver, and that doesn't really work.

If I reboot the computer and choose to load xdm by default with rc-udpate the monitor goes blank. But if I choose to start xdm by issuing /etc/init.d/xdm start then there is no trouble at all!
How can this be?

And why is there this error about the missing DRI extension on display ":0.0"?


Thanks
/ Preben
Back to top
View user's profile Send private message
Neo2
Apprentice
Apprentice


Joined: 25 Sep 2006
Posts: 224
Location: Italy

PostPosted: Tue Oct 03, 2006 5:11 pm    Post subject: Reply with quote

Are you logged in as root when you do /etc/init.d/xdm start?
_________________
Neo2
Unofficial minimal liveCD for x86/amd64 w/reiser4+truecrypt
Back to top
View user's profile Send private message
LostInGentoo
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 269
Location: Denmark

PostPosted: Tue Oct 03, 2006 5:13 pm    Post subject: Reply with quote

Yes... UPS - I think I have an xorg.conf in my root home folder.... AAAH
Back to top
View user's profile Send private message
Neo2
Apprentice
Apprentice


Joined: 25 Sep 2006
Posts: 224
Location: Italy

PostPosted: Tue Oct 03, 2006 5:19 pm    Post subject: Reply with quote

:D :D
Anyway, consider modifying you xorg.conf and add the line "Group" into DRI Section
Code:
Section "DRI"
        Group        "video"
        Mode         0666
EndSection

You may modify it to "Group 0" or anything else you like, just make sure the normal user is in the group you've specified :wink:
_________________
Neo2
Unofficial minimal liveCD for x86/amd64 w/reiser4+truecrypt
Back to top
View user's profile Send private message
LostInGentoo
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 269
Location: Denmark

PostPosted: Tue Oct 03, 2006 5:26 pm    Post subject: Reply with quote

Hi

It seemed to be a font-path that messed the whole thing and made the fglrx driver segfault... Crazy.
Anyway, the acceleration is now active, but only with around 250 frames in glxgears which is clearly worse than without acceleration.

It looks nicer, but I guess that the framerate is quite low.
What settings should I place in the configuration file to get higher performance. I should probably force the driver to think that it's a PCI-X solution and I guess something more?


Thanks
/ Preben
Back to top
View user's profile Send private message
Neo2
Apprentice
Apprentice


Joined: 25 Sep 2006
Posts: 224
Location: Italy

PostPosted: Tue Oct 03, 2006 6:41 pm    Post subject: Reply with quote

I suggest you to do "aticonfig --help" and read all the available options. Usually for greater performance you may want to disable FSAA and Vsync and enable overlays. Anyway you won't get really high scores in glxgears with ATI proprietary drivers. Since few releases 250 frames is quite acceptable/normal.
Anyway I suggest you this command... :wink:
Code:
aticonfig --psc=off --stereo=off --tls=on --sb=on --locked-userpages=on --gcpu=off

or try adding those lines to your default ATI head in xorg.conf
Code:
   Option       "NoDRI" "off"
   Option       "UseFastTLS" "1"
   Option       "KernelModuleParm" "locked-userpages=1"
   Option       "BlockSignalsOnLock" "on"
   Option       "FSAAEnable" "off"
   Option       "FSAAScale" "2"
   Option       "FSAADisableGamma" "off"
   Option       "Centermode" "off"
   Option       "Capabilities" "0x00000800"
   Option       "PseudoColorVisuals" "off"
   Option       "Stereo" "off"
   Option       "StereoSyncEnable" "off"
   Option       "ForceGenericCPU" "off"
   Option       "EnablePrivateBackZ" "on"
   Option       "VideoOverlay" "on"
   Option       "OpenGLOverlay" "on"

_________________
Neo2
Unofficial minimal liveCD for x86/amd64 w/reiser4+truecrypt
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