Jump to content

fglrx problems - please help


Emret
 Share

Recommended Posts

Hi,

 

I've just installed Mandriva 2007 but I cannot get the FGLRX module to load and hence no 3d acceleration.

 

I've been going thru numerous forum posts but I cannot find a solution.

I have downloaded and installed the 8.28.8 drivers from the ATi Website and compiled the kernel module. This procedure was enough to get 3d-acceleration to work in Mandriva 2006 but this does not work any more. If I run aticonfig --initial X won't start saying that the modules could not be loaded. I really want to get 3d Acceleration to work so that I can try out the new 3d desktop.

 

Any suggestions?

 

//Emret

Edited by Emret
Link to comment
Share on other sites

Hi Emret,

 

you should check first if the fglrx module is actually loaded. This can be done by starting X, then opening a console and "su" to root. "lsmod | grep fglrx" should give positive result. Remember that you have to recompile the source module when changing/updating the kernel. If you want to keep it easy, use the fglrx version from a plf repository.

 

HTH,

 

scoonma

Edited by scoonma
Link to comment
Share on other sites

Hi, Thanx for your answer.

 

entering "lsmod | grep fglrx" as root does not return anything. So I figure the module is not loaded, just as I suspected.

I have compiled the kernel module but It still does not load.

 

"fglrxinfo" returns this:

 

Xlib: extension "XFree86-DRI" missing on display ":0.0".

display: :0.0 screen: 0

OpenGL vendor string: Mesa project: www.mesa3d.org

OpenGL renderer string: Mesa GLX Indirect

OpenGL version string: 1.2 (1.5 Mesa 6.5)

 

where might I find this plf repository (sorry for the stupid question)?

 

//Emret

Link to comment
Share on other sites

I found two rpms for the ATI drivers with Mandriva 2007:

 

ati-8.28.8-3plf2007.0.i586.rpm and

dkms-ati-8.28.8-3plf2007.0.i586.rpm

 

when I tried to install ati-8.28.8-3plf2007.0.i586.rpm I was told that dkms-ati-8.28.8-3plf2007.0.i586.rpm

was missing and when I tried to install dkms-ati-8.28.8-3plf2007.0.i586.rpm

I was told that ati-xorg.8.28 was missing. I downloaded these files from RPM Search since they was not found on my URPMI repository (Iused the Easy-Urpmi on this site, the link on the top right)

 

what to do next?

 

//Emret

Edited by Emret
Link to comment
Share on other sites

Hi Emret,

 

it's easier than you may think. You don't have to download/install the packages manually. Just use the Easy-Urpmi Link at the top of these pages to install a standard software repository. All needed packages will be downloaded automatically, if you tell urpmi. Use the "show specifc options" and add at least "main", "contrib", "plf-free" and "plf-nonfree". Thus you get a system bound to download all necessary packages when needed. :-)

 

When you "urpmi ati" afterwards, all will go fine.

 

Oh, just saw Easy-Urpmi has not been updated for 2007 yet. But here's a workaround:

 

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

 

 

Cheers,

 

scoonma

Edited by scoonma
Link to comment
Share on other sites

Hi,

 

Ok, I did as you said and added the repositories from the link.

after giving "urpmi ati" dkms-ati and ati-8.28.8 was installed.

 

now "lsmod | grep fglrx" gives:

 

fglrx 394828 0

agpgart 27240 2 fglrx,nvidia_agp

 

 

and "fglrxinfo" gives :

 

Xlib: extension "XFree86-DRI" missing on display ":0.0".

display: :0.0 screen: 0

OpenGL vendor string: Mesa project: www.mesa3d.org

OpenGL renderer string: Mesa GLX Indirect

OpenGL version string: 1.2 (1.5 Mesa 6.5)

 

still no 3d acceleration....

Link to comment
Share on other sites

Add this to the bottom of /etc/X11/xorg.conf:

 

Section "DRI"
Mode 0666
EndSection

 

and also check near the top of the file in the modules section for:

 

load "dri"

 

you need these for it to be enabled.

Link to comment
Share on other sites

Add this to the bottom of /etc/X11/xorg.conf:

 

Section "DRI"
Mode 0666
EndSection

 

and also check near the top of the file in the modules section for:

 

load "dri"

 

you need these for it to be enabled.

 

Tried that, didn't work :(

 

I think for completeness you should tell us which ati card you have

 

I have an ATi Radeon 9800 PRO

Link to comment
Share on other sites

Here is my xorg.conf just in case:

 

# File generated by XFdrake (rev 57713)


Section "Extensions"
Option "Composite"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Samsung"
ModelName "Samsung SyncMaster"
HorizSync 30-81
VertRefresh 56-85
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "ATI Technologies Inc."
BoardName "ATI Radeon (fglrx)"
Driver "fglrx"
Option "DPMS"

# === disable PnP Monitor  ===
#Option							  "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel"				   "no"
Option "no_dri"					 "no"
# === FireGL DDX driver module specific settings ===
# === Screen Management ===
Option "DesktopSetup"			   "0x00000000" 
Option "MonitorLayout"			  "AUTO, AUTO"
Option "IgnoreEDID"				 "off"
Option "HSync2"					 "unspecified" 
Option "VRefresh2"				  "unspecified" 
Option "ScreenOverlap"			  "0" 
# === TV-out Management ===
Option "NoTV"					   "yes"	 
Option "TVStandard"				 "NTSC-M"	 
Option "TVHSizeAdj"				 "0"	 
Option "TVVSizeAdj"				 "0"	 
Option "TVHPosAdj"				  "0"	 
Option "TVVPosAdj"				  "0"	 
Option "TVHStartAdj"				"0"	 
Option "TVColorAdj"				 "0"	 
Option "GammaCorrectionI"		   "0x00000000"
Option "GammaCorrectionII"		  "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities"			   "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay"			   "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#	   will be disabled automatically
Option "OpenGLOverlay"			  "off"
Option "CenterMode"				 "off"
# === QBS Support ===
Option "Stereo"					 "off"
Option "StereoSyncEnable"		   "1"
# === Misc Options ===
Option "UseFastTLS"				 "0"
Option "BlockSignalsOnLock"		 "on"
Option "UseInternalAGPGART"		 "no"
Option "ForceGenericCPU"			"no"
# === FSAA ===
Option "FSAAScale"				  "1"
Option "FSAADisableGamma"		   "no"
Option "FSAACustomizeMSPos"		 "no"
Option "FSAAMSPosX0"				"0.000000"
Option "FSAAMSPosY0"				"0.000000"
Option "FSAAMSPosX1"				"0.000000"
Option "FSAAMSPosY1"				"0.000000"
Option "FSAAMSPosX2"				"0.000000"
Option "FSAAMSPosY2"				"0.000000"
Option "FSAAMSPosX3"				"0.000000"
Option "FSAAMSPosY3"				"0.000000"
Option "FSAAMSPosX4"				"0.000000"
Option "FSAAMSPosY4"				"0.000000"
Option "FSAAMSPosX5"				"0.000000"
Option "FSAAMSPosY5"				"0.000000"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
	Depth 8
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 15
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 16
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 24
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
# File generated by XFdrake (rev 57713)
# File generated by XFdrake (rev 57713)
# File generated by XFdrake (rev 57713)
# File generated by XFdrake (rev 57713)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

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

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

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

# allows the server to start up even if the mouse does not work
Option "allowmouseopenfail"
EndSection

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

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

Section "DRI"
Mode 0666
EndSection

Link to comment
Share on other sites

I managed to get it to work... but not AIGLX just XGL... and I cannot run any other OpenGL applications properly.

For example, Chromium and TuxRacer only run in window mode and at a resolution of 800*600. If I try to change these settings X immideatly crashes. And both TuxRacer and Chromium runs at half the fps I had with Mandriva 2006.

 

Also when I have AmaroK running the over all 3d desktop performance is horribly low.

 

I do not know wheter the problems lies with the drivers for the graphics card (Ati Radeon 9800 PRO)...

 

if anyone have a clue on how to improve the performance, please share.

 

//Emret

Link to comment
Share on other sites

Apparently ATI's drivers, which you are using here from what I see in your xorg.conf do not work for 9xxx cards - which you have, just like I have a 9xxx card with my 9250.

 

You should remove them, and use the standard ATI drivers and configure with the settings I have above, and you should get about 1200fps or at least that is what I get with my card. If I try to use ATI's drivers, I get poor performance, just like you have found.

Link to comment
Share on other sites

I have downloaded and installed the 8.28.8 drivers from the ATi Website

Ianw1974 I thought as you at first, but then

 

https://support.ati.com/ics/support/KBList.asp?folderID=356 says

 

As of driver version 8.29.6 support for the following products is no longer included:

 

Radeon® 8500/9000/9100/9200/9250

Mobility™ Radeon® 9000/9100/9200

Radeon® IGP 9000/9100/9200

Users with these products should use driver version 8.28.8

Link to comment
Share on other sites

I was thinking of trying their driver again, but I think with my 1200fps and that I don't use it for games anyway, just having opengl for apps and screensavers is sufficient at this level. Just seemed a big ballache trying to get their drivers working with a high fps.

Link to comment
Share on other sites

Guest Mobidoy

I had that problem too with games, what i found is that i had to remove the 3d desktop and to change :

 

Option "OpenGLOverlay" "off"

 

to

 

Option "OpenGLOverlay" "on"

 

After that, i was able to play games in full screen mode, at the resolution i wanted.

 

Let me know if it works for you.

 

PS: Before that change, i couldn't check my FPS with gears.

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...