Forum Replies Created
-
AuthorPosts
-
hacheParticipant
Just to add some more information:
On the machine with Opteron X3216 and Ubuntu 23.04, I installed AMDGPU-PRO 5.7.3 and the VCE encoder is started properly according to dmesg.
However when starting the session, I get:
0124-00-03 19:12:24 82E066C0 [AMFDeviceVulkanImpl] Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(1049):Assertion failed:vkCreateDevice() failed, Error=-7
0124-00-03 19:12:24 82E066C0 [AMFDeviceVulkanImpl] Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(587):AMF_ERROR 1 : AMF_FAIL: CreateDeviceAndFindQueues() failed
0124-00-03 19:12:24 82E066C0 [AMFContextImpl] Error: ../../../../../runtime/src/core/ContextImpl.cpp(1013):AMF_ERROR 1 : AMF_FAIL: pDeviceVulkan->Init(pVulkanDevice)
VCE: WARNING! Failed to init device.
0124-00-03 19:12:24 82E066C0 [EncodeQueueFactory] Error: ../../../../../runtime/src/components/EncoderCore/EncodeQueueFactory.cpp(58):Assertion failed:EncodeQueueService::Create() Failed to create EncodeQueueService!
0124-00-03 19:12:24 82E066C0 [AMFEncoderCoreBaseImpl] Warning: Failed to initialize EncodeQueueFactory.
0124-00-03 19:12:24 82E066C0 [AMFEncoderCoreBaseImpl] Warning: Failed to create encode queue serivce.
0124-00-03 19:12:24 82E066C0 [AMFEncoderCoreH264] Warning: Encode Core dll not found, fall back to UVE path
0124-00-03 19:12:24 82E066C0 [AMFEncoderCoreH264] Warning: CreateServices failed.
VCE: WARNING! Failed to create encoder.
Info: Using H.264 software encoder.
This is the same problem I was getting on the Ryzen 5 machine.
It seems like the problem is NoMachine’s implementation not being up to date with the newer AMD drivers. I would go back to previous drivers, but they don’t work with the most up to date Linux Kernels.
So I guess that it’s up to NoMachine to fix this issue?
Thanks in advance.
June 27, 2023 at 16:27 in reply to: Black screen on NoMachine Ubuntu 22.04 with AMD proprietary drivers #44721hacheParticipantI uninstalled all other components besides AMF as specified in your KB.
VCE is activated in physical mode at OS level.$ sudo dmesg |grep VCE
[ 3.193237] [drm] VCE enabled in physical mode
[ 3.197430] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 3.388726] [drm] VCE initialized successfully.
However I don’t see NoMachine even trying to use the HW encoder in the logs. Actually I have a black screen again from MacOS, however from iOS I can see the Desktop (but from iPhone the nxserver uses VP8 software encoding).
I’ve attached the logs following your instructions.
Thanks in advance for your help.
Attachments:
June 27, 2023 at 13:18 in reply to: Black screen on NoMachine Ubuntu 22.04 with AMD proprietary drivers #44718hacheParticipantI’ve used sudo amdgpu-install –usecase=amf as it was indicated in that KB entry. However VCE fails to start. Supposedly R5 Carrizo GPUs have VCE capacity. However this doesn’t work with NoMachine. AMDGPU version installed is 21.40.1
[ 3.193237] [drm] VCE enabled in physical mode
[ 3.197430] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 3.388726] [drm] VCE initialized successfully.
So for some reason, although VCE is initiated properly on Ubuntu, NoMachine fails and shows a black screen.
Attachments:
June 25, 2023 at 13:38 in reply to: Black screen on NoMachine Ubuntu 22.04 with AMD proprietary drivers #44694hacheParticipantI’ve managed to fix the black screen issue by removing AMDGPU graphics drivers. I’ve installed them only with –usecase=amf and can get to the desktop.
However I am still unable to get hardware encoding on the server side.
June 23, 2023 at 16:26 in reply to: Black screen on NoMachine Ubuntu 22.04 with AMD proprietary drivers #44688June 23, 2023 at 09:45 in reply to: Black screen on NoMachine Ubuntu 22.04 with AMD proprietary drivers #44674hacheParticipantI’ve removed proprietary drivers and re-installed only –usecase=amf.
Logs look different now. I’ve attached Xorg.0.log and nxserver.log
-
AuthorPosts