Build in ATI/radeon framebuffers on PowerPC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Precise |
Fix Released
|
Medium
|
Tim Gardner | ||
Quantal |
Fix Released
|
Undecided
|
Tim Gardner |
Bug Description
Hi,
Could I request a few kernel changes to improve out-of-the-box support on PowerPC please? They involve the ATI/radeon framebuffers and KMS support.
Since 11.04 the framebuffers used by Rage, Rage128 and radeon graphics cards have been compiled as modules. This has resulted in a number of problems, such as booting to a command prompt, loss of tty consoles and loss of suspend. Debian still builds in these modules and it has been commented by a few people who are testing 12.04 that Ubuntu and its derivatives are lagging behind in their user friendlyness.
Whilst it is possible to load the framebuffers as modules (and the Ubuntu PowerPC documentation describes how to do this), building back the modules into the kernel is the only way I can think of that will easily get everything working out of the box again. It will stop the openfirmware framebuffer from grabbing the resources.
The other change I would like to see is radeon defaulting to KMS on. This was the case in 10.04 and 10.10. This did cause a lot of complaints at the time about loss of 3d hardware acceleration, but 12.04 does not have UMS support anymore. KMS is the future! (if currently a little shakey! - there is no suspend with it and it crashes a lot with AGP)
Here is what I propose:
CONFIG_
CONFIG_FB_RADEON=y
CONFIG_FB_ATY128=y
CONFIG_FB_ATY=y
I don't know if there is some way to ensure that the above framebuffers are loaded in preference to the openfirmware framebuffer (CONFIG_FB_OF) ?
This setup should mean that tty consoles and suspend should work by default. Also, it will allow everything to be controlled from the kernel command line (yaboot prompt on PowerPC). If somebody wants fully working radeon KMS then they can disable radeonfb and offb with video=radeonfb:off video=offb:off. If there is some problem with KMS they can disable it with radeon.modeset=0. I've been over the options, and I think this is the best setup.
Finally, I've been trying to work out what to do with CONFIG_
Hopefully the above makes sense!
Thanks for reading this!
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-18-powerpc ppc
AcpiTables:
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Snapper [PowerMac Snapper], device 0: PMac Snapper [PowerMac Snapper]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 1.94-0ubuntu1
Architecture: powerpc
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Snapper [PowerMac Snapper], device 0: PMac Snapper [PowerMac Snapper]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Snapper'/'PowerMac Snapper (Dev 38) Sub-frame 0'
Mixer name : 'PowerMac Snapper'
Components : ''
Controls : 15
Simple ctrls : 14
Date: Wed Mar 7 18:48:08 2012
HibernationDevice: RESUME=
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Beta powerpc (20120301.1)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
PciMultimedia:
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcFB:
0 OFfb ATY,Via_A
1 OFfb ATY,Via_B
ProcKernelCmdLine: root=UUID=
RelatedPackageV
linux-
linux-
linux-firmware 1.71
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: bot-stop-nagging |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
Changed in linux (Ubuntu Precise): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in linux (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Quantal): | |
status: | In Progress → Fix Committed |
I've been playing a bit more with this. I now think it is agpgart rather than uninorth_agp that influences whether KMS reverts to PCI mode or not. Well that is what it seems to be under 10.04. Agpgart is built into 12.04 already so I guess the nouveau people have been using AGP mode all along? It is hard to tell what affects what as the boot order can be quite random it seems and small things can have a 'butterfly' effect.
The parameter video=ofonly works well under 10.04 to disable the radeonfb framebuffer. This gives a very nice splash screen . However, I cannot replicate this under 12.04. The colours are all messed up (particularly on shutdown) and nothing I seem to do can correct this. As described in post 1, video=offb:off video=radeonfb:off gives the best splash results on boot, but has no effect on shutdown.