LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-24-2004, 11:43 PM   #1
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Rep: Reputation: 15
OpenGL stopped working after upgrading from testing to unstable


I just upgraded from testing to unstable and now the my OpenGL rendering is extremely slow. I'm getting 100 fps in glx gears (I was getting well beyond 1,000 before) and glxinfo says "Direct Rendering: No". I have an ATI Radeon 7500 Mobility which should use the radeon driver with DRI.

XF86Config-4 looks like this:

# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

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/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

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

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "radeon"
vendorname "ati"
boardname "radeon"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
vendorname "[Generic Monitor]"
modelname "[Generic Monitor]"
ModeLine "1024x768/60Hz" 65 1024 1032 1176 1344 768 771 777 806 -HSync -VSync
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768/60Hz" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768/60Hz" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768/60Hz" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768/60Hz" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768/60Hz" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768/60Hz" "640x480"
Virtual 0 0
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection


Section "InputDevice"

Identifier "Keyboard"

Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Driver "keyboard"
EndSection


Section "InputDevice"

Identifier "Mouse"

Option "Protocol" ""
Option "Device" "/dev/mouse"
Driver "mouse"
Option "Emulate3Buttons"
EndSection


Section "ServerFlags"

EndSection

---

How can I get my direct rendering working again?
Thank you!
 
Old 10-25-2004, 09:08 PM   #2
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
did you have a DRI section in your XF86Config-4 file when using testing?
 
Old 10-27-2004, 03:44 PM   #3
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
I believe I did. The backup config file also looks very similar to the one I'm using. I seem to think that the problem is something other than the config file.
 
Old 10-27-2004, 05:11 PM   #4
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
did you switch kernels?

what about xlibmesa-gl?

can you post some of the x logs?
 
Old 11-10-2004, 12:41 PM   #5
Gophy
LQ Newbie
 
Registered: Sep 2003
Distribution: Debian Testing/Unstable
Posts: 17

Rep: Reputation: 0
Was this problem ever fixed? I seem to be having the same problem lately. I installed Testing the Debian Installer and upgraded to Unstable and after upgrading to unstable, it seems that all my games like Tuxracer and MOHAA will start up fine until I get into the game itself. Then the screen will distort and X will either freeze or the game will crash leaving the screen still distorted. Even the consoles become distorted and unreadable. I'm very frustrated with this, and I have yet to see a solution to it that works... so any ideas? I'm tired of trying to play MOHAA just to have to restart because X freezes up and distorts my screen. >.<
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stable vs. testing vs. unstable pestie Debian 4 06-20-2005 04:54 PM
Pinning, Testing and Unstable r3dhatter Debian 1 12-28-2004 07:52 AM
stable? testing? unstable? koyi Debian 17 12-16-2004 08:04 AM
which is better testing or unstable in debian maximalred Debian 9 06-12-2004 10:44 PM
has anyone upgraded to testing or unstable mi6 Libranet 1 01-02-2004 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:01 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