UVD fails to init on rv790

2013-04-04 Thread Dieter Nützel
Am 2013-04-03 23:06, schrieb Alex Deucher:
> On Wed, Apr 3, 2013 at 4:45 PM, Dieter N?tzel  
> wrote:
>> Am 2013-04-03 15:21, schrieb Alex Deucher:
>> 
>>> On Wed, Apr 3, 2013 at 7:29 AM, 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 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 500 
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 

UVD fails to init on rv790

2013-04-04 Thread Andreas Boll
FYI I get the same errors on rv770 (HD4870)

Andreas.


2013/4/3 Christian K?nig 

> 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: 0xFE6F
>> [drm] register mmio size: 65536
>> ATOM BIOS: Wekiva
>> radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF
>> (1024M used)
>> radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
>> [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 :01:00.0: irq 51 for MSI/MSI-X
>> radeon :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 0x00257000).
>> radeon :01:00.0: WB enabled
>> radeon :01:00.0: fence driver on ring 0 use gpu addr
>> 0x4c00 and cpu addr 0xff893c00
>> radeon :01:00.0: fence driver on ring 3 use gpu addr
>> 0x4c0c and cpu addr 0xff893c0c
>> radeon :01:00.0: fence driver on ring 5 use gpu addr
>> 0x0005632c 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 0xD000
>> [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 :01:00.0: fb0: radeondrmfb frame buffer device
>> radeon :01:00.0: registered panic notifier
>> [drm] Initialized radeon 2.30.0 20080528 for :01:00.0 on minor 0
>> __**_
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.**org 
>> http://lists.freedesktop.org/**mailman/listinfo/dri-devel

Re: UVD fails to init on rv790

2013-04-04 Thread K. Schnass
 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 d000 (64-bit, prefetchable) [size=256M]
Memory at feaf (64-bit, non-prefetchable) [size=64K]
I/O ports at d000 [size=256]
Expansion ROM at feac [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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


UVD fails to init on rv790

2013-04-03 Thread Dieter Nützel
Am 2013-04-03 15:21, schrieb Alex Deucher:
> On Wed, Apr 3, 2013 at 7:29 AM, 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 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.


UVD fails to init on rv790

2013-04-03 Thread Alex Deucher
On Wed, Apr 3, 2013 at 4:45 PM, Dieter N?tzel  wrote:
> Am 2013-04-03 15:21, schrieb Alex Deucher:
>
>> On Wed, Apr 3, 2013 at 7:29 AM, 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 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 

Alex


UVD fails to init on rv790

2013-04-03 Thread Andy Furniss
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.




UVD fails to init on rv790

2013-04-03 Thread Christian König
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: 0xFE6F
> [drm] register mmio size: 65536
> ATOM BIOS: Wekiva
> radeon :01:00.0: VRAM: 1024M 0x - 
> 0x3FFF (1024M used)
> radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
> [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 :01:00.0: irq 51 for MSI/MSI-X
> radeon :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 0x00257000).
> radeon :01:00.0: WB enabled
> radeon :01:00.0: fence driver on ring 0 use gpu addr 
> 0x4c00 and cpu addr 0xff893c00
> radeon :01:00.0: fence driver on ring 3 use gpu addr 
> 0x4c0c and cpu addr 0xff893c0c
> radeon :01:00.0: fence driver on ring 5 use gpu addr 
> 0x0005632c 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 0xD000
> [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 :01:00.0: fb0: radeondrmfb frame buffer device
> radeon :01:00.0: registered panic notifier
> [drm] Initialized radeon 2.30.0 20080528 for :01:00.0 on minor 0
> ___
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>



UVD fails to init on rv790

2013-04-03 Thread K. Schnass
> 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 d000 (64-bit, prefetchable) [size=256M]
Memory at feaf (64-bit, non-prefetchable) [size=64K]
I/O ports at d000 [size=256]
Expansion ROM at feac [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


UVD fails to init on rv790

2013-04-03 Thread 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: 0xFE6F
[drm] register mmio size: 65536
ATOM BIOS: Wekiva
radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF 
(1024M used)
radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
[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 :01:00.0: irq 51 for MSI/MSI-X
radeon :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 0x00257000).
radeon :01:00.0: WB enabled
radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0xff893c00
radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0xff893c0c
radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005632c 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 0xD000
[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 :01:00.0: fb0: radeondrmfb frame buffer device
radeon :01:00.0: registered panic notifier
[drm] Initialized radeon 2.30.0 20080528 for :01:00.0 on minor 0


UVD fails to init on rv790

2013-04-03 Thread Alex Deucher
On Wed, Apr 3, 2013 at 7:29 AM, 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 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: 0xFE6F
>> [drm] register mmio size: 65536
>> ATOM BIOS: Wekiva
>> radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF
>> (1024M used)
>> radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
>> [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 :01:00.0: irq 51 for MSI/MSI-X
>> radeon :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 0x00257000).
>> radeon :01:00.0: WB enabled
>> radeon :01:00.0: fence driver on ring 0 use gpu addr
>> 0x4c00 and cpu addr 0xff893c00
>> radeon :01:00.0: fence driver on ring 3 use gpu addr
>> 0x4c0c and cpu addr 0xff893c0c
>> radeon :01:00.0: fence driver on ring 5 use gpu addr
>> 0x0005632c 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 0xD000
>> [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 :01:00.0: fb0: radeondrmfb frame buffer device
>> radeon :01:00.0: registered panic notifier
>> [drm] Initialized radeon 2.30.0 20080528 for :01:00.0 on minor 0
>> ___
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.org
>> 

UVD fails to init on rv790

2013-04-03 Thread 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: 0xFE6F
[drm] register mmio size: 65536
ATOM BIOS: Wekiva
radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF 
(1024M used)

radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
[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 :01:00.0: irq 51 for MSI/MSI-X
radeon :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 0x00257000).
radeon :01:00.0: WB enabled
radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0xff893c00
radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0xff893c0c
radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005632c 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 0xD000
[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 :01:00.0: fb0: radeondrmfb frame buffer device
radeon :01:00.0: registered panic notifier
[drm] Initialized radeon 2.30.0 20080528 for :01:00.0 on minor 0
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: UVD fails to init on rv790

2013-04-03 Thread Christian König

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: 0xFE6F
[drm] register mmio size: 65536
ATOM BIOS: Wekiva
radeon :01:00.0: VRAM: 1024M 0x - 
0x3FFF (1024M used)

radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
[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 :01:00.0: irq 51 for MSI/MSI-X
radeon :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 0x00257000).
radeon :01:00.0: WB enabled
radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0xff893c00
radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0xff893c0c
radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005632c 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 0xD000
[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 :01:00.0: fb0: radeondrmfb frame buffer device
radeon :01:00.0: registered panic notifier
[drm] Initialized radeon 2.30.0 20080528 for :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


Re: UVD fails to init on rv790

2013-04-03 Thread Alex Deucher
On Wed, Apr 3, 2013 at 7:29 AM, Christian König deathsim...@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: 0xFE6F
 [drm] register mmio size: 65536
 ATOM BIOS: Wekiva
 radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF
 (1024M used)
 radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
 [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 :01:00.0: irq 51 for MSI/MSI-X
 radeon :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 0x00257000).
 radeon :01:00.0: WB enabled
 radeon :01:00.0: fence driver on ring 0 use gpu addr
 0x4c00 and cpu addr 0xff893c00
 radeon :01:00.0: fence driver on ring 3 use gpu addr
 0x4c0c and cpu addr 0xff893c0c
 radeon :01:00.0: fence driver on ring 5 use gpu addr
 0x0005632c 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 0xD000
 [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 :01:00.0: fb0: radeondrmfb frame buffer device
 radeon :01:00.0: registered panic notifier
 [drm] Initialized radeon 2.30.0 20080528 for :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

Re: UVD fails to init on rv790

2013-04-03 Thread Dieter Nützel

Am 2013-04-03 15:21, schrieb Alex Deucher:
On Wed, Apr 3, 2013 at 7:29 AM, Christian König 
deathsim...@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


Re: UVD fails to init on rv790

2013-04-03 Thread Alex Deucher
On Wed, Apr 3, 2013 at 4:45 PM, Dieter Nützel die...@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 deathsim...@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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: UVD fails to init on rv790

2013-04-03 Thread Andreas Boll
FYI I get the same errors on rv770 (HD4870)

Andreas.


2013/4/3 Christian König deathsim...@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: 0xFE6F
 [drm] register mmio size: 65536
 ATOM BIOS: Wekiva
 radeon :01:00.0: VRAM: 1024M 0x - 0x3FFF
 (1024M used)
 radeon :01:00.0: GTT: 512M 0x4000 - 0x5FFF
 [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 :01:00.0: irq 51 for MSI/MSI-X
 radeon :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 0x00257000).
 radeon :01:00.0: WB enabled
 radeon :01:00.0: fence driver on ring 0 use gpu addr
 0x4c00 and cpu addr 0xff893c00
 radeon :01:00.0: fence driver on ring 3 use gpu addr
 0x4c0c and cpu addr 0xff893c0c
 radeon :01:00.0: fence driver on ring 5 use gpu addr
 0x0005632c 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 0xD000
 [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 :01:00.0: fb0: radeondrmfb frame buffer device
 radeon :01:00.0: registered panic notifier
 [drm] Initialized radeon 2.30.0 20080528 for :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-develhttp://lists.freedesktop.org/mailman/listinfo/dri-devel


 __**_
 dri-devel mailing list
 dri-devel@lists.freedesktop.**org dri-devel@lists.freedesktop.org
 

Re: UVD fails to init on rv790

2013-04-03 Thread Dieter Nützel

Am 2013-04-03 23:06, schrieb Alex Deucher:
On Wed, Apr 3, 2013 at 4:45 PM, Dieter Nützel die...@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 
deathsim...@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 500 
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