You are not logged in.

#4426 2012-10-18 19:32:03

roi.dm
Member
Registered: 2011-10-29
Posts: 24

Re: The AMD/ATI Bar & Grill

try adding  this into your profile/environment

export CLUTTER_PAINT=disable-clipped-redraws:disable-culling

Offline

#4427 2012-10-18 20:55:16

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: The AMD/ATI Bar & Grill

kuglee wrote:

Hardware acceleration is not working for me for a long time. I'm also using 12.6 beta becasue of the mobility hd4330 card.

Wrong driver. 12.6-legacy is the right one for you. Your video card isn't supported by the "normal" Catalyst driver since 12.6.

Offline

#4428 2012-10-19 09:37:01

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: The AMD/ATI Bar & Grill

Love that it's back in the official repos! Thanks to Vi0L0 for their work.

I of course realised today that I didn't add fglrx to /etc/modprobe.d/ so I've been running with no acceleration for 3 months :S

Last edited by MisterAnderson (2012-10-19 09:37:33)


D:

Offline

#4429 2012-10-19 22:03:41

Foks
Member
Registered: 2010-12-27
Posts: 18

Re: The AMD/ATI Bar & Grill

Hi everybody,
For a long time I'm trying to get xvba acceleration work flawlessly on my legacy HD3470.
I am running x86_64 system and catalyst 12.6-legacy on it, and 3D acceleration in games work fine, so I assume the driver is configured properly. (kernel module in use is fglrx_pci).

And I'm trying to use mplayer-vaapi to play h.264 video in MKV container. But actually I have twice more CPU loading when I use -va vaapi -vo vaapi (about ~90% cpu) then when I start mplayer simply with -vo xv (about 40%). Here is the log of mplayer:

mplayer -vo vaapi -va vaapi X.mkv -ao sdl 
MPlayer SVN-r35107-4.7.2 (C) 2000-2012 MPlayer Team
198 audio & 409 video codecs
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 X.mkv.
libavformat version 54.25.104 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (flac), -aid 0, -alang rus, ...
[lavf] stream 2: subtitle (ass), -sid 0, -slang rus, ...
[lavf] stream 3: audio (flac), -aid 1, -alang jpn, Original
[lavf] stream 4: subtitle (ass), -sid 1, -slang rus, ...
VIDEO:  [H264]  1280x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 title: ...
 creation_time: 2012-10-11 18:39:32
Load subtitles in ./
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.53.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, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
AO: [sdl] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x104f520]using unscaled yuv420p10le -> yuv420p special converter
VO: [vaapi] 1280x720 => 1280x720 Planar YV12 
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
A:   2.9 V:   2.3 A-V:  0.649 ct:  0.050   0/  0 74% 90%  0.8% 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:  55.9 V:  55.9 A-V:  0.005 ct:  0.056   0/  0 38% 42%  0.5% 244 0

The proprietary xvba-video 0.7.8-5 is installed on my laptop. And also sometimes when I start mplayer with "-va vaapi -vo vaapi" the system hangs completely, and only hard reboot can fix this issue. I have tried installing OS version of xvba-video (0.8.0), but it hangs my system too often. I even hardly ever can start watching video with xvba 0.8.0.

Can you help me, guys?

Add: Tried installing xvba-video-open-0.8.0 again from community repos. Mplayer shows me the following error:

xvba_video: error: Assertion failed in file xvba_image.c at line 453


MPlayer interrupted by signal 6 in module: flip_page
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Add2: My desktop manager is KWin, is it the case? Btw, in fullscreen mode compositing is automatically disabled and video plays smooth and tear-free, but CPU usage is still about 90%.

Last edited by Foks (2012-10-19 22:33:03)

Offline

#4430 2012-10-20 10:47:20

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: The AMD/ATI Bar & Grill

Two things I can think of:

1. Try another player to see if mplayer is the culprit (for example, wrong configuration file on your end);
2. Try what's mentioned in the NOTE in the Wiki:

Note: If Tear Free Desktop is enabled it's better to use:

Options -> Preferences -> General -> Video (tab) -> Output driver: vaapi

If Video Output vaapi:gl isn't working - please check:

vaapi, vaapi:gl2 or simply xv(0 - AMD Radeon AVIVO Video).

Last edited by Unia (2012-10-20 10:48:33)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4431 2012-10-20 18:21:28

Foks
Member
Registered: 2010-12-27
Posts: 18

Re: The AMD/ATI Bar & Grill

Unia, thank you for your answer.

I tried using VLC and it shows about 30% cpu without acceleration and about 20% with. It seems that my problem is related to mplayer. I will continue searching in this way.

Another question still bothers me: why can't I use xvba-video-open 0.8.0 ?

Offline

#4432 2012-10-20 18:40:43

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 874

Re: The AMD/ATI Bar & Grill

Foks wrote:

Another question still bothers me: why can't I use xvba-video-open 0.8.0 ?

If I'm correct, AMD dropped XVBA some time ago and left it to the community. This generated XVBA 0.8 which is ~ abandoned.

Offline

#4433 2012-10-20 18:41:38

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: The AMD/ATI Bar & Grill

I don't know, I can use it. If you are using Catalyst from AUR or the unofficial repository, then perhaps because xvba gets build against the driver and xvba-video-open is built again catalyst-dkms?

So, try using either xvba-video-open and catalyst-dkms from [community], or xvba-video and catalyst from AUR or the unofficial repo.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4434 2012-10-20 19:08:30

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

snack wrote:
Foks wrote:

Another question still bothers me: why can't I use xvba-video-open 0.8.0 ?

If I'm correct, AMD dropped XVBA some time ago and left it to the community. This generated XVBA 0.8 which is ~ abandoned.

Not only ~ abandoned, but also crippled - because community's version of xvba is missing some functions, that's why it's not working well (or not working at all)

Unia wrote:

I don't know, I can use it. If you are using Catalyst from AUR or the unofficial repository, then perhaps because xvba gets build against the driver and xvba-video-open is built again catalyst-dkms?

So, try using either xvba-video-open and catalyst-dkms from [community], or xvba-video and catalyst from AUR or the unofficial repo.

There should be no difference when comparing catalyst from [community] with the one from [catalyst] / AUR - libs are the same, module compilation method is same (well here -generator differs a bit because it's additionally using user's flags from makepkg.conf, but it should be good for him only tongue).
xvba-video comes precompiled. And i doubt that xvba-video-open is using catalyst's libs when compiling (i'm not sure though).

I remember that sometimes i had to reinstall xvba-video / mplayer-vaapi and restart X / reboot to make it work right.

Last edited by Vi0L0 (2012-10-20 19:11:06)

Offline

#4435 2012-10-20 19:56:38

Foks
Member
Registered: 2010-12-27
Posts: 18

Re: The AMD/ATI Bar & Grill

Guys, It was a false alarm, the video which I tried to play was not supported by vaapi. I have tried another video and mplayer shows different log output:

VO: [vaapi] 1280x720 => 1280x720 H.264 VA-API Acceleration 
[VD_FFMPEG] XVMC-accelerated MPEG-2.

CPU load is much lower now and xvba-video-open works well with this video. However, it still fails to fallback to YUV2 (and crashes instead) with that first video, so there must be a bug.

Offline

#4436 2012-10-22 11:26:40

libgradev
Member
From: Wandering the Wilds
Registered: 2012-02-23
Posts: 35

Re: The AMD/ATI Bar & Grill

Tried 12.9 beta - rolled back to 12.8.

There seems to be issues with Wine using the 12.9 beta driver. These happen on Xorg 1.12 and 1.13 so I guess AMD made a driver change.

I am noticing 'forever' stalling loading some games (DA2 for example) with the following output spamming the console:

err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glDrawArrays @ ../../../dlls/wined3d/drawprim.c / 60
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER (0x8cdb)
fixme:d3d:context_check_fbo_status 	Location SFLAG_INRB_MULTISAMPLE (0x200000).
fixme:d3d:context_check_fbo_status 	Color attachment 0: (0x12d54f8) WINED3DFMT_B8G8R8A8_UNORM 1920x1080 2 samples.
fixme:d3d:context_check_fbo_status 	Depth attachment: (0x12c88b8) WINED3DFMT_D24_UNORM_S8_UINT 1920x1080 2 samples.

Other applications are showing display corruption on recent (1.5.x) wine versions.


ASRock TRX40 Creator B1.70 | AMD TR3970X | 64GB G.Skill Trident Z | AMD RX 6900XT 16GB / AMD RX 6800XT 16GB (VFIO) | Samsung CRG90 | BENQ 1080p (portrait) | 1x Samsung 850 EVO 1TB | 2x Samsung 960 EVO NVMe | 5x WD Red 4TB (RAID6) | Corsair MP600 Force 500GB  + 8GB Seagate (store) | Sennheiser MOMENTUM 3 | Roccat KoneXTD Optical

Offline

#4437 2012-10-23 17:31:02

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: The AMD/ATI Bar & Grill

Offline

#4438 2012-10-24 10:11:07

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

Re: The AMD/ATI Bar & Grill

12.10 without x.org 1.13 support.
12.11 beta with x.org 1.13 support
http://support.amd.com/us/gpudownload/l … ng=English


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4439 2012-10-24 11:00:14

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: The AMD/ATI Bar & Grill

Cdh wrote:

