Jump to content

Can't see my GPU working


Go to solution Solved by TMCsw,

Recommended Posts

Posted

Hi there all, 

I have migrate my Emby from a Qnap to a new Proxmox server and I have installed Emby in a LXC.

I have made a GPU Passthrough and I can see my Nvidia GPU in the transcode menu. 

image.png.d1ddc869125160e6c6eaf018599fcd7c.png

 

 

What I try is to see the nvtop command in order to understand if the GPU is work. 

Cause if I play a movie my GPU is not working... 

image.png.4c977b9968e0087126257a3f4561da0c.png

 

Is there any type of file that I can ply in order to see if the GPU is work please ? 

Thanks a lot

Denis

 

 

 

  • Solution
Posted

The fact that you see the Decoders & Encoders listed almost surly means they will work when needed (only when the video needs to be transcoded) Note: NVidia drivers limit the # of concurrent transcodes as does VRam.

You can see what is playing and how it's being fed to the client on your server's Dashboard (Direct play won't use any hardware (or software) transcoding). Or if you install the 'Diagnostics PlugIn' you can see exactly how emby is delivering the videos to the clients by going to 'User Sessions' on your server.

If you would like to test how well your server can transcode, use the following Plugin:

image.thumb.png.8a137e7a56b5560dc96286d9aa641040.png

and run the tests...

You can also change the maximum bit rate on the client to be less than the stream rate of the video you are trying to play and this will force the server to transcode and you can see this as stated above.

Posted

Greate app ... now I see the GPU working 🙂

image.png.d07b8e95fa8febfd7c203349e283922a.png

Thanks a lot for the answer. 

Denis

Posted

After the test is finish, I found some error

I paste here one of this: 

image.png.0a17d6a2221513103fada13cf3372786.png

 

Is this normal please ? 

Thanks again 

Denis

Posted

That’s probably not normal a dev @softworkzshould look at this.

In order to help them find what is happening you should attach all the log from when this test was run.

Happy2Play
Posted
51 minutes ago, denisj said:

Thanks a lot for the help. 

Here is the Emby LOG after the test.

Thanks again 

Denis

embyserver.txt 275.88 kB · 0 downloads

I will guess the Run_16 logs as I don't see any errors in the server logs shown in screens above.

Happy2Play
Posted
1 hour ago, denisj said:

Oh... sorry, just now I understand how the log was working 🙂

Here is the RUN_16 log. 

I still have other error log files, but I think that if we can solve this one, the rest seams same error

Thanks a lot again 

Denis

Run_16_C04CA82BAC89-91f2136c-e7fe-4991-b890-9e6de672ee72_1.txt 30.52 kB · 0 downloads

Not entirely sure but this would still be a different log then your screenshot

image.png.4caccece7dff1a2957dd06527a158c86.png

Posted

No one can help me please with my error ?

Thanks again 

Denis

  • 3 weeks later...
Posted

Hi, why don't we get back to the original question:

Quote

What I try is to see the nvtop command in order to understand if the GPU is work. 

Cause if I play a movie my GPU is not working... 

Let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!

 

Posted
On 12/13/2024 at 8:10 AM, denisj said:

No one can help me please with my error ?

Thanks again 

Denis

Could you share your lxc.conf file? And did you make sure to chmod the /dev/dri on the host for proper permissions for the gpu to passthrough to the lxc?

Posted

Here is my lxc.conf file: 

#<div align='center'><a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'><img src='https%3A//raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
#
#  # Emby LXC
#
#  <a href='https%3A//ko-fi.com/proxmoxhelperscripts'><img src='https%3A//img.shields.io/badge/&#x2615;-Buy me a coffee-blue' /></a>
#  </div>
#lxc.mount.entry%3A /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file
arch: amd64
cores: 4
cpuunits: 1024
features: nesting=1
hostname: emby
memory: 16384
nameserver: 192.168.1.1
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:91:34:DE,ip=192.168.1.60/24,type=veth
onboot: 1
ostype: debian
rootfs: local:102/vm-102-disk-0.raw,size=96G
searchdomain: 192.168.1.1
startup: order=3
swap: 1024
tags: proxmox-helper-scripts
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id  dev/serial/by-id  none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0       dev/ttyUSB0       none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1       dev/ttyUSB1       none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0       dev/ttyACM0       none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1       dev/ttyACM1       none bind,optional,create=file
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 195:* rwm
lxc.cgroup2.devices.allow: c 508:* rwm
lxc.cgroup2.devices.allow: c 511:* rwm
lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-caps/nvidia-cap1 dev/nvidia-caps/nvidia-cap1 none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-caps/nvidia-cap2 dev/nvidia-caps/nvidia-cap2 none bind,optional,create=file

 

The files of the error is 4 post before this. 

That files is from the "Transcoding Tests" plugin. 

Thanks a lot and Happy New Year 🙂

Denis

Posted

unfortunately yes 😞

Thanks for the question. 

Posted
15 minutes ago, denisj said:

unfortunately yes 😞

Thanks for the question. 

OK previous replies sent you to the diagnostics plugin. Let's start with the basics:

Let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!

 

Posted

Sorry for late but I must watch some video this evening and I'll copy the log after some errors.

Thanks again 

 

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...