topic title: How do I fix DRI?
Posts: 19
4evrplan
Joined: 02 Feb 2011
#1
I think DRI's broken after installing playonlinux. The reason is that I had glxgears running at over 700 fps in 24 bit mode and and in the 1100 - 1200 range in 16 bit mode. I tried it again today and could only get it in the 60 fps range, which is what it did before I initially got DRI working. I know glxgears isn't a good benchmark, so I tried extremetuxracer and got about 0.6 fps (with graphic options turned way down). This is on a Sony VAIO PCG-NV170 (laptop) with a Pentium 4 1.6 GHz - M processor, 512 MB RAM, and an ATI Mobility Radeon 7500 with 16 MB onboard VRAM.

When I type"cat /var/log/Xorg.0.log | grep EE", it doesn't return any graphics related errors, just one about initialising the mouse for relative axes, though it was already doing that before when it was faster.

If I type"glxinfo | grep direct", I get"direct rendering: Yes".

And, when I type"glxinfo | grep OpenGL", I get:
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string 2.1 Mesa 7.7.1
OpenGL shading language version string: 1.20
OpenGL extensions:

I know Mesa is probably the problem here, I just don't know what to do about it.

Come to think of it, I think I may have done"apt-get upgrade wine" between when it was working and when I noticed it wasn't. I don't remember what all I've done.
Posts: 19
4evrplan
Joined: 02 Feb 2011
#2
I just found this:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://dri.freedesktop.org/wiki/DriTroubleshooting"
linktext was:"http://dri.freedesktop.org/wiki/DriTroubleshooting"
====================================
, which could prove really useful, if I understand it well enough to actually follow the steps.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#3
Have you tried using sgfxi to install/reinstall the drivers?
Posts: 19
4evrplan
Joined: 02 Feb 2011
#4
I used sgfxi -n, and that didn't work. It installed the ati driver though, and I thought the right one for my card was radeon (R100). Right? That's the one I installed when it was running faster; I just don't remember how I installed it. It was another script.
Posts: 19
4evrplan
Joined: 02 Feb 2011
#5
Well, it's REALLY broken now. I tried to reinstall the radeon driver by doing:

apt-get intall xserver-xorg-video-radeon

But, apparently it depends on a specific version of a couple packages I already had installed (not the right versions), so I removed them thinking installing xserver-xorg-video-radeon would reinstall them as well, no harm done. I was wrong. I get no video at all past the slim (login) screen, even though my computer is obviously turned on. I can chroot into it with the live cd, but I don't know what to install.

What now?
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#6
It might just be quicker and easier to re-install if you haven't added too much.

What sources.list are you using? Post /etc/apt/sources.list
Posts: 19
4evrplan
Joined: 02 Feb 2011
#7

Code: Select all

# See sources.list(5) for more information

# Note:If you want maximum stability, only use the stable repos.
# If you want to install kde3.5, you MUST only use the stable repos.
# (this will change when kde3.5 is no loger available in stable)

# MEPIS 8 series. 
# Only for kernel upgrades. Best NOT to use.
#deb ftp://ftp.mepis.com/mepis/ mepis-8.5 main 
# MEPIS mirrors
#deb ftp://ftp.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 
#deb http://fr1.mepis-deb.org/mepis/ mepis-8.0 main
#deb http://www.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 

# Debian Testing. 
# Testing enabled for 'rolling' release.
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free 
#deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

# Debian Stable
# This will 'soon' be"Squeeze". Use for maximum stability.
#deb http://ftp.us.debian.org/debian/ stable main contrib non-free 
#deb http://security.debian.org/ stable/updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free

# Multimedia Stable and Testing
#deb http://www.debian-multimedia.org stable main non-free
deb http://www.debian-multimedia.org testing main non-free

# Goggles music manager
deb http://apt.progchild.de stable main

# opera
#deb http://deb.opera.com/opera/ lenny non-free

# virtualbox
#deb http://download.virtualbox.org/virtualbox/debian lenny non-free

# liquorix kernels 
#deb http://liquorix.net/debian/ sid main

###### Debian Unstable/Sid##########
###### Use at your own risk! ########
#deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
#deb http://www.debian-multimedia.org unstable main non-free

Posts: 19
4evrplan
Joined: 02 Feb 2011
#8
Wait, I think I posted the one from the live cd. Hang on...
Posts: 19
4evrplan
Joined: 02 Feb 2011
#9
Here we go:

Code: Select all

# See sources.list(5) for more information

# Note:If you want maximum stability, only use the stable repos.
# If you want to install kde3.5, you MUST only use the stable repos.
# (this will change when kde3.5 is no loger available in stable)

# MEPIS 8 series. 
# Only for kernel upgrades. Best NOT to use.
# deb ftp://ftp.mepis.com/mepis/ mepis-8.5 main 
# MEPIS mirrors
# deb ftp://ftp.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 
# deb http://fr1.mepis-deb.org/mepis/ mepis-8.0 main 
# deb http://www.mirrorservice.org/sites/ftp.mepis.org/mepis/ mepis-8.0 main 

# Debian Testing. 
# Testing enabled for 'rolling' release.
deb http://ftp.us.debian.org/debian/ testing main contrib non-free 
deb http://security.debian.org/ testing/updates main contrib non-free 
# deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free 

# Debian Stable
# This will 'soon' be"Squeeze". Use for maximum stability.
# deb http://ftp.us.debian.org/debian/ stable main contrib non-free 
# deb http://security.debian.org/ stable/updates main contrib non-free 
# deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free 

# Multimedia Stable and Testing
# deb http://www.debian-multimedia.org/ stable main non-free 
deb http://www.debian-multimedia.org/ testing main non-free 

# Goggles music manager
# deb http://apt.progchild.de/ stable main  

# opera
# deb http://deb.opera.com/opera/ lenny non-free 

# virtualbox
deb http://download.virtualbox.org/virtualbox/debian/ lenny contrib 

# liquorix kernels 
# deb http://liquorix.net/debian/ sid main 

###### Debian Unstable/Sid##########
########
########
###### Use at your own risk! ########
# deb http://ftp.us.debian.org/debian/ unstable main contrib non-free 
# deb http://www.debian-multimedia.org/ unstable main non-free 

deb http://wine.sourceforge.net/apt/ binary/ 
deb http://www.backports.org/debian/ lenny-backports main 
deb http://www.lamaresh.net/apt/ lenny main 
Posts: 19
4evrplan
Joined: 02 Feb 2011
#10
I'm trying a reinstall...
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#11
The lenny repos shouldn't be used.