LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-26-2007, 12:01 PM   #1
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30
radeon driver. 3D in three distros, not in Suse??


Hi there

I'm at a loss to understand where I'm going wrong trying to get 3D effects under Suse. I'm putting this in the 'General' section though as other distros are involved....

I've tried EVERYTHING to get 3D effects on my Compaq Presario R3000 laptop under Suse. I've read pretty much every page google throws up on this and have had hours and hours of work attempting to use the ATi driver. However, on trying new distros, I find that I don't need the Ati driver - the radeon one works fine.

I tried Fedora 7 and 3D effects worked 'out of the box'. I tried Ubuntu and again, enabling 3D gave the wobbly windows immediately. (Strangely, I couldn't get this to work in Kubuntu - no idea why!)

I wondered if this was a Gnome v KDE issue, but having recently installed PClinuxOS with KDE I was amazed that with Beryl installed I could have some fantastic windows effects - wobbly windows, cube, etc

In PClinuxOS the driver is listed as 'radeon (3D support)', but in Suse I find that it is given as 'radeon (No 3D support).

What is going on here!
Obviously I can use the native radeon driver to get full 3D effects (as PClinux does), or I can use whatever Ubuntu and Fedora 7 install as standard. I've tried the Ati driver, and no matter how accurately I follow every single install guide, the net result is always the same - the X session crashes and I end up back in text mode.

My graphics card is an onboard AT1 mobility Radeon 9100IGP and here is the relevent section from my xorg.conf file:

Quote:
Section "Device"
BoardName "RS300 5835"
BusID "1:5:0"
Driver "radeon"
Identifier "Device[0]"
Screen 0
VendorName "ATI"
EndSection

So, can anyone tell me where I'm going wrong with Suse? What changes do I need to get 3D in Suse with the radeon driver?
Please don't recommend the ATi driver as that just doesn't work on my laptop.

Thanks!
 
Old 06-26-2007, 12:49 PM   #2
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
I've just rebooted in PClinuxOS and the driver is different. Here is the xorg.conf details:

Quote:
Section "Device"
Identifier "device1"
VendorName "ATI Technologies Inc."
BoardName "ATI Radeon (fglrx)"
Driver "ati"
Option "DPMS"
Option "XaaNoOffscreenPixmaps" "1"
EndSection
How do I use this driver in Suse then??
 
Old 06-26-2007, 01:44 PM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
The open source drivers may be refered to as either "ati" or "radeon". I think the "radeon" driver only works for Radeons, while the "ati" driver works with other Ati cards also. In any case, I've never had changing "ati" vs "radeon" affect whether or not 3d was working (for a radeon card).

To figure out what's going on, we'll need more of the xorg.conf files. You definitely have the right idea going for the open source driver instead of the official one. I think the official driver only supports radeon 9200 and up.

If you've already attempted to install the official ati driver, then it might be best to simplifiy things with a clean reinstall rather than try and clean up the official ati driver from your system.

In my experience, the option "XaaNoOffscreenPixmaps" needs to be set in order to get Beryl working properly, but even without that option most 3d will work properly. In any case, use the utility "glxinfo" to determine whether or not direct rendering is enabled. Some 3d programs to test things out with other than Beryl include glxgears and 3d screensavers.
 
Old 06-26-2007, 04:32 PM   #4
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
Thanks for the answer.

This is a fresh suse install, so no problem with my previous ATi driver attempts! I put a new hard drive in my laptop (a big one!) and decided to try several distros. Suse (my main distro for the past year or so) was the only one not to give 3D! The native Linux driver certainly seems to be the way to go as I now know that it works on my laptop - whereas the ATi one never did.

I tried glxgears and was very surprised to see some gears - I never managed that before on my old install! Howevr, they are slow:

Quote:
linux-suse:~ # glxgears
1493 frames in 5.4 seconds = 278.333 FPS
1440 frames in 5.3 seconds = 270.591 FPS
1440 frames in 5.2 seconds = 275.377 FPS
1321 frames in 5.0 seconds = 263.278 FPS
The glxinfo command gives Mesa as the driver which is no good for 3d - is that right?

Quote:
linux-suse:~ # glxinfo
name of 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_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: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_program,
GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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 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
Is this print out useful?
 
Old 06-26-2007, 04:52 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
The really useful line is "direct rendering: No". That means that you don't have hardware acceleration working. You also correctly deduced that from the fact that it's using mesa.

Posting the contents of /etc/X11/xorg.conf may reveal something obvious which is missing. I'd be a little surprised if any of the obvious things are missing, though.

You can try replacing "radeon" with "ati" to see if that has any effect (a quick way to restart X is ctrl-alt-backspace). I've never fixed or broken direct rendering by switching between "radeon" and "ati", but it can't hurt to try it.
 
Old 06-26-2007, 05:31 PM   #6
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
I replaced 'radeon' with 'ati' (worth a go!) but no changes found. Here is xorg.conf:

Quote:
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "Module"
Load "freetype"
Load "type1"
Load "dbe"
Load "glx"
Load "extmod"
Load "v4l"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "gb"
Option "XkbModel" "presario"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "PS/2 Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[3]"
Option "AccelFactor" "0.1"
Option "BottomEdge" "650"
Option "Buttons" "5"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "CircularScrolling" "1"
Option "Device" "/dev/input/mice"
Option "EdgeMotionMaxSpeed" "15"
Option "EdgeMotionMinSpeed" "15"
Option "Emulate3Buttons" "on"
Option "EmulateMidButtonTime" "75"
Option "FingerHigh" "15"
Option "FingerLow" "14"
Option "HorizScrollDelta" "20"
Option "InputFashion" "Mouse"
Option "LeftEdge" "120"
Option "MaxSpeed" "2.5"
Option "MaxTapMove" "110"
Option "MaxTapTime" "0"
Option "MinSpeed" "0.2"
Option "Name" "ALPS;Touchpad"
Option "Protocol" "auto-dev"
Option "RightEdge" "830"
Option "SHMConfig" "on"
Option "TopEdge" "120"
Option "UpDownScrolling" "1"
Option "Vendor" "Sysp"
Option "VertScrollDelta" "20"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
DisplaySize 337 270
HorizSync 29-52
Identifier "Monitor[0]"
ModelName "1280X800@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
Modeline "1280x800" 69.75 1280 1328 1360 1440 800 803 809 823 +HSync -Vsync
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
Modeline "1280x768" 67.00 1280 1328 1360 1440 768 771 778 790 +HSync -Vsync
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
Modeline "1024x768" 55.00 1024 1072 1104 1184 768 771 775 790 +HSync -Vsync
Modeline "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622
Modeline "1280x600" 52.50 1280 1328 1360 1440 600 603 613 619 +HSync -Vsync
Modeline "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
Modeline "1024x600" 43.00 1024 1072 1104 1184 600 603 613 619 +HSync -Vsync
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622
Modeline "800x600" 34.75 800 848 880 960 600 603 607 617 +HSync -Vsync
Modeline "768x576" 34.96 768 792 872 976 576 577 580 597
Modeline "768x576" 32.25 768 816 848 928 576 579 583 593 +HSync -Vsync
Modeline "640x480" 23.86 640 656 720 800 480 481 484 497
Modeline "640x480" 23.25 640 688 720 800 480 483 487 494 +HSync -Vsync
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "RS300 5835"
BusID "1:5:0"
Driver "ati"
Identifier "Device[0]"
Screen 0
VendorName "ATI"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection
Thanks
 
Old 06-26-2007, 05:45 PM   #7
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Is that a cut-and-paste? No typos? Because having a DRI mode of 0660 instead of 0666 is weird to me. I've also never seen the Group "video" line before.

It seems to me that SUSE has things set up so that only users in the "video" group are allowed to access DRI. Other distributions simply let every user access DRI by setting the permissions to 0666.

Possibly, the regular user you're logged in as isn't a member of the "video" group. So, you can add this user to the "video" group, or you can edit xorg.conf to change the permissions to 0666. Or both, I guess.

See if that has any effect.
 
Old 06-28-2007, 10:25 AM   #8
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
Hi there - thanks for continuing to help me, much appreciated.

The above listing is a cut and paste, but I was logged on as root at the time.

I am a member of the "video" group, but I followed your suggestion to change 0660 to 0666. It didn't make any difference though as according to my "My computer" screen, I'm still using the driver "radeon (No 3D support)".


Thanks
 
Old 06-28-2007, 10:58 AM   #9
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I'm not familiar with that "My Computer" screen. It seems a little strange that it would report you using the "radeon" driver when your xorg.conf is using the "ati" driver (not that this has ever made a difference in my experience).

One thing that MIGHT have an effect is to reduce the default color depth to 16. While I've never heard of this being a limitation on Ati cards, I know that old Intel graphics would only have 3d acceleration if the resolution was at most 1024x768 and the color depth was at most 16bit.
 
Old 06-29-2007, 01:44 PM   #10
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
I don't think this is the problem though as this exact same laptop gives 3D with other Distros! In PCLinuxOS it runs beautifully with transparency, cubes, snapping windows etc, all at decent speed. The graphics card works... but not with Suse!

The 'My Computer' screen can be seen here: My Computer

(PS I just clicked the link to check it was there and realised i forgot to compress the image - it is under 2MB though)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with Suse 10 and ati Radeon xpress 200 driver kskkumar Linux - Hardware 3 04-12-2007 07:37 PM
Radeon X1800 Series Is there a Driver for Suse 10.0 ? BingoEnz Linux - Newbie 3 06-24-2006 08:09 AM
ATI Driver Installation probs in SuSE 10.0 with Radeon 9600 Fluux Linux - Hardware 2 12-18-2005 01:16 AM
Radeon 9200SE Driver for SuSe 9.0 AMD Athlon64... AMD64 Linux - Hardware 2 02-03-2004 12:37 PM
Radeon driver/SuSE 8.2 question hindenbergbaby Linux - Newbie 1 09-27-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration