Jump to content

ATI Radeon mesa driver [solved]


Demon
 Share

Recommended Posts

Hi people!

 

I'm having some problems with Radeon card (9600).

I was thinking to try Beryl so I folloed instructions here:

http://www.nec.fct.unesp.br/marcos_umino/m...al-desktop.html

 

I now have Mesa radeon driver (which actualy gives me quite higher FPS than proprietary ati drivers), but also have two problems: I can't play my videos (I can, but there's only sound, no video) and Beryl wont start.

 

Here's what Beryl says:

 

**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension               : passed (v0.3)
Checking for XDamage extension                  : passed
Checking for RandR extension                    : passed
Checking for XSync extension                    : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig                  : passed
Checking for GLX_EXT_texture_from_pixmap        : passed
Checking for non power of two texture support   : failed

Support for non power of two textures missing
beryl: glXBindTexImageEXT is missing
beryl: Failed to manage screen: 0
beryl: No manageable screens found on display :0.0

 

Also, there's no direct rendering:

 

# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
   # font server independent of the X server to render fonts.
   FontPath "unix/:-1"
       # minimal fonts to allow X to run without xfs
   FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
   Option "Composite"
   Option "RENDER"
EndSection

Section "ServerFlags"
   #DontZap # disable <Crtl><Alt><BS> (server abort)
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
   AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
   Load "dbe" # Double-Buffering Extension
   Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx" # 3D layer
   Load "dri" # direct rendering
   #Load "GLCore"
EndSection

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "kbd"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "us"
   Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Plug'n Play"
   ModelName "LG T710B "
   HorizSync 30-71
   VertRefresh 50-160
       # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
       # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
   Identifier "device1"
   VendorName "ATI Technologies Inc"
   BoardName "ATI Radeon"
   Driver "radeon"
   Option "DPMS"
   Option "DRI" "true"
   Option "MonitorLayout" "CRT"
   Option "EnablePageFlip" "true"
   Option "XaaNoOffscreenPixmaps" "1"
   Option "ColorTiling" "on"
   Option "RenderAccel" "true"
   Option "AGPMode" "8"
   Option "backingstore" "true"
   Option "AllowGLXWithComposite" "true"
   Option "AccelMethode" "XAA"
   Option "SubPixelOrder" "NONE"
   Option "DynamicClocks" "true"
   Option "bioshotkeys" "true"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 24
       Subsection "Display"
       Depth 8
       Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
   EndSubsection
       Subsection "Display"
       Depth 15
       Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
   EndSubsection
       Subsection "Display"
       Depth 16
       Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
   EndSubsection
       Subsection "Display"
       Depth 24
       Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   Screen "screen1"
   Option "AIGLX" "true"
EndSection

Section "DRI"
   Mode 0666
   Group 0
EndSection

 

I appreciate all help you can provide.

Thanks

Edited by Demon
Link to comment
Share on other sites

Thanks, but right now I need to figure out why there's no direct rendering enabled (probably because of that Beryl wont start).

 

EDIT: So far I got reading this here:

 

http://www.linuxquestions.org/questions/sh...ad.php?t=498247

http://forum.beryl-project.org/viewtopic.php?t=1619

http://forums.gentoo.org/viewtopic-t-530565.html

 

which suggests me that I have lod ati drivers leftover, that's causing problems. I have to "switch to the ati opengl interface", whatever that means...

Edited by Demon
Link to comment
Share on other sites

  • ATI cards aren't the best at 3d desktops. The card, alone, may be an issue.
  • Under (most) 3d desktops you will always get "direct rendering: No" back from glxinfo.

read - basically, for it to work, you have to use the proprietary driver.

Link to comment
Share on other sites

  • ATI cards aren't the best at 3d desktops. The card, alone, may be your problem.
  • Under (most) 3d desktops you will always get "direct rendering: No" back from glxinfo.

 

I'm well aware of that, but (I think) I already had direct rendering enabled, I don't know how I lost it...

 

 

Reading through Ubuntu forums, I've found that as long as I have "ATI" string here:

 

[mladen@Demon ~]$ glxinfo | grep vendor

server glx vendor string: SGI

client glx vendor string: ATI

OpenGL vendor string: Tungsten Graphics, Inc.

direct rendering wont be enabled. I've tried everything I could think of, but I'm running out of ideas...

 

 

Edit: Here's what a guy from a beryl forum says (second link I provided):

 

If glxinfo says "direct rendering: no", you've got a problem. For me it didn't work, because when I moved from the fglrx drivers to the radeon drivers, I didn't switch to the xorg OpenGL interface, but was still using the ATI OpenGL interface. Under Gentoo this can easily be fixed with "eselect opengl set xorg-x11", however I don't know for Ubuntu.

 

I think that's my problem here...

Edited by Demon
Link to comment
Share on other sites

Oooooooooooooooooo yeeeaaaaaaaaaaaaaaaaahhhhhhhh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

[mladen@Demon ~]$ glxinfo |grep direct
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
[mladen@Demon ~]$ glxinfo | grep vendor
libGL warning: 3D driver claims to not support visual 0x4b
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.
[mladen@Demon ~]$

 

Hahahahaha!!! I did it! It was all old ati driver's leftovers! I delete a bunch of it, I know I've deleted alot of that stuff in /usr/lib/xorg. Infact, I've deleted everything that has fgrlx in its name!. And that's a solution!!!

 

Now still left to see wheter will Beryl work... Oh God, I'm so excited!!! Wooohoooo

Link to comment
Share on other sites

Well, Beryl works, but is kinda slow if I open more than one window. And, I can't configure it. When I run "beryl-settings" in console I get:

 

[mladen@Demon ~]$ beryl-settings
Traceback (most recent call last):
 File "/usr/bin/beryl-settings", line 1948, in ?
MakeCategoryArea(Category)
 File "/usr/bin/beryl-settings", line 1723, in MakeCategoryArea
CatBasePixbuf = gdk.pixbuf_new_from_file_at_size("%s/%s"%(BaseDir,CatImages[Category.Name]),IconSize,IconSize)
gobject.GError: Unrecognized image file format

 

something like a guy here:

https://mandrivausers.org/index.php?showtopic=40212

 

But, the bigger problem I now have, is that I can't play avi video files. Why's that?

Link to comment
Share on other sites

I believe installing librsvg as I suggested here solves the issue with beryl-settings not starting, but the guy in that thread never really confirmed it.

 

As far as avi files not playing...what do you get? A black screen? Distorted? What player are you using? Somewhere in the player there should be a place where you can select what it outputs to. By default this is usually xv, if you can find this option change it to x11. If you can't find the option let us know what player you're using and we can try to find it.

Link to comment
Share on other sites

I believe installing librsvg as I suggested here solves the issue with beryl-settings not starting, but the guy in that thread never really confirmed it.

 

Thank you very much, I'll try to find it. I'll post back the results.

 

Edit: It worked! Thanks! I already had librsvg2 installed, but as I can see now librsvg was also necessary (apparently it is necessary for displaying svg icons...)

 

As far as avi files not playing...what do you get? A black screen? Distorted? What player are you using? Somewhere in the player there should be a place where you can select what it outputs to. By default this is usually xv, if you can find this option change it to x11. If you can't find the option let us know what player you're using and we can try to find it.

 

I get blank screen, but only when Beryl is in use... When Beryl's not running, I can play all videos fine using smplayer, xine, kmplayer, gmplayer (after disabling direct rendering, but I'm ok with that), except for totem and vlc. I can live without totem, but I can't make vlc to get running, and it's important to me...

Edited by Demon
Link to comment
Share on other sites

Everything's done. I've set both vlc and totem now, it should be ok now.

 

Thank to everyone who helped me!

 

And for the end, here is a wonderful fps result ( :D ):

 

[mladen@Demon ~]$ glxgears
libGL warning: 3D driver claims to not support visual 0x4b
12744 frames in 5.0 seconds = 2548.683 FPS
12881 frames in 5.0 seconds = 2576.060 FPS
12828 frames in 5.0 seconds = 2565.559 FPS
12686 frames in 5.0 seconds = 2536.948 FPS
12863 frames in 5.0 seconds = 2572.502 FPS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...