FS#23141 - [kernel26 | xf86-video-ati] Early KMS start with Radeon R100 card

Attached to Project: Arch Linux
Opened by Daniel (Doehni) - Saturday, 05 March 2011, 01:07 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 07 June 2011, 08:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When following the ATI Wiki for KMS, the late start approach works perfectly.

I tried getting the early start working and opened this now resolved bug:
https://bugs.freedesktop.org/show_bug.cgi?id=34192
There, I compiled my own kernel. I had to include the graphic card's firmware and AGP_ATI; I excluded the FB_RADEON module.
This are the relevant kernel config options:
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/R100_cp.bin radeon/R200_cp.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
# CONFIG_FB_RADEON is not set
CONFIG_AGP_ATI=y

My problem: As the early start for KMS does in fact work, is there a bug in mkinitcpio?

Additional info:
* package version(s) up to date:
kernel26 2.6.37.2-1
ati-dri 7.10.1-1
xf86-video-ati 6.14.0-1

* config and/or log files etc.


Steps to reproduce:
Enable the early KMS start method for ATI Technologies Inc Radeon IGP 330M/340M/350M (ATI Radeon 7500 Mobility)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 07 June 2011, 08:23 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Jelle van der Waa (jelly) - Sunday, 05 June 2011, 11:06 GMT
any update?
Comment by Daniel (Doehni) - Monday, 06 June 2011, 14:01 GMT
Nope, direct rendering still only works with late KMS start...
Comment by Jan de Groot (JGC) - Monday, 06 June 2011, 14:45 GMT
The wiki says:
"Add radeon to MODULES array in /etc/mkinitcpio.conf. Depending on motherboard chipset, it may be necessary to add intel_agp before the radeon module."

Did you try to load the *_agp module for your chipset in front of the radeon module? The way our initramfs works, the modules you specify are loaded first, after that it will run autodetection to load the agp modules. That setup is unsupported, as the radeon initialisation doesn't work without an AGP driver.
Comment by Daniel (Doehni) - Monday, 06 June 2011, 16:07 GMT
All right, now I feel really dumb! ;)
It works, with ait_agp instead of intel_agp before radeon:

[...] ati_agp radeon

Thanks for your help!! :)

Loading...