No difference, it's the same on TV.
Beiträge von minixjr
-
-
Unfortunately not, no difference if I use 3840x2160 60Hz, 3840x2160 50Hz or 1920x1080 50 Hz
But I can test it with a TV tomorrow, maybe it'll make a difference.
-
You can try use vdpau without disable-ogl-osd now, see git.
Branch vdpau+vaapi+cuvid
X is running with 3840x2160 60Hz
Start parameter are:
OSD, video and sound are OK, no error visible or hearable.
The syslog shows many messages like: (regardlless if it's IPTV or a DVB recording)
Code
Alles anzeigenJun 21 14:11:50 yavdrbox2020 vdr: audio: a/v sync buf(0,1547ms) 14:24:51.233|14:24:51.159 = 73ms running Jun 21 14:11:50 yavdrbox2020 vdr: video/vdpau: interlaced 0 top-field-first 1 Jun 21 14:11:50 yavdrbox2020 vdr: video/vdpau: aspect ratio changed Jun 21 14:11:50 yavdrbox2020 vdr: video: aspect 18272:10287 Jun 21 14:11:50 yavdrbox2020 vdr: video: aspect output 3837x2160+1+0 Jun 21 14:11:50 yavdrbox2020 vdr: video/vdpau: 1634608311 display time 50014 Jun 21 14:11:50 yavdrbox2020 vdr: video: slow down video, duping frame Jun 21 14:11:50 yavdrbox2020 vdr: video/vdpau: missed frame (714/2) Jun 21 14:11:50 yavdrbox2020 vdr: video: slow down video, duping frame Jun 21 14:11:50 yavdrbox2020 vdr: video: 14:24:51.193 +73 1826 0/\ms 106+2+2 v-buf Jun 21 14:11:50 yavdrbox2020 vdr: video/vdpau: synced after 9 frames 809ms Jun 21 14:11:52 yavdrbox2020 vdr: [softhddev]CreateOsd: 307, 173, 0 Jun 21 14:11:52 yavdrbox2020 vdr: [2038] animator thread thread started (pid=924, tid=2038, prio=high) Jun 21 14:11:54 yavdrbox2020 vdr: [2038] animator thread thread ended (pid=924, tid=2038) Jun 21 14:11:54 yavdrbox2020 vdr: video/vdpau: osd clear image Jun 21 14:11:56 yavdrbox2020 vdr: [softhddev]CreateOsd: 307, 173, 0 Jun 21 14:11:56 yavdrbox2020 vdr: [2039] animator thread thread started (pid=924, tid=2039, prio=high) Jun 21 14:11:57 yavdrbox2020 vdr: codec/audio: drift( 0) 227ms reset Jun 21 14:11:57 yavdrbox2020 vdr: codec/audio: drift( 0) 227955us 0 Jun 21 14:11:57 yavdrbox2020 vdr: codec/audio: inital drift delay 3268ms Jun 21 14:11:57 yavdrbox2020 vdr: [2039] animator thread thread ended (pid=924, tid=2039) Jun 21 14:11:57 yavdrbox2020 vdr: video/vdpau: osd clear image Jun 21 14:12:00 yavdrbox2020 vdr: video/vdpau: 1644193852 display time 33340 Jun 21 14:12:00 yavdrbox2020 vdr: video: slow down video, duping frame Jun 21 14:12:00 yavdrbox2020 vdr: video/vdpau: missed frame (715/479) Jun 21 14:12:00 yavdrbox2020 vdr: video: slow down video, duping frame Jun 21 14:12:00 yavdrbox2020 vdr: video: 14:25:00.913 +59 3301 0/\ms 182+2+1 v-buf
If I change the deinterlacer, it look like it have no effect, nothing changed visible.
The scaling mode also show no change excapt HighQuality. If I use this, the video will be zoomed to the upper left corner and then only approx. 1/4 (or less) of the image is visible. The OSD stays in the correct size.
Denois is working.
A little bit strange are the stripes I see whithin the video. It look like bad deinterlacing, but the source is progressive and even this is not visible with vlc, mpv or on another vdr with cuvid. (Hope the difference is visible on the pictures)
Thank you very, very much for all of this improvements
-
lnj , I make a guess what the problem is.
I am not very familiar with programming, but I took a look at the source code.
I have seen something like VaapiBuggyXvBA.
As I understand it, XvBA (X-Video Bitstream Acceleration API) is not being developed anymore and newer AMD GPUs don't support it anymore.
I think this is also the reason why this exa option in xorg.conf does not work for newer cards, they use Glamor.
-
-
Use -v va-api-glx, without disable-ogl-osd.
The OSD looks good, but not the video.
syslog_vdr_va-api-glx_e715d86.txt
While building I saw no error messages.
Maybe something is missing.
-
Try please test branch of softhddevice
I have never built softhddevice before, but I hope I can get it to work.
I think I now understand your comment:
but I always thought that AMD broken vaapi in their GPU.
I have tested the brand new radeon driver 20.20 LINK
va-api does not work, not with vdr or kodi, vdpau with vdr is ok, kodi has recognized it, but do not use it.
Maybe I will test again with a fresh Ubuntu, but I don't hink it is working very well.
-
and also apt-file don't know it, vdpau_drv_video.so
My Debian tells me there is a package containing it.
Maybe something is missing in Ubuntu.
Code
Alles anzeigenapt-file search vdpau_drv_video.so vdpau-va-driver: /usr/lib/x86_64-linux-gnu/dri/vdpau_drv_video.so apt show vdpau-va-driver Package: vdpau-va-driver Version: 0.7.4-dmo8 Priority: optional Section: x11 Source: vdpau-video-dmo Maintainer: Christian Marillat <marillat@deb-multimedia.org> Bugs: mailto:marillat@deb-multimedia.org Installed-Size: 108 kB Provides: nvidia-va-driver, s3g-va-driver, va-driver, vdpau-video Depends: libc6 (>= 2.14), libgl1, libvdpau1 (>= 0.2), libx11-6, libva-driver-abi-1.0, mesa-vdpau-drivers | vdpau-driver Conflicts: vdpau-video Replaces: vdpau-video Enhances: libva2 Homepage: http://freedesktop.org/wiki/Software/vaapi/ Download-Size: 39,4 kB APT-Sources: https://www.deb-multimedia.org sid/main amd64 Packages Description: VDPAU-based backend for VA API This is the VDPAU-based backend driver for use with the VA API library.
-
Also try mpv, vlc with vdpau.
Sorry, I don't get this working
mpv and vlc are not working for me with vdpau.
Maybe I do something wrong.
vlc is looking for a file I don't have (and also apt-file don't know it, vdpau_drv_video.so)
fnu, as I have now learned, only temporal is supported.
Code
Alles anzeigenvdpauinfo display: :0.0 screen: 0 API version: 1 Information string: G3DVL VDPAU Driver Shared Library version 1.0 ... Video mixer: feature name sup ------------------------------------ DEINTERLACE_TEMPORAL y DEINTERLACE_TEMPORAL_SPATIAL - INVERSE_TELECINE - NOISE_REDUCTION y SHARPNESS y LUMA_KEY y HIGH QUALITY SCALING - L1 y HIGH QUALITY SCALING - L2 - HIGH QUALITY SCALING - L3 - HIGH QUALITY SCALING - L4 - HIGH QUALITY SCALING - L5 - HIGH QUALITY SCALING - L6 - HIGH QUALITY SCALING - L7 - HIGH QUALITY SCALING - L8 - HIGH QUALITY SCALING - L9 -
-
I got it working with vdpau today.
It looks like the 50/60Hz is not a problem because it actually runs at 60Hz.
HDMI-A-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm3840x2160 60.00*+ 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 24.00
Maybe this was mesa related, which I have updated today. In fact, I cann't reproduce it anymore.
I also have deleted the 20-amdgpu.conf. It looks like it's not necessaryThe SDTV problem could be solved, as mentioned by Andromeda.
I changed that to weave and now at least the strange artifacts are gone
My conclusion for softhddevice with AMD Ryzen is:
- grub+edid stuff is needed if you start without powered on monitor
- amdgpu kernel and current mesa with firmware is recommended
- softhddevice.conf with -v vdpau and -w disable-ogl-osd
- Change deinterlacer to something different than Bob
lnj , if you have the time to do it, I would appreciate it very much, when you fix the va-api stuff.
I think this will run very well with current AMD GPU/APU.
I did a short test with vdr/vlc/mpv/kodi:
Replay a HDTV recording with vdr, %CPU of process vdr with top
softhddevice vdpau: approx. 12%
softhddevice va-api: approx. 30% (we don't know what the scaling is doing here)
Replay sample-Elysium.2013.2160p.mkv
vlc 200% - without acceleration
mpv 15% - uses va-api out of the box
kodi 15-20% - uses va-api
-
Did you ever try LibreELEC on your hardware?
No, but Kodi with yavdr.
It shows me the va-api options and a UHD sample is played without any problems.
But I will try to check if va-api used or not.
you use 60Hz in you xorg.conf, can you try 50Hz on TV?
I'll try this, but first I'm looking for a programm to check the load of GPU or CPU.
I found this ricks-amdgpu-utils, but the Ubuntu ppa version does not work for me..
So I created a ticket and hope to get it running and get more information about what happens (or not)
-
with vdpau and xorg=Modes "1920x1080_60"
I see no stuttering, not for HDTV, nor for SDTV
With vdpau and xorg=Modes "3840x2160_60" --> or without this entry, which mean resolution is = 3840x2160
I see stuttering/black sceeen
to complete this, if I change back to va-api, the OSD is not usable, as shown in first post and SDTV is distorted (melformed), even though it's 16:9.
-
I don't think the "exa" will do somthing for me, but to fix the resolution to 1920x1080.
Unfortunately, the SD TV is now bad, see the lower 1/3.
I have deleted the setup.conf, now the OSD look better
Fix xorg to 1920x1080 cann't be the solution, because I need UHD for kodi.
HDTV 1920x1080:
SDTV 192x1080:
-
Ok, the nice color is gone, but sound is stuttering and video sometimes black or green blocks.
From syslog:
Code
Alles anzeigenJun 14 13:59:26 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:check_state(): got status code: 912 Jun 14 13:59:26 yavdrbox2020 vdr: audio: 'alsa' output module used Jun 14 13:59:26 yavdrbox2020 vdr: audio/alsa: supports pause: yes Jun 14 13:59:26 yavdrbox2020 vdr: audio: 44100Hz supports 1 2 3 4 5 6 7 8 channels Jun 14 13:59:26 yavdrbox2020 vdr: audio: 48000Hz supports 1 2 3 4 5 6 7 8 channels Jun 14 13:59:26 yavdrbox2020 vdr: audio: 192000Hz supports 1 2 3 4 5 6 7 8 channels Jun 14 13:59:26 yavdrbox2020 avahi-daemon[732]: Server startup complete. Host name is yavdrbox2020-2.local. Local service cookie is 2440098316. Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: VDPAU API version: 1 Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: VDPAU information: G3DVL VDPAU Driver Shared Library version 1.0 Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: highest supported high quality scaling 1 Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: feature deinterlace temporal supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: feature deinterlace temporal spatial unsupported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: attribute skip chroma deinterlace supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 4:2:0 chroma format with 16384x16384 supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 4:2:2 chroma format with 16384x16384 supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 4:4:4 chroma format with 16384x16384 supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 8bit BGRA format with 16384x16384 supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 8bit RGBA format with 16384x16384 supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 10bit RGBA format with 16384x16384 supported Jun 14 13:59:26 yavdrbox2020 vdr: video/vdpau: 8bit BRGA format with 16384x16384 supported Jun 14 13:59:27 yavdrbox2020 vdr: video/vdpau: created osd output surface 3840x2160 with id 0x00000009 Jun 14 13:59:27 yavdrbox2020 vdr: video: get hwaccel context, not supported Jun 14 13:59:27 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:change_state with command atta and options "-d :0" to attached Jun 14 13:59:27 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:check_state(): got status code: 910 Jun 14 13:59:27 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:softhddevice successfully attached Jun 14 13:59:27 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:current PrimaryDevice is softhddevice-openglosd (Index: 1, Number: 1, hasDecoder: True, isPrimary: True) Jun 14 13:59:27 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:softhddevice is the primary device Jun 14 13:59:27 yavdrbox2020 yavdr-frontend[1050]: DEBUG:softhddevice:needed 0.001 s to switch primary device Jun 14 13:59:27 yavdrbox2020 vdr: audio/alsa: using device 'default' Jun 14 13:59:27 yavdrbox2020 vdr: audio/alsa: start delay 336ms Jun 14 13:59:27 yavdrbox2020 vdr: video/vdpau: missed frame (1/0) ... Jun 14 13:59:34 yavdrbox2020 automount[823]: key "vdrserver" not found in map source(s). Jun 14 13:59:34 yavdrbox2020 vdr: [965] video directory scanner thread ended (pid=926, tid=965) Jun 14 13:59:40 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe' Jun 14 13:59:46 yavdrbox2020 vdr: message repeated 4 times: [ audio/alsa: avail underrun error? 'Broken pipe'] Jun 14 13:59:47 yavdrbox2020 vdr: audio/alsa: using device 'default' Jun 14 13:59:47 yavdrbox2020 vdr: audio/alsa: start delay 336ms Jun 14 13:59:47 yavdrbox2020 vdr: [985] ERROR: 1 TS packet(s) not accepted in Transfer Mode Jun 14 13:59:49 yavdrbox2020 vdr: video/vdpau: synced after 26 frames Jun 14 13:59:55 yavdrbox2020 vdr: [980] loading /srv/vdr/video/Aufnahmen_auf_nase64f00(nfs)/Serien/Danni_Lowinski/04x06_-_Halloween_und_Halleluja/2020-06-13.22.44.19-0.rec/marks Jun 14 13:59:55 yavdrbox2020 vdr: [980] loading /srv/vdr/video/Aufnahmen_auf_nase64f00(nfs)/Serien/Danni_Lowinski/04x05_-_Sie_ist_ein_Model_und_sie_sieht_gut_aus/2020-06-13.21.49.19-0.rec/marks Jun 14 13:59:55 yavdrbox2020 vdr: [980] loading /srv/vdr/video/Aufnahmen_auf_nase64f00(nfs)/Serien/Two_and_a_Half_Men/05x05_-_Die_üblichen_Nebenwirkungen/2020-06-13.16.56.7-0.rec/marks Jun 14 13:59:55 yavdrbox2020 vdr: [980] loading /srv/vdr/video/Aufnahmen_auf_nase64f00(nfs)/Echtes_Verbrechen/Snapped_-_Wenn_Frauen_töten/08x34_-_Lisa_Whedbee/2020-06-09.20.50.6-0.rec/marks Jun 14 13:59:55 yavdrbox2020 vdr: [980] loading /srv/vdr/video/Aufnahmen_auf_nase64f00(nfs)/Echtes_Verbrechen/Snapped_-_Wenn_Frauen_töten/08x33_-_Cynthia_George/2020-06-09.20.00.6-0.rec/marks Jun 14 13:59:57 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe' Jun 14 14:00:09 yavdrbox2020 vdr: message repeated 8 times: [ audio/alsa: avail underrun error? 'Broken pipe'] Jun 14 14:00:10 yavdrbox2020 vdr: audio/alsa: using device 'default' Jun 14 14:00:10 yavdrbox2020 vdr: audio/alsa: start delay 336ms Jun 14 14:00:17 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe' Jun 14 14:00:19 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe' Jun 14 14:00:20 yavdrbox2020 vdr: audio/alsa: using device 'default' Jun 14 14:00:20 yavdrbox2020 vdr: audio/alsa: start delay 336ms Jun 14 14:00:27 yavdrbox2020 rpc.mountd[791]: authenticated unmount request from 192.168.64.191:658 for /srv/vdr/video (/srv/vdr/video) Jun 14 14:00:28 yavdrbox2020 vdr: [926] [softhddev]No hw driver or OpenGL Osd disabled - use soft OSD Jun 14 14:00:29 yavdrbox2020 vdr: audio/alsa: using device 'default' Jun 14 14:00:29 yavdrbox2020 vdr: audio/alsa: start delay 336ms Jun 14 14:00:31 yavdrbox2020 rpc.mountd[791]: authenticated unmount request from 192.168.64.166:654 for /srv/vdr/video (/srv/vdr/video) Jun 14 14:00:32 yavdrbox2020 rpc.mountd[791]: authenticated unmount request from 192.168.64.166:657 for /srv/vdr/video (/srv/vdr/video) Jun 14 14:00:39 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe' Jun 14 14:00:42 yavdrbox2020 vdr: message repeated 2 times: [ audio/alsa: avail underrun error? 'Broken pipe'] Jun 14 14:00:42 yavdrbox2020 rpc.mountd[791]: authenticated unmount request from 192.168.64.191:676 for /srv/vdr/video (/srv/vdr/video) Jun 14 14:00:43 yavdrbox2020 vdr: [926] setting current skin to "sttng" Jun 14 14:00:43 yavdrbox2020 vdr: [926] loading /var/lib/vdr/themes/sttng-default.theme Jun 14 14:00:43 yavdrbox2020 vdr: [926] OSD size changed to 3840x2160 @ 1 Jun 14 14:00:43 yavdrbox2020 vdr: [926] saved setup to /var/lib/vdr/setup.conf Jun 14 14:00:43 yavdrbox2020 vdr: [926] OSD size changed to 3840x2160 @ 1 Jun 14 14:00:43 yavdrbox2020 vdr: [926] [softhddev]No hw driver or OpenGL Osd disabled - use soft OSD Jun 14 14:00:43 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe' Jun 14 14:00:48 yavdrbox2020 vdr: message repeated 3 times: [ audio/alsa: avail underrun error? 'Broken pipe'] J
-
va-api, because it shows me the best results.
va-api-glx, is also not working and only show a yellow/orange video, but audio is OK
Just tested it again with vdpau.
The video look like slow motion and the sound is stuttering, sometimes I see a black screen.
Parts from syslog:
Jun 14 13:31:06 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:check_state(): got status code: 912
Jun 14 13:31:06 yavdrbox2020 vdr: audio: 'alsa' output module used
Jun 14 13:31:06 yavdrbox2020 vdr: audio/alsa: supports pause: yes
Jun 14 13:31:06 yavdrbox2020 vdr: audio: 44100Hz supports 1 2 3 4 5 6 7 8 channels
Jun 14 13:31:06 yavdrbox2020 vdr: audio: 48000Hz supports 1 2 3 4 5 6 7 8 channels
Jun 14 13:31:06 yavdrbox2020 vdr: audio: 192000Hz supports 1 2 3 4 5 6 7 8 channels
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: VDPAU API version: 1
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: VDPAU information: G3DVL VDPAU Driver Shared Library version 1.0
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: highest supported high quality scaling 1
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: feature deinterlace temporal supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: feature deinterlace temporal spatial unsupported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: attribute skip chroma deinterlace supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 4:2:0 chroma format with 16384x16384 supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 4:2:2 chroma format with 16384x16384 supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 4:4:4 chroma format with 16384x16384 supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 8bit BGRA format with 16384x16384 supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 8bit RGBA format with 16384x16384 supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 10bit RGBA format with 16384x16384 supported
Jun 14 13:31:06 yavdrbox2020 vdr: video/vdpau: 8bit BRGA format with 16384x16384 supported
Jun 14 13:31:07 yavdrbox2020 vdr: video/vdpau: created osd output surface 3840x2160 with id 0x00000009
Jun 14 13:31:07 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:change_state with command atta and options "-d :0" to attached
Jun 14 13:31:07 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:check_state(): got status code: 910
Jun 14 13:31:07 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:softhddevice successfully attached
Jun 14 13:31:07 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:current PrimaryDevice is softhddevice-openglosd (Index: 1, Number: 1, hasDecoder: True, isPrimary: True)
Jun 14 13:31:07 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:softhddevice is the primary device
Jun 14 13:31:07 yavdrbox2020 yavdr-frontend[1048]: DEBUG:softhddevice:needed 0.001 s to switch primary device
Jun 14 13:31:07 yavdrbox2020 vdr: video: get hwaccel context, not supported
Jun 14 13:31:07 yavdrbox2020 vdr: audio/alsa: using device 'default'
Jun 14 13:31:07 yavdrbox2020 vdr: audio/alsa: start delay 336ms
Jun 14 13:31:07 yavdrbox2020 vdr: video/vdpau: missed frame (1/0)
Jun 14 13:31:07 yavdrbox2020 vdr: [914] OSD size changed to 3840x2160 @ 1
Jun 14 13:31:08 yavdrbox2020 vdr: [914] [softhddev]Trying to start OpenGL Worker Thread
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] oglThread thread started (pid=914, tid=1104, prio=high)
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]OpenGL using display :0
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]OpenGL Context initialized
Jun 14 13:31:08 yavdrbox2020 vdr[914]: mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
Jun 14 13:31:08 yavdrbox2020 vdr[914]: mesa: for the --global-isel-abort option: may only occur zero or one times!
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]Shaders initialized
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]vdpau interop initialized
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]Vertex buffers initialized
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]Maximum Pixmap size: 16384x16384px
Jun 14 13:31:08 yavdrbox2020 vdr: [914] [softhddev]OpenGL Worker Thread successfully started
Jun 14 13:31:08 yavdrbox2020 vdr: [1104] [softhddev]ERROR::cOglOutputFb: error set access
Jun 14 13:31:09 yavdrbox2020 vdr: video/vdpau: video surface size mismatch
Jun 14 13:31:10 yavdrbox2020 kernel: [ 15.012457] nfs: Deprecated parameter 'intr'
Jun 14 13:31:10 yavdrbox2020 kernel: [ 15.012461] nfs: Deprecated parameter 'intr'
Jun 14 13:31:10 yavdrbox2020 vdr: video/vdpau: synced after 36 frames
...
Jun 14 13:31:44 yavdrbox2020 vdr: audio/alsa: using device 'default'
Jun 14 13:31:44 yavdrbox2020 vdr: audio/alsa: start delay 336ms
Jun 14 13:31:53 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe'
Jun 14 13:31:55 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe'
Jun 14 13:31:56 yavdrbox2020 vdr: audio/alsa: using device 'default'
Jun 14 13:31:56 yavdrbox2020 vdr: audio/alsa: start delay 336ms
Jun 14 13:32:06 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe'
Jun 14 13:32:07 yavdrbox2020 vdr: audio/alsa: avail underrun error? 'Broken pipe'
Jun 14 13:32:08 yavdrbox2020 vdr: audio/alsa: using device 'default'
Jun 14 13:32:08 yavdrbox2020 vdr: audio/alsa: start delay 336ms
Jun 14 13:32:10 yavdrbox2020 rpc.mountd[789]: authenticated unmount request from 192.168.64.191:647 for /srv/vdr/video (/srv/vdr/video)
Installed vdpau stuff:
-
Hallo zusammen,
ich versuche gerade einen Rechner mit AMD Grafik, mit VDR zum Laufen zu bekommen.
Das Ziel ist für mich:
1.) TV über VDR, stand heute max. HDTV
2.) UHD Filme über Kodi, Decodierung über GPU (va-api)
CodeCPU: Topology: Quad Core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64 type: MT MCP L2 cache: 2048 KiB Speed: 1252 MHz min/max: 1400/3700 MHz Core speeds (MHz): 1: 1252 2: 1252 3: 1252 4: 2293 5: 1252 6: 1252 7: 1252 8: 2294 Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Picasso driver: amdgpu v: kernel
Im Prinzip bin ich schon viel weiter als erhofft, scheitere aber am OSD, der VDR ist aktuell unbedienbar.
Das OSD ist riesig, vermutlich wird es nicht skaliert.
Der Screenshot zeigt den gesamten Bildschirm!
Basis ist Ubuntu focal Server
- Aktueller Kernel und Firmware von hier: https://github.com/M-Bab/linux-kernel-amdgpu-binaries
- mesa usw. von hier, habe ich probiert, hat aber keinen Unterschied gemacht: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
- Danach VDR Installation per yavdr-ansible (focal)
Ich habe jetzt, glaube ich, alle xineliboutput, softhd-/vaapi -devices durchprobiert.
Teilweise startet VDR nicht mal oder nach wenigen Sekunden stottert das Bild nur noch.
Aktuell das beste Ergebnis habe ich mit softhddevice von ua0lnj ( lnj) , Screenshot siehe oben.
Grub Einträge, x-org.conf alles egal (mit/ohne/Varianten), ich scheitere am OSD.
Version:
Codeapt policy vdr-plugin-softhddevice vdr-plugin-softhddevice: Installiert: 0.7.0+git20200612-811-970a5e8-0yavdr0~focal
Aktuelle Einstellungen:
edid wird per Skript in intramfs kopiert
Grub:
GRUB_CMDLINE_LINUX_DEFAULT="iommu=pt drm.edid_firmware=HDMI-A-1:edid/edid.HDMI-A-1.bin video=HDMI-A-1:e"
50-softhddevice.conf:
xorg.conf, 20-amdgpu.conf: 20-amdgpu.conf.txt
va-api scheint zu laufen, wird auch in Kodi angeboten und sieht gut aus:
vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 20.0.4 for AMD RAVEN (DRM 3.38.0, 5.6.14-20.05.23.amdgpu.ubuntu, LLVM 9.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Hat jemand eine Idee?
Was kann ich versuchen?
Welche Informationen werden benötigt?
Was mich etwas verwirrt: Das System beginnt bei "HDMI-A-1", xrandr aber bei "HDMI-A-0"
Codefor p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done DP-1: disconnected HDMI-A-1: connected HDMI-A-2: disconnected
xrandr --query
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
HDMI-A-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
3840x2160_60 60.00*+
3840x2160 60.00 + 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 24.00
2560x1440_60 59.95
2560x1440 59.95
1920x1200 60.00
1920x1080_60 60.00
1920x1080_50 50.00
1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080_25 25.00 50.00
1600x1200 60.00
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1440x900 60.00
1280x800 59.91
1152x864 75.00
1280x720_60 60.00
1280x720_50 50.00
1280x720 60.00 50.00 59.94
1440x576_25 50.00
1024x768 75.03 60.00
1440x480_60 60.00
1440x480 60.00 59.94
832x624 74.55
800x600 75.00 60.32
720x576_50 50.00
720x576 50.00
720x480_60 60.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
640x480_60 60.00
720x400 70.08
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
Gruß
Frank
-
Kann ich auch nicht bestätigen, bei mir läuft`s.
Codevdr-epg-daemon: Installiert: 1.1.159-0yavdr0~bionic+local1 Installationskandidat: 1.1.159-0yavdr0~bionic+local1 Versionstabelle: *** 1.1.159-0yavdr0~bionic+local1 100 100 /var/lib/dpkg/status 1.1.159-0yavdr0~bionic 500
Habt ihr die Seite mal mit STRG+F5 neu geladen? (lädt Webseite und Cache neu)
-
Falls es aber trotzdem nicht funktioniert, könnte ein Bug verantwortlich sein.
Bei mir bekomme ich aktuell das Menü auch nicht zu sehen.https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1863434
-
Busybox? Du meinst Grub?
Ich würde versuchen Grub auf der SSD per CHROOT zu reparieren.
Ein System von dem Du booten kannst hast Du ja.https://wiki.ubuntuusers.de/GRUB_2/Reparatur/
Hat mir schon oft geholfen.
-