Page 1 of 13

DGDecNV (linux)

Posted: Sun Mar 28, 2021 9:17 am
by Rocky
DJATOM mentioned over at Doom9 that DGIndexNV can be run through wine, so only DGDecodeNV needs to be ported. That should be much easier as DGDecodeNV does not heavily use win32 API. So my questions now for DJ are:

1. What linux distribution do you recommend for me to use?

2. Would you prefer Vapoursynth or Avisynth+ support initially?

DGDecNV on Linux

Posted: Sun Mar 28, 2021 9:27 am
by Rocky
Info in PM from DJATOM:

-----
>But if a DGDecodeNV port by itself is useful, then that is a real possibility.
Yes, it will be.
>What linux distribution do you recommend for me to begin such a project?
I believe it's easy to install and develop on Debian. It's user-friendly, but allows more freedom compared to Ubuntu. As experienced Linux user, I'm using ArchLinux as second OS. It has obscure installation instruction, which took near 4 hours for me to complete, but it's "a rolling release OS". You have most up-to-date system with recent drivers, features, etc. Debian and Ubuntu has frozen software versions in their repositories, but good point is that software well-tested and should have less bugs. I'm using Debian as host OS on my home server and also satisfied with it's stability. I think targeting your binaries to Debian 9 or 10 will make them work on most modern Linux distros.
>And are you favoring Vapoursynth or Avisynth+ for linux?
Vapoursynth is preferred.
You are free to ask any Linux-related or Linux compilation-related questions if you will have any ;)
-----

Great, thank you. Let's continue things in this thread.

DGDecNV on Linux

Posted: Sun Mar 28, 2021 10:25 am
by Rocky
Just ordered a full Debian 10.8 on 16 DVDs. Whee!

DGDecNV on Linux

Posted: Sun Mar 28, 2021 11:01 am
by DJATOM
I usually pick netboot iso to install minimal desirable system and then installing extra stuff. Netboot iso is about 250-350 MB size, it's can easily fit onto Flash Drive (you can "burn" iso with rufus).

DGDecNV on Linux

Posted: Sun Mar 28, 2021 11:33 am
by Rocky
I'm just an aging squirrel so I go for the easiest way.

DGDecNV on Linux

Posted: Tue Apr 06, 2021 8:00 pm
by Rocky
DJATOM, any guidance on making a dual boot Linux/Win 10 install? I have the disks in hand and I'll buy an extra SSD for Linux tomorrow.

Curly and Wonder Woman are working on the garbage skipping stuff. Sherman is freaked out about counterfactual definiteness, so don't expect much from that direction. Albert is trying to straighten him out. Physics (reality) isn't derived from logic; at some point you have to accept that some things are just because they are.

DGDecNV on Linux

Posted: Wed Apr 07, 2021 8:15 am
by DJATOM
I just use different SSDs for win10 and linux. Both uses uefi boot. Windows ssd is the first one in boot device priority and using F8 (I have an Asus mainboard) key i'm selecting Linux drive to boot. But literally both windows 10 and Linux can be installed on the same drive, you just need to configure partitions properly. With separate drives you can apply auto partitioning and it will make all stuff for you. Just be sure to select proper device to write mbr boot sector if you willing to use mbr partitioning (you can choose it at DVD boot time: loading uefi mode will force uefi installation, while loading mbr disk mode will force mbr-way installation).

DGDecNV on Linux

Posted: Wed Apr 07, 2021 7:41 pm
by Rocky
Thank you, DJ. When do you hit F8? I have an ASUS too but I have to go F2 for BIOS first and then I can select the boot drive.

DGDecNV on Linux

Posted: Thu Apr 08, 2021 2:32 am
by DJATOM
I'm "spamming" F8 when display turned on first time.

DGDecNV on Linux

Posted: Thu Apr 08, 2021 9:09 am
by Rocky
That works. ;)

DGDecNV on Linux

Posted: Thu Apr 08, 2021 10:54 am
by Rocky
@DJ

What system backup solution do you recommend for linux? I'm used to Macrium Reflect but it works only on Windows.

EDIT: Looks like I can just boot into windows and backup the linux partitions from there using Macrium.

DGDecNV on Linux

Posted: Thu Apr 08, 2021 1:08 pm
by DJATOM
Either you can use rsync to copy certain directories onto remote host in realtime (it's mostly good for backups of sensitive realtime data such as sites or programming projects (maybe private Gitlab repository is better tool for the task)) or make periodic backups in offline mode with any suitable tool. I'm using Acronis True Image OEM which was shipped with my Kingston SSDs.

DGDecNV on Linux

Posted: Fri Apr 09, 2021 4:31 pm
by Rocky
Thank you, DJ, for the information. I'm just going to do offline backups with Macrium Reflect under Win10. I can use DiskGenius to browse the ext file system if needed.

So, OK, I have a linux system running. Now it's on to NVDec for Linux.

DGDecNV on Linux

Posted: Thu May 06, 2021 4:48 pm
by Rocky
Went to install Debian on the 7700K/2080 Ti system and it fails boot with an unintelligible "nouveau" error code. Apparently, nouveau (whatever it is) doesn't support 2080 Ti, at least in the disk set I have.

Everything worked on my 1080 Ti system, so maybe I'll swap out the card.

Anybody want to suggest a different distribution that can actually work with latest hardware?

EDIT: Boots fine with a 1050 Ti installed. :?:

DGDecNV on Linux

Posted: Thu May 06, 2021 4:58 pm
by DJATOM
I know that feel. The solution is to grab proprietary driver fron nvidia site and blacklist noveau driver after installation. I did that a while ago, maybe now driver do that "blacklist" thing automatically? :scratch:

DGDecNV on Linux

Posted: Thu May 06, 2021 5:03 pm
by Rocky
It's stupid.

I have my 1050 Ti OK. But the mouse is so jerky/laggy now everything is unusable. Gotta do a research project on mouse support? Get Out of This Town.

DGDecNV on Linux

Posted: Thu May 06, 2021 5:08 pm
by Guest

DGDecNV on Linux

Posted: Thu May 06, 2021 5:11 pm
by Rocky
Disabled wayland stuff and mouse is OK.

Gonna stick with Debian for now and the 1050 Ti, at least long enough to get DGDemux ported. Then I will re-consider to get CUDA/CUVID stuff ported.

DGDecNV on Linux

Posted: Thu May 06, 2021 5:32 pm
by Rocky
I built a hello.c program with gcc and successfully ran it. I'm a stud, I tell ya.

Now gotta find a way to get DGDemux source code onto the machine.

DGDecNV on Linux

Posted: Fri May 07, 2021 1:23 pm
by DJATOM
I'm using Visual Studio Code on my ArchLinux installation, you probably can install it on Debian (I didn't tried myself), deb file can be downloaded here: https://code.visualstudio.com/download

DGDecNV on Linux

Posted: Fri May 07, 2021 1:33 pm
by Rocky
Yeah, I saw some stuff about that. But ya know, getting away from Micro$oft can't be a bad thing. Maybe for IDE/debugging, etc., it could be useful. Let's see.

Thank you, DJ, for your encouragement, support, and valuable information!

DGDecNV on Linux

Posted: Fri May 07, 2021 3:47 pm
by Guest
PS: Don't know how we ever lived without RGB lighting on the machines.
It isn't that bad

DGDecNV on Linux

Posted: Fri May 07, 2021 7:47 pm
by Rocky
gonca wrote:
Fri May 07, 2021 3:47 pm
PS: Don't know how we ever lived without RGB lighting on the machines.
It isn't that bad
The lights change color on their own. It's amazing! Hmm, does it waste CPU, or is it in firmware?

DGDecNV on Linux

Posted: Fri May 07, 2021 8:15 pm
by Guest
Rocky wrote:
Fri May 07, 2021 7:47 pm
gonca wrote:
Fri May 07, 2021 3:47 pm
PS: Don't know how we ever lived without RGB lighting on the machines.
It isn't that bad
The lights change color on their own. It's amazing! Hmm, does it waste CPU, or is it in firmware?
Sounds like your are on default (no software control)
What motherboard do you have?

DGDecNV on Linux

Posted: Fri May 07, 2021 8:19 pm
by Rocky
Gigabyte Z590 Aorus Ultra.

The only bad thing about the lights is that we have to close the office door at night, otherwise Bullwinkle loses sleep. Doesn't bother me. Sweetie Pie was upset at first but I think she's over it.