DGDecNV (linux)

DG tools for linux

Moderator: Sherman

DAE avatar
Guest

DGDecNV on Linux

Post by Guest »

Do you have RGB Fusion installed/enabled?
If not, download link
https://www.gigabyte.com/MicroSite/512/download.html
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV on Linux

Post by Rocky »

Lights should have independent lives of their own without control freaks dictating to them. The dazzling lights continue to amaze every day. Dance with the one that brung ya. Old human saying. Love at first light.

Machines are slaves to us, or we to them?
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Here is a release candidate for DGDemux linux version. Your testing will be appreciated.

* Implemented episode demuxing -ep.
* Changed -nopre option to -pre, i.e, inverted its sense. -pre will
return a 'currently not implemented' error for now.
* Implemented -h (help) option.
* Implemented -v (version) option.
* Better error checking on the command line.

Progress indication is not yet implemented.

http://rationalqm.us/misc/dgdemux.gz
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

Tested -ep on my end, it works.
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Thank you, DJ!

I'm going to try bringing up VS Code today.

Got the stupid taxes done. Robber barons! :x
User avatar
thechaoscoder
Posts: 49
Joined: Tue Jul 14, 2020 8:34 am

DG Tools on Linux

Post by thechaoscoder »

From help text (-h)
-l path_to_file: ... "You can also use it to discard the output when using DGDemux.exe directly:"
I think you missed one ".exe" :scratch:
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

:lol: :facepalm: :salute:
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

I just made a simple build script that makes .deb package. I think it's not bad to provide it, people with less Linux knowledge can install it in one click (or command). So that's a convenience for them.

Code: Select all

#!/bin/sh

rm -rf debian

mkdir -p debian
mkdir -p debian/DEBIAN
mkdir -p debian/usr/local/bin

version=$(./bin/dgdemux -v | grep -Eo 'DGDemux ([0-9\.]+)' | grep -Eo '([0-9\.]+)')

echo """Package: dgdemux
Version: ${version}
Section: utils 
Priority: optional
Architecture: amd64
Essential: no
Depends: 
Pre-Depends: 
Recommends: 
Suggests: 
Installed-Size: $(($(wc -c < bin/dgdemux)/1024))
Homepage: http://rationalqm.us/dgdemux/dgdemux.html
Maintainer: Donald A. Graft [donald.graft@cantab.net]
Conflicts: 
Replaces: 
Provides: dgdemux
Description: DGDemux is a standalone demuxer for BluRay/UHD disks, including 3D BluRays. It takes a playlist and demuxes all the elementary streams (audio and video), the subtitle streams, and the chapters. The demuxed files are all in sync with the demuxed video, even for seamless branching titles.""" > debian/DEBIAN/control

cp bin/dgdemux debian/usr/local/bin
chmod +x debian/usr/local/bin/dgdemux

dpkg -b debian dgdemux_${version}.deb
If you willing to provide packages, put that script into certain folder (for example, folder name "dgdemux-package", script name "mkdeb.sh") and set execution rights (chmod +x mkdeb.sh). Put dgdemux binary into "dgdemux-package/bin" and run script. It should produce dgdemux_1.0.0.50.deb (current version) which you can host as alternative to .gz archive.
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Great, thanks!
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

We're allowed to be stupid, right? Do we have to make a RPM distribution as well as a DEB one?
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

I don't have any experience with rpm to say for sure :)
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

OK, I'll just distribute raw binaries for now.

VS Code appears adequate for debugging. Better than printf debugging at least. :lol: I have it working fine. Still lots to learn about it but good for now. Thank you for the heads up, DJ.

What shocked me was how fast all the vi commands came back to me after 35 years. They were squirrelled away somewhere in my brain.
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Gonna fire up GTK and make a linux GUI for DGDemux. Then gonna seize the bull by the horns and port DGSource.

Sure would like to get audio and the 2080 Ti working. Without those it's hard to take the linux machine seriously.
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

Sure would like to get audio and the 2080 Ti working
Can you select NVidia drivers instead of nouveau at install time?
Edited

This might? help
https://www.nvidia.com/en-us/drivers/unix/
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Can I not? Something wrong with the logic there. You want me to not. Where's the acorn?
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

Getting sleepy here. Skip the "not"
Post edited
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Don't want to re-install linux. Trust me, it will be OK.
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

DG Tools on Linux

Post by DJATOM »

So... yeah, Installing driver with .run file is sure an option. But make backup first, you might end up with broken system. How to install those drivers: when booting Debian, chose advanced options - recovery mode, login as root and execute that file, following it's instructions. After reboot you will have a great, proprietary nvidia driver in the system.
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Thank you, DJ. I cloned the drive and made sure it boots. Now I'm ready to go for the proprietary nVidia driver install.
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Got nVidia driver 460.80 with CUDA 11.2 up and running on the linux box. Now, make a backup and then swap in the 2080Ti and see if she flies. Then, move on to NVDec.

Holding off for now on making a linux GUI for DGDemux. Ramping up on GTK will likely be a lengthy process. No hurry. Maybe the community will take care of it. ;)

Wheee!
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

2080 Ti up and running!

Just for fun let's try to get the sound working.
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

2080 Ti up and running!
That wasn't so hard ;)
:bravo:
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

Thank you, gonca. Disabling nouveau had a little gotcha but squirrels are resourceful. The sound actually seems harder to get going.

Maybe DJ can suggest a linux-compatible sound card as I have had it up to here with this Realtek garbage. Creative SoundBlaster?

I saw manjaro on a list of worst distros for beginners. Just saying...

If Sherman lets me, we will have Rocky approved. He hasn't answered my PM yet. I think he's working on making a Linux forum(s). Not so easy, this webmastering stuff, eh boy?
DAE avatar
Guest

DG Tools on Linux

Post by Guest »

Can't the RTX 3090 output HD Audio
User avatar
Rocky
Posts: 3605
Joined: Fri Sep 06, 2019 12:57 pm

DG Tools on Linux

Post by Rocky »

My monitor doesn't have any sound connectors. Good old line out is what we need. Anyway, we're not putting the 3090 into the Linux box.
Post Reply