← Back to team overview

desktop-packages team mailing list archive

[Bug 1299002] Re: gpu-manager xorg.conf inconsistency with AMD Catalyst (fglrx)

 

Upgrade 19-09-14:

 - ubuntu-drivers-common (0.2.91.6, 0.2.91.7)
 - dh-modaliases (0.2.91.6, 0.2.91.7)
 - linux-firmware (1.127.5, 1.127.6)

alela@alela-X550DP:~$ aticonfig --initial --adapter=all --od-gettemperature
Found fglrx primary device section
Found fglrx primary device section
 Unable to find any supported Screen sections

Se hace obligatorio, pero esto no es satisfactorio:

$ aticonfig --initial -f --adapter=all --od-gettemperature

Al hacer:

$ sudo rm /etc/X11/xorg.conf*

Pero esto tampoco es satisfactorio.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1299002

Title:
  gpu-manager xorg.conf inconsistency with AMD Catalyst (fglrx)

Status in “ubuntu-drivers-common” package in Ubuntu:
  New

Bug description:
  This is a bug report against gpu-manager.c in ubuntu-drivers-common.

  ~/Documents/VC/ubu/ubuntu-drivers-common/share/hybrid$ bzr log
  ------------------------------------------------------------
  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_bus_id_xorg_conf(struct device **devices, int cards_n,
                                           unsigned int vendor_id, char *driver)

  In line 1072 of gpu-manager.c

  "Driver" keyword is found from following lines xorg.conf written by aticonfig
  Section "Monitor"
  	Identifier   "aticonfig-Monitor[0]-0"
  	Option	    "VendorName" "ATI Proprietary Driver"
  	Option	    "ModelName" "Generic Autodetecting Monitor"
  	Option	    "DPMS" "true"
  EndSection

  Section "Monitor"
  	Identifier   "aticonfig-Monitor[1]-0"
  	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) &&
                       (strstr(line, driver) == NULL)) {
                  failure = 1;
              }
  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_vendor_bus_id_xorg_conf()" reports "Check failed"
  completely valid xorg.conf is overwritten by gpu-manager.c in boot.

  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)
  NonfreeKernelModules: wl fglrx
  Package: ubuntu-drivers-common 1:0.2.91.1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1299002/+subscriptions