Jellyfin Forum
SOLVED - Will not play .avi files - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED - Will not play .avi files (/t-solved-will-not-play-avi-files)

Pages: 1 2


RE: Will not play .avi files - TheDreadPirate - 2024-05-22

sudo apt install lshw

Then re-run the command. Also, is debian configured to use non-free repositories?


RE: Will not play .avi files - Huecuva - 2024-05-23

Code:
sudo lshw -C display
  *-display               
      description: VGA compatible controller
      product: QXL paravirtual graphic card
      vendor: Red Hat, Inc.
      physical id: 1
      bus info: pci@0000:00:01.0
      version: 05
      width: 32 bits
      clock: 33MHz
      capabilities: vga_controller rom
      configuration: driver=qxl latency=0
      resources: irq:21 memory:f0000000-f3ffffff memory:f4000000-f7ffffff memory:fb014000-fb015fff ioport:7040(size=32) memory:c0000-dffff
  *-display
      description: VGA compatible controller
      product: GP104 [GeForce GTX 1070]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nouveau latency=0
      resources: irq:50 memory:f8000000-f8ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:6000(size=128) memory:f9000000-f907ffff
That's without the driver installed. I was reading through it and realized it's running the nouveau driver and remembered I had uninstalled the nvidia-drver earlier and forgotten to reinstall it. I have reinstalled it:
Code:
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Earlier in that message it says that those two packages were left unconfigured due to dependency problems. Here is that command with the driver installed:
Code:
$ sudo lshw -C display
[sudo] password for mike:
  *-display               
      description: VGA compatible controller
      product: QXL paravirtual graphic card
      vendor: Red Hat, Inc.
      physical id: 1
      bus info: pci@0000:00:01.0
      version: 05
      width: 32 bits
      clock: 33MHz
      capabilities: vga_controller rom
      configuration: driver=qxl latency=0
      resources: irq:21 memory:f0000000-f3ffffff memory:f4000000-f7ffffff memory:fb014000-fb015fff ioport:7040(size=32) memory:c0000-dffff
  *-display UNCLAIMED
      description: VGA compatible controller
      product: GP104 [GeForce GTX 1070]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller cap_list
      configuration: latency=0
      resources: memory:f8000000-f8ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:6000(size=128) memory:f9000000-f907ffff
It's odd that it doesn't say which driver it's running when the nVidia driver is installed.
It should be noted that during boot dmesg says it failed to start "load kernel modules" and failed to start the nvidia-persistenced daemon.

Here is my sources list:
Code:
$ sudo cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.3.0 _Bullseye_ - Official amd64 NETINST 20220326-11:22]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.3.0 _Bullseye_ - Official amd64 NETINST 20220326-11:22]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free

# deb http://deb.debian.org/debian/ bullseye main contrib non-free
This post seems to describe the issue I'm having pretty well. Unfortunately, he never got a response. I've also followed instructions in this post and they have not worked.


RE: Will not play .avi files - Huecuva - 2024-05-23

Alright, so after 2 hours screwing around with this, I finally decided to just upgrade the kernel to the latest one available in backports following these directions and then installed whatever driver installed by default from that. Now I have the 535 driver, no more messages about dependency issues preventing configuration and dmesg no longer complains about kernel modules and the nvidia-persistence daemon. And it seems to be working: 
Code:
nvidia-smi
Thu May 23 01:16:48 2024     
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.161.08            Driver Version: 535.161.08  CUDA Version: 12.2    |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf          Pwr:Usage/Cap |        Memory-Usage | GPU-Util  Compute M. |
|                                        |                      |              MIG M. |
|=========================================+======================+======================|
|  0  NVIDIA GeForce GTX 1070        Off | 00000000:01:00.0 Off |                  N/A |
|  0%  62C    P5              14W / 151W |      0MiB /  8192MiB |      1%      Default |
|                                        |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                       
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU  GI  CI        PID  Type  Process name                            GPU Memory |
|        ID  ID                                                            Usage      |
|=======================================================================================|
|  No running processes found                                                          |
+---------------------------------------------------------------------------------------+
Code:
Graphics:
  Device-1: Red Hat QXL paravirtual graphic card driver: qxl v: kernel
  Device-2: NVIDIA GP104 [GeForce GTX 1070] driver: nvidia v: 535.161.08
  Display: server: X.org v: 1.20.11 driver: gpu: qxl note: X driver n/a tty: 143x42
  API: OpenGL Message: GL data unavailable in console. Try -G --display
Code:
$ sudo lshw -C display
  *-display               
      description: VGA compatible controller
      product: QXL paravirtual graphic card
      vendor: Red Hat, Inc.
      physical id: 1
      bus info: pci@0000:00:01.0
      logical name: /dev/fb0
      version: 05
      width: 32 bits
      clock: 33MHz
      capabilities: vga_controller rom fb
      configuration: depth=32 driver=qxl latency=0 resolution=1024,768
      resources: irq:21 memory:f0000000-f3ffffff memory:f4000000-f7ffffff memory:fb014000-fb015fff ioport:7040(size=32) memory:c0000-dffff
  *-display
      description: VGA compatible controller
      product: GP104 [GeForce GTX 1070]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:16 memory:f8000000-f8ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:6000(size=128) memory:f9000000-f907ffff

To make sure, I attempted to play Constantine again. This time it worked.