LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 03-05-2008, 08:27 PM   #1
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Rep: Reputation: 15
Mesa still being used after fglrx installation/configuration


I'm running openSUSE 10.3 and had fglrx, Compiz, and Emerald working with hardware acceleration before on an ATI RS300 5358 graphics card. However, after reinstalling openSUSE on another hard drive (that one broke down ), I can't get hardware acceleration.

I've followed all the steps listed here (the install steps didn't do it, so I also followed the troubleshooting steps): http://en.opensuse.org/ATI

When I had X running, glxinfo reported that Mesa was being used. However, now I can't get X to start (I did make a backup of the original settings, though). Here is my xorg.conf:
Code:
# /.../
# SaX generated X11 config file
# Created on: 2008-03-03T04:26:01-0500.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

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

Section "Files"
	InputDevices   "/dev/gpmdata"
	InputDevices   "/dev/input/mice"
	FontPath     "/usr/share/fonts/misc:unscaled"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/URW"
	FontPath     "/usr/share/fonts/Speedo"
	FontPath     "/usr/share/fonts/cyrillic"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/uni:unscaled"
	FontPath     "/opt/kde3/share/fonts"
	FontPath     "/usr/local/share/fonts"
EndSection

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

Section "ServerFlags"
	Option	    "AllowMouseOpenFail" "on"
EndSection

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

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

Section "InputDevice"
	Identifier  "Mouse[3]"
	Driver      "synaptics"
	Option	    "AccelFactor" "0.01"
	Option	    "BottomEdge" "650"
	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	    "LeftEdge" "120"
	Option	    "MaxSpeed" "0.5"
	Option	    "MaxTapMove" "110"
	Option	    "MaxTapTime" "180"
	Option	    "MinSpeed" "0.2"
	Option	    "Name" "Touchpad"
	Option	    "Protocol" "auto-dev"
	Option	    "RightEdge" "830"
	Option	    "SHMConfig" "on"
	Option	    "TopEdge" "120"
	Option	    "UpDownScrolling" "1"
	Option	    "Vendor" "ALPS"
	Option	    "VertScrollDelta" "20"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Modes"
	Identifier     "Modes[0]"
	ModeLine     "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932
	ModeLine     "1440x900" 87.2 1440 1488 1520 1600 900 903 909 926 +hsync -vsync
	ModeLine     "1024x768" 64.1 1024 1080 1184 1344 768 769 772 795
	ModeLine     "1024x768" 55.0 1024 1072 1104 1184 768 771 775 790 +hsync -vsync
	ModeLine     "800x600" 38.2 800 832 912 1024 600 601 604 622
	ModeLine     "800x600" 34.8 800 848 880 960 600 603 607 617 +hsync -vsync
EndSection

Section "Monitor"
	Identifier   "Monitor[0]"
	VendorName   "LPL"
	ModelName    "LGPHILIPSLCD LCD MONITOR"
	UseModes     "Modes[0]"
	DisplaySize  367	230
	HorizSync    30.0 - 70.0
	VertRefresh  43.0 - 60.0
	Option	    "DPMS"
EndSection

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

Section "Device"
	Identifier  "Device[0]"
	Driver      "fglrx"
	VendorName  "ATI"
	BoardName   "RS300 5835"
	Option	    "CRT2VRefresh" "50-60"
	Option	    "MetaModes" "1440x900,1024x768;1024x768,1024x768"
	Option	    "IgnoreEDID" "yes"
	Option	    "CRT2HSync" "31-48"
	Option	    "MergedFB" "yes"
	Option	    "GARTSize" "32"
	Option	    "CRT2Position" "Clone"
	Option	    "usevnc" "no"
	Option	    "MonitorLayout" "AUTOCRT,CRT"
	BusID       "1:5:0"
EndSection

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

Section "Screen"
	Identifier "Screen[0]"
	Device     "Device[0]"
	Monitor    "Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Depth     15
		Modes    "1440x900" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1440x900" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1440x900" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1440x900" "1024x768" "800x600"
	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

Section "DRI"
	Group        "video"
	Mode         0660
EndSection
Sax2 (sax2 -r -m 0=fglrx) won't start its own X-Server. I can post the SaX.log file if necessary.

