installing fglrx (post-release updates) fails

Bug #870560 reported by Redmar on 2011-10-08
722
This bug affects 151 people
Affects Status Importance Assigned to Milestone
Jockey
Undecided
Unassigned
fglrx-installer-updates (Ubuntu)
Undecided
Unassigned
jockey (Ubuntu)
Undecided
Unassigned

Bug Description

Installing fglrx (post-release updates) on up to date oneiric fails. This happens both with and without the normal fglrx package installed. I have attached the log for the case where the normal fglrx is installed.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: jockey-gtk 0.9.4-0ubuntu10
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Sat Oct 8 10:53:16 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
MachineType: Acer Aspire M5500
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=c3966ea2-ff82-488b-9efc-091a02cf2492 ro quiet splash vt.handoff=7
SourcePackage: jockey
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/18/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: R01-B0
dmi.board.name: FG965M
dmi.board.vendor: Acer
dmi.chassis.type: 3
dmi.chassis.vendor: Acer
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrR01-B0:bd06/18/2007:svnAcer:pnAspireM5500:pvrR01-B0:rvnAcer:rnFG965M:rvr:cvnAcer:ct3:cvr:
dmi.product.name: Aspire M5500
dmi.product.version: R01-B0
dmi.sys.vendor: Acer

Redmar (redmar) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jockey (Ubuntu):
status: New → Confirmed
naleves (naleves) wrote :

Also affects me, running the latest updated Xubuntu 11.10.

deuce (azinas) wrote :

Attaching my version of jockey.log
hope it helps

deuce (azinas) wrote :

Attaching my version of jockey.log
hope it helps

This bug affects me too and I have noticed that I cannot use Unity. Could it be because of this bug? Unity 2D works just fine but normal Unity just loads a top bar that says File Edit View etc and nothing else appears. No bar on the left side and I cannot click on anything on the desktop because the whole thing crashes. The mouse still works but everything else is dead.

Michael Färber (0102-gmx) wrote :

I too can confirm this bug, running Xubuntu 11.10.
Perhaps it's somehow related to this bug? https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/841462
The common error messages in jockey.log are "ERROR: xorg:fglrx_updates: get_alternative_by_name(fglrx-updates) returned nothing", and the aforementioned bug fix which I linked to mentions "Return the correct alternative when dealing with 'updates' driver flavours in get_alternative_by_name()." So get_alternative_by_name() could point to the culprit of the problem ...

Michael Färber (0102-gmx) wrote :

Actually, on closer inspection I found the place where a fglrx installation and an fglrx-updates installation log (jockey.log) differ:

fglrx log excerpt:
---------------------------------------
DKMS: install Completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for gnome-menus ...
Setting up fglrx-amdcccle (2:8.881-0ubuntu4) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-12-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

2011-10-16 12:56:00,782 DEBUG: fglrx.enabled(fglrx): target_alt /usr/lib/fglrx/ld.so.conf current_alt /usr/lib/fglrx/ld.so.conf other target alt /usr/lib/fglrx/alt_ld.so.conf other current alt /usr/lib/fglrx/alt_ld.so.conf
2011-10-16 12:56:00,782 DEBUG: XorgDriverHandler(%s, %s).enabled(): No X.org driver set, not checking
---------------------------------------

fglrx-updates log excerpt:
---------------------------------------
DKMS: install Completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for gnome-menus ...
Setting up fglrx-amdcccle-updates (2:8.881-0ubuntu6) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-12-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

2011-10-16 12:54:45,761 WARNING: /sys/module/fglrx_updates/drivers does not exist, cannot rebind fglrx_updates driver <-------------
2011-10-16 12:54:45,849 ERROR: xorg:fglrx_updates: get_alternative_by_name(fglrx-updates) returned nothing
2011-10-16 12:54:46,007 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2011-10-16 12:54:46,007 DEBUG: fglrx_updates is not the alternative in use
---------------------------------------

So that WARNING line in the fglrx-updates log wasn't there in the fglrx log, and shortly thereafter the installation fails with an ERROR.
I hope that this information may help somebody more experienced with jockey/fglrx to fix that bug.

Kyle Bentley (kwbent) wrote :

Bug Affects me as well,

System Specs:
Ubuntu 11.10 x64
16 GB RAM
Phenom II X6 1090T
Gigabyte 790FXT
2 x HD4870 (Xfire)
Intel X-25M SSD

Timothy Ricks (ricks-tc) wrote :

I'm having the same problem. I wanted to post my specs to be helpful, but I never know what command to use. I'm attaching a "hardinfo" summary report with what I think is relevant. Happy to help however I can, feel free to contact me.

Thanks,

Tim

cyqotiq (jnsatterfield) wrote :

I have this problem, too. I've attached my jockey.log (excerpts as it pertains to fglrx-updates).

Ubuntu 11.10 (32-bit)
Intel Core 2 Quad Q9650
4 GB RAM
ATI Radeon HD 4670

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fglrx-installer-updates (Ubuntu):
status: New → Confirmed
Chris birk (cmbirk) wrote :

I am having the same issue, and have attached my jockey.log for anyone who is more experienced with jockey/this issue

Also affects me.

Russ (russelldyson) wrote :

Also effects me too, jockey.log attached.

Joar Wandborg (jwandborg) wrote :

I too have this problem.

Val Schuman (phn5hho65) wrote :

Same bug affects me. attaching my jockey.log

Michał Kowalski (kofec) wrote :

Does anyone identify workaround for this issue ?

Ishaan Kovoor (ikov-inc) wrote :

bug #873058 seems to be affecting x86_64 bit systems

