All of lore.kernel.org
 help / color / mirror / Atom feed
* UVD fails to init on rv790
@ 2013-04-03  9:51 Andy Furniss
  2013-04-03 11:29 ` Christian König
  0 siblings, 1 reply; 9+ messages in thread
From: Andy Furniss @ 2013-04-03  9:51 UTC (permalink / raw)
  To: dri-devel

Thanks AMD for getting this out :-)

I have an issue, though.

On HD4890 drm-fixes kernel (before yesterdays updates) got the new

R700_rlc.bin
RV770_uvd.bin

but on boot I get -

[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV770 0x1002:0x9460 0x1682:0x2700).
[drm] register mmio base: 0xFE6F0000
[drm] register mmio size: 65536
ATOM BIOS: Wekiva
radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF 
(1024M used)
radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 256bits DDR
[TTM] Zone  kernel: Available graphics memory: 436936 kiB
[TTM] Zone highmem: Available graphics memory: 1685484 kiB
[TTM] Initializing pool allocator
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
radeon 0000:01:00.0: irq 51 for MSI/MSI-X
radeon 0000:01:00.0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] probing gen 2 caps for device 1022:9603 = 300d02/0
[drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[drm] Loading RV770 Microcode
[drm] PCIE GART of 512M enabled (table at 0x0000000000257000).
radeon 0000:01:00.0: WB enabled
radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 
0x0000000040000c00 and cpu addr 0xff893c00
radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 
0x0000000040000c0c and cpu addr 0xff893c0c
radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 
0x000000000005632c and cpu addr 0xfbb9632c
[drm] ring test on 0 succeeded in 1 usecs
[drm] ring test on 3 succeeded in 1 usecs
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!
[drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!!
[drm:rv770_startup] *ERROR* radeon: failed initializing UVD (-1).
[drm] Enabling audio support
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
ALSA sound/pci/hda/hda_eld.c:334 HDMI: ELD buf size is 0, force 128
ALSA sound/pci/hda/hda_eld.c:351 HDMI: invalid ELD data byte 0
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DVI-I-1
[drm]   HPD2
[drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY
[drm]     CRT2: INTERNAL_KLDSCP_DAC2
[drm] Connector 1:
[drm]   DIN-1
[drm]   Encoders:
[drm]     TV1: INTERNAL_KLDSCP_DAC2
[drm] Connector 2:
[drm]   DVI-I-2
[drm]   HPD1
[drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm]     DFP2: INTERNAL_KLDSCP_LVTMA
[drm] Internal thermal controller with fan control
[drm] radeon: power management initialized
[drm] fb mappable at 0xD0359000
[drm] vram apper at 0xD0000000
[drm] size 8294400
[drm] fb depth is 24
[drm]    pitch is 7680
fbcon: radeondrmfb (fb0) is primary device
Console: switching to colour frame buffer device 240x67
radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
radeon 0000:01:00.0: registered panic notifier
[drm] Initialized radeon 2.30.0 20080528 for 0000:01:00.0 on minor 0

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

* Re: UVD fails to init on rv790
@ 2013-04-03 11:26 K. Schnass
  0 siblings, 0 replies; 9+ messages in thread
From: K. Schnass @ 2013-04-03 11:26 UTC (permalink / raw)
  To: dri-devel

> Thanks AMD for getting this out :-)
+1

> I have an issue, though.
;( +1

Exactly the same problem but on a RV770! Noticed that the RV710_uvd.bin is 
some 20kb bigger than the RV770 one so maybe that is the problem?

lspci -nnv:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI 
RV770 [Radeon HD 4850] [1002:9442] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited Device [174b:e104]
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at feaf0000 (64-bit, non-prefetchable) [size=64K]
        I/O ports at d000 [size=256]
        Expansion ROM at feac0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 
<?>
        Kernel driver in use: radeon

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

* Re: UVD fails to init on rv790
  2013-04-03  9:51 UVD fails to init on rv790 Andy Furniss
@ 2013-04-03 11:29 ` Christian König
  2013-04-03 13:21   ` Alex Deucher
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Christian König @ 2013-04-03 11:29 UTC (permalink / raw)
  To: Andy Furniss; +Cc: dri-devel

Hi Andy,

crap! I feared that something like this would happen. IIRC we never 
tested UVD on an rv790, and this hardware isn't easy to get any more.

RV770/RV790 have a separate UVD hardware generation (that's why they 
have their own firmware) and there possible is some bug or something 
like this that we haven't implemented. You couldn't give me SSH access 
to that system?

Christian.

Am 03.04.2013 11:51, schrieb Andy Furniss:
> Thanks AMD for getting this out :-)
>
> I have an issue, though.
>
> On HD4890 drm-fixes kernel (before yesterdays updates) got the new
>
> R700_rlc.bin
> RV770_uvd.bin
>
> but on boot I get -
>
> [drm] radeon kernel modesetting enabled.
> [drm] initializing kernel modesetting (RV770 0x1002:0x9460 
> 0x1682:0x2700).
> [drm] register mmio base: 0xFE6F0000
> [drm] register mmio size: 65536
> ATOM BIOS: Wekiva
> radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 
> 0x000000003FFFFFFF (1024M used)
> radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
> [drm] Detected VRAM RAM=1024M, BAR=256M
> [drm] RAM width 256bits DDR
> [TTM] Zone  kernel: Available graphics memory: 436936 kiB
> [TTM] Zone highmem: Available graphics memory: 1685484 kiB
> [TTM] Initializing pool allocator
> [drm] radeon: 1024M of VRAM memory ready
> [drm] radeon: 512M of GTT memory ready.
> [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [drm] Driver supports precise vblank timestamp query.
> radeon 0000:01:00.0: irq 51 for MSI/MSI-X
> radeon 0000:01:00.0: radeon: using MSI.
> [drm] radeon: irq initialized.
> [drm] GART: num cpu pages 131072, num gpu pages 131072
> [drm] probing gen 2 caps for device 1022:9603 = 300d02/0
> [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
> [drm] Loading RV770 Microcode
> [drm] PCIE GART of 512M enabled (table at 0x0000000000257000).
> radeon 0000:01:00.0: WB enabled
> radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 
> 0x0000000040000c00 and cpu addr 0xff893c00
> radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 
> 0x0000000040000c0c and cpu addr 0xff893c0c
> radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 
> 0x000000000005632c and cpu addr 0xfbb9632c
> [drm] ring test on 0 succeeded in 1 usecs
> [drm] ring test on 3 succeeded in 1 usecs
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the 
> VCPU!!!
> [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!!
> [drm:rv770_startup] *ERROR* radeon: failed initializing UVD (-1).
> [drm] Enabling audio support
> [drm] ib test on ring 0 succeeded in 0 usecs
> [drm] ib test on ring 3 succeeded in 0 usecs
> ALSA sound/pci/hda/hda_eld.c:334 HDMI: ELD buf size is 0, force 128
> ALSA sound/pci/hda/hda_eld.c:351 HDMI: invalid ELD data byte 0
> [drm] Radeon Display Connectors
> [drm] Connector 0:
> [drm]   DVI-I-1
> [drm]   HPD2
> [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
> [drm]   Encoders:
> [drm]     DFP1: INTERNAL_UNIPHY
> [drm]     CRT2: INTERNAL_KLDSCP_DAC2
> [drm] Connector 1:
> [drm]   DIN-1
> [drm]   Encoders:
> [drm]     TV1: INTERNAL_KLDSCP_DAC2
> [drm] Connector 2:
> [drm]   DVI-I-2
> [drm]   HPD1
> [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
> [drm]   Encoders:
> [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
> [drm] Internal thermal controller with fan control
> [drm] radeon: power management initialized
> [drm] fb mappable at 0xD0359000
> [drm] vram apper at 0xD0000000
> [drm] size 8294400
> [drm] fb depth is 24
> [drm]    pitch is 7680
> fbcon: radeondrmfb (fb0) is primary device
> Console: switching to colour frame buffer device 240x67
> radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
> radeon 0000:01:00.0: registered panic notifier
> [drm] Initialized radeon 2.30.0 20080528 for 0000:01:00.0 on minor 0
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>

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

* Re: UVD fails to init on rv790
  2013-04-03 11:29 ` Christian König
@ 2013-04-03 13:21   ` Alex Deucher
  2013-04-03 20:45     ` Dieter Nützel
  2013-04-03 13:37   ` Andy Furniss
  2013-04-03 21:40   ` Andreas Boll
  2 siblings, 1 reply; 9+ messages in thread
From: Alex Deucher @ 2013-04-03 13:21 UTC (permalink / raw)
  To: Christian König; +Cc: dri-devel

On Wed, Apr 3, 2013 at 7:29 AM, Christian König <deathsimple@vodafone.de> wrote:
> Hi Andy,
>
> crap! I feared that something like this would happen. IIRC we never tested
> UVD on an rv790, and this hardware isn't easy to get any more.
>
> RV770/RV790 have a separate UVD hardware generation (that's why they have
> their own firmware) and there possible is some bug or something like this
> that we haven't implemented. You couldn't give me SSH access to that system?

I tested on an RV770 earlier in development and it was working ok at
the time I think.  I'll give it another try today.

Alex

>
> Christian.
>
> Am 03.04.2013 11:51, schrieb Andy Furniss:
>
>> Thanks AMD for getting this out :-)
>>
>> I have an issue, though.
>>
>> On HD4890 drm-fixes kernel (before yesterdays updates) got the new
>>
>> R700_rlc.bin
>> RV770_uvd.bin
>>
>> but on boot I get -
>>
>> [drm] radeon kernel modesetting enabled.
>> [drm] initializing kernel modesetting (RV770 0x1002:0x9460 0x1682:0x2700).
>> [drm] register mmio base: 0xFE6F0000
>> [drm] register mmio size: 65536
>> ATOM BIOS: Wekiva
>> radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
>> (1024M used)
>> radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
>> [drm] Detected VRAM RAM=1024M, BAR=256M
>> [drm] RAM width 256bits DDR
>> [TTM] Zone  kernel: Available graphics memory: 436936 kiB
>> [TTM] Zone highmem: Available graphics memory: 1685484 kiB
>> [TTM] Initializing pool allocator
>> [drm] radeon: 1024M of VRAM memory ready
>> [drm] radeon: 512M of GTT memory ready.
>> [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
>> [drm] Driver supports precise vblank timestamp query.
>> radeon 0000:01:00.0: irq 51 for MSI/MSI-X
>> radeon 0000:01:00.0: radeon: using MSI.
>> [drm] radeon: irq initialized.
>> [drm] GART: num cpu pages 131072, num gpu pages 131072
>> [drm] probing gen 2 caps for device 1022:9603 = 300d02/0
>> [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
>> [drm] Loading RV770 Microcode
>> [drm] PCIE GART of 512M enabled (table at 0x0000000000257000).
>> radeon 0000:01:00.0: WB enabled
>> radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
>> 0x0000000040000c00 and cpu addr 0xff893c00
>> radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
>> 0x0000000040000c0c and cpu addr 0xff893c0c
>> radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
>> 0x000000000005632c and cpu addr 0xfbb9632c
>> [drm] ring test on 0 succeeded in 1 usecs
>> [drm] ring test on 3 succeeded in 1 usecs
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!!
>> [drm:rv770_startup] *ERROR* radeon: failed initializing UVD (-1).
>> [drm] Enabling audio support
>> [drm] ib test on ring 0 succeeded in 0 usecs
>> [drm] ib test on ring 3 succeeded in 0 usecs
>> ALSA sound/pci/hda/hda_eld.c:334 HDMI: ELD buf size is 0, force 128
>> ALSA sound/pci/hda/hda_eld.c:351 HDMI: invalid ELD data byte 0
>> [drm] Radeon Display Connectors
>> [drm] Connector 0:
>> [drm]   DVI-I-1
>> [drm]   HPD2
>> [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
>> [drm]   Encoders:
>> [drm]     DFP1: INTERNAL_UNIPHY
>> [drm]     CRT2: INTERNAL_KLDSCP_DAC2
>> [drm] Connector 1:
>> [drm]   DIN-1
>> [drm]   Encoders:
>> [drm]     TV1: INTERNAL_KLDSCP_DAC2
>> [drm] Connector 2:
>> [drm]   DVI-I-2
>> [drm]   HPD1
>> [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
>> [drm]   Encoders:
>> [drm]     CRT1: INTERNAL_KLDSCP_DAC1
>> [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
>> [drm] Internal thermal controller with fan control
>> [drm] radeon: power management initialized
>> [drm] fb mappable at 0xD0359000
>> [drm] vram apper at 0xD0000000
>> [drm] size 8294400
>> [drm] fb depth is 24
>> [drm]    pitch is 7680
>> fbcon: radeondrmfb (fb0) is primary device
>> Console: switching to colour frame buffer device 240x67
>> radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
>> radeon 0000:01:00.0: registered panic notifier
>> [drm] Initialized radeon 2.30.0 20080528 for 0000:01:00.0 on minor 0
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: UVD fails to init on rv790
  2013-04-03 11:29 ` Christian König
  2013-04-03 13:21   ` Alex Deucher
@ 2013-04-03 13:37   ` Andy Furniss
  2013-04-03 21:40   ` Andreas Boll
  2 siblings, 0 replies; 9+ messages in thread
From: Andy Furniss @ 2013-04-03 13:37 UTC (permalink / raw)
  To: Christian König; +Cc: dri-devel

Christian König wrote:
> Hi Andy,
>
> crap! I feared that something like this would happen. IIRC we never
> tested UVD on an rv790, and this hardware isn't easy to get any more.
>
> RV770/RV790 have a separate UVD hardware generation (that's why they
> have their own firmware) and there possible is some bug or something
> like this that we haven't implemented. You couldn't give me SSH access
> to that system?

I can if you still need it this evening.

My stupid ISP has taken to blocking lots of things for their home users 
like git:// svn and nntp and I suspect it maybe the same for ssh.

The blocks are lifted at 20:00 local time (19:00 UTC) so I can mail you 
off list around then.

In the meantime I'll remember how to use iptables :-) and also repeat 
UVD patching/testing on a different boot in case I messed up.

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

* Re: UVD fails to init on rv790
  2013-04-03 13:21   ` Alex Deucher
@ 2013-04-03 20:45     ` Dieter Nützel
  2013-04-03 21:06       ` Alex Deucher
  0 siblings, 1 reply; 9+ messages in thread
From: Dieter Nützel @ 2013-04-03 20:45 UTC (permalink / raw)
  To: Alex Deucher; +Cc: Dri Devel

Am 2013-04-03 15:21, schrieb Alex Deucher:
> On Wed, Apr 3, 2013 at 7:29 AM, Christian König 
> <deathsimple@vodafone.de> wrote:
>> Hi Andy,
>> 
>> crap! I feared that something like this would happen. IIRC we never 
>> tested
>> UVD on an rv790, and this hardware isn't easy to get any more.
>> 
>> RV770/RV790 have a separate UVD hardware generation (that's why they 
>> have
>> their own firmware) and there possible is some bug or something like 
>> this
>> that we haven't implemented. You couldn't give me SSH access to that 
>> system?
> 
> I tested on an RV770 earlier in development and it was working ok at
> the time I think.  I'll give it another try today.
> 
> Alex


Hello Alex,

time goes by so fast --- wife, home, 2 children...

but what do I need:
I'll test it on my 2 HD4650/RV730 AGP (!) low speed Duron and dual 
Athlon MP.

git:// drm-fixes kernel
git:// mesa
patches

R700_rlc.bin
RV710_uvd.bin

BTW Any hints for libvdpau_r600.so.1.0.0?
I get wrong colors (red is like blue, blue is like yellow, etc.)

Thank you very much for all your GREAT work!
UVD - What a big day!

Regards,
   Dieter

--
The Voodoo5 5000 Dieter...-)
Anyone want's it? - I have the original package etc.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: UVD fails to init on rv790
  2013-04-03 20:45     ` Dieter Nützel
@ 2013-04-03 21:06       ` Alex Deucher
  2013-04-03 23:20         ` Dieter Nützel
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Deucher @ 2013-04-03 21:06 UTC (permalink / raw)
  To: Dieter Nützel; +Cc: Dri Devel

On Wed, Apr 3, 2013 at 4:45 PM, Dieter Nützel <dieter@nuetzel-hh.de> wrote:
> Am 2013-04-03 15:21, schrieb Alex Deucher:
>
>> On Wed, Apr 3, 2013 at 7:29 AM, Christian König <deathsimple@vodafone.de>
>> wrote:
>>>
>>> Hi Andy,
>>>
>>> crap! I feared that something like this would happen. IIRC we never
>>> tested
>>> UVD on an rv790, and this hardware isn't easy to get any more.
>>>
>>> RV770/RV790 have a separate UVD hardware generation (that's why they have
>>> their own firmware) and there possible is some bug or something like this
>>> that we haven't implemented. You couldn't give me SSH access to that
>>> system?
>>
>>
>> I tested on an RV770 earlier in development and it was working ok at
>> the time I think.  I'll give it another try today.
>>
>> Alex
>
>
>
> Hello Alex,
>
> time goes by so fast --- wife, home, 2 children...
>
> but what do I need:
> I'll test it on my 2 HD4650/RV730 AGP (!) low speed Duron and dual Athlon
> MP.
>
> git:// drm-fixes kernel
> git:// mesa
> patches
>
> R700_rlc.bin
> RV710_uvd.bin
>
> BTW Any hints for libvdpau_r600.so.1.0.0?
> I get wrong colors (red is like blue, blue is like yellow, etc.)
>

What are you testing with?  The adobe flash vdpau implementation
reverses the channels.  IIRC, newer versions of libvdpau have a
workaround for it.  I've generally been testing with mplayer.  mplayer
-vo vdpau -vc ffh264vdpau <file>

Alex

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

* Re: UVD fails to init on rv790
  2013-04-03 11:29 ` Christian König
  2013-04-03 13:21   ` Alex Deucher
  2013-04-03 13:37   ` Andy Furniss
@ 2013-04-03 21:40   ` Andreas Boll
  2 siblings, 0 replies; 9+ messages in thread
From: Andreas Boll @ 2013-04-03 21:40 UTC (permalink / raw)
  To: Christian König; +Cc: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 5460 bytes --]

FYI I get the same errors on rv770 (HD4870)

Andreas.


2013/4/3 Christian König <deathsimple@vodafone.de>

> Hi Andy,
>
> crap! I feared that something like this would happen. IIRC we never tested
> UVD on an rv790, and this hardware isn't easy to get any more.
>
> RV770/RV790 have a separate UVD hardware generation (that's why they have
> their own firmware) and there possible is some bug or something like this
> that we haven't implemented. You couldn't give me SSH access to that system?
>
> Christian.
>
> Am 03.04.2013 11:51, schrieb Andy Furniss:
>
>  Thanks AMD for getting this out :-)
>>
>> I have an issue, though.
>>
>> On HD4890 drm-fixes kernel (before yesterdays updates) got the new
>>
>> R700_rlc.bin
>> RV770_uvd.bin
>>
>> but on boot I get -
>>
>> [drm] radeon kernel modesetting enabled.
>> [drm] initializing kernel modesetting (RV770 0x1002:0x9460 0x1682:0x2700).
>> [drm] register mmio base: 0xFE6F0000
>> [drm] register mmio size: 65536
>> ATOM BIOS: Wekiva
>> radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
>> (1024M used)
>> radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
>> [drm] Detected VRAM RAM=1024M, BAR=256M
>> [drm] RAM width 256bits DDR
>> [TTM] Zone  kernel: Available graphics memory: 436936 kiB
>> [TTM] Zone highmem: Available graphics memory: 1685484 kiB
>> [TTM] Initializing pool allocator
>> [drm] radeon: 1024M of VRAM memory ready
>> [drm] radeon: 512M of GTT memory ready.
>> [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
>> [drm] Driver supports precise vblank timestamp query.
>> radeon 0000:01:00.0: irq 51 for MSI/MSI-X
>> radeon 0000:01:00.0: radeon: using MSI.
>> [drm] radeon: irq initialized.
>> [drm] GART: num cpu pages 131072, num gpu pages 131072
>> [drm] probing gen 2 caps for device 1022:9603 = 300d02/0
>> [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
>> [drm] Loading RV770 Microcode
>> [drm] PCIE GART of 512M enabled (table at 0x0000000000257000).
>> radeon 0000:01:00.0: WB enabled
>> radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
>> 0x0000000040000c00 and cpu addr 0xff893c00
>> radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
>> 0x0000000040000c0c and cpu addr 0xff893c0c
>> radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
>> 0x000000000005632c and cpu addr 0xfbb9632c
>> [drm] ring test on 0 succeeded in 1 usecs
>> [drm] ring test on 3 succeeded in 1 usecs
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the
>> VCPU!!!
>> [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!!
>> [drm:rv770_startup] *ERROR* radeon: failed initializing UVD (-1).
>> [drm] Enabling audio support
>> [drm] ib test on ring 0 succeeded in 0 usecs
>> [drm] ib test on ring 3 succeeded in 0 usecs
>> ALSA sound/pci/hda/hda_eld.c:334 HDMI: ELD buf size is 0, force 128
>> ALSA sound/pci/hda/hda_eld.c:351 HDMI: invalid ELD data byte 0
>> [drm] Radeon Display Connectors
>> [drm] Connector 0:
>> [drm]   DVI-I-1
>> [drm]   HPD2
>> [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
>> [drm]   Encoders:
>> [drm]     DFP1: INTERNAL_UNIPHY
>> [drm]     CRT2: INTERNAL_KLDSCP_DAC2
>> [drm] Connector 1:
>> [drm]   DIN-1
>> [drm]   Encoders:
>> [drm]     TV1: INTERNAL_KLDSCP_DAC2
>> [drm] Connector 2:
>> [drm]   DVI-I-2
>> [drm]   HPD1
>> [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
>> [drm]   Encoders:
>> [drm]     CRT1: INTERNAL_KLDSCP_DAC1
>> [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
>> [drm] Internal thermal controller with fan control
>> [drm] radeon: power management initialized
>> [drm] fb mappable at 0xD0359000
>> [drm] vram apper at 0xD0000000
>> [drm] size 8294400
>> [drm] fb depth is 24
>> [drm]    pitch is 7680
>> fbcon: radeondrmfb (fb0) is primary device
>> Console: switching to colour frame buffer device 240x67
>> radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
>> radeon 0000:01:00.0: registered panic notifier
>> [drm] Initialized radeon 2.30.0 20080528 for 0000:01:00.0 on minor 0
>> ______________________________**_________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.**org <dri-devel@lists.freedesktop.org>
>> http://lists.freedesktop.org/**mailman/listinfo/dri-devel<http://lists.freedesktop.org/mailman/listinfo/dri-devel>
>>
>>
> ______________________________**_________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.**org <dri-devel@lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/dri-devel<http://lists.freedesktop.org/mailman/listinfo/dri-devel>
>

[-- Attachment #1.2: Type: text/html, Size: 6170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: UVD fails to init on rv790
  2013-04-03 21:06       ` Alex Deucher
@ 2013-04-03 23:20         ` Dieter Nützel
  0 siblings, 0 replies; 9+ messages in thread
From: Dieter Nützel @ 2013-04-03 23:20 UTC (permalink / raw)
  To: Alex Deucher; +Cc: Dri Devel

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

Am 2013-04-03 23:06, schrieb Alex Deucher:
> On Wed, Apr 3, 2013 at 4:45 PM, Dieter Nützel <dieter@nuetzel-hh.de> 
> wrote:
>> Am 2013-04-03 15:21, schrieb Alex Deucher:
>> 
>>> On Wed, Apr 3, 2013 at 7:29 AM, Christian König 
>>> <deathsimple@vodafone.de>
>>> wrote:
>>>> 
>>>> Hi Andy,
>>>> 
>>>> crap! I feared that something like this would happen. IIRC we never
>>>> tested
>>>> UVD on an rv790, and this hardware isn't easy to get any more.
>>>> 
>>>> RV770/RV790 have a separate UVD hardware generation (that's why 
>>>> they have
>>>> their own firmware) and there possible is some bug or something 
>>>> like this
>>>> that we haven't implemented. You couldn't give me SSH access to 
>>>> that
>>>> system?
>>> 
>>> 
>>> I tested on an RV770 earlier in development and it was working ok at
>>> the time I think.  I'll give it another try today.
>>> 
>>> Alex
>> 
>> 
>> 
>> Hello Alex,
>> 
>> time goes by so fast --- wife, home, 2 children...
>> 
>> but what do I need:
>> I'll test it on my 2 HD4650/RV730 AGP (!) low speed Duron and dual 
>> Athlon
>> MP.
>> 
>> git:// drm-fixes kernel
>> git:// mesa
>> patches
>> 
>> R700_rlc.bin
>> RV710_uvd.bin
>> 
>> BTW Any hints for libvdpau_r600.so.1.0.0?
>> I get wrong colors (red is like blue, blue is like yellow, etc.)
>> 
> 
> What are you testing with?

Only mplayer (defaults to vdpau, really?) of course without UVD, 
currently.
Works much better on the slow children's Duron. I have ~10% idle left 
on our Duron 1800. Without vdpau lib together with HD4650 unplayable on 
this system.

/home/dieter> mplayer /data/Filme/Serenity\ -\ HD\ DVD\ Trailer.mp4
MPlayer dev-SVN-r35127-4.7-openSUSE Linux 12.2 (i586)-Packman (C) 
2000-2012 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /data/Filme/Serenity - HD DVD Trailer.mp4.
libavformat version 54.25.104 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8aba6e0]max_analyze_duration 5000000 
reached at 5005000
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
[lavf] stream 2: video (mjpeg), -vid 1
VIDEO:  [H264]  1280x720  24bpp  23.976 fps  4674.1 kbps (570.6 
kbyte/s)
Clip info:
  major_brand: isom
  minor_version: 1
  compatible_brands: isomavc1
  creation_time: 1937-04-23 22:52:15
  genre: Trailer
  artist: Universal Pictures
  title: Serenity - HD DVD Trailer
  date: 2005
Load subtitles in /data/Filme/
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.54.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 127.5 kbit/8.30% (ratio: 15942->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 
Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
A:   3.5 V:   2.6 A-V:  0.903 ct:  0.018   0/  0 56% 72%  0.6% 50 0


            ************************************************
            **** Your system is too SLOW to play this!  ****
            ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the 
lavdopts,
     e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:   9.6 V:   7.1 A-V:  2.434 ct:  0.011   0/  0 58% 69%  1.0% 156 0

Exiting... (Quit)


> The adobe flash vdpau implementation
> reverses the channels.  IIRC, newer versions of libvdpau have a
> workaround for it.

I know, but I can't use this crappy stupid software since summer 2012, 
'cause they do NOT offer any current linux player (even with their 
hardware acceleration) without SSE2...

...Duron/AthlonMP => AMD could you help, PLEASE?!

In the meantime I use an older libflash taken from Chrome without 
hardware acceleration, too. But it is compiled without SSE2. Due to this 
the Duron is on it's limits with flash stuff 8-(((

lib/browser-plugins> l *flash*
lrwxrwxrwx 1 root root       19 14. Mär 22:07 libflashplayer.so -> 
libgcflashplayer.so
-rwxr-xr-x 1 root root 17351000  7. Jun 2012  libgcflashplayer.so
lib/browser-plugins> l SSE2/
insgesamt 17029
drwxr-xr-x 2 root root       88 14. Mär 22:06 .
drwxr-xr-x 3 root root      328 22. Mär 01:47 ..
-rwxr-xr-x 1 root root 17418724  1. Mär 01:30 libflashplayer.so

Why can't everybody use runtime CPU detection like Mesa (;-) or 
mplayer?

OpenCV with OpenCL (digikam) would be my next disaster.
But former can I recompile without SSE2 to use it with digikam, today.

>  I've generally been testing with mplayer.  mplayer
> -vo vdpau -vc ffh264vdpau <file>

Tried that:

/home/dieter> mplayer -vo vdpau -vc ffh264vdpau /data/Filme/Serenity\ 
-\ HD\ DVD\ Trailer.mp4

[-]
[VD_FFMPEG] Trying pixfmt=0.
[vdpau] Failed creating VDPAU decoder: An invalid/unsupported 
VdpDecoderProfile value was supplied.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0x8b3db80]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8b3db80]ff_MPV_common_init() failed.
[h264_vdpau @ 0x8b3db80]decode_slice_header error
[h264_vdpau @ 0x8b3db80]no frame!
Error while decoding frame!

Too many audio packets in the buffer: (4096 in 1401092 bytes).
Maybe you are playing a non-interleaved stream/file or the codec 
failed?
For AVI files, try to force non-interleaved mode with the -ni option.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)

=> See log file

Any further hint?

-Dieter

[-- Attachment #2: mplayer.log.bz2 --]
[-- Type: application/x-bzip2, Size: 3647 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2013-04-03 23:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03  9:51 UVD fails to init on rv790 Andy Furniss
2013-04-03 11:29 ` Christian König
2013-04-03 13:21   ` Alex Deucher
2013-04-03 20:45     ` Dieter Nützel
2013-04-03 21:06       ` Alex Deucher
2013-04-03 23:20         ` Dieter Nützel
2013-04-03 13:37   ` Andy Furniss
2013-04-03 21:40   ` Andreas Boll
  -- strict thread matches above, loose matches on Subject: below --
2013-04-03 11:26 K. Schnass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.