aurgatech / apps

Client Apps for AURGA Viewer
1 stars 0 forks source link

A hardware frames or device context is required for hardware accelerated decoding. #1

Open Aqua1ung opened 3 weeks ago

Aqua1ung commented 3 weeks ago

The previous AURGA (1.1.0.0) application for Windows was working fine for me. The new version (2.0.0.0) displays a "NO SIGNAL" black screen, even though the connection is fine. Here's what the log says:

[h264 @ 00007D7CF8E95440] A hardware frames or device context is required for hardware accelerated decoding.
[h264 @ 00007D7CF8E95440] Failed setup for format dxva2_vld: hwaccel initialisation returned error.
[h264 @ 00007D7CF8E95440] Invalid return from get_format(): dxva2_vld not in possible list.
[h264 @ 00007D7CF8E95440] decode_slice_header error
[h264 @ 00007D7CF8E95440] no frame!

What am I doing wrong?

aurgatech commented 3 weeks ago

@Aqua1ung What are your graphics cards and operating system?

Aqua1ung commented 3 weeks ago

@Aqua1ung What are your graphics cards and operating system?

That is not relevant: the point is that the old app works perfectly fine on the same system(!), while the new one does not. Again, nothing has changed as far as the system goes.

Does the new app have different hardware requirements? Different software dependencies? If so, please post the list of new dependencies and requirements, so we can make sure we install them.

aurgatech commented 3 weeks ago

@Aqua1ung What are your graphics cards and operating system?

That is not relevant: the point is that the old app works perfectly fine on the same system(!), while the new one does not. Again, nothing has changed as far as the system goes.

Does the new app have different hardware requirements? Different software dependencies? If so, please post the list of new dependencies and requirements, so we can make sure we install them.

The old app doesn't use hardware accelerated decoder and rendering. It renders the image with OpenGL. In the new app, we use hardware decoder and render with direct 3d.

Aqua1ung commented 3 weeks ago

The old app doesn't use hardware accelerated decoder and rendering. It renders the image with OpenGL. In the new app, we use hardware decoder and render with direct 3d.

Thank you. That is very important to know. I am using the app in a Wine environment, and I do not have DirectX installed. I am not sure if I can install DirectX in Wine, but I will investigate.

In the meantime, is there a chance that you guys can build a Linux Docker image of the app? That would save me (and many other Linux users) a lot of grief!

How about a Flatpak package? Or even an AppImage?

... or is it that there is no hardware accelerated Aurga application for Linux?

aurgatech commented 3 weeks ago

Hi @Aqua1ung , please try the new Linux version here: https://github.com/aurgatech/linux-binaries/releases/tag/v2.0.0.0