I have a 32bit install of xubuntu 11.10 and the bug affects me too. Through synaptic either the fglrx-update dependant packages can be selected or the fglrx packages mutually exclusively. Haven't tried through command line. Installation through jockey fails for updates packages. It deactivates the activated fglrx driver if tried back-to-back.

Also, for catalyst control centre with either package, aticonfig --initial must be run from cli. This breaks the install for me.
It seems to depend on xorg.config

I have an hp Dv7 and have dual graphics cards. So, I've decided to use the intel (powersaving) gpu exclusively. The easy workaround for that is to NOT install fglrx, and add the line

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

to 'rc.local' in /etc

this is only do-able using open-source radeon driver for me. fglrx takes away vgaswitcheroo directory.

Werner (werner-0) wrote :

Same bug affects me.
Attaching my jockey.log

KeithG (grider-4) wrote :

It appears that the nvidia issues are fixed (confirmed on my laptop). The ATI problem appears to still be with us.

sadaka (referbox) wrote :

I have a problem when installing post-release AMD proprietary drivers through Ubuntu 11.10 Restricted Drivers UI. Attaching jockey.log I have after clean install (please check the end of the log file for several failed installation attempts).

EternalFury (lrtherond-9) wrote :

Yes, I am experiencing this bug as well. It prevents me from using my discreet GPU, which sucks.

Redsandro (redsandro) wrote :

Affects m e too. AMD Fusion A50m APU on Ubuntu 11.10 x64.

Jockey FGLRX driver works, post-release updates fails.

2012-02-16 10:37:29,631 WARNING: /sys/module/fglrx_updates/drivers does not exist, cannot rebind fglrx_updates driver
2012-02-16 10:37:29,907 ERROR: xorg:fglrx_updates: get_alternative_by_name(fglrx-updates) returned nothing

Jack Foy (jfoy) wrote :

I believe this isn't a duplicate of the nvidia-common bug, but a separate issue. From the referenced bug:

It looks like /usr/share/jockey/handlers/fglrx.py in package jockey-common expects the package fgrlx-updates to create a module named 'fglrx-updates', but the module generated by building that package is actually named 'fglrx'. See https://bugs.launchpad.net/ubuntu/+source/fglrx-installer-updates/+bug/825339

Can someone who knows this code comment on this issue? How can we get the jockey-common and fglrx-updates maintainers to agree on an interface?

I experienced the very same bug as everybody when I tried to install the post-release updates for the FGLRX driver through jockey.

I just wanted to let everyone know that I solved the problem on my computer by simply _manually_ installing the latest AMD drivers, as explained in the Ubuntu Wiki:
https://help.ubuntu.com/community/BinaryDriverHowto/ATI

That is, instead of using jockey (i.e., the Ubuntu GUI for third-party driver installation) to install the latest FGLRX drivers, I did it manually by creating the necessary *.deb packages myself. It's very easy to do and it is explained in detail in the Ubuntu Wiki, linked above.

Of course, this does not solve the discrepancy problem between jockey-common and fglrx-updates as described by Jack Foys in the above comment. However, I assume that everybody who experienced this bug and began to look for a solution in the Internet, was actually simply trying to get the latest FGLRX drivers working. With the manual method, this works flawlessly, and I am now running the AMD Catalyst 12.2 drivers on my machine.

$ lspci | grep -i vga
01:00.0 VGA compatible controller: ATI Technologies Inc Cayman PRO [AMD Radeon 6900 Series]

$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6900 Series
OpenGL version string: 4.2.11554 Compatibility Profile Context

I hope someone may find this useful.

Cheers,

Malte

Natim (site-remy) wrote :

Actually the bug was fixed for nvidia but not for fglrx even on precise I just got it !

Florian W. (florian-will) wrote :

Affects me too. The log says:

--------------------------------------------------
[...]
Setting up fglrx-updates (2:8.960-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
Loading new fglrx-updates-8.960 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-24-generic
Building for architecture x86_64
Building initial module for 3.2.0-24-generic
Done.

fglrx_updates:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-24-generic/updates/dkms/

depmod......

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up fglrx-amdcccle-updates (2:8.960-0ubuntu1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

2012-04-28 23:56:44,623 WARNING: /sys/module/fglrx_updates/drivers does not exist, cannot rebind fglrx_updates driver
2012-04-28 23:57:09,643 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-04-28 23:57:09,644 DEBUG: fglrx_updates is not the alternative in use
2012-04-28 23:57:09,682 DEBUG: fglrx.enabled(fglrx_updates): target_alt None current_alt /usr/lib/fglrx/ld.so.conf other target alt None other current alt /usr/lib/fglrx/alt_ld.so.conf
2012-04-28 23:57:09,682 DEBUG: fglrx_updates is not the alternative in use
[-- EOF --]
-------------------------------------

"/sys/module/fglrx_updates/drivers does not exist, cannot rebind fglrx_updates driver" is correct, there is no directory /sys/module/fglrx_updates.- /sys/module/fglrx exists though, and it contains files with about the correct modification time. So maybe Jockey looks at the wrong directory and this is not a duplicate of #873058, as Jack Foy suggested.

Paul Brannan (curlypaul924) wrote :

I hoped it would be trivial to fix this, but it is not obvious to me. I tried changing the module name that gets passed into the KernelModuleHandler constructor, but it seems too much code depends on this, and it's not obvious what code should expect to see 'fglrx' and what should expect to see 'fglrx_updates'.

Blindly setting the module to 'fglrx' causes the gui to only display one of the two modules.

Jorenko (jorenko) wrote :

I got the same error with a Radeon HD 6800

To post a comment you must log in.