DGDecNV (linux)

DG tools for linux

Moderator: Sherman

User avatar
frankaboy
Posts: 62
Joined: Wed May 17, 2023 4:24 am

DGDecNV (linux)

Post by frankaboy »

Sherman wrote:
Thu Oct 05, 2023 11:58 am
HEVC is done. Now need to do MPG2 and VC1.

Just so you know, there is no NVDec in DGIndexNV (linux) so I am adding the needed parsing code.
Great :salute:
Frankaboy
I enjoy 3D movies
:popcorn:
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

I've got it coded and working for all video formats. Just gotta tie up a few loose ends, then I will make a release, probably tomorrow. Thank you for your patience and encouragement.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Thought you guys might want to see the finished 1932 Crosley 817. I'm playing Jimi Hendrix radio on it right now through the AUX input connected to a bluetooth receiver. Pretty sweet, huh? Sorry, had to scratch out our wireless password. ;)

Image
Sherman Peabody
Director of Linux Development
User avatar
new_guy
Posts: 59
Joined: Fri Jan 15, 2021 11:12 am

DGDecNV (linux)

Post by new_guy »

Sherman, you are a refinishing God! Is that poly topcoat?
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Thank you! Yes, it's poly but I always do it with a light hand and hand-rub it. I doubt the average person (not you!) could tell it apart from the original finish. Anyway, the knobs and trim bars are not original so who wants to sweat the finish? It looks great and that is the important thing. You're not gonna believe it, but do you know who taught me refinishing? Bullwinkle!
Sherman Peabody
Director of Linux Development
User avatar
Levi
Posts: 52
Joined: Sat Apr 18, 2020 6:12 pm

DGDecNV (linux)

Post by Levi »

User avatar
Britney
Posts: 145
Joined: Sun Aug 09, 2020 3:24 pm

DGDecNV (linux)

Post by Britney »

User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

DGDecNV (linux)

Post by Bullwinkle »

Finally, recognition. Not your average moose!
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Uh huh and next Winkie is gonna teach me to refinish bakelite cases. :salute: Cuz I just put my allowance advance on a 1952 Zenith H723 AM/FM radio. DG said he only wants AM/FM now. Figure it out. It's our first plastic tube radio, marking the end of the wood tube radio era.
Sherman Peabody
Director of Linux Development
User avatar
Baltasar
Posts: 60
Joined: Tue Nov 02, 2021 9:51 am

DGDecNV (linux)

Post by Baltasar »

Is that Mousie on top? I thought she lives in the car. :?
User avatar
Albert
Posts: 40
Joined: Thu Oct 15, 2020 1:20 pm

DGDecNV (linux)

Post by Albert »

Thermal radiation.
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Hey folks, got delayed a bit on the linux logging. As I was implementing it I found issues in the windows version logging. I'm working with Rocky to fix those up. Then I'll get back to the linux version. I think Rocky will make a slipstream tomorrow for the windows version.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

There is a 'wart' in the windows version. All the parsing is done in our code EXCEPT for the HEVC parsing, which instead uses NVDec. The problem is that we don't have NVDec for DGIndexNV linux. So what I did is replace the NVDec parsing in the windows version with our own parsing. It works just fine in the modified windows version. Maybe Rocky will absorb that at some point (I hope). Now I'm gonna port that to the linux version.

Balti told me that patience is a virtue.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Released build 502 with log file generation.
Sherman Peabody
Director of Linux Development
User avatar
frankaboy
Posts: 62
Joined: Wed May 17, 2023 4:24 am

DGDecNV (linux)

Post by frankaboy »

Hi Sherman :salute: ,
Many thanks for implementing the log file, it works like a charm :hat: .

