Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post Reply
Greenhorn
Posts: 4
Joined: Tue May 26, 2015 1:10 pm

Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by Greenhorn »

Hi community,

I've got my fitlet-i A10 two weeks ago, installed the RAM, the SSD and finally Linux Mint 17.1 MATE. All went fine and I was astonished about the performance, really excellent.

After a while of playing around I recognized that scrolling browser content and watching videos was a mess with "radeon" driver. So I installed fglrx-updates package ( 2:13.305.1-0ubuntu2 ) and all was fine.

Last weekend an update arrived for fglrx-updates to version 2:15.200 and after restart fglrx was not loaded correctly. Catalyst Control Center doesn't start anymore.

EDIT: This is the output of

Code: Select all

grep "] (EE)" /var/log/Xorg.0.log

Code: Select all

[    14.236] (EE) No supported AMD display adapters were found
[    14.236] (EE) No devices detected.
[    14.284] (EE) No supported AMD display adapters were found
[    14.284] (EE) open /dev/dri/card0: No such file or directory
[    14.284] (EE) open /dev/dri/card0: No such file or directory
[    14.286] (EE) Screen 0 deleted because of no matching config section.
[    14.290] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[    14.307] (EE) GLX error: Can not get required symbols.
[    14.381] (EE) FBDEV(0): FBIOBLANK: Invalid argument
 
I've tried all what I can find in the internet but without success.

I hope it will be fixed soon by AMD/Ubuntu/Mint. This is really annoying.

Keep on the good work, CompuLab.

Cheers
Greenhorn

Arwen
Posts: 145
Joined: Sun Nov 20, 2011 10:43 pm

Re: Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by Arwen »

I don't have a direct fix for this, but something I learned about updates;
  • Backup before updating
  • Use new boot environment for update
Now would be the time to consider ABEs, (Alternate Boot Environments). I've been
bitten too many times during an update, (both professionally as a Unix System
Administrator and personally with my Solaris & Linux home computers), so if my
system was better off before the update, I can "roll" back, easily.

My progression in Linux for alternate boot environments was this;
  • Two separate EXT3 partitions for Linux root FS, (old and current)
  • Update above to use EXT4 file system, (DISCARD support for SSD drives)
  • Linux's BTRFS using snapshots, saves space and I can have as many as I want
  • ZFS on Linux using snapshots/clones, saves space, have as many as I want
What this buys me is easy upgrades and downgrades, (after I do all the hard work up
front testing and documenting the procedure).

The latest with ZFS get's me new things;
  • Root, /var & /home FSes using 2 copies on single media, in case of bad block(s)
  • Easy file system manipulation, (creation, snapshots, attributes and deletion)
  • Proper file system usage display using stock tools like "df"
My current Linux OS build rules;
  • Always have a separate /boot file system
  • Use a swap partition, not swap file
  • Keep /home, /Media and other FSes separate from OS, but shared between ABEs
  • Make ABEs a priority, (even if I only update once every 3 months)
  • Use at least 2 different backup schemes, (like NAS & SDXC card)
  • Verify you can use ABEs and be able to perform full restore from backups
Last edited by Arwen on Sun May 31, 2015 10:57 pm, edited 1 time in total.
Arwen Evenstar
Rivendale, Middle Earth

hassellbear
Posts: 106
Joined: Mon May 28, 2012 12:25 pm

Re: Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by hassellbear »

Same problem here for Fitlet.

Oddly enough, the same upgrade of fglrx in Mint 17.1 running on FitPC3 Pro did not break things, so issue seems to be Fitlet specific.

Compulab is aware and seeking a solution.

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by Denis »

Hi,
Please follow the wiki page and blacklist the new driver version temporary.
Create file /etc/apt/preferences.d/fglrx.13.350.pref

Code: Select all

Package: fglrx*
Pin: release a=trusty
Pin-Priority: 1001
Update software repositories

Code: Select all

$ sudo apt-get update
$ sudo apt-get install --reinstall fglrx-updates fglrx-amdcccle-updates
http://fit-pc.com/wiki/index.php/Fitlet ... ux_Mint_17
Compulab's Linux support

Greenhorn
Posts: 4
Joined: Tue May 26, 2015 1:10 pm

Re: Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by Greenhorn »

Hi,

I've got bloody eyes by investigating this issue.
A few days ago I tried to downgrade fglrx and force v13.350 via Synaptic, but I was not able to do this with fglrx-core package. If you nontheless do so, X will not start after reboot.

I don't know why your config file is doing the trick, fglrx-core is still 15.200...
However, it works. I hope with the new "AMDGPU" in kernel 4.2 all will get better.

Thank you very much, Denis !

Cheers
Greenhorn

Greenhorn
Posts: 4
Joined: Tue May 26, 2015 1:10 pm

Re: Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by Greenhorn »

I also had to do this to make GLX happy.

Code: Select all

sudo ln -s /usr/lib /usr/lib64
sudo mkdir -p /usr/X11R6/lib64/modules/dri/
sudo ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib64/modules/dri/fglrx_dri.so
Cheers
Greenhorn

oakpatch
Posts: 4
Joined: Thu Oct 15, 2015 6:08 am

Re: Ubuntu 14.04/Mint 17.1: fglrx is broken after update

Post by oakpatch »

Thank you, Greenhorn, for posting that information! I was noticing errors in the Xorg.0.log file, which I believe was causing some performance problems. By setting up the soft links as you described, the errors went away. This is actually very important information for anyone who might want to use the Mintbox as a desktop computer.

Post Reply

Return to “Linux on MintBox Mini / Linux on fitlet”