PDA

View Full Version : FGLRX problems


Curlydave
June 8th, 2005, 09:19 PM
I first installed FGLRX for xorg using synaptic. I got glxgears and fgl_glxgears to give me reasonable scores. I then tried to get the new version working, with tons of trouble. I eventually deleted it and reverted. Now my performance is very poor and I can't get fgl_glxgears to work: (I'm using an x800pro)


"david@computer:~$ glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
1160 frames in 5.0 seconds = 232.000 FPS
1729 frames in 5.0 seconds = 345.800 FPS
1729 frames in 5.0 seconds = 345.800 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
david@computer:~$ fgl_glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 30
Current serial number in output stream: 30
david@computer:~$"

I tried deleting all fglrx packages through synaptic, rebooting using the stock "ati" driver, and putting fglrx back on, but it's no use. How can I fix this? Thanks! (note that if I try to install xfree86, it says it must remove my xorg fglrx driver. I'm guessing that this will mess up my xorg fileand not let me boot into gnome, so I'm hesitant to experiement. :-? )

DarkKnight
June 9th, 2005, 09:37 AM
I first installed FGLRX for xorg using synaptic. I got glxgears and fgl_glxgears to give me reasonable scores. I then tried to get the new version working, with tons of trouble. I eventually deleted it and reverted. Now my performance is very poor and I can't get fgl_glxgears to work: (I'm using an x800pro)


"david@computer:~$ glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
1160 frames in 5.0 seconds = 232.000 FPS
1729 frames in 5.0 seconds = 345.800 FPS
1729 frames in 5.0 seconds = 345.800 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
david@computer:~$ fgl_glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 30
Current serial number in output stream: 30
david@computer:~$"

I tried deleting all fglrx packages through synaptic, rebooting using the stock "ati" driver, and putting fglrx back on, but it's no use. How can I fix this? Thanks! (note that if I try to install xfree86, it says it must remove my xorg fglrx driver. I'm guessing that this will mess up my xorg fileand not let me boot into gnome, so I'm hesitant to experiement. :-? )
sudo apt-get install xorg-driver-fglrx

Once you've done that, make your config look somewhat like this:
(The modules are very important.)

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
#Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "v4l"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI 9550"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
Identifier "DV1770FD3B"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI 9550"
Monitor "DV1770FD3B"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection

Curlydave
June 9th, 2005, 07:23 PM
That worked! Thanks!