public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Radeon HD 4350 benchmark
@ 2011-02-21  4:09 James
  2011-02-21  4:27 ` [gentoo-user] " James
  2011-02-22 15:07 ` [gentoo-user] " Marc Joliet
  0 siblings, 2 replies; 9+ messages in thread
From: James @ 2011-02-21  4:09 UTC (permalink / raw
  To: gentoo-user

Ok,

so I have this card in pretty much equal AMD64 systems:
ATI Technologies Inc RV710 [Radeon HD 4350].

One system is running ATI drivers and the video game
I use to test performance is bzflag; it runs just fine.

The second system had an ATI X1900 card but was replace
with an identical card as the system above (HD 4350).
I followed the gentoo guides on this migration from ATI
to Radeon driver, but could have muck things up.
BZflag runs so slow it get's about every frame. glxgears
has a score of 80 with the radeon driver and a kms
kernel.

When booting (drm RV710) microcode takes about a full minute
to load. Strangely long, but it boots and kde is fine. I turned
off nepomuk services. Both systems use hal, if that makes
any difference...

eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel 965, G/Q3x, G/Q4x)
64bit r300 (Radeon R300-R500)
  [1]   classic *
  [2]   gallium
64bit r600 (Radeon R600-R700, Evergreen)
  [1]   classic *
  [2]   gallium
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
32bit r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
32bit r600 (Radeon R600-R700, Evergreen)
  [1]   classic *
  [2]   gallium
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


There is not xorg.conf file being used, so maybe
I need a minimal xorg.conf to get 3D acceleration
working?

Any benchmarks that run under both drivers that the 
sytems both have 2G or ram on dual processor; one
is 2.4GHz the other is 2.2GHz otherwise identical.

I think I munge up the /lib/radeon part of setting up
the kernel (kms) for loading the microcode, but, I cannot
seem to fine a url or thread where instructions are
for that.... (even though I did find it over a week ago
in another thread).

In the kernel, under the Generic section, I have:
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

Correct?

Ideas?


James




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: Radeon HD 4350 benchmark
  2011-02-21  4:09 [gentoo-user] Radeon HD 4350 benchmark James
@ 2011-02-21  4:27 ` James
  2011-02-21 12:16   ` Mick
  2011-02-22 15:07 ` [gentoo-user] " Marc Joliet
  1 sibling, 1 reply; 9+ messages in thread
From: James @ 2011-02-21  4:27 UTC (permalink / raw
  To: gentoo-user

James <wireless <at> tampabay.rr.com> writes:


> In the kernel, under the Generic section, I first tried:
> CONFIG_FW_LOADER=y
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="radeon"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

Ok so dmeg says that drm failed. I edited the .config
file, using vi, to:
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/radeon"

Rebuilt the kernel (make && make modules_install)
and rebooted the latest kernel.

Now I get this error message in dmesg:

[drm] Loading RV710 Microcode
r600_cp: Failed to load firmware "radeon/R700_rlc.bin"
[drm:rv770_startup] *ERROR* Failed to load firmware!
radeon 0000:01:00.0: disabling GPU acceleration

so it's definitely a firmware loading malfunction.

Any guidance is appreciated.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Radeon HD 4350 benchmark
  2011-02-21  4:27 ` [gentoo-user] " James
@ 2011-02-21 12:16   ` Mick
  2011-02-21 19:03     ` [gentoo-user] FIXED: Radeon HD 4350 James
  2011-02-22  7:36     ` [gentoo-user] Re: Radeon HD 4350 benchmark Thanasis
  0 siblings, 2 replies; 9+ messages in thread
From: Mick @ 2011-02-21 12:16 UTC (permalink / raw
  To: gentoo-user

On 21 February 2011 04:27, James <wireless@tampabay.rr.com> wrote:
> James <wireless <at> tampabay.rr.com> writes:
>
>
>> In the kernel, under the Generic section, I first tried:
>> CONFIG_FW_LOADER=y
>> CONFIG_FIRMWARE_IN_KERNEL=y
>> CONFIG_EXTRA_FIRMWARE="radeon"
>> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

This should have been:

# cat /usr/src/linux/.config | grep -i FIRMWARE
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
CONFIG_FIRMWARE_EDID=y
# Firmware Drivers
CONFIG_FIRMWARE_MEMMAP=y


Also, check that you have the R700_rlc.bin in place:

ls -la /lib/firmware/radeon/R700_rlc.bin
-rw-r--r-- 1 root root 4096 Feb 15 19:40 /lib/firmware/radeon/R700_rlc.bin

and emerge x11-drivers/radeon-ucode if it's not already there.
-- 
Regards,
Mick



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] FIXED: Radeon HD 4350
  2011-02-21 12:16   ` Mick
@ 2011-02-21 19:03     ` James
  2011-02-22  7:36     ` [gentoo-user] Re: Radeon HD 4350 benchmark Thanasis
  1 sibling, 0 replies; 9+ messages in thread
From: James @ 2011-02-21 19:03 UTC (permalink / raw
  To: gentoo-user

Mick <michaelkintzios <at> gmail.com> writes:


> # cat /usr/src/linux/.config | grep -i FIRMWARE
> CONFIG_PREVENT_FIRMWARE_BUILD=y
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="radeon/R700_rlc.bin"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
> CONFIG_FIRMWARE_EDID=y
> # Firmware Drivers
> CONFIG_FIRMWARE_MEMMAP=y

Fixed!
Done!
Thx!
YES!
Need more lines in the replay
so Gmane will allow post
braindead....

James





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Radeon HD 4350 benchmark
  2011-02-21 12:16   ` Mick
  2011-02-21 19:03     ` [gentoo-user] FIXED: Radeon HD 4350 James
@ 2011-02-22  7:36     ` Thanasis
       [not found]       ` <AANLkTimeYnh3s7kdHSXc750C-63dO4VKioJ7Ch_MMjjh@mail.gmail.com>
  2011-02-23 14:49       ` James
  1 sibling, 2 replies; 9+ messages in thread
From: Thanasis @ 2011-02-22  7:36 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

on 02/21/2011 02:16 PM Mick wrote the following:
> On 21 February 2011 04:27, James <wireless@tampabay.rr.com> wrote:
>> James <wireless <at> tampabay.rr.com> writes:
>>
>>
>>> In the kernel, under the Generic section, I first tried:
>>> CONFIG_FW_LOADER=y
>>> CONFIG_FIRMWARE_IN_KERNEL=y
>>> CONFIG_EXTRA_FIRMWARE="radeon"
>>> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
> This should have been:
>
> # cat /usr/src/linux/.config | grep -i FIRMWARE
> CONFIG_PREVENT_FIRMWARE_BUILD=y
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="radeon/R700_rlc.bin"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
> CONFIG_FIRMWARE_EDID=y
> # Firmware Drivers
> CONFIG_FIRMWARE_MEMMAP=y
>
>
> Also, check that you have the R700_rlc.bin in place:
>
> ls -la /lib/firmware/radeon/R700_rlc.bin
> -rw-r--r-- 1 root root 4096 Feb 15 19:40 /lib/firmware/radeon/R700_rlc.bin
>
> and emerge x11-drivers/radeon-ucode if it's not already there.
How do we know which firmware file to load for which graphics card?
(I have a Sapphire HD 5770 1GB GDDR5)



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Radeon HD 4350 benchmark
       [not found]       ` <AANLkTimeYnh3s7kdHSXc750C-63dO4VKioJ7Ch_MMjjh@mail.gmail.com>
@ 2011-02-22 13:11         ` Thanasis
  0 siblings, 0 replies; 9+ messages in thread
From: Thanasis @ 2011-02-22 13:11 UTC (permalink / raw
  To: Mick; +Cc: gentoo-user List

on 02/22/2011 01:27 PM Mick wrote the following:
> 2011/2/22 Thanasis <thanasis@asyr.hopto.org>:
>
>> How do we know which firmware file to load for which graphics card?
>> (I have a Sapphire HD 5770 1GB GDDR5)
>>
>
> I suspect it requires the JUNIPER_rlc.bin
>
> Check your dmesg/lspci/lshw for info on the chipset.
>
a section of the output of lswh shows:

*-display
                description: VGA compatible controller
                product: Juniper [Radeon HD 5700 Series]
                vendor: ATI Technologies Inc
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi vga_controller
bus_master cap_list rom
                configuration: driver=radeon latency=0
                resources: irq:43 memory:d0000000-dfffffff
memory:fe8c0000-fe8dffff ioport:b000(size=256) memory:fe8a0000-fe8bffff
*-multimedia
                description: Audio device
                product: Juniper HDMI Audio [Radeon HD 5700 Series]
                vendor: ATI Technologies Inc
                physical id: 0.1
                bus info: pci@0000:01:00.1
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=HDA Intel latency=0
                resources: irq:44 memory:fe8fc000-fe8fffff

So it's probably the one you say, but in /lib64/firmware/radeon there are:
JUNIPER_me.bin
JUNIPER_pfp.bin
JUNIPER_rlc.bin
What is the difference between them?
And which package owns them? Because equery shows nothing.

equery b /lib64/firmware/radeon/JUNIPER_*
 * Searching for
/lib64/firmware/radeon/JUNIPER_me.bin,/lib64/firmware/radeon/JUNIPER_pfp.bin,/lib64/firmware/radeon/JUNIPER_rlc.bin
...
#




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Radeon HD 4350 benchmark
  2011-02-21  4:09 [gentoo-user] Radeon HD 4350 benchmark James
  2011-02-21  4:27 ` [gentoo-user] " James
@ 2011-02-22 15:07 ` Marc Joliet
  1 sibling, 0 replies; 9+ messages in thread
From: Marc Joliet @ 2011-02-22 15:07 UTC (permalink / raw
  To: Gentoo-User ML

[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]

Am Mon, 21 Feb 2011 04:09:27 +0000 (UTC)
schrieb James <wireless@tampabay.rr.com>:

> Ok,
> 
> so I have this card in pretty much equal AMD64 systems:
> ATI Technologies Inc RV710 [Radeon HD 4350].

I have an RV730 (Radeon HD 4650).

[...]
> 
> I think I munge up the /lib/radeon part of setting up
> the kernel (kms) for loading the microcode, but, I cannot
> seem to fine a url or thread where instructions are
> for that.... (even though I did find it over a week ago
> in another thread).

You already solved your problem, but this might be useful for future reference:
http://www.x.org/wiki/radeonBuildHowTo#TroubleshootingExtraFirmwareforR600.2BAC8-R700.2BAC8-Evergreen

> In the kernel, under the Generic section, I have:
> CONFIG_FW_LOADER=y
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="radeon"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
> 
> Correct?
> 
> Ideas?

This thread got me to recheck my setup, and it appears that you do not need to
set up the firmware stuff in the kernel at all. My kernel setup:

    >> (0) % zgrep -i firmware /proc/config.gz 
    CONFIG_PREVENT_FIRMWARE_BUILD=y
    # CONFIG_FIRMWARE_IN_KERNEL is not set
    CONFIG_EXTRA_FIRMWARE=""
    # CONFIG_FIRMWARE_EDID is not set
    # Firmware Drivers
    CONFIG_FIRMWARE_MEMMAP=y

The microcode is loaded automatically:

    marcec marcec # dmesg|grep -i microcode
    [drm] Loading RV730 Microcode

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: Radeon HD 4350 benchmark
  2011-02-22  7:36     ` [gentoo-user] Re: Radeon HD 4350 benchmark Thanasis
       [not found]       ` <AANLkTimeYnh3s7kdHSXc750C-63dO4VKioJ7Ch_MMjjh@mail.gmail.com>
@ 2011-02-23 14:49       ` James
  2011-02-23 16:07         ` Thanasis
  1 sibling, 1 reply; 9+ messages in thread
From: James @ 2011-02-23 14:49 UTC (permalink / raw
  To: gentoo-user

Thanasis <thanasis <at> asyr.hopto.org> writes:

> How do we know which firmware file to load for which graphics card?
> (I have a Sapphire HD 5770 1GB GDDR5)

Emerge the radeon-ucode package and it will list the firmware
(/lib/firmware/readeon)

Or look here.

http://people.freedesktop.org/~agd5f/radeon_ucode/


Also, although I cannot find it now, there is a url that list
the processors and the corresponding firmware "nick names".


Last, how do you like your card? I'm getting a fanless version
with DDR5! (Sapphire fanless Radeon HD5670)


http://www.newegg.com/Product/Product.aspx?Item=N82E16814102902

hth,
James





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Radeon HD 4350 benchmark
  2011-02-23 14:49       ` James
@ 2011-02-23 16:07         ` Thanasis
  0 siblings, 0 replies; 9+ messages in thread
From: Thanasis @ 2011-02-23 16:07 UTC (permalink / raw
  To: gentoo-user; +Cc: James

on 02/23/2011 04:49 PM James wrote the following:
> Thanasis <thanasis <at> asyr.hopto.org> writes:
>
>> How do we know which firmware file to load for which graphics card?
>> (I have a Sapphire HD 5770 1GB GDDR5)
>
> Emerge the radeon-ucode package and it will list the firmware
> (/lib/firmware/readeon)
>
> Or look here.
>
> http://people.freedesktop.org/~agd5f/radeon_ucode/
>
Thanks.
>
> Also, although I cannot find it now, there is a url that list
> the processors and the corresponding firmware "nick names".
>
>
> Last, how do you like your card? I'm getting a fanless version
> with DDR5! (Sapphire fanless Radeon HD5670)
>
>
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814102902
>
> hth,
> James
I like the card, it's quite powerful for its value ($), but still, one
has to think twice,... I would prefer nvidia for the drivers! :-)



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-23 17:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21  4:09 [gentoo-user] Radeon HD 4350 benchmark James
2011-02-21  4:27 ` [gentoo-user] " James
2011-02-21 12:16   ` Mick
2011-02-21 19:03     ` [gentoo-user] FIXED: Radeon HD 4350 James
2011-02-22  7:36     ` [gentoo-user] Re: Radeon HD 4350 benchmark Thanasis
     [not found]       ` <AANLkTimeYnh3s7kdHSXc750C-63dO4VKioJ7Ch_MMjjh@mail.gmail.com>
2011-02-22 13:11         ` Thanasis
2011-02-23 14:49       ` James
2011-02-23 16:07         ` Thanasis
2011-02-22 15:07 ` [gentoo-user] " Marc Joliet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox