← Back to team overview

touch-packages team mailing list archive

[Bug 1453052] [NEW] X fails to automatically detect ATI radeon RV600 card

 

Public bug reported:

Good day.
I'm testing pure EFI boot capability on my iMac 7.1 (graphic card ATI radeon HD2600 pro).
So far, with Ubuntu 14.10, i've been able to boot directly into a perfectly working system using the EFI kernel stub.
No GRUB, no ELILO, no rEFIND, no boot manager whatsoever! And the result was amazing!
Boot up time reduced to a fraction of the time needed by GRUB, for example, Compiz compositing much more quickly and and efficiently. I could notice even some graphical detail (e.g. Text shadows in the GDM log-in screen) that were not present if booting via GRUB.
The way to accomplished this is simple:
1) Create a small (40MB or less) HFS+ partition. E.g. #> sudo mkfs.hfsplus /dev/sdaX -v "Ubuntu (EFI-Stub)"
2) Copy to the new partition the files vmlinuz-3.XX.YY-ZZ-generic.efi.signed and initrd.img-3.XX.YY-ZZ-generig. Also rename them to "vmlinuz.efi" and "initrd.img" for sake of simplicity in further command line work. Furthermore, Apple's EFI won't boot anything that doesn't end with the ".efi" extension.
3) Create a boot entry in the NVRAM using efibootmgr like this: #> sudo efibootmgr -d /dev/sdX -p Y -c -L "Ubuntu 14.04 LTS" -l /vmlinuz.efi -u "root=UUID=b0c4efb9-95b0-4e5d-98e1-8beb43f413c2 ro rootflags=subvol=@  quiet splash initrd=\initrd.img"
4) reboot (and enjoy!)

As i've said, in Ubuntu 14 all this is working fine, but after the upgrade to Ubuntu 15, "X" doesn't start anymore. The system starts up correctly but X fails (with error: (EE) No devices detected. (EE) Fatal server error: (EE) no screens found) dropping me to a tty console login.
I'm not shure if it is a X problem or a kernel KMS bug, but i'm more inclined to think of a problem with X because i've tried to boot Ubuntu 15.0 with the old kernel (3.13/16) and the problem is still there.
I've also tried to add "vt.handoff=7" to the command line args for the kernel, like grub does, but the result is even worse. The system freezes completely at the moment of starting X.
Please note also that booting via grub is working. X starts, much more slowly but starts. (Actually i'm reporting this bug from the very same system booted using GRUB. I have a second HFS+ partition where i installed grub and i can access it by holding down the ALT key at power-up)
Thanks for your work. I really hope that booting directly via EFI stubs will grow mature because the performance increase is really big.
Thanks again.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
NonfreeKernelModules: wl
.tmp.unity.support.test.0:
 
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,staticswitcher,workarounds,scale,expo,ezoom,dbus]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Fri May  8 10:20:35 2015
DistUpgraded: 2015-05-06 18:46:56,830 DEBUG enabling apt cron job
DistroCodename: vivid
DistroVariant: ubuntu
DkmsStatus:
 bcmwl, 6.30.223.248+bdcom, 3.19.0-16-generic, x86_64: installed
 bcmwl, 6.30.223.248+bdcom, 3.19.0-16-lowlatency, x86_64: installed
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] RV630/M76 [Mobility Radeon HD 2600 XT/2700] [1002:9583] (prog-if 00 [VGA controller])
   Subsystem: Apple Inc. iMac 7,1 [106b:0083]
InstallationDate: Installed on 2013-10-27 (557 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: Apple Inc. iMac7,1
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-16-generic.efi.signed root=UUID=b0c4efb9-95b0-4e5d-98e1-8beb43f413c2 ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to vivid on 2015-05-06 (1 days ago)
dmi.bios.date: 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: IM71.88Z.007A.B03.0803051705
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4238CC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4238CC8
dmi.modalias: dmi:bvnAppleInc.:bvrIM71.88Z.007A.B03.0803051705:bd03/05/08:svnAppleInc.:pniMac7,1:pvr1.0:rvnAppleInc.:rnMac-F4238CC8:rvrPVT:cvnAppleInc.:ct13:cvrMac-F4238CC8:
dmi.product.name: iMac7,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2
version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
xserver.bootTime: Fri May  8 09:58:18 2015
xserver.configfile: default
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.1-0ubuntu3
xserver.video_driver: radeon

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ubuntu vivid xorg

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1453052

Title:
  X fails to automatically detect ATI radeon RV600 card

Status in xorg package in Ubuntu:
  New

Bug description:
  Good day.
  I'm testing pure EFI boot capability on my iMac 7.1 (graphic card ATI radeon HD2600 pro).
  So far, with Ubuntu 14.10, i've been able to boot directly into a perfectly working system using the EFI kernel stub.
  No GRUB, no ELILO, no rEFIND, no boot manager whatsoever! And the result was amazing!
  Boot up time reduced to a fraction of the time needed by GRUB, for example, Compiz compositing much more quickly and and efficiently. I could notice even some graphical detail (e.g. Text shadows in the GDM log-in screen) that were not present if booting via GRUB.
  The way to accomplished this is simple:
  1) Create a small (40MB or less) HFS+ partition. E.g. #> sudo mkfs.hfsplus /dev/sdaX -v "Ubuntu (EFI-Stub)"
  2) Copy to the new partition the files vmlinuz-3.XX.YY-ZZ-generic.efi.signed and initrd.img-3.XX.YY-ZZ-generig. Also rename them to "vmlinuz.efi" and "initrd.img" for sake of simplicity in further command line work. Furthermore, Apple's EFI won't boot anything that doesn't end with the ".efi" extension.
  3) Create a boot entry in the NVRAM using efibootmgr like this: #> sudo efibootmgr -d /dev/sdX -p Y -c -L "Ubuntu 14.04 LTS" -l /vmlinuz.efi -u "root=UUID=b0c4efb9-95b0-4e5d-98e1-8beb43f413c2 ro rootflags=subvol=@  quiet splash initrd=\initrd.img"
  4) reboot (and enjoy!)

  As i've said, in Ubuntu 14 all this is working fine, but after the upgrade to Ubuntu 15, "X" doesn't start anymore. The system starts up correctly but X fails (with error: (EE) No devices detected. (EE) Fatal server error: (EE) no screens found) dropping me to a tty console login.
  I'm not shure if it is a X problem or a kernel KMS bug, but i'm more inclined to think of a problem with X because i've tried to boot Ubuntu 15.0 with the old kernel (3.13/16) and the problem is still there.
  I've also tried to add "vt.handoff=7" to the command line args for the kernel, like grub does, but the result is even worse. The system freezes completely at the moment of starting X.
  Please note also that booting via grub is working. X starts, much more slowly but starts. (Actually i'm reporting this bug from the very same system booted using GRUB. I have a second HFS+ partition where i installed grub and i can access it by holding down the ALT key at power-up)
  Thanks for your work. I really hope that booting directly via EFI stubs will grow mature because the performance increase is really big.
  Thanks again.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
  Uname: Linux 3.19.0-16-generic x86_64
  NonfreeKernelModules: wl
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,staticswitcher,workarounds,scale,expo,ezoom,dbus]
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Fri May  8 10:20:35 2015
  DistUpgraded: 2015-05-06 18:46:56,830 DEBUG enabling apt cron job
  DistroCodename: vivid
  DistroVariant: ubuntu
  DkmsStatus:
   bcmwl, 6.30.223.248+bdcom, 3.19.0-16-generic, x86_64: installed
   bcmwl, 6.30.223.248+bdcom, 3.19.0-16-lowlatency, x86_64: installed
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] RV630/M76 [Mobility Radeon HD 2600 XT/2700] [1002:9583] (prog-if 00 [VGA controller])
     Subsystem: Apple Inc. iMac 7,1 [106b:0083]
  InstallationDate: Installed on 2013-10-27 (557 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Apple Inc. iMac7,1
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-16-generic.efi.signed root=UUID=b0c4efb9-95b0-4e5d-98e1-8beb43f413c2 ro rootflags=subvol=@ quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: Upgraded to vivid on 2015-05-06 (1 days ago)
  dmi.bios.date: 03/05/08
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: IM71.88Z.007A.B03.0803051705
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Mac-F4238CC8
  dmi.board.vendor: Apple Inc.
  dmi.board.version: PVT
  dmi.chassis.asset.tag: Asset Tag#
  dmi.chassis.type: 13
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-F4238CC8
  dmi.modalias: dmi:bvnAppleInc.:bvrIM71.88Z.007A.B03.0803051705:bd03/05/08:svnAppleInc.:pniMac7,1:pvr1.0:rvnAppleInc.:rnMac-F4238CC8:rvrPVT:cvnAppleInc.:ct13:cvrMac-F4238CC8:
  dmi.product.name: iMac7,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.
  version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.60-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.2-0ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.2-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
  xserver.bootTime: Fri May  8 09:58:18 2015
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.version: 2:1.17.1-0ubuntu3
  xserver.video_driver: radeon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1453052/+subscriptions


Follow ups

References