zhuzhe 2 Posted July 4, 2024 Posted July 4, 2024 On 6/14/2024 at 2:18 PM, zhuzhe said: Sure, Thanks for help hardware_detection-63853962071.txt 138.18 kB · 1 download embyserver.txt 70.65 kB · 2 downloads @Lukesir, any updates for these log?
Luke 39654 Posted July 12, 2024 Posted July 12, 2024 On 7/4/2024 at 4:12 AM, zhuzhe said: @Lukesir, any updates for these log? Hi, are your graphics drivers up to date? Is there a monitor connected directly to the graphics card?
zhuzhe 2 Posted July 13, 2024 Posted July 13, 2024 On 7/12/2024 at 11:32 AM, Luke said: Hi, are your graphics drivers up to date? Is there a monitor connected directly to the graphics card? Thanks for reply. The intel graphics drivers is i915 with linux kernel 5.10. and there is no monitor connected to hdmi port. there are some informationthat might help. zhuzhe@SA6400:~$ uname -a Linux SA6400 5.10.55+ #69057 SMP Fri Jan 12 17:02:57 CST 2024 x86_64 GNU/Linux synology_epyc7002_sa6400 zhuzhe@SA6400:~$ lsmod | grep i915 i915 2650112 0 i2c_algo_bit 16384 1 i915 drm_buddy 20480 1 i915 intel_gtt 20480 1 i915 drm_display_helper 110592 1 i915 drm_kms_helper 98304 2 drm_display_helper,i915 ttm 53248 1 i915 drm 393216 6 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm drm_mipi_dsi 20480 2 i915,drm i915_compat 24576 3 drm_display_helper,i915,drm dmabuf 61440 8 drm_kms_helper,drm_mipi_dsi,drm_display_helper,drm_buddy,i915,ttm,i915_compat,drm zhuzhe@SA6400:~$ ls /dev/dri/ by-path card0 renderD128 zhuzhe@SA6400:~$ sudo lspci -vvs 00:02.0 Password: 00:02.0 Class 0300: Device 8086:4628 (rev 0c) DeviceName: Onboard - Video Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 211 Region 0: Memory at 603c000000 (64-bit, non-prefetchable) [size=16M] Region 2: [virtual] Memory at 4000000000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at 4000 [size=64] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ FLReset+ DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled AtomicOpsCtl: ReqEn- Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit- Address: fee00018 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Process Address Space ID (PASID) PASIDCap: Exec- Priv-, Max PASID Width: 14 PASIDCtl: Enable- Exec- Priv- Capabilities: [200 v1] Address Translation Service (ATS) ATSCap: Invalidate Queue Depth: 00 ATSCtl: Enable-, Smallest Translation Unit: 00 Capabilities: [300 v1] Page Request Interface (PRI) PRICtl: Enable- Reset- PRISta: RF- UPRGI- Stopped+ Page Request Capacity: 00008000, Page Request Allocation: 00000000 Capabilities: [320 v1] Single Root I/O Virtualization (SR-IOV) IOVCap: Migration-, Interrupt Message Number: 000 IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy- IOVSta: Migration- Initial VFs: 7, Total VFs: 7, Number of VFs: 0, Function Dependency Link: 00 VF offset: 1, stride: 1, Device ID: 4628 Supported Page Size: 00000553, System Page Size: 00000001 Region 0: Memory at 0000004010000000 (64-bit, non-prefetchable) Region 2: Memory at 0000004020000000 (64-bit, prefetchable) VF Migration: offset: 00000000, BIR: 0 Kernel driver in use: i915 if you need any further information, please let me know, thanks
Luke 39654 Posted July 16, 2024 Posted July 16, 2024 Hi, are you able to try connecting a monitor to it and see if that helps?
zhuzhe 2 Posted July 18, 2024 Posted July 18, 2024 On 7/17/2024 at 6:25 AM, Luke said: Hi, are you able to try connecting a monitor to it and see if that helps? i try both connected and disconnect again and restart NAS, it dosen't help
Luke 39654 Posted July 18, 2024 Posted July 18, 2024 1 hour ago, zhuzhe said: i try both connected and disconnect again and restart NAS, it dosen't help Hi, can you please supply log file examples with a monitor connected?
zhuzhe 2 Posted July 19, 2024 Posted July 19, 2024 22 hours ago, Luke said: Hi, can you please supply log file examples with a monitor connected? Sure, these are the files. If you need any other information, just let me know. Thanks a lot hardware_detection-63856984378.txt embyserver (5).txt
zhuzhe 2 Posted October 7, 2024 Posted October 7, 2024 On 9/30/2024 at 10:05 PM, Luke said: @zhuzhedid you figure this out? This weekend after I update redpill loader to 24.10.0 and emby to 4.8.10.0, the problem solved. I am not sure which update was related.... 2
zzsx644 3 Posted October 23, 2024 Posted October 23, 2024 在4.7.14下一切正常,升级到4.8之后无法硬解,转码界面可以看到独立显卡,但是硬解不工作。 黑群晖SA6400 7.2,独显为GTX1650 这是在4.9.0.30的记录 Everything worked fine on version 4.7.14, but after upgrading to version 4.8, hardware decoding stopped working. The transcoding interface shows the dedicated GPU, but hardware decoding doesn't function. Using XPEnology SA6400 7.2 with a GTX 1650 GPU. This is based on my experience with version 4.9.0.30. ffmpeg-transcode-b2135b39-49ef-4417-aa2f-5e5e5c10a1ea_1.txt ffmpeg-transcode-a07cecd0-6302-40a0-82af-919a376ce2ab_1.txt ffmpeg-transcode-dce836a9-6b8c-45f8-9cdd-0d03dd0ca083_1.txt hardware_detection-63865075102.txt embyserver.txt
Carlo 4547 Posted October 26, 2024 Posted October 26, 2024 Hi, the 3 transcodes above are all the same. This media file has a bitrate of 26MB, resolution of 3840x1608, HDR10, both eac3 & Atmos audio tracks, 40+ ass & subrip Subtitles. The transcode is trying scale the video from 3840x1608 to 1920x804, tone map HDR to SDR,, as well as extract a set of subtitles. The logs show the subtitle extraction completed and then a quit. There's a lot going on here and we need to simplify what's taking place. Please try playing a 1080 video that has no subtitles. On the client you can click the cog icon, then go into quality and choose a 720 resolution/bitrate entry. That will force a transcode so we can see if basic hardware transcoding is working on not. Let us know what happens so we can determine the next step. If it fails, upload the server and ffmpeg logs. Carlo
zzsx644 3 Posted October 28, 2024 Posted October 28, 2024 On 10/26/2024 at 4:35 PM, Carlo said: Hi, the 3 transcodes above are all the same. This media file has a bitrate of 26MB, resolution of 3840x1608, HDR10, both eac3 & Atmos audio tracks, 40+ ass & subrip Subtitles. The transcode is trying scale the video from 3840x1608 to 1920x804, tone map HDR to SDR,, as well as extract a set of subtitles. The logs show the subtitle extraction completed and then a quit. There's a lot going on here and we need to simplify what's taking place. Please try playing a 1080 video that has no subtitles. On the client you can click the cog icon, then go into quality and choose a 720 resolution/bitrate entry. That will force a transcode so we can see if basic hardware transcoding is working on not. Let us know what happens so we can determine the next step. If it fails, upload the server and ffmpeg logs. Carlo 好的,我按照你的指导做了操作 Okay, I followed your instructions and performed the operation. ffmpeg-transcode-7bd66a5e-fc64-4407-a655-dffbe4c3b492_1.txt ffmpeg-transcode-ee2cdf61-2149-44d3-a861-cc69efee8557_1.txt ffmpeg-transcode-4179d041-35d4-4e40-89e2-52e85f8a4629_1.txt ffmpeg-transcode-7507b95a-c8ae-4f6c-b10a-8c7e86496945_1.txt embyserver (1).txt
Carlo 4547 Posted November 2, 2024 Posted November 2, 2024 This is the same as before with subtitles present in the media. I'm asking you to playback a file that contains no subtitles in the media. Your logs all show pgssub subtitles present in the media. These pgssub subs are what seems to be the source of your issue and what stops the transcoder. The transcoder for example shows this: "02:04:23.789 [matroska,webm @ 0x1ef1580] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size" That would seem to indicate the file is using webm packaging but is not using streams compatible with that format. Webm is a subset of Matroska created by Google for streaming and it does not support graphical subtitles. You should try using MKVToolNix on one of these files t see if it can fix or change the format properly to a container compatible with the streams it will contain.
zzsx644 3 Posted November 4, 2024 Posted November 4, 2024 On 11/2/2024 at 11:40 PM, Carlo said: This is the same as before with subtitles present in the media. I'm asking you to playback a file that contains no subtitles in the media. Your logs all show pgssub subtitles present in the media. These pgssub subs are what seems to be the source of your issue and what stops the transcoder. The transcoder for example shows this: "02:04:23.789 [matroska,webm @ 0x1ef1580] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size" That would seem to indicate the file is using webm packaging but is not using streams compatible with that format. Webm is a subset of Matroska created by Google for streaming and it does not support graphical subtitles. You should try using MKVToolNix on one of these files t see if it can fix or change the format properly to a container compatible with the streams it will contain. 上次我已经关闭了字幕不知道为何还会载入字幕,这次我选择了一个完全没有字幕的文件。 Last time, I had already disabled subtitles, so I'm not sure why they were still being loaded. This time, I chose a file that has no subtitles at all. ffmpeg-transcode-40855aa6-5c69-4259-9afa-b133dae3e85d_1.txt ffmpeg-transcode-a515d2e8-9500-4a40-ad7a-8ad980de5ebb_1.txt embyserver.txt ffmpeg-transcode-daf259b4-46c9-43ef-a73e-a7a3534dceac_1.txt hardware_detection-63866283095.txt
Carlo 4547 Posted November 4, 2024 Posted November 4, 2024 It's not a matter of turning off/disabling the subtitles, but the fact they are in the media file. "These files have the subtitles embedded and the transcode stops about the time it gets to them. The previous step is a "setsar" (filter used to set the Display Aspect Ratio). It seems to fail on the setsar or when it gets to the subs. We did rule out it being related to WebM as these were mp4 this time. So, I'm trying to figure out which is the problem. Let's try something and we will only use this file: "Tokidoki Bosotto Russia-go de Dereru Tonari no Alya-san - S1E01.mp4" I'd like you to download the 3 top files (4th optional). You can unzip all of them to a new folder name "Matroska". These are the reference tools from the website of the team who gave us Matroska & WebM packages. Run mkvalidator.on your media file. Did you get any warnings or errors? Regardless of any errors, run mkclearn on the media files. Run mkvalidator.on your media file one more time. It should not give any errors this time. https://www.matroska.org/downloads/mkvalidator.html - this will show you quickly if it thinks there is anything wrong https://www.matroska.org/downloads/mkclean.html - mkclean is a command line tool to clean and optimize Matroska and WebM files https://www.matroska.org/downloads/mkvtoolnix.html - MKVToolNix is a set of tools to create, alter and inspect Matroska & WebM files. It is the de-facto reference implementation of a Matroska multiplexer. Most of the time the first 2 will fix and verify your media. The 3rd file is the "tool kit" that have 4 command line tools and a Windows GUI. Below is a link to a different GUI for mkvtoolnix that many people like better. --------------------------------------------------- You have an error being repeated in your log files: System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource. It's not a big deal, but we need to change a couple settings to raise the number. The inotify process is a message the OS send all program when a file is change in any way. Emby listens for inotify message when you have "Enable real time monitoring" turned on in a library. Just follow the instructions in this post and this will be taken care of.
zzsx644 3 Posted November 7, 2024 Posted November 7, 2024 On 11/5/2024 at 7:42 AM, Carlo said: It's not a matter of turning off/disabling the subtitles, but the fact they are in the media file. "These files have the subtitles embedded and the transcode stops about the time it gets to them. The previous step is a "setsar" (filter used to set the Display Aspect Ratio). It seems to fail on the setsar or when it gets to the subs. We did rule out it being related to WebM as these were mp4 this time. So, I'm trying to figure out which is the problem. Let's try something and we will only use this file: "Tokidoki Bosotto Russia-go de Dereru Tonari no Alya-san - S1E01.mp4" I'd like you to download the 3 top files (4th optional). You can unzip all of them to a new folder name "Matroska". These are the reference tools from the website of the team who gave us Matroska & WebM packages. Run mkvalidator.on your media file. Did you get any warnings or errors? Regardless of any errors, run mkclearn on the media files. Run mkvalidator.on your media file one more time. It should not give any errors this time. https://www.matroska.org/downloads/mkvalidator.html - this will show you quickly if it thinks there is anything wrong https://www.matroska.org/downloads/mkclean.html - mkclean is a command line tool to clean and optimize Matroska and WebM files https://www.matroska.org/downloads/mkvtoolnix.html - MKVToolNix is a set of tools to create, alter and inspect Matroska & WebM files. It is the de-facto reference implementation of a Matroska multiplexer. Most of the time the first 2 will fix and verify your media. The 3rd file is the "tool kit" that have 4 command line tools and a Windows GUI. Below is a link to a different GUI for mkvtoolnix that many people like better. --------------------------------------------------- You have an error being repeated in your log files: System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource. It's not a big deal, but we need to change a couple settings to raise the number. The inotify process is a message the OS send all program when a file is change in any way. Emby listens for inotify message when you have "Enable real time monitoring" turned on in a library. Just follow the instructions in this post and this will be taken care of. 我终于找到了几个完全没有字幕的文件,我发现1080p下可以正常转码,但是如果1440p就还是无法播放,所以是字幕原因是吗? I finally found some files without any subtitles at all. I discovered that 1080p files can transcode normally, but 1440p files still fail to play. So, is it caused by the subtitles? 还有你让我下载的"Matroska"我看不懂如何操作 And regarding the "Matroska" tools you asked me to download, I don’t understand how to use them. ffmpeg-transcode-3c1b63ad-f6b3-4039-9647-25c92fdc8629_1.txt ffmpeg-transcode-e6441b89-15bb-4ce9-8c26-4c47b102bdcb_1.txt ffmpeg-transcode-c14e1199-f09f-43e7-b9cc-f32324d37b1a_1.txt ffmpeg-transcode-d9494bb3-3053-4910-bdb1-5025c63d459a_1.txt ffmpeg-transcode-0122b2be-1553-451f-af63-62ce0c652754_1.txt embyserver.txt ffmpeg-transcode-66672812-db37-4974-8e2f-1e40b8bb407b_1.txt ffmpeg-transcode-2458515a-40e1-44b5-b0ca-91b7a59dc3ec_1.txt ffmpeg-transcode-2bb9c9d7-5286-4e49-820a-2a8c0526ed2b_1.txt ffmpeg-transcode-77e93f2a-b6ac-410f-a77d-c371ed7a85ae_1.txt ffmpeg-transcode-93561ccc-b7a2-4664-95f3-0ebfef9b1265_1.txt ffmpeg-transcode-d77a3a41-72c6-4d92-b695-04284849e138_1.txt
Carlo 4547 Posted November 7, 2024 Posted November 7, 2024 Create a directory called MKVTools in your C root path. Unzip the files to that directory Open a command prompt and switch directories to c:\MKVTools type mkvalidator -h or mkclean -h to get the command line to use with any options. I typically use: mkvalidator --details "name of file with full path" mkclean "name of file with full path" mkvalidator will tell you if it's a valid file. It may not be using proper tags or elements correctly however. That's where mkclean comes in. It will; rewrite the file optimizing it as well. Here's an example of what mkclean output on an mkv file. The Range element at 530 is not part of profile 'matroska v2', skipping The ChromaSitingVert element at 538 is not part of profile 'matroska v2', skipping The Colour element at 527 is not part of profile 'matroska v2', skipping The FieldOrder element at -1 is not part of profile 'matroska v2', skipping The SeekPreRoll element at -1 is not part of profile 'matroska v2', skipping The SeekPreRoll element at -1 is not part of profile 'matroska v2', skipping The SeekPreRoll element at -1 is not part of profile 'matroska v2', skipping
softworkz 4493 Posted November 7, 2024 Posted November 7, 2024 @zzsx644 - Please ignore all other instructions for a moment and update your Nvidia drivers as described here: https://emby.media/support/articles/Hardware-Acceleration-on-Linux.html?q=nvidia#required-setup-steps There has been a bump in Nvidia driver version requirements after server 4.7 versions. Please go to the Nivida website and install the latest drivers from there. 2 1
Carlo 4547 Posted November 8, 2024 Posted November 8, 2024 Appreciate you jumping in here @softworkz! 2
zzsx644 3 Posted February 19 Posted February 19 On 11/8/2024 at 5:02 AM, softworkz said: @zzsx644 - Please ignore all other instructions for a moment and update your Nvidia drivers as described here: https://emby.media/support/articles/Hardware-Acceleration-on-Linux.html?q=nvidia#required-setup-steps There has been a bump in Nvidia driver version requirements after server 4.7 versions. Please go to the Nivida website and install the latest drivers from there. 抱歉我很久没时间研究这个问题,现在升级了最新显卡驱动,也升级到了4.9.0.38版本,问题还是存在 Sorry, I haven't had time to look into this issue for a long time. Now I've upgraded to the latest GPU driver and also updated to version 4.9.0.38, but the problem still persists. embyserver.txt ffmpeg-remux-0fb40f54-1c22-425f-aab8-4c96c45e0440_1.txt ffmpeg-remux-9a8050f9-7d40-479f-83a9-d65720ee107b_1.txt ffmpeg-transcode-83cc33f6-08fb-4229-9155-6e4a7343c545_1.txt ffmpeg-transcode-6866e15c-00cb-4485-9368-18e75431414f_1.txt ffmpeg-transcode-881135b3-9a6e-4965-b8c0-40a6b569fe07_1.txt ffmpeg-transcode-bc4703a7-427d-47d8-a141-dcc94da38da1_1.txt ffmpeg-transcode-bf8a87ef-445a-4207-85ae-6de2d4ebe70a_1.txt ffmpeg-transcode-e53b6724-5fc0-4293-b2a1-42ac0e436150_1.txt hardware_detection-63875567453.txt
Luke 39654 Posted February 20 Posted February 20 On 2/19/2025 at 8:21 AM, zzsx644 said: 抱歉我很久没时间研究这个问题,现在升级了最新显卡驱动,也升级到了4.9.0.38版本,问题还是存在 Sorry, I haven't had time to look into this issue for a long time. Now I've upgraded to the latest GPU driver and also updated to version 4.9.0.38, but the problem still persists. embyserver.txt 173.59 kB · 0 downloads ffmpeg-remux-0fb40f54-1c22-425f-aab8-4c96c45e0440_1.txt 21.95 kB · 0 downloads ffmpeg-remux-9a8050f9-7d40-479f-83a9-d65720ee107b_1.txt 15.66 kB · 0 downloads ffmpeg-transcode-83cc33f6-08fb-4229-9155-6e4a7343c545_1.txt 16.3 kB · 0 downloads ffmpeg-transcode-6866e15c-00cb-4485-9368-18e75431414f_1.txt 11.02 kB · 0 downloads ffmpeg-transcode-881135b3-9a6e-4965-b8c0-40a6b569fe07_1.txt 11.08 kB · 0 downloads ffmpeg-transcode-bc4703a7-427d-47d8-a141-dcc94da38da1_1.txt 11.2 kB · 0 downloads ffmpeg-transcode-bf8a87ef-445a-4207-85ae-6de2d4ebe70a_1.txt 16.22 kB · 0 downloads ffmpeg-transcode-e53b6724-5fc0-4293-b2a1-42ac0e436150_1.txt 16.26 kB · 0 downloads hardware_detection-63875567453.txt 153.98 kB · 0 downloads Hi, what exactly is the problem?
zzsx644 3 Posted February 21 Posted February 21 10 hours ago, Luke said: Hi, what exactly is the problem? 从4.7升级到4.8之后硬解就失灵了,这个问题我在July 9, 2024开一个帖子询问过 After upgrading from version 4.7 to 4.8, hardware decoding stopped working. I started a thread asking about this issue on July 9, 2024.
zzsx644 3 Posted March 10 Posted March 10 我使用了更换硬件的方法解决了问题,购买了一个新nas,使用N100的核显进行转码,一切就正常了。 虽然没能解决问题,但是感谢大家的帮助和解答 I solved the issue by replacing the hardware. I purchased a new NAS and used the N100 integrated graphics for transcoding, and everything is now working fine. Although the original issue wasn't resolved, I sincerely appreciate everyone's help and support. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now