LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-21-2012, 04:20 AM   #1
negafon
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Rep: Reputation: Disabled
How do I get my fglrx driver back?


Hey guys, it seems Debian has once again yanked fglrx from the wheezy repositories. I discovered this the hard way by dist-upgrading with apt. It unceremoniously removed fglrx and slapped the radeon driver in its place. I had to fix my xorg.conf just to get back into my DE. The open source driver doesn't work well at all and cooks the processor on my notebook, so I don't want to keep using it. Do I need to reference an older repository snapshot to get my fglrx driver back? I've got the experimental and wheezy repositories in my sources.list right now.
 
Old 05-21-2012, 06:20 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
I haven't used Debian in a while, but from what I'm seeing, Wheezy now uses X server 1.12, correct? That version is incompatible with the current release of fglrx. Hopefully the next fglrx release (12.5) will work with that version X server. You will either need to downgrade X, or you will need to tolerate radeon till fglrx is up-to-speed. Unfortunately, I do not know enough about Debian to tell you the proper way to downgrade. You may want to consider reporting this post to the admins and asking them to move it to the Debian section.

Adam
 
Old 05-21-2012, 11:03 AM   #3
negafon
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks. Yeah, I'm 90% certain that I need to roll back the X packages, as that's what I primarily saw in the list of upgraded ones. Will that free up the fglrx package for me, though? If they removed it from the repositories I can't get it back just by doing that, right? Perhaps I should download it straight from ATI's website and cross my fingers? If it still doesn't work I could then try to roll back the X packages.
 
Old 05-21-2012, 11:25 AM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
The use of the radeon driver with hybrid graphics will cause a laptop to get hot if you don't turn one of the graphic cards off. To turn one of the graphics off at prompt as root
Quote:
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
and
Quote:
cat /sys/kernel/debug/vgaswitcheroo/switch
will display the status of the two video cards. If you get a file/directory not found error the will have to add a mount point for /sys/kernel/debug to your /etc/fstab. These commands can be added to the rc.local file to do it automatically

Last edited by colorpurple21859; 05-21-2012 at 11:28 AM.
 
Old 05-21-2012, 11:28 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
If you want to use fglrx, you will need to roll back the X packages no matter what. As I said, X server 1.12 is incompatible with the current release of the fglrx/catalyst driver.
 
1 members found this post helpful.
Old 05-21-2012, 11:54 AM   #6
negafon
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yeah, you're right, adam. I grabbed version 12.3 (the previous one that I had been using) from AMD's website and tried installing that, but X still didn't like it. colorpurple, thanks for the tip, but I really don't want to use the open source driver because it not only gets hot, but has awful performance. Will your trick fix that as well?
 
Old 05-21-2012, 12:55 PM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
I Don't know about the performance since all I do is basic stuff, no gaming, but it does help with the heating problem. I have a 6620/6700m hybrid graphics and can only get the 6620 to work with the radeon driver. The screen goes black when I try to switch to the 6700m. I don't know if something isn't configured correctly or just not supported. First chance I get I'm going to try the 3.4 kernel and see if that helps, suppose to be some ati graphic fixes in it.
 
Old 05-21-2012, 03:29 PM   #8
negafon
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
FYI, I'm using the 3.3 kernel and it's still toasty. I guess I'll give your trick a try. I was able to rollback some of the xorg packages, but it's a mess of broken dependencies. The 12.5 driver is supposed to be compatible with xorg, but they just came out with 12.4, so I don't know WHEN that's going to be released. I am a sad monkey right now.
 
Old 05-21-2012, 04:56 PM   #9
negafon
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Solved! Okay, here's what I did:

First, you need to add repositories to /etc/apt/sources.list from snapshot.debian.org. I used these:

This gives me a snapshot of the wheezy repos on May 15, 2012 at 10:07PM, before the dreaded upgrades were made to the xorg packages. (You can use another date if you like, as long as it's before May 20.) Next, create the file /etc/apt/preferences.d/60xorg_rollback.pref containing this:

Quote:
Package: xserver-xorg*
Pin: origin "snapshot.debian.org"
Pin-Priority: 1001
This will pin down any apt updates for xorg to this repository only, giving you the version you want. Apt will try to prevent this from happening automatically, so you must create one more file called /etc/apt/apt.conf.d/60ignore_repo_date_check containing:

Quote:
Acquire
{
Check-Valid-Until "false";
}
Now, get to a command prompt outside your DE if possible and run these commands as root:

Quote:
apt-get update
apt-get dist-upgrade
You should see something like "Packages to be DOWNGRADED:" with all your xorg packages listed. Hit your 'y' key and you're golden! You should be able to get back into your DE just fine. Now all you have to do is get the 12.4 driver here:

http://support.amd.com/us/gpudownloa...eon_linux.aspx

In a terminal, switch to the directory where you downloaded the installer and run these commands as root:

Quote:
chmod 744 amd-driver-installer-12-4-x86.x86_64.run
./amd-driver-installer-12-4-x86.x86_64.run
Reboot and you're all set.

Thanks to everyone who replied on the thread and to System Saviour, whose post related to this issue got me pointed in the right direction!
 
Old 07-21-2012, 02:03 PM   #10
abelloEIS
LQ Newbie
 
Registered: Apr 2012
Location: Dominican Republic
Distribution: Linux Mint 12, [L/X]ubuntu 11.10, LMDE2012, Windows XP/7/2008
Posts: 2

Rep: Reputation: Disabled
A couple of observations that without them would surely make a lot people go back to Microsoft Windows in a heartbeat:
1. /etc/apt/sources.list won't understand "deb-src". That single line makes the whole apt-get update process to fail miserably.
2. The quoted sources are cropped with "..." that would also break the whole sources.list file.
3. Debian returns that it is IMPOSSIBLE to download from "http://snapshot.debian.org/archive/debian/20515T220710Z". Even if the address DOES exists, Debian won't make anything out of it.

In all, the good intentions are in the thread, but they won't do good to people that installed Ddebian and cannot use AMD-sourced ATI drivers. Please re-edit with correct procedure. Thank you!
 
Old 08-07-2012, 01:02 AM   #11
panosl
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Post is correct

I just reinstalled fglrx following the above instructions and it went very smoothly.

Just follow the urls above by clicking on them and cut and paste from your browser's address bar into /etc/apt/sources.list.


Many thanks to nagafon for the post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I got fglrx driver to install, but what do I do with fglrx module? mack_the_knife Slackware 7 07-12-2009 03:48 AM
ATI driver, fglrx - FATAL: Error inserting fglrx hubabuba Slackware 4 04-18-2009 01:27 PM
ATI fglrx Driver RavenFrost Slackware 1 04-11-2006 07:46 AM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
fglrx driver help kwisi Red Hat 1 10-28-2004 12:22 AM


All times are GMT -5. The time now is 05:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration