Page 3 of 13

DG Tools on Linux

Posted: Mon May 17, 2021 8:01 pm
by Guest
Sorry, meant 2080 Ti
You have so many video cards

Have you tried
apt install firmware-realtek

DG Tools on Linux

Posted: Mon May 17, 2021 8:04 pm
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?

DG Tools on Linux

Posted: Mon May 17, 2021 8:13 pm
by Guest
This might help but wait for DJ to reply
https://alsa-project.org/wiki/Matrix:Main

DG Tools on Linux

Posted: Mon May 17, 2021 8:23 pm
by Rocky
gonca wrote:
Mon May 17, 2021 8:01 pm
apt install firmware-realtek
I'll give it a wheee!

DG Tools on Linux

Posted: Tue May 18, 2021 2:22 am
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.

DG Tools on Linux

Posted: Tue May 18, 2021 8:27 am
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.

DG Tools on Linux

Posted: Tue May 18, 2021 8:20 pm
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.

DG Tools on Linux

Posted: Wed May 19, 2021 1:44 pm
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:

DG Tools on Linux

Posted: Wed May 19, 2021 4:07 pm
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.

DG Tools on Linux

Posted: Wed May 19, 2021 4:16 pm
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:

DG Tools on Linux

Posted: Wed May 19, 2021 4:17 pm
by Rocky
Supernormal not subnormal. ;)

DG Tools on Linux

Posted: Wed May 19, 2021 4:29 pm
by Guest
I can accept that

DG Tools on Linux

Posted: Wed May 19, 2021 7:43 pm
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

DG Tools on Linux

Posted: Thu May 20, 2021 4:41 am
by Guest
You're looking a little skinny in that photo

DG Tools on Linux

Posted: Thu May 20, 2021 6:46 am
by Rocky
Thank you! You are very kind.

DG Tools on Linux

Posted: Thu May 20, 2021 10:14 pm
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.

DG Tools on Linux

Posted: Fri May 21, 2021 11:35 am
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]

DG Tools on Linux

Posted: Fri May 21, 2021 1:42 pm
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.

DG Tools on Linux

Posted: Fri May 21, 2021 3:37 pm
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

DG Tools on Linux

Posted: Fri May 21, 2021 3:56 pm
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.

DG Tools on Linux

Posted: Fri May 21, 2021 5:05 pm
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

DG Tools on Linux

Posted: Fri May 21, 2021 5:41 pm
by Guest
Actually meant for Rocky, but thank you DJATOM

Boy, would the Linux sub-forum be handy about now ;)

DG Tools on Linux

Posted: Fri May 21, 2021 8:23 pm
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. ;)

DG Tools on Linux

Posted: Sat May 22, 2021 6:04 am
by Guest
pretty short leash
cute joke

DG Tools on Linux

Posted: Sat May 22, 2021 10:58 am
by Rocky
You never miss a trick.