SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-09-08 18:59:30

Mason
New Member
Registered: 2011-09-08
Posts: 5

[Solved]ATI Graphics Error

Hello, fellow bangers!

I've been exploring many different distros, and always come back to crunchbang. Unfortuantely, I have an issue on crunchbang I've never had on another distro. When I resize or move a window around, or when I scroll up or down on a page, it's very jumpy and lags quite a bit while repainting the page. I ignored this as merely an annoyance until I tried to run neverball, and that didn't work. This is the error I receive when I try to run it:

~$ neverball
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  139 (ATIFGLEXTENSION)
  Minor opcode of failed request:  66 ()
  Serial number of failed request:  14
  Current serial number in output stream:  14

glxgears and presumably anything else accessing whatever that is (I think it's videoram) give the same error.

I can't seem to find very much information on the subject. Would anyone happen to have an idea of what's up?

Last edited by Mason (2011-09-09 20:41:26)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-09-08 21:17:52

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,419

Re: [Solved]ATI Graphics Error

Which card/graphics do you have? And which driver are you using?

Offline

#3 2011-09-09 04:01:13

Mason
New Member
Registered: 2011-09-08
Posts: 5

Re: [Solved]ATI Graphics Error

Wow, I totally planned to put that in the original post. My apologies.

I have the ATI Radeon HD 5600, and I'm using the proprietary 8.881 driver, 32 bit.

Offline

#4 2011-09-09 04:05:19

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,419

Re: [Solved]ATI Graphics Error

Have you tried using the latest Catalyst driver from the AMD website?

Offline

#5 2011-09-09 04:24:59

Mason
New Member
Registered: 2011-09-08
Posts: 5

Re: [Solved]ATI Graphics Error

Yes, that's what I'm using right now.

Offline

#6 2011-09-09 04:31:15

ali
#! Die Hard
Registered: 2010-05-31
Posts: 1,035

Re: [Solved]ATI Graphics Error

it was obvious you had them installed by your output,
however they weren't installed properly or you just forgot to configure them
did you

sudo aticonfig --initial

and reboot after you installed them?
if you did then the installation failed, happens to me all the time
the only linux that installs them properly from the first try is tinycorelinux
on all others i have to
1. install,
2. sudo aticonfig --initial
3. reboot
4. fglrxinfo
if fglrxinfo fails, uninstall fglrx and repeat from step 1, if fglrxinfo succeeds go to step 5
5.you're done

this is my working fglrxinfo

ali@linux:~$ fglrxinfo 
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 4500 Series
OpenGL version string: 3.3.11005 Compatibility Profile Context

if you get anything else, the installation failed or it succeeded but you never configured it

Last edited by ali (2011-09-09 04:32:31)

Offline

#7 2011-09-09 05:05:03

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: [Solved]ATI Graphics Error

OK...what about *not* using the proprietary drivers?  Are the generic drivers (perhaps with a newer kernel) an option on your system?

Offline

#8 2011-09-09 05:08:33

Mason
New Member
Registered: 2011-09-08
Posts: 5

Re: [Solved]ATI Graphics Error

I tried doing all those things, and fglrx still wasn't working, so I tried something I found from an ubuntu forum.

sudo /usr/share/ati/fglrx-uninstall.sh # (if it exists)
sudo apt-get remove --purge fglrx*
sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg

While it didn't fix the problem, I got an an error after trying to install the drivers this time, so maybe there's some hint to what's going on. It created a log in /usr/share/ati/fglrx-install.log:

Uninstalling any previously installed drivers.
Unloading radeon module...
Unloading drm module...
ERROR: Module drm is in use by ttm,drm_kms_helper
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : Kernel module build environment not found - please consult readme.
[Reboot] Kernel Module : update-initramfs

I'm sorry, but I'm relatively new to Linux, and am unsure of what this means, or how to go about fixing it.

Offline

#9 2011-09-09 05:13:30

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,419

Re: [Solved]ATI Graphics Error

Make sure you have the linux kernel headers installed:

sudo apt-get install linux-headers-($uname -a)

Offline

#10 2011-09-09 05:46:37

Mason
New Member
Registered: 2011-09-08
Posts: 5

Re: [Solved]ATI Graphics Error

With a slight modification of that, thanks to harski from #crunchbang, I tried this:

sudo apt-get install linux-headers-$(uname -a  | awk '{print $3}')

After that, and a reinstall, EVERYTHING WORKS. For the first time. Everything. My god. I now never need to leave #! again. Thank you so much, guys. I really appreciate all your help.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo