You are not logged in.

#1151 2010-04-13 21:55:39

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

Are you using the early start method for KMS? Then read this part in the wiki: http://wiki.archlinux.org/index.php/Ati … _.28KMS.29

Yes I had followed that, but the only section I havn't done is:

radeon-initrd from AUR and add radeon to HOOKS array in /etc/mkinitcpio.conf.

I will try that.

Cheers,
B

Offline

#1152 2010-04-13 21:57:08

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Discussion: the ati/radeon open source drivers & radeon repository

@bmentink:
No, the radeon firmware is not part or the standard repositories.

Look here:
http://aur.archlinux.org/packages.php?ID=33016

And here:
http://aur.archlinux.org/packages.php?ID=31708

Although I think that yaourt will grab those packages automatically.

One possible reason for your error message could be missing firmware files when you build your initial ramdisk. This is actually step 3 in "early KMS start" as described in the wiki. I had the same issue under Ubuntu when I forgot to rebuild the initial ramdisk lol

Re-generate your initramfs:
# mkinitcpio -p kernel26

Reason: The kernel has no access to the file system where the ucode is stored at boot time.

Last edited by Darksoul71 (2010-04-13 22:04:58)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#1153 2010-04-13 22:05:13

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

I fill in a bug report: http://bugs.archlinux.org/task/19083

