DGDecNV (linux)

DG tools for linux

Moderator: Sherman

DAE avatar
Guest

DG Tools on Linux

Post by Guest »

Sorry, meant 2080 Ti
You have so many video cards

Have you tried
apt install firmware-realtek
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

In windows was using the motherboard Realtek crap. Can't get that working with Debian. I need to know of a card that will function well with Debian, without me having to divulge all my acorn caches. Ya know?
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

This might help but wait for DJ to reply
https://alsa-project.org/wiki/Matrix:Main
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

gonca wrote:
Mon May 17, 2021 8:01 pm
apt install firmware-realtek
I'll give it a wheee!
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

Rocky wrote:
Mon May 17, 2021 7:44 pm
Maybe DJ can suggest a linux-compatible sound card as I have had it up to here with this Realtek garbage. Creative SoundBlaster?
No real magic here, Realtek cards should be supported on any distro.
Maybe you will have to configure output (if few detected), I remember I had such issue on some old Mainboard and 5.1 Realtek card.
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Sound is working. Not sure what happened but I just plugged the speakers into the mobo line out and it worked, whereas it did not before (or did I have the wrong jack :scratch:). I suppose the nVidia driver install must have done something. Whatever, all's well that ends well. It's great to have a fully usable linux box.

On to NVDec! Oy, lots of dependencies.
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

gonca wrote:
Mon May 17, 2021 8:01 pm
You have so many video cards
Wanna buy my 8800 real cheap? You can start an nVidia museum. :idea:

Upgrading to the 9600GT was heaven:

http://rationalqm.us/dgdecnv/cuda/cuda.html

Looks like the 3090 is good for at least the rest of this year:

https://wccftech.com/nvidia-confirms-am ... u-roadmap/

The comments are amusing and informative.
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Successfully installed the CUDA toolkit (required GL and GLU libraries as well as the developer files and several non-obvious environment variable changes). Successfully ran the CUDA nbody sample application as root. I need to get things working for my non-root login. Then everything should be good to go for the NVDec install. First, I'll make a system backup to stabilize this milestone.

Let me say this: I understand why linux is not taking off for "normal" users. :lol:
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

I'll sell you my 3090 for $5000. Better than some prices on ebay.

https://www.ebay.com/sch/i.html?_from=R ... =0&_sop=16

:belly-laugh:

Actually, linux is growing on me, but I'm not a "normal" user.

Got CUDA working on my non-root account.
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

I'll sell you my 3090 for $5000
Not paying ebay prices, I'll wait
but I'm not a "normal" user.
Rocky, are you saying you are not normal :belly-laugh:
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Supernormal not subnormal. ;)
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

I can accept that
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Coming from you it means a lot! I'm a very industrious squirrel. For example, during last year's apple harvest (that's almost four times my weight):

Image
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

You're looking a little skinny in that photo
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Thank you! You are very kind.
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Life smacked me hard last night. Still reeling. I did watch some GTC speeches. Quite amazing progress. Oh, and I downloaded the Video SDK. Swept up the litter and now off to the nest.
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Latest Video SDK and CUDA 11:

don@debian:~/VideoCodecSDK/Samples/build$ cmake -DCMAKE_BUILD_TYPE=Release ..
CUDA_CUDA_LIBRARY: /usr/lib/x86_64-linux-gnu/libcuda.so
CUDA_TOOLKIT_ROOT_DIR: /usr/local/cuda
-- Configuring done
-- Generating done
-- Build files have been written to: /home/don/VideoCodecSDK/Samples/build
don@debian:~/VideoCodecSDK/Samples/build$

don@debian:~/VideoCodecSDK/Samples/build$ make AppDec
Scanning dependencies of target AppDec
[ 33%] Building CXX object AppDecode/AppDec/CMakeFiles/AppDec.dir/AppDec.cpp.o
[ 66%] Linking CXX executable AppDec
[100%] Built target AppDec
don@debian:~/VideoCodecSDK/Samples/build$ cd AppDecode/AppDec

don@debian:~/VideoCodecSDK/Samples/build/AppDecode/AppDec$ ./AppDec -i plush1_720p_10s.m2v
GPU in use: NVIDIA GeForce RTX 2080 Ti
Decode with demuxing.
[INFO ][11:27:15] Media format: raw MPEG video (mpegvideo)
Session Initialization Time: 6 ms
[INFO ][11:27:15] Video Input Information
  Codec : MPEG-2
  Frame rate : 30000/1001 = 29.97 fps
  Sequence : Progressive
  Coded size : [1280, 720]
  Display area : [0, 0, 1280, 720]
  Chroma : YUV 420
  Bit depth : 8
Video Decoding Params:
  Num Surfaces : 4
  Crop : [0, 0, 0, 0]
  Resize : 1280x720
  Deinterlace : Weave

Total frame decoded: 329
Saved in file out.native in NV12 format
Session Deinitialization Time: 10 ms
don@debian:~/VideoCodecSDK/Samples/build/AppDecode/AppDec$

:belly-laugh:

Again, ran into lots of dependencies and non-obvious environment variable settings. Definitely not for your average moose!

Next, I will try to bring up DG's stripped down decoder that served as the basis for all the CUVID work. That will prove that everything is in place to bring up DGSource(). We'll also need to install Avisynth+ and Vapoursynth. But first, it's backup time. 8-)

It's encouraging that things have gone so well. :wow:

[posted using Chrome on the linux machine]
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

Nice.
Installing VS is easy thing actually, as well as Avisynth+ on Linux. VS uses generic "./configure && make" solution while Avs+ is a CMake project.
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

Would it be possible to join up all the great hints, like installing AVS+ and VPY, for future reference
Not all of us are advanced squirrels
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

gonca wrote:
Fri May 21, 2021 3:37 pm
Would it be possible to join up all the great hints, like installing AVS+ and VPY, for future reference
Not all of us are advanced squirrels
Assuming that was directed at DJ. If so, I second that motion. :!:

If it was directed at moi, I'll post instructions after I figure it out.
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

Vapoursynth

Code: Select all

git clone https://github.com/vapoursynth/vapoursynth.git
cd ./vapoursynth
git clone https://github.com/sekrit-twc/zimg.git --branch v3.0
./autogen.sh
(if you want to build ffms2 plugin, make sure ffmpeg stuff is installed before next step)
pip3 install -r python-requirements.txt
./configure --enable-pic
make -j$(nproc)
sudo make install
Avisynth

Code: Select all

git clone https://github.com/AviSynth/AviSynthPlus.git
cd ./AviSynthPlus
mkdir build && cd build
cmake ..  
make -j$(nproc)
sudo make install
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

Actually meant for Rocky, but thank you DJATOM

Boy, would the Linux sub-forum be handy about now ;)
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Yes, indeed, thank you DJ!

Sherman is missing in action. I'll send a PM to Mr Peabody. He keeps Sherman on a pretty short leash. ;)
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

pretty short leash
cute joke
User avatar
Rocky
Posts: 3607
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

You never miss a trick.
Post Reply