"lsmod | grep fglrx" (w/o quotes) gave me some output before, but now it doesn't ("lsmod | grep radeon" didn't either).
 
Old 03-06-2008, 02:51 PM   #2
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Original Poster
Rep: Reputation: 15
More info...

I used the old (working) configuration file to get X running and get the output from fglrxinfo, glxinfo, etc. So here it is:

glxinfo:
Code:
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_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_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 (2.1 Mesa 7.0.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 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
Segmentation fault
fglrxinfo:
Code:
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.1)

Segmentation fault
glxgears gives a frame rate of around 300 fps (it was getting up above 1000 on the previous installation). fgl_glxgears won't run.

Something I noticed: glxinfo, fglrxinfo, glxgears, and fgl_glxgears all had "Segmentation fault" at the end. What does this mean? (I'm assuming it's not good).

Hope this helps...
 
Old 03-06-2008, 03:16 PM   #3
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Do you have tmpfs mounted in you /etc/fstab?
 
Old 03-06-2008, 03:27 PM   #4
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Original Poster
Rep: Reputation: 15
no - should I? what's the mount point? what is tmpfs?
 
Old 03-06-2008, 03:36 PM   #5
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by Vetruvet View Post
no - should I? what's the mount point? what is tmpfs?
Strictly speaking, yes. Somehow, in the troubleshooting section it's under a weird name
http://en.opensuse.org/ATI#.5Bfgl_gl...rivileged_user
but I have it.

Also, could you post the output of

grep EE /var/log/Xorg.0.log
grep WW /var/log/Xorg.0.log
dmesg | grep fglrx

?
 
Old 03-06-2008, 03:46 PM   #6
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Original Poster
Rep: Reputation: 15
grep EE /var/log/Xorg.0.log

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) No devices detected.

grep WW /var/log/Xorg.0.log

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

dmesg | grep fglrx doesn't give any output
 
Old 03-06-2008, 04:50 PM   #7
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by Vetruvet View Post
grep EE /var/log/Xorg.0.log

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) No devices detected.

grep WW /var/log/Xorg.0.log

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

dmesg | grep fglrx doesn't give any output
Hm, interesting. Looks like either fglrx does not support your card or this
BusID "1:5:0"
in your config file is incorrect. Have you tried the opensource driver for your card? Try "Driver" "ati" or "Driver" "radeon"
 
Old 03-06-2008, 05:03 PM   #8
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Original Poster
Rep: Reputation: 15
As mentioned in my first post, I had fglrx working on my previous installation, but now it doesn't. I don't know what's different... (except the new hard drive)
 
Old 03-06-2008, 05:15 PM   #9
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by Vetruvet View Post
As mentioned in my first post, I had fglrx working on my previous installation, but now it doesn't. I don't know what's different... (except the new hard drive)
ATIs closed-source driver stopped supported some of the chips that are now supported with the open-source version. A quick google search shows that yours might one of them. I would try an open-source driver.
 
Old 03-07-2008, 01:25 PM   #10
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Original Poster
Rep: Reputation: 15
Which OSS driver would you recommend for 3D acceleration (I want to get compiz-fusion working again)?

Using "radeon" for the driver in xorg.conf makes the effects lag a lot.
 
Old 03-07-2008, 02:03 PM   #11
Vetruvet
Member
 
Registered: Jan 2008
Distribution: openSUSE 11.2
Posts: 42

Original Poster
Rep: Reputation: 15
Using "ati" for the driver also lags.

glxgears fps rates (approximate):
fglrx (old installation) - 800
radeon - 300
ati - 110
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesa-libGL* with kmod-fglrx ?? Pango853 Linux - Hardware 0 12-28-2007 03:32 AM
Configuration of xawtv to work with fglrx driver vharishankar Linux - Hardware 7 06-21-2007 09:10 AM
fglrx or mesa? (with an ATI card ) Which for 3D Desktop bling...? maxvonseibold Linux - Desktop 4 06-18-2007 12:55 AM
Installation of XFree86 interdepending with Mesa pagidela Linux - Enterprise 1 02-03-2006 04:35 AM
Installing Mesa & Mesa-demos... bozotix Linux - Software 2 05-09-2002 12:55 AM


All times are GMT -5. The time now is 08:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration