Forum / NoMachine for Linux / Quick Sync not working
- This topic has 4 replies, 3 voices, and was last updated 4 years, 3 months ago by Britgirl.
-
AuthorPosts
-
June 5, 2020 at 07:12 #27983yogi_enParticipant
Using Manjaro/Arch linux as OS as server. Client is MAC. NoMachine – Version 6.10.12
vainfo ouput below:
error: can’t connect to X server!
vainfo: VA-API version: 1.7 (libva 2.7.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Desktop – 2.4.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
Ouput from session (/usr/NX/var/log/node/xxxxx/session
NXAGENT – Version 6.10.12
Copyright (C) 2001, 2019 NoMachine.
See http://www.nomachine.com/ for more information.
Session: Starting session at Thu Jun 4 19:25:34 2020.
Info: Agent running with pid 3629.
Info: Slave server running with pid 3640.
Info: Display running with pid 3641.
Info: Listening to slave connections on port 12001.
Info: Audio server started with pid 3654.
Info: Audio client started with pid 3655.
Info: Display server started with pid 3656.
Session: Session started at Thu Jun 4 19:25:34 2020.
Info: Using MIT-SHM extension.
Info: Using SSE3 for screen analysis.
Session: Connected to display server ‘:0’ at ‘Thu Jun 4 19:25:35 2020’.
Info: Screen capture running with pid 3878.
Session: Connected to events server ‘:0’ at ‘Thu Jun 4 19:25:35 2020’.
Info: Using damage extension for screen updates.
Info: Screen analysis running with pid 3879.
Info: Using grab method ‘CopyArea’.
Info: Using screen size 1920×1080.
Info: RT handler running with pid 3885.
Info: Display server for 2C6BE51C6B00D92F3599EB4F35078BE3 connected on Thu Jun 4 19:25:35 2020.
Info: Audio client for 2C6BE51C6B00D92F3599EB4F35078BE3 connected on Thu Jun 4 19:25:35 2020.
Info: Audio server for 2C6BE51C6B00D92F3599EB4F35078BE3 connected on Thu Jun 4 19:25:35 2020.
3629 3878 19:25:35 446.992 Console: WARNING! Can’t query FD#33.
3629 3878 19:25:35 447.019 Console: WARNING! Error is 13, ‘Permission denied’.
3629 3878 19:25:35 447.107 QsLibraries/QsLibraries: WARNING! Failed to initialize display for device /dev/dri/renderD128 with error -1.
3629 3878 19:25:35 447.202 QsLibraries/QsLibraries: WARNING! Failed to initialize display for device /dev/dri/card0 with error -1.
Info: Using H.264 software encoder.
Info: Audio reader running with pid 3928.
(END)
I also tried to install intel media driver. But that also didn’t help. NoMachine is still using software encoder. Any help is appreciated.
June 5, 2020 at 09:15 #27991fra81ModeratorJune 5, 2020 at 16:49 #27997yogi_enParticipantI did that. Still getting errors. session logs below.
NXAGENT – Version 6.10.12
Copyright (C) 2001, 2019 NoMachine.
See http://www.nomachine.com/ for more information.
Session: Starting session at Fri Jun 5 08:17:10 2020.
Info: Agent running with pid 93897.
Info: Slave server running with pid 93908.
Info: Display running with pid 93909.
Info: Listening to slave connections on port 12001.
Info: Audio server started with pid 93922.
Info: Audio client started with pid 93923.
Info: Display server started with pid 93924.
Session: Session started at Fri Jun 5 08:17:10 2020.
Info: Using MIT-SHM extension.
Info: Using SSE3 for screen analysis.
Session: Connected to display server ‘:0’ at ‘Fri Jun 5 08:17:11 2020’.
Session: Connected to events server ‘:0’ at ‘Fri Jun 5 08:17:11 2020’.
Info: Screen capture running with pid 94146.
Info: Screen analysis running with pid 94147.
Info: Using damage extension for screen updates.
Info: Using grab method ‘CopyArea’.
Info: Using screen size 1440×900.
Info: RT handler running with pid 94153.
Info: Display server for BBE93686269D13FB9F9FFFBB58507EC8 connected on Fri Jun 5 08:17:11 2020.
Info: Audio server for BBE93686269D13FB9F9FFFBB58507EC8 connected on Fri Jun 5 08:17:11 2020.
Info: Audio client for BBE93686269D13FB9F9FFFBB58507EC8 connected on Fri Jun 5 08:17:11 2020.
93897 94146 08:17:11 220.682 Console: WARNING! Can’t query FD#33.
93897 94146 08:17:11 220.714 Console: WARNING! Error is 13, ‘Permission denied’.
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
93897 94146 08:17:11 222.451 QsLibraries/QsLibraries: WARNING! Failed to initialize display for device /dev/dri/renderD128 with error 1.
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
93897 94146 08:17:11 222.613 QsLibraries/QsLibraries: WARNING! Failed to initialize display for device /dev/dri/card0 with error 1.
Info: Using H.264 software encoder.
Info: Audio reader running with pid 94196.
June 8, 2020 at 10:50 #28013yogi_enParticipantI did more experiments like below.
1. Installed intel media driver as mentioned in https://www.nomachine.com/AR09O00938 ( except kernel changes )
2. Installed intel-media-driver from AUR ( arch repo ).
vainfo fails like below in both cases. Library is present in that location which I have confirmed.
libva error: /usr/lib/dri/iHD_drv_video.so init failed.
3. When I set this environment variable ( export LIBVA_DRIVER_NAME=i965 ) vainfo seems to be working fine. I get the following output.
vainfo: VA-API version: 1.7 (libva 2.7.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Desktop – 2.4.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
Still NoMachine uses software encoder only. Looks like NoMachine doesn’t work with both iHD and i965 drivers. Any help is appreciated.
July 31, 2020 at 15:02 #29040BritgirlKeymasterThe problematic part at this point is between the Intel driver and libva – which we can’t do much about it, because it’s not a part of NoMachine. We can only provide instructions on how to make it work. Even wth NoMachine OUT of the picture, it’s a struggle in general to make Quicksync work on Linux.
1. Installed intel media driver as mentioned in https://www.nomachine.com/AR09O00938 ( except kernel changes )
Kernel changes are fundamental to make it work. The steps we’ve got in article are from Intel itself, so there’s a reason they included changes to the kernel to make it work.
-
AuthorPosts
This topic was marked as solved, you can't post.