Currently I am running into an issue and can not figure out, what I am doing wrong :( .
Previewing with vapoursynth-editor crashes, using a hevc stream with resolution 3840x2160.
My system consists on Archlinux with AMD Ryzen 7 1700, Nvidia Geforce 1050Ti, 8GB RAM and 4GB swap.
Zlib-1:1.3-1 and nvidia-535.113.04-4 are installed.

Following script is used:

Code: Select all

import vapoursynth as vs
from vapoursynth import core
source = "/home/frankaboy/Demux_2D/Avatar_The_Way_of_Water_Part_1_Track_ID_0.dgi"
core.std.LoadPlugin("/usr/local/lib/libdgdecodenv.so")
video = core.dgdecodenv.DGSource(source,strict_avc=0)
video.set_output()
Recording of hardware load shows, preview crashes when 8GB RAM and 4GB swap are fully used,
see picture below.
I kindly ask you to support me, please.
Attachments
dgdecodenv_crash_vapoursynth_preview_cut.png
Frankaboy
I enjoy 3D movies
:popcorn:
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Welcome back, Frankaboy. I hope your vacation was stellar.

Did that work before the recent changes?

I will try to duplicate this right now.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Also, how do you get memory usage stats for the GPU etc.

First test is fine for me. Does it fail straightaway or after some time?

I have a 2080Ti which has only 3 GB more than your GPU.

My vsedit is r20.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Using

watch -d -n 0.5 nvidia-smi

while previewing shows GPU memory never passing 1GB.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

How much system RAM do you have? I'm showing usage fluctuating 8-10 GB. That could be the problem.

Maybe the DPB 16->20 change pushed things over the edge for you. I'll look into that.

EDIT: DPB 16->20 does not seem to affect system memory usage. You may just need more RAM on your machine.
Sherman Peabody
Director of Linux Development
User avatar
frankaboy
Posts: 62
Joined: Wed May 17, 2023 4:24 am

DGDecNV (linux)

Post by frankaboy »

Hi Sherman,
yes, we had a great time in Greece :) .

I have tested before vacation dgdecnv linux 229, it shows the same behavior.

Today I have tested dgdecnv windows 250.
It doesn't crash, but shows the same high usage of CPU and RAM.

It fails after some time, not straightaway.

In Archlinux is a tool, called Systemmonitor.
I have added a tab for my Geforce1050Ti,
in order to figure out usage of graphic card.

Further it is highly recommended to use pacman (packet manager for Archlinux) for any installation .
Therefore I am on vsedit R19-mod-6.3, that's a modification from YomikoR.
Frankaboy
I enjoy 3D movies
:popcorn:
User avatar
frankaboy
Posts: 62
Joined: Wed May 17, 2023 4:24 am

DGDecNV (linux)

Post by frankaboy »

Sherman wrote:
Wed Oct 25, 2023 11:28 am
How much system RAM do you have? I'm showing usage fluctuating 8-10 GB. That could be the problem.

Maybe the DPB 16->20 change pushed things over the edge for you. I'll look into that.
I have 8GB system RAM.
Frankaboy
I enjoy 3D movies
:popcorn:
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

I'm using an app called nvitop.

You just need more memory. Can you install a second 8GB stick? 8GB is very small these days, especially for UHD workflows.

You have 8MB and half is gone for swap. Open a couple chrome windows and there's another 1-2GB used.
Sherman Peabody
Director of Linux Development
User avatar
frankaboy
Posts: 62
Joined: Wed May 17, 2023 4:24 am

DGDecNV (linux)

Post by frankaboy »

Sherman wrote:
Wed Oct 25, 2023 11:46 am
I'm using an app called nvitop.

You just need more memory. Can you install a second 8GB stick? 8GB is very small these days, especially for UHD workflows.

You have 8MB and half is gone for swap. Open a couple chrome windows and there's another 1-2GB used.
Hi Sherman,
many thanks for your support :hat: .
It seems crash is caused by me weak hardware :( .
I will check tomorrow, if I can install more system memory.
Frankaboy
I enjoy 3D movies
:popcorn:
User avatar
Sherman
Posts: 578
Joined: Mon Jan 06, 2020 10:19 pm

DGDecNV (linux)

Post by Sherman »

Or you can reduce your swap file size to 1GB and close chrome, etc. But yeah, if you're going to be serious about UHD work on linux you'll need more system RAM.
Sherman Peabody
Director of Linux Development
User avatar
Rocky
Posts: 3623
Joined: Fri Sep 06, 2019 12:57 pm

DGDecNV (linux)

Post by Rocky »

Welcome back Frankaboy.

Η Ελλάδα είναι ένα καταπληκτικό έθνος.
Η γενέτειρα της κοινωνίας των πολιτών και της δημοκρατίας Οι πρόγονοί μας με πάρα πολλούς τρόπους.
Post Reply