Linux - vaapi-sse4: Deinterlacing Testing

  Thread Rating:
  • 12 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ant_thomas Offline
Fan
Posts: 424
Joined: May 2008
Reputation: 0
Location: Manchester, UK
Post: #961
M4tt0, does one of your HDMI ports support "PC" or "DVI" resolutions?

My parents old Samsung 720p TV has an HDMI port that is labelled up for DVI and that can accept 1360x768 @50hz over HDMI. Makes the picture much better. Correct scaling etc.
find quote
M4tt0 Offline
Junior Member
Posts: 35
Joined: Jun 2014
Reputation: 0
Post: #962
Hi ant_thomas,

Looking at the latest manual (from 2006!) the HDMI port on the TV cannot (see my initial post for all the officially supported HDMI resolutions). The manual also contains statements that a PC should be connected via the VGI input. But again, this was 2006. If fritsch or you or someone else know some magic to enable a better mode I will be more than happy to test it!
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,164
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #963
Google: Modeline xorg.conf

We have some of those in our wiki and mythtv wiki has some others.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
find quote
M4tt0 Offline
Junior Member
Posts: 35
Joined: Jun 2014
Reputation: 0
Post: #964
OK. Here we go:

(1) The mythtv wiki has a custom modeline for 1360x768@60Hz
(2) The wiki pixel-mapping guide for 1366 x 768 lists my TV as well and seems to reconfirm my initial assumption: They state:
- No pixel-mapping via HDMI
- Possible via VGA
(3) I also found some Intel guy stating that many TVs at the time used "customer" HDMI technology that was not very flexible at the time and could only handle a limited number of resolutions like 720p and 1080i
(4) I simply tested my initial idea and connected the NUC to the TV via the MiniDisplayPort to VGA adapter cable:
- Relaunching Kodi immediately gave me the 1360x768@60Hz mode I was looking for, no way to change to 50Hz though.
- For the first time: No overscan! I get reasonable resolutions on the console and can even see the NUC BIOS on my TV (heyhoo!)
(5) Connected both, the MiniDisplayPort -> VGA adapter and the HDMI out (to split off audio). Again: works! In Kodi I can chose between HDMI1 and DP1 AND I get the sound via HDMI -> HDMI Switch with SPDIF -> old school receiver
(6) With that I could switch back and forth and see the difference:

Clear answer:
- 720p@50 via HDMI looks way better than 1360x768@60 via VGA, especially the colours. Played around with the TV settings a little bit (deactivating all the processing), but no significant improvement. Also limiting the color range in Kodi did not improve the colours.

I will stick with 720p via HDMI now, accept the overscan (no pixel-mapping) and keep the adapter cable plugged in my TV to use it whenever I need to access the BIOS. Need a new TV but will wait until the 4k stuff has settled...
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,164
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #965
You did not even try the xorg.conf with the modeline ...

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
find quote
M4tt0 Offline
Junior Member
Posts: 35
Joined: Jun 2014
Reputation: 0
Post: #966
Gee, I forgot after reading all that stuff, testing (and increasingly being disappointed). OK, another chance, another atttempt:

(1) Modeline from the MythTV database (Sony KDL-40S2000): "1360x768" 85.500 1360 1432 1544 1792 768 771 777 795

(2) After figuring out that the xorg.conf ceased to exist, I created the following file (10-monitor.conf) in /usr/share/X11/xorg.conf.d (device identifier taken from lspci):
http://paste.ubuntu.com/8367042/

(3) After rebooting, the Xorg.0.log file seems(!) to indicate that the modeline is read correctly (line 218) and enabled (line 243) of...
http://paste.ubuntu.com/8367050/

(4) Unfortunately the screen remains black though... :-(

Any idea what I should modify / what else I could try?

Thanks again, fritsch!
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,164
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #967
Try that:
http://pastebin.com/raw.php?i=pyxC9cUB

Make sure you read the comments i have put in. You can put it to /etc/X11/xorg.conf

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
find quote
M4tt0 Offline
Junior Member
Posts: 35
Joined: Jun 2014
Reputation: 0
Post: #968
(1) The only connected device in the output of "xrandr" (without any further parameters) was HDMI1, so I left your file as is.
(2) Reboot
(3) Still black screen :-(
(4) xrandr output now:
http://paste.ubuntu.com/8367571/
(5) Xorg.0.log:
http://paste.ubuntu.com/8367612/

Another white rabbit in your big, big hat? ;-)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,164
Joined: Aug 2011
Reputation: 142
Location: Karlsruhe
Post: #969
Try the exact modeline you get from VGA. No other ideas beide that one.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
Settings missing? Read the FAQ: http://wiki.xbmc.org/index.php?title=XBM...otham)_FAQ
No help without a proper Debug Log
(This post was last modified: 2014-09-18 06:49 by fritsch.)
find quote
M4tt0 Offline
Junior Member
Posts: 35
Joined: Jun 2014
Reputation: 0
Post: #970
(1) VGA Modeline: Modeline "1360x768"x0.0 85.50 1360 1430 1542 1792 768 771 777 795 +hsync +vsync (47.7 kHz eP)
taken from Xorg.0.log (with HDMI and MiniDP -> VGA connections attached):
http://paste.ubuntu.com/8371052/

(2) Updated xorg.conf:
http://paste.ubuntu.com/8371101/

(3) MiniDP disconnected -> Reboot -> Black screen... :-(

(4) Xorg.0.log now: Modeline "1360x768@60"x60.0 85.50 1360 1430 1542 1792 768 771 777 795 +hsync +vsync (47.7 kHz UP)
http://paste.ubuntu.com/8371130/
There is a difference here as the line ends with (47.7 kHz UP) now whereas it was (.. eP) before, but I failed to figure out what that means and whether it has implications...

(5) Reverting back to 720p@50, which - thanks to this build - still gives a picture that is way better than anything I have had before...

Thanks again for your help, fritsch!
find quote
noggin Offline
Posting Freak
Posts: 953
Joined: Oct 2008
Reputation: 25
Location: United Kingdom
Post: #971
It's relatively rare to find a VGA input that will support 50Hz - it's a real pain when you are trying to pixel match a non-HDTV resolution panel when the HDMI input will accept 50Hz video at non-panel resolution, and the VGA will accept panel resolution video, but not at 50Hz.
find quote
Post Reply