Linux - vaapi-sse4: Deinterlacing Testing

  Thread Rating:
  • 12 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #46
"SNA hasn't become the default yet for the xf86-video-intel driver, although some distributions such as Ubuntu Linux have enabled it over UXA by default"
http://www.phoronix.com/scan.php?page=ne...px=MTM4MTI

We all know Larabel is always right Smile

So I will try to switch to UXA and post the results.
find quote
George Offline
Senior Member
Posts: 128
Joined: Feb 2010
Reputation: 2
Location: The Netherlands
Post: #47
(2013-05-31 13:11)Frank-NL Wrote:  "SNA hasn't become the default yet for the xf86-video-intel driver, although some distributions such as Ubuntu Linux have enabled it over UXA by default"
http://www.phoronix.com/scan.php?page=ne...px=MTM4MTI

We all know Larabel is always right Smile

So I will try to switch to UXA and post the results.

Where did you spot the 100fps? In the system->information screen? Because that one is always very high because it constantly renders the screen. When you turn on debug mode (settings->system) you see the fps on the top of the screen. When I use that and go to the mainmenu it drops to about 34fps I think.

I also just noticed that I am using kernel 3.9.0 (3.9.0-030900-generic #201304291257 SMP Mon Apr 29 16:58:15 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux). Maybe that makes a difference.
(This post was last modified: 2013-05-31 13:30 by George.)
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #48
It's not just what's reported on the info screen. The transition effects, spinning controls and the RSS feed go faster too. So it's not just what's reported as fps, the interface looks and behaves very different.

I'm on the 3.9.4 kernel from the Ubuntu kernel team. So it shouldn't make that big of a difference.
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #49
Yep, it was definitely sna that caused it. I switched to uxa and without vsync still had a high fps but with vsync always on the interface fps now is stable at 50fps.

For those who experience this problem too, the switch works as follows:

Create the file 20-intel.conf under /etc/X11/xorg.conf.d/ (it could be you have to create the directory if you don't have any other custom xorg rules).

The content of the file:

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection


Fritsch, do I need to create a bug report for this somewhere?
(This post was last modified: 2013-05-31 14:17 by Frank-NL.)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,105
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #50
Yes, with the ubuntu folks somewhere over at launchpad.

If you want to make some further tests, try with the xorg-edgers ppa (not recommended for a stable system), but that could already have solved that issue.
(This post was last modified: 2013-05-31 14:18 by fritsch.)
find quote
]dude[ Offline
Junior Member
Posts: 5
Joined: Aug 2012
Reputation: 0
Post: #51
Hi Fritch,

first of all thanks for your work.

For me this is not working, I can see the FPS jump to 50 when aktivating VAAPI Auto as Deinterlace mode, but the picture goes black, while sound continues playing.
When setting it back to BOB, the picture comes back. Maybee my intel core m350 is not compatible with VPP?

I have tested it with the version from ppa, and with self compiled versions of libva, libva-intel and xbmc with the VPP patches applied.

Debug log purly shows no errors, it is only saying something like starting VPP Thread...
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #52
With Ubuntu? It's XBMC that cannot handle sna in some cases right? Or do you mean report it here? https://github.com/FernetMenta/xbmc/

For now I am happy that all is working well so I won't try to break it again with xorg-edgers Smile
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,105
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #53
@Frank-NL: That is not an xbmc issue. It is an SNA issue. This build has nothing to do with fernetmenta.

@]dude[: I suspect so, but please post your logfile with debugging turned on, vainfo and dmesg | pastebinit

Edit: @Frank-NL: I think this is already solved with 2.21.8 intel driver - at least for me on my system it does not happen.
(This post was last modified: 2013-05-31 14:26 by fritsch.)
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #54
OK, so 2.21.8 will come to the vaapi PPA? It has many sna fixes: http://lists.freedesktop.org/archives/in...28277.html
(This post was last modified: 2013-05-31 14:33 by Frank-NL.)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,105
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #55
Nope. No plans for this, as it is not an xbmc issue. We only provide what this PPA really needs.
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #56
I will stay on uxa in that case, I just tried it with xorg-edgers @ 2.21.8 but no difference so I am purging that PPA since it's of no use.
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,105
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #57
@Frank-NL:
I did some further tests and I can reproduce, even on OpenELEC that has 2.21.8 (but UXA by default), enabling SNB there manually causes exact this issue and btw. I can also reproduce it on my ivy bridge.
Setting: System -> Settings -> System -> Video Hardware to "Let driver choose" followed by a reboot seems to make it work, even with SNA. Can you verify this?
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #58
Yes, confirmed. Now on sna with Let driver choose and the fps is stable at 50.
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,105
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #59
Oki - i changed the installation howto. Looking through the OE archives, it is known for a long time, Thanks for sticking me to this topic!
find quote
Frank-NL Offline
Donor
Posts: 142
Joined: Sep 2012
Reputation: 1
Post: #60
Thank you for making this possible! Looking forward to the upcoming developments, like T/S Smile
find quote
Post Reply