Jump to content

Ubuntu


Recommended Posts

tedfroop21
Posted

If anyone can see an obvious reason the hardware trans-coding is failing to see Cuda  I would greatly appreciate the help.

- Fresh install of 24.04 LTS, used the install propretary drivers option on install and it installed Nvidia 535 driver.

- Installed Nvidia supplied 550 driver.

 

 

hardware_detection-63853526848.txt embyserver.txt nvidia-smi.txt

tedfroop21
Posted

emby2@emby2-PC:~$ lsmod | grep nouveau
emby2@emby2-PC:~$ sudo lsmod | grep nouveau
[sudo] password for emby2:
emby2@emby2-PC:~$

So - no nouveau driver.

What i did learn is "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1" cannot be fixed.

vdpau-va-driver has been replaced with mesa-va-driver, which Nvidia propritary driver apparently no longer uses.

tedfroop21
Posted

Just tried installing the beta and its the same...

 
"VendorName": "NVIDIA Corporation",
"DeviceName": "GA106 [GeForce RTX 3060]",
"SubsytemVendorName": "ASUSTeK Computer Inc.",
"VendorId": 4318,
"DeviceId": 9540,
"SubsytemVendorId": 4163,
"SubsytemDeviceId": 34984,
"DevPath": "/sys/bus/pci/devices/0000:01:00.0",
"DrmCard": "/dev/dri/card1",
"DrmRender": "/dev/dri/renderD128",
"IsEnabled": 1,
"IsBootVga": 1,
"Error": {
"Number": -1,
"Message": "Failed to initialize VA /dev/dri/renderD128. Error -1"
 
Probably corresponds to the "[drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership" messages in the journal.
tedfroop21
Posted
3 hours ago, tedfroop21 said:

What i did learn is "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1" cannot be fixed.

vdpau-va-driver has been replaced with mesa-va-driver, which Nvidia propritary driver apparently no longer uses.

So,  @Luke,   are you guys aware of the significant changes in the Ubuntu 24.04 LTS ecosystem that affect hardware decoding?

tedfroop21
Posted (edited)

Pulled out my old laptop (i7, Nvidia 780m) installed Ubuntu 24, and worked back through the drivers versions to 460 drivers with Cuda 11.4 and transcoding worked immediately.  Kept getting the "cannot init cuda" message with any 5XX series driver and Cuda 12.

Can't say for sure that's where the problem is because Cuda 11 has been removed from the repros for current OS Versions (22.04.4 ans 24.04.) and RTX 2nd gen cards because it is unstable with 2nd Gen Ampere hardware.

Edited by tedfroop21
  • Thanks 1
tedfroop21
Posted

Or is it the GCC version that's the problem? 

The drivers for the 780 stopped development when the RTX was released.  So compatibility and the ability to use older GCC versions is built in.

For the RTX 3060.  All available versions of Nvidia Drivers use Cuda 12.1 -12.5    GCC- 13.2.04 is the oldest version you can use currently.  You will be able to install multiple versions, with the lowest version being 13.2.

Apparently this is to solve random instability issues with gen2 RTX hardware and previous drivers.

  • Thanks 1
  • 1 month later...
erlin20031@hotmail.com
Posted

Hola implemente emby en ubuntu server 22.04, al momento de actualizar los metadatos no carga las imagenes hacia emby tampoco puedo subir imagenes desde mi pc hacia emby, envio el archivo log, si me puedan ayudar por favor.

image.png

image.png

embyserver.txt

Posted

Looks like you have a permission issue.

Quote

2024-08-06 14:37:03.138 Error ProviderManager: UnauthorizedAccessException: Emby Server is being denied write access to /var/lib/emby/metadata/library/74/74d06ae03920f1345aa44ed087c7c72c/clearlogo.png. Please check your file permissions.

 

erlin20031@hotmail.com
Posted

Saben como darle permiso?

 

Posted
4 hours ago, erlin20031@hotmail.com said:

Saben como darle permiso?

 

Hi, have you taken a look at this?

 

  • 10 months later...
jmeulemans
Posted

Hello! Newbie here. Recent install on a fresh install of Ubuntu 24.04.2, completed setup, assigned library locations for media and set permissions but emby can not see any of my media in any location. Please help! 

EODCrafter
Posted

Emby must have permission to access those locations. Look at guide for permission in Linux or Google it.

EODCrafter
Posted
On 8/6/2024 at 5:36 PM, Luke said:

Hi, have you taken a look at this?

 

Here.....

jmeulemans
Posted

Yes, I have been through the file permissions guide and my permissions are set, as I get the following with the "ls -l" command:

-rwxrwxrwx 1 emby emby  1602160399 Dec 24  2021

it is like that for every file in all of the directories I have emby pointed to. However, emby itself can not see any media in the directories, just says "no items found".

Q-Droid
Posted (edited)

Begin with this post. It might be the reason why Emby can't see the media.

 

Edited by Q-Droid
  • 7 months later...
Tank_Killer
Posted

any guides to getting intel quicksync to work on ubuntu 24.0.4.3 I am running inside a proxmox VM and have an intel ultra 5 225 cpu  I have tried to piece a few other guides together but cant seem to get it to work

Q-Droid
Posted
7 hours ago, Tank_Killer said:

any guides to getting intel quicksync to work on ubuntu 24.0.4.3 I am running inside a proxmox VM and have an intel ultra 5 225 cpu  I have tried to piece a few other guides together but cant seem to get it to work

If your kernel is at least 6.7 and still not working then try the Emby beta channel as it might have the newer Intel drivers needed to support Arrow Lake-S.

Posted
5 hours ago, Q-Droid said:

If your kernel is at least 6.7 and still not working then try the Emby beta channel as it might have the newer Intel drivers needed to support Arrow Lake-S.

The 4.9.3 server release also has this now.

  • Thanks 1
  • 1 month later...
TheShanMan
Posted

I installed emby server using the universal installer in a clean install of ubuntu 24.04 and the service doesn't start. It says:

emby-server[14486]: /opt/emby-server/bin/emby-server: 22: exec: /opt/emby-server/system/EmbyServer: Permission denied

Running ls -l on the file I get:

-rwxr-xr-x 1 root root 78872 Aug 21  2017 /opt/emby-server/system/EmbyServer

I tried both the beta and stable options with the same results. What should I do?

sfatula
Posted

First guess, what are the permissions on /opt/emby-server and /opt/emby-server/system?

Q-Droid
Posted
19 hours ago, TheShanMan said:
-rwxr-xr-x 1 root root 78872 Aug 21  2017 /opt/emby-server/system/EmbyServer

Also look into why your EmbyServer is from 2017. You seem to have more problems than just permissions.

  • Like 1
TheShanMan
Posted (edited)
47 minutes ago, sfatula said:

First guess, what are the permissions on /opt/emby-server and /opt/emby-server/system?

drwxr-xr-x 9 root root 4096 Feb 23 19:53 /opt/emby-server

drwxr-xr-x 54 root root 36864 Feb 23 19:53 /opt/emby-server/system

32 minutes ago, Q-Droid said:

Also look into why your EmbyServer is from 2017. You seem to have more problems than just permissions.

You guys tell me. I just ran the universal installer and that's what I got. Is the universal installer not supposed to be used for the server? At the very least I read that it's the way to go for the new linux Emby app, and when I used it for the Emby app I saw that installing the server is also an option there.

Edited by TheShanMan
sfatula
Posted

Could be acls, apparmor, something with the default /var/lib/emby? permissions. Presuming you are doing an initial start (not after configuring anything in Emby), you haven't added any libraries, etc. 

The more information provided, the better. Look in the system logs too for other messages.

I've never used the universal installer so don't know anything about it. I've always installed using: https://emby.media/linux-server.html which I would think is the "normal" way.

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...