/edit: my bugreport was closed (duplicate of http://bugs.archlinux.org/task/19007)

this firmware is non-free. You can install it manually from AUR (radeon-firmware)

Then i don't understand why the devs enabled KMS by default. So the users have to install a package from AUR to get gpu acceleration mad.

/edit2: I read this licence file: http://people.freedesktop.org/~agd5f/ra … NSE.radeon
And as i understand this firmware is free roll

Last edited by Perry3D (2010-04-13 23:00:22)

Offline

#1154 2010-04-14 01:49:03

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Discussion: the ati/radeon open source drivers & radeon repository

@Darksoul71 You were right on the money! ... I had forgotten to do that step after I got the radeon_ucode firmware.

Thanks,

@Perry3D I agree, what are they thinking ... when all the stable packages won't give you a working 3D unless you get the firmware from AUR.

Cheers,
Bernie

Offline

#1155 2010-04-14 02:10:24

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Discussion: the ati/radeon open source drivers & radeon repository

so what is new now is dave airle's kernel branch no longer current?


Acer Aspire V5-573P Antergos KDE

Offline

#1156 2010-04-14 05:05:00

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Discussion: the ati/radeon open source drivers & radeon repository

@bmentik: You are welcome ! This made me searching for two day also unless I posted over at the Ubuntuusers forum and someone gave me the hint  neutral

@Perry3D: I think the mayor "problem" with those firmware files is that they are not free in terms of open source.
All in all we are talking about binary files. I can understand this issue. Its the same as about any propritary driver (e.g. fglrx). As far as I understood the radeonhd driver were/are a try to get a working 3D driver without using those files (= ATOM BIOS).

Speaking from the user perspective I do not care too much and would like to have 3D support working without any files from AUR involved. But this is just a very limited point of view and I am happy that we now have at least some sort of alternative compared to fglrx.


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#1157 2010-04-14 07:43:39

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

But what is the difference to the other firmware files that are in the core repository? They are also non-open-source. And we have other binary drivers in the repo (nvidia for example).
@I think it is vice versa: radeonhd is using the atom bios.

Offline

#1158 2010-04-14 08:31:39

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

But what is the difference to the other firmware files that are in the core repository? They are also non-open-source. And we have other binary drivers in the repo (nvidia for example).

Agreed ! While I understand that archlinux is considered a "hands on" Linux I still would like to see working 3D with the radeon drivers "out of the box". Esp. since fglrx is not officially supported anymore. neutral

Removing the closed source driver on one hand while relying on a user repository for some firmware files to get 3D working with the only alternative (radeon) on the other hand seems not very slick to me. At least within the wiki there should be a big red & orange blinking link to the firmware package wink

Last edited by Darksoul71 (2010-04-14 09:05:28)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#1159 2010-04-14 09:41:54

redkiwi
Member
From: Austria
Registered: 2009-12-29
Posts: 13

Re: Discussion: the ati/radeon open source drivers & radeon repository

The R600_rlc.bin and R700_rlc.bin firmware-files are available in Ubuntu 10.04 Beta 2 and openSUSE 11.3 Milestone 5 Live-CDs.

Currently i'm downloading Fedora 13 Beta Live-CD for testing...

In my opinion, it should also be available in Arch Linux (maybe in extra).

(My graphics card is a ATi Radeon HD 4350 and the ucode firmware files from (http://aur.archlinux.org/packages.php?ID=33016) works fine.)



:edit
Screenshot from Fedora 13 Beta Live-CD
http://img35.imageshack.us/img35/7554/fedora.png

Looks like all major distributions have the radeon firmware included.

Last edited by redkiwi (2010-04-14 11:27:43)

Offline

#1160 2010-04-14 13:02:15

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Discussion: the ati/radeon open source drivers & radeon repository

redkiwi wrote:

...
Looks like all major distributions have the radeon firmware included.

Yes, I can second that. For Sidux (Debian Sid based) those firmware files are also available in the "non-free" repository.


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#1161 2010-04-14 14:33:04

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Have you tried filing a bug report? smile


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1162 2010-04-15 04:20:57

endlessroad1991
Member
Registered: 2010-02-02
Posts: 28

Re: Discussion: the ati/radeon open source drivers & radeon repository

GUYS!!!!!!!!!!!!!!!!!!!

I can't help myself telling you this:
http://git.kernel.org/?p=linux/kernel/g … esting-pm2
A new branch in drm-next git tree, called drm-radeon-testing-pm2, it contains the latest pm2 patches.
Look at the last patch:
http://git.kernel.org/?p=linux/kernel/g … cb12eebbb6
This patch will make pm work even better then now!!

Last edited by endlessroad1991 (2010-04-15 04:21:18)

Offline

#1163 2010-04-15 07:17:17

redkiwi
Member
From: Austria
Registered: 2009-12-29
Posts: 13

Re: Discussion: the ati/radeon open source drivers & radeon repository

@Cdh
done by Perry3D

@ endlessroad1991
Good news for pm smile


i hope the maintainers can put the radeon firmware-files in kernel26-firmware.
Searching in the Wiki or directly AUR for working gpu acceleration is then unnecessary.
(Fedora, openSUSE, Ubuntu uses these firmware-files on the default installation.)

Last edited by redkiwi (2010-04-15 08:22:37)

Offline

#1164 2010-04-15 11:04:10

lman
Member
From: CZ
Registered: 2007-12-18
Posts: 255

Re: Discussion: the ati/radeon open source drivers & radeon repository

@Perry3D:
Could you please update the git kernel to rc4?
Thanks

Offline

#1165 2010-04-15 11:30:33

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Sure.  This evening i will update the git kernel and kernel26-pm (switch to the new branch).

Offline

#1166 2010-04-15 17:37:48

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

kernel26-git is updated.
kernel26-pm switched to the new branch mentioned by endlessroad.
I quote the last commit wink

drm/radeon/kms: rework power management

This patch reworks the power management to more
closely match how the power management was originally
designed to work.  The driver now exposes power states
via sysfs for static state changes and provides for dynamic
reclocking for systems with multiple clock modes.

3 sysfs device attributes are exposed:
- power_state.  This allows a user to change
  the power state directly. Echo the power state index
  to thr attribute to enable that power state.
- clock_mode.  For power_states that provide multiple
  clock modes, this allows the user to select between
  them.  Echo the clock mode index to the attribute
  to enable that clock mode.
- dynamic_sclk.  Enabling this attribute dynamically
  switches between the clock modes in a particular
  power state.  Note that is option is only relevant
  on systems with multiple clock modes per power
  state.  Echo 1 to enable, 0 to disable.

This patch also enables the misc features associated
with power states such dynamic voltage and sclk control.
A new asic callback, pm_misc(), enables these features.

There is also a new pm_start() callback for hw initialization
needed for power management.

TODO:
- clean up the sysfs interface so it's easier to use.
- hook in AD/DC/battery events so the driver will change
  states automatically.
- test on more hardware.

Offline

#1167 2010-04-15 17:43:36

pbnan
Member
From: Poland
Registered: 2009-09-27
Posts: 11

Re: Discussion: the ati/radeon open source drivers & radeon repository

@Perry3D: Could you provide your PKGBUILDs? I'm on i686 so I can't use your repo. Thanks in advance.

Offline

#1168 2010-04-15 18:14:30

dejavu
Member
Registered: 2008-05-26
Posts: 103

Re: Discussion: the ati/radeon open source drivers & radeon repository

thanks a lot perry3d...
when will we see the changes of kernel26-pm?

Offline

#1169 2010-04-15 18:21:10

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

mesa-full: http://dl.dropbox.com/u/4832298/x86_64/ … src.tar.gz
kernel26-pm: http://dl.dropbox.com/u/4832298/x86_64/ … src.tar.gz
kernel26-drm-radeon-testing: http://dl.dropbox.com/u/4832298/x86_64/ … src.tar.gz

/edit: @dejavu: It is updated. I already found the sys-files to control the power states.

Last edited by Perry3D (2010-04-15 18:22:57)

Offline

#1170 2010-04-16 01:06:49

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Discussion: the ati/radeon open source drivers & radeon repository

i think I am very confused....which kernel is the the best to be used for r600 for laptops?


Acer Aspire V5-573P Antergos KDE

Offline

#1171 2010-04-16 07:11:16

lman
Member
From: CZ
Registered: 2007-12-18
Posts: 255

Re: Discussion: the ati/radeon open source drivers & radeon repository

hdmi still not working sad

Offline

#1172 2010-04-16 10:49:44

dejavu
Member
Registered: 2008-05-26
Posts: 103

Re: Discussion: the ati/radeon open source drivers & radeon repository

@venky80:
i think probably the kernel26-pm
but unfortunately we have to wait till the new version will be uploaded...

Offline

#1173 2010-04-16 11:03:16

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Ups, i uploaded the new kernel but forget to add it to the repo. One moment pls roll.

/edit: done smile

Last edited by Perry3D (2010-04-16 11:11:07)

Offline

#1174 2010-04-16 14:26:11

dejavu
Member
Registered: 2008-05-26
Posts: 103

Re: Discussion: the ati/radeon open source drivers & radeon repository

Nice...
I thought about this small mistake...
Bad that you can't browse through dropbox... ;-)

Offline

#1175 2010-04-17 03:04:30

endlessroad1991
Member
Registered: 2010-02-02
Posts: 28

Re: Discussion: the ati/radeon open source drivers & radeon repository

kernel26-pm is a great news to me~~
by "echo 2 > /sys/class/drm/card0/device/power_state"
(power_state 2 of my card is battery mode)
I finally avoid the annoying endless fan noise~~

Last edited by endlessroad1991 (2010-04-17 03:04:46)

Offline

Board footer

Powered by FluxBB