12.10 without x.org 1.13 support.
12.11 beta with x.org 1.13 support
http://support.amd.com/us/gpudownload/l … ng=English

Always exciting to see new drivers! Altho, I do currently run 12.9 beta with Xorg 1.13. Can we also get Xorg 1.13 working with 12.10?

Who has tested these? big_smile


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4440 2012-10-24 11:22:01

jfernyhough
Member
Registered: 2012-09-26
Posts: 7

Re: The AMD/ATI Bar & Grill

I've just installed the 12.11 drivers in Ubuntu (don't shoot me wink). They seem to be working OK (first impressions) but you'll need to add a signature to /etc/ati/signature to get rid of the watermark (as normal for their beta releases).

Offline

#4441 2012-10-24 11:53:31

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: The AMD/ATI Bar & Grill

Unia wrote:
Cdh wrote:

12.10 without x.org 1.13 support.
12.11 beta with x.org 1.13 support
http://support.amd.com/us/gpudownload/l … ng=English

Always exciting to see new drivers! Altho, I do currently run 12.9 beta with Xorg 1.13. Can we also get Xorg 1.13 working with 12.10?

Who has tested these? big_smile

12.10 are not working with xorg-server 1.13, 12.11b are working fine (when  watermark is removed tongue ).

Offline

#4442 2012-10-24 12:46:20

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: The AMD/ATI Bar & Grill

So which is recommended? Downgrading Xorg and use 12.10, or keeping Xorg1.13 and using the beta?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4443 2012-10-24 12:54:19

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: The AMD/ATI Bar & Grill

Unia wrote:

So which is recommended? Downgrading Xorg and use 12.10, or keeping Xorg1.13 and using the beta?

I will push the 12.11 beta drivers in the testing repos tonight with the watermark removed.

Last edited by lordheavy (2012-10-24 12:54:34)

Offline

#4444 2012-10-24 13:26:38

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

Re: The AMD/ATI Bar & Grill

lordheavy wrote:

I will push the 12.11 beta drivers in the testing repos tonight with the watermark removed.

Are you sure that's legal?


On a related note:
What's the latest status of powerXpress/enduro?
There's catalyst-total-pxp in the AUR but it still wants to replace libgl something... Should it be ready to work in the repos?
Does anyone know anything about muxless ("enduro") support?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4445 2012-10-24 13:46:19

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: The AMD/ATI Bar & Grill

Cdh wrote:
lordheavy wrote:

I will push the 12.11 beta drivers in the testing repos tonight with the watermark removed.

Are you sure that's legal?

Why shouldn't it be legal ?

Cdh wrote:

On a related note:
What's the latest status of powerXpress/enduro?
There's catalyst-total-pxp in the AUR but it still wants to replace libgl something... Should it be ready to work in the repos?
Does anyone know anything about muxless ("enduro") support?

No plans for these.

Offline

#4446 2012-10-24 14:04:09

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

Re: The AMD/ATI Bar & Grill

lordheavy wrote:
Cdh wrote:
lordheavy wrote:

I will push the 12.11 beta drivers in the testing repos tonight with the watermark removed.

Are you sure that's legal?

Why shouldn't it be legal ?

Removing a watermark from a proprietary driver by patching some file... I mean, it's not a user doing it for him/herself, archlinux will "redistribute" that driver. Better safe than sorry.


lordheavy wrote:
Cdh wrote:

On a related note:
What's the latest status of powerXpress/enduro?
There's catalyst-total-pxp in the AUR but it still wants to replace libgl something... Should it be ready to work in the repos?
Does anyone know anything about muxless ("enduro") support?

No plans for these.

Ok, thanks. sad

Last edited by Cdh (2012-10-24 14:04:35)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4447 2012-10-24 14:17:24

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: The AMD/ATI Bar & Grill

Cdh wrote:
lordheavy wrote:
Cdh wrote:

Are you sure that's legal?

Why shouldn't it be legal ?

Removing a watermark from a proprietary driver by patching some file... I mean, it's not a user doing it for him/herself, archlinux will "redistribute" that driver. Better safe than sorry.

I just replace a part of their new driver with a part of their old driver. It's their code, not mine.

Offline

#4448 2012-10-24 14:29:16

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: The AMD/ATI Bar & Grill

Catalyst-dkms 12.10 from [community] works properly, you just have to rollback Xorg to 1.12.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4449 2012-10-24 14:31:20

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: The AMD/ATI Bar & Grill

Unia wrote:

Catalyst-dkms 12.10 from [community] works properly, you just have to rollback Xorg to 1.12.

It's the reason for an update to 12.11beta drivers tongue

Offline

#4450 2012-10-24 14:39:37

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: The AMD/ATI Bar & Grill

I guessed big_smile Thought I'd just inform other readers in case they don't want to run beta software.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB