Forum / NoMachine for Linux / H.264 lib setup – help request
- This topic has 5 replies, 2 voices, and was last updated 7 years, 5 months ago by Britgirl.
-
AuthorPosts
-
June 3, 2017 at 07:54 #14973ryoko227Participant
So the server is being run on Win10Pro64 with a MSI GTX960. It is a VM, however it is under unRAID with GPU pass-through and using up to date nvidia drivers. Also, Steam In-home Streaming runs using GPU acceleration and NoMachine’s Connection Settings => Performance: have H.264, 30FPS, and Use Acceleration all checked. So I’m going to assume that the hardware based H.264 encoding is happening correctly on the server side.
The client (which is where I am also assuming) is having the decoding issue, is an ancient dell 17 n7010 running LM KDE 18.1. It has ffmpeg preinstalled and is fully up to date. Here are the steps that I took to install the libs following the instructions outlined here. https://www.nomachine.com/AR10K00696 .
Via terminal $ locate libavcodec
/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56.60.100 was where the file was found, so I $ sudo mc and found the folder and file.
I then copied libavcodec-ffmpeg.so.56.60.100, libavutil-ffmpeg.so.54.31.100, and libswresample-ffmpeg.so.1 to /usr/NX/lib as libavcodec.so, libavutil.so, and libswresample.so
I also tried changing the properties to be similar to the other libs (executable was the only difference) when H.264 didn’t work. Have also tried restarting both systems just to make sure there wasn’t an issue there. No matter what I have done, Display settings always show as – Display 1600×900, codec VP8, audio Opus 22kHz stereo
I feel like Iβm missing something, or doing something wrong. Are those even the correct lib files to be copied over? Any suggestions or help would be appreciated π Thank you!
Client – NoMachine Free, 5.2.21 Linux / Linux Mint 18.1 KDE
Server – NoMachine Free, 5.2.21 Windows / Windows 10 Pro 64 (1607 14393.1198)
June 5, 2017 at 12:25 #14985BritgirlKeymasterTo check if it’s a decoding issue you can look in your Linux client session log (.nx/R-*) and see if either the following is printed:
Info: H264 support is available.
or
Info: H264 support is not available.
June 5, 2017 at 14:34 #14986ryoko227ParticipantHello Britgirl!
Thank you for your response, I checked the log and it states “Info: H264 support is not available.” So does this mean that the decoding side or encoding side is having an issue? Where do we go from here?
P.S. – Did you get my email reply to your message? I replied toΒ forum[at]nomachine[dot]com but don’t know if you received it. π
June 5, 2017 at 14:48 #14989BritgirlKeymasterwe did get your email π
as for the message, something went wrong when you set it up. Instead of copying, just do symlinks
cd /usr/lib/x86_64-linux-gnu/
ln -s libavcodec-ffmpeg.so.56.60.100 libavcodec.so
ln -s libavutil-ffmpeg.so.54.31.100 libavutil.soIf that doesn’t change anything, remove symlink: rm /usr/NX/lib/libstdc++.so.6
and try again.
June 5, 2017 at 15:39 #14990ryoko227ParticipantI tried adding the symlinks that you suggested and same result. Buuuuuuuut, remove symlink: rm /usr/NX/lib/libstdc++.so.6 got h.264 up and running!
Thank you very much Britgirl! π
June 5, 2017 at 15:42 #14992BritgirlKeymasterSo you should now be showing ‘Info: H264 support is available’ in the session logs, and in the menu’s Display Settings, you should not see VP8 as the codec, but H.264.
Let us know how you get on with the games π
-
AuthorPosts
This topic was marked as solved, you can't post.