gpu-manager xorg.conf inconsistency with AMD Catalyst (fglrx)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-drivers-common (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is a bug report against gpu-manager.c in ubuntu-
~/Documents/
-------
revno: 56
tags: 1:0.2.91.1
author: Alberto Milone
committer: Package Import Robot
branch nick: trusty-proposed
timestamp: Fri 2014-03-21 20:03:20 +0100
I'm submitting this now manually due to urgency to 14.04 release as ubuntu-bug crashes too ;(
%sudo aticonfig --adapter=all --initial writes a xorg.conf which uses xorg.conf keywords in "text" fields searched by function
static int check_vendor_
In line 1072 of gpu-manager.c
"Driver" keyword is found from following lines xorg.conf written by aticonfig
Section "Monitor"
Identifier "aticonfig-
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "aticonfig-
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Line 1119 of gpu-manager.c
else if ((istrstr(line, "Driver") != NULL) &&
}
Looks the xorg keyword "Driver" anywhere in the line and finds "ATI Proprietary Driver", but of course does not find correct drivername "fglrx" from the same line => Keywords should be searched from the beginning of the line, not all over.
Second issue in same function the format "PCI:%d@%d:%d:%d" which is different to format "PCI:%d:%d:%d" used by aticonfig, which causes misdetection of correct BusID in xorg.conf
If routine "check_
Quick workaround for users is to correct the xorg.conf after installation of ATI Catalyst proprietary drivers taking these into account.
---
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-03-27 (1 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140227)
NonfreeKernelMo
Package: ubuntu-
PackageArchitec
ProcVersionSign
Tags: trusty
Uname: Linux 3.13.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
apport information