Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.95 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.06 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "piracy@lemmy.dbzer0.com"
    +title: "piracy"
    +description: """
      ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
      \n
      ---\n
      \n
      ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
      \n
      **1**. Posts must be related to the discussion of digital piracy\n
      \n
      **2**. Don’t request invites, trade, sell, or self-promote\n
      \n
      **3**. Don’t request or link to specific pirated titles, including DMs\n
      \n
      **4**. Don’t submit low-quality posts, be entitled, or harass others\n
      \n
      **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
      \n
      ---\n
      \n
      [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
      ---------------------------------------------------------------------------\n
      \n
      ### Loot, Pillage, & Plunder\n
      \n
      - [📜 Megathread](https://rentry.co/megathread)\n
      - [🪶 FAQ](https://rentry.co/piracy-faq)\n
      - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
      - [🪶 Rules](https://rentry.co/piracy-rules)\n
      \n
      ---\n
      \n
      💰 Please help cover server costs.\n
      \n
      [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 866
    +entryCommentCount: 20194
    +postCount: 7
    +postCommentCount: 149
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729581369 {#276
      date: 2024-10-22 09:16:09.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 51
    +apId: "piracy@lemmy.dbzer0.com"
    +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
    +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
    +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
    +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
    +apDomain: "lemmy.dbzer0.com"
    +apPreferredUsername: "piracy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708748229 {#270
      date: 2024-02-24 05:17:09.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697197339 {#272
      date: 2023-10-13 13:42:19.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
  +title: "(Solved) Need Help With My Self-Hosted Media Server"
  +url: null
  +body: """
    Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
    \n
    I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
    \n
    To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
    \n
    Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
    \n
    I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
    </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
    </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
    </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
    </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
    </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
    </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
    </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
    </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
    </span><span style="color:#323232;">nvidia-srv-535.104.12\n
    </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
    </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
    </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
    </span>\n
    ```\n
    \n
    If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 33
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1697416174 {#2410
    date: 2023-10-16 02:29:34.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: [
    "@home-server"
  ]
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 5597
  -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
  -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1697489239
  +visibility: "visible             "
  +apId: "https://slrpnk.net/post/3120635"
  +editedAt: DateTimeImmutable @1697411118 {#1850
    date: 2023-10-16 01:05:18.0 +02:00
  }
  +createdAt: DateTimeImmutable @1697402839 {#2420
    date: 2023-10-15 22:47:19.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "piracy@lemmy.dbzer0.com"
    +title: "piracy"
    +description: """
      ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
      \n
      ---\n
      \n
      ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
      \n
      **1**. Posts must be related to the discussion of digital piracy\n
      \n
      **2**. Don’t request invites, trade, sell, or self-promote\n
      \n
      **3**. Don’t request or link to specific pirated titles, including DMs\n
      \n
      **4**. Don’t submit low-quality posts, be entitled, or harass others\n
      \n
      **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
      \n
      ---\n
      \n
      [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
      ---------------------------------------------------------------------------\n
      \n
      ### Loot, Pillage, &amp; Plunder\n
      \n
      - [📜 Megathread](https://rentry.co/megathread)\n
      - [🪶 FAQ](https://rentry.co/piracy-faq)\n
      - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
      - [🪶 Rules](https://rentry.co/piracy-rules)\n
      \n
      ---\n
      \n
      💰 Please help cover server costs.\n
      \n
      [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 866
    +entryCommentCount: 20194
    +postCount: 7
    +postCommentCount: 149
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729581369 {#276
      date: 2024-10-22 09:16:09.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 51
    +apId: "piracy@lemmy.dbzer0.com"
    +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
    +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
    +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
    +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
    +apDomain: "lemmy.dbzer0.com"
    +apPreferredUsername: "piracy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708748229 {#270
      date: 2024-02-24 05:17:09.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697197339 {#272
      date: 2023-10-13 13:42:19.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
  +title: "(Solved) Need Help With My Self-Hosted Media Server"
  +url: null
  +body: """
    Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
    \n
    I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
    \n
    To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
    \n
    Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
    \n
    I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
    </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
    </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
    </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
    </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
    </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
    </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
    </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
    </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
    </span><span style="color:#323232;">nvidia-srv-535.104.12\n
    </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
    </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
    </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
    </span>\n
    ```\n
    \n
    If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 33
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1697416174 {#2410
    date: 2023-10-16 02:29:34.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: [
    "@home-server"
  ]
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 5597
  -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
  -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1697489239
  +visibility: "visible             "
  +apId: "https://slrpnk.net/post/3120635"
  +editedAt: DateTimeImmutable @1697411118 {#1850
    date: 2023-10-16 01:05:18.0 +02:00
  }
  +createdAt: DateTimeImmutable @1697402839 {#2420
    date: 2023-10-15 22:47:19.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "piracy@lemmy.dbzer0.com"
    +title: "piracy"
    +description: """
      ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
      \n
      ---\n
      \n
      ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
      \n
      **1**. Posts must be related to the discussion of digital piracy\n
      \n
      **2**. Don’t request invites, trade, sell, or self-promote\n
      \n
      **3**. Don’t request or link to specific pirated titles, including DMs\n
      \n
      **4**. Don’t submit low-quality posts, be entitled, or harass others\n
      \n
      **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
      \n
      ---\n
      \n
      [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
      ---------------------------------------------------------------------------\n
      \n
      ### Loot, Pillage, &amp; Plunder\n
      \n
      - [📜 Megathread](https://rentry.co/megathread)\n
      - [🪶 FAQ](https://rentry.co/piracy-faq)\n
      - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
      - [🪶 Rules](https://rentry.co/piracy-rules)\n
      \n
      ---\n
      \n
      💰 Please help cover server costs.\n
      \n
      [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 866
    +entryCommentCount: 20194
    +postCount: 7
    +postCommentCount: 149
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729581369 {#276
      date: 2024-10-22 09:16:09.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 51
    +apId: "piracy@lemmy.dbzer0.com"
    +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
    +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
    +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
    +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
    +apDomain: "lemmy.dbzer0.com"
    +apPreferredUsername: "piracy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708748229 {#270
      date: 2024-02-24 05:17:09.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697197339 {#272
      date: 2023-10-13 13:42:19.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
  +title: "(Solved) Need Help With My Self-Hosted Media Server"
  +url: null
  +body: """
    Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
    \n
    I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
    \n
    To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
    \n
    Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
    \n
    I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
    </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
    </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
    </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
    </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
    </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
    </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
    </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
    </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
    </span><span style="color:#323232;">nvidia-srv-535.104.12\n
    </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
    </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
    </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
    </span>\n
    ```\n
    \n
    If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 33
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1697416174 {#2410
    date: 2023-10-16 02:29:34.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: [
    "@home-server"
  ]
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 5597
  -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
  -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1697489239
  +visibility: "visible             "
  +apId: "https://slrpnk.net/post/3120635"
  +editedAt: DateTimeImmutable @1697411118 {#1850
    date: 2023-10-16 01:05:18.0 +02:00
  }
  +createdAt: DateTimeImmutable @1697402839 {#2420
    date: 2023-10-15 22:47:19.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4046
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    You don’t need to run dkms commands on your own.\n
    \n
    If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1697408017 {#4055
    date: 2023-10-16 00:13:37.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4044 …}
  +nested: Doctrine\ORM\PersistentCollection {#4042 …}
  +votes: Doctrine\ORM\PersistentCollection {#4040 …}
  +reports: Doctrine\ORM\PersistentCollection {#4038 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
  -id: 51165
  -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4559247"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697403658 {#3987
    date: 2023-10-15 23:00:58.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4046
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    You don’t need to run dkms commands on your own.\n
    \n
    If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1697408017 {#4055
    date: 2023-10-16 00:13:37.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4044 …}
  +nested: Doctrine\ORM\PersistentCollection {#4042 …}
  +votes: Doctrine\ORM\PersistentCollection {#4040 …}
  +reports: Doctrine\ORM\PersistentCollection {#4038 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
  -id: 51165
  -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4559247"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697403658 {#3987
    date: 2023-10-15 23:00:58.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4046
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    You don’t need to run dkms commands on your own.\n
    \n
    If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1697408017 {#4055
    date: 2023-10-16 00:13:37.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4044 …}
  +nested: Doctrine\ORM\PersistentCollection {#4042 …}
  +votes: Doctrine\ORM\PersistentCollection {#4040 …}
  +reports: Doctrine\ORM\PersistentCollection {#4038 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
  -id: 51165
  -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4559247"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697403658 {#3987
    date: 2023-10-15 23:00:58.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4069
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4046
    +user: App\Entity\User {#3995 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      You don’t need to run dkms commands on your own.\n
      \n
      If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1697408017 {#4055
      date: 2023-10-16 00:13:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4044 …}
    +nested: Doctrine\ORM\PersistentCollection {#4042 …}
    +votes: Doctrine\ORM\PersistentCollection {#4040 …}
    +reports: Doctrine\ORM\PersistentCollection {#4038 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
    -id: 51165
    -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/4559247"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697403658 {#3987
      date: 2023-10-15 23:00:58.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1697404466 {#4064
    date: 2023-10-15 23:14:26.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4061 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4118 …}
  +reports: Doctrine\ORM\PersistentCollection {#4117 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
  -id: 51181
  -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://slrpnk.net/comment/3265011"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697404466 {#4067
    date: 2023-10-15 23:14:26.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4069
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4046
    +user: App\Entity\User {#3995 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      You don’t need to run dkms commands on your own.\n
      \n
      If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1697408017 {#4055
      date: 2023-10-16 00:13:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4044 …}
    +nested: Doctrine\ORM\PersistentCollection {#4042 …}
    +votes: Doctrine\ORM\PersistentCollection {#4040 …}
    +reports: Doctrine\ORM\PersistentCollection {#4038 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
    -id: 51165
    -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/4559247"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697403658 {#3987
      date: 2023-10-15 23:00:58.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1697404466 {#4064
    date: 2023-10-15 23:14:26.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4061 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4118 …}
  +reports: Doctrine\ORM\PersistentCollection {#4117 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
  -id: 51181
  -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://slrpnk.net/comment/3265011"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697404466 {#4067
    date: 2023-10-15 23:14:26.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4069
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4046
    +user: App\Entity\User {#3995 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      You don’t need to run dkms commands on your own.\n
      \n
      If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1697408017 {#4055
      date: 2023-10-16 00:13:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4044 …}
    +nested: Doctrine\ORM\PersistentCollection {#4042 …}
    +votes: Doctrine\ORM\PersistentCollection {#4040 …}
    +reports: Doctrine\ORM\PersistentCollection {#4038 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
    -id: 51165
    -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/4559247"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697403658 {#3987
      date: 2023-10-15 23:00:58.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1697404466 {#4064
    date: 2023-10-15 23:14:26.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4061 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4118 …}
  +reports: Doctrine\ORM\PersistentCollection {#4117 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
  -id: 51181
  -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://slrpnk.net/comment/3265011"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697404466 {#4067
    date: 2023-10-15 23:14:26.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4139
  +user: Proxies\__CG__\App\Entity\User {#4131 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4069
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4046
      +user: App\Entity\User {#3995 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        You don’t need to run dkms commands on your own.\n
        \n
        If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1697408017 {#4055
        date: 2023-10-16 00:13:37.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4044 …}
      +nested: Doctrine\ORM\PersistentCollection {#4042 …}
      +votes: Doctrine\ORM\PersistentCollection {#4040 …}
      +reports: Doctrine\ORM\PersistentCollection {#4038 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
      -id: 51165
      -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/4559247"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697403658 {#3987
        date: 2023-10-15 23:00:58.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1697404466 {#4064
      date: 2023-10-15 23:14:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4061 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4118 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    -id: 51181
    -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/3265011"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697404466 {#4067
      date: 2023-10-15 23:14:26.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: """
    The docs have your answers\n
    \n
    jellyfin.org/docs/general/…/nvidia/#configure-wit…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1697405061 {#4134
    date: 2023-10-15 23:24:21.0 +02:00
  }
  +ip: null
  +tags: [
    "configure"
  ]
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4129 …}
  +nested: Doctrine\ORM\PersistentCollection {#4127 …}
  +votes: Doctrine\ORM\PersistentCollection {#4125 …}
  +reports: Doctrine\ORM\PersistentCollection {#4141 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
  -id: 51202
  -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://reddthat.com/comment/3867471"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697405061 {#4137
    date: 2023-10-15 23:24:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4139
  +user: Proxies\__CG__\App\Entity\User {#4131 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4069
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4046
      +user: App\Entity\User {#3995 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        You don’t need to run dkms commands on your own.\n
        \n
        If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1697408017 {#4055
        date: 2023-10-16 00:13:37.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4044 …}
      +nested: Doctrine\ORM\PersistentCollection {#4042 …}
      +votes: Doctrine\ORM\PersistentCollection {#4040 …}
      +reports: Doctrine\ORM\PersistentCollection {#4038 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
      -id: 51165
      -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/4559247"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697403658 {#3987
        date: 2023-10-15 23:00:58.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1697404466 {#4064
      date: 2023-10-15 23:14:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4061 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4118 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    -id: 51181
    -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/3265011"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697404466 {#4067
      date: 2023-10-15 23:14:26.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: """
    The docs have your answers\n
    \n
    jellyfin.org/docs/general/…/nvidia/#configure-wit…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1697405061 {#4134
    date: 2023-10-15 23:24:21.0 +02:00
  }
  +ip: null
  +tags: [
    "configure"
  ]
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4129 …}
  +nested: Doctrine\ORM\PersistentCollection {#4127 …}
  +votes: Doctrine\ORM\PersistentCollection {#4125 …}
  +reports: Doctrine\ORM\PersistentCollection {#4141 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
  -id: 51202
  -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://reddthat.com/comment/3867471"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697405061 {#4137
    date: 2023-10-15 23:24:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4139
  +user: Proxies\__CG__\App\Entity\User {#4131 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4069
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4046
      +user: App\Entity\User {#3995 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        You don’t need to run dkms commands on your own.\n
        \n
        If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1697408017 {#4055
        date: 2023-10-16 00:13:37.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4044 …}
      +nested: Doctrine\ORM\PersistentCollection {#4042 …}
      +votes: Doctrine\ORM\PersistentCollection {#4040 …}
      +reports: Doctrine\ORM\PersistentCollection {#4038 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
      -id: 51165
      -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/4559247"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697403658 {#3987
        date: 2023-10-15 23:00:58.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1697404466 {#4064
      date: 2023-10-15 23:14:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4061 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4118 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
    -id: 51181
    -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/3265011"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697404466 {#4067
      date: 2023-10-15 23:14:26.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: """
    The docs have your answers\n
    \n
    jellyfin.org/docs/general/…/nvidia/#configure-wit…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1697405061 {#4134
    date: 2023-10-15 23:24:21.0 +02:00
  }
  +ip: null
  +tags: [
    "configure"
  ]
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4129 …}
  +nested: Doctrine\ORM\PersistentCollection {#4127 …}
  +votes: Doctrine\ORM\PersistentCollection {#4125 …}
  +reports: Doctrine\ORM\PersistentCollection {#4141 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
  -id: 51202
  -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://reddthat.com/comment/3867471"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697405061 {#4137
    date: 2023-10-15 23:24:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4154
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4139
    +user: Proxies\__CG__\App\Entity\User {#4131 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4069
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4046
        +user: App\Entity\User {#3995 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          You don’t need to run dkms commands on your own.\n
          \n
          If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1697408017 {#4055
          date: 2023-10-16 00:13:37.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@home-server"
          "@Schmoo@slrpnk.net"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4044 …}
        +nested: Doctrine\ORM\PersistentCollection {#4042 …}
        +votes: Doctrine\ORM\PersistentCollection {#4040 …}
        +reports: Doctrine\ORM\PersistentCollection {#4038 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
        -id: 51165
        -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/4559247"
        +editedAt: null
        +createdAt: DateTimeImmutable @1697403658 {#3987
          date: 2023-10-15 23:00:58.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4046}
      +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1697404466 {#4064
        date: 2023-10-15 23:14:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
        "@just_another_person@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4061 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4118 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      -id: 51181
      -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://slrpnk.net/comment/3265011"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697404466 {#4067
        date: 2023-10-15 23:14:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: """
      The docs have your answers\n
      \n
      jellyfin.org/docs/general/…/nvidia/#configure-wit…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1697405061 {#4134
      date: 2023-10-15 23:24:21.0 +02:00
    }
    +ip: null
    +tags: [
      "configure"
    ]
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4129 …}
    +nested: Doctrine\ORM\PersistentCollection {#4127 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4141 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
    -id: 51202
    -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://reddthat.com/comment/3867471"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697405061 {#4137
      date: 2023-10-15 23:24:21.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: """
    Well I decided to use CasaOS because I thought it would make things easier, but here it seems to complicate things. As far as I can tell CasaOS provides no way to manually change the docker-compose file (it is all done through the web UI) so I’m unsure how to do step 3 in the docs above.\n
    \n
    Seems these are the relevant options: ` --runtime=nvidia   --gpus all `\n
    \n
    Anyone have an idea of how I can enable these options for my Jellyfin Docker container in CasaOS? I do see an option to add “container commands” but not sure what I would need to enter there if that is the correct place.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697407914 {#4157
    date: 2023-10-16 00:11:54.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
    "@reddthat@reddthat.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4152 …}
  +nested: Doctrine\ORM\PersistentCollection {#4150 …}
  +votes: Doctrine\ORM\PersistentCollection {#4148 …}
  +reports: Doctrine\ORM\PersistentCollection {#4164 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4166 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
  -id: 51286
  -bodyTs: "'3':56 'add':95 'anyon':71 'casao':6,28,88 'chang':34 'command':97 'complic':20 'compos':38 'contain':86,96 'correct':112 'decid':3 'doc':59 'docker':37,85 'docker-compos':36 'done':43 'easier':14 'enabl':79 'enter':106 'far':23 'file':39 'gpus':69 'idea':74 'jellyfin':84 'm':50 'make':12 'manual':33 'need':104 'nvidia':68 'option':66,81,93 'place':113 'provid':29 'relev':65 'runtim':67 'see':91 'seem':18,61 'step':55 'sure':100 'tell':27 'thing':13,21 'thought':9 'ui':47 'unsur':51 'use':5 'way':31 'web':46 'well':1 'would':11,103"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://slrpnk.net/comment/3266155"
  +editedAt: DateTimeImmutable @1697408010 {#4160
    date: 2023-10-16 00:13:30.0 +02:00
  }
  +createdAt: DateTimeImmutable @1697407914 {#4162
    date: 2023-10-16 00:11:54.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4154
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4139
    +user: Proxies\__CG__\App\Entity\User {#4131 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4069
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4046
        +user: App\Entity\User {#3995 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          You don’t need to run dkms commands on your own.\n
          \n
          If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1697408017 {#4055
          date: 2023-10-16 00:13:37.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@home-server"
          "@Schmoo@slrpnk.net"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4044 …}
        +nested: Doctrine\ORM\PersistentCollection {#4042 …}
        +votes: Doctrine\ORM\PersistentCollection {#4040 …}
        +reports: Doctrine\ORM\PersistentCollection {#4038 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
        -id: 51165
        -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/4559247"
        +editedAt: null
        +createdAt: DateTimeImmutable @1697403658 {#3987
          date: 2023-10-15 23:00:58.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4046}
      +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1697404466 {#4064
        date: 2023-10-15 23:14:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
        "@just_another_person@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4061 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4118 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      -id: 51181
      -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://slrpnk.net/comment/3265011"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697404466 {#4067
        date: 2023-10-15 23:14:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: """
      The docs have your answers\n
      \n
      jellyfin.org/docs/general/…/nvidia/#configure-wit…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1697405061 {#4134
      date: 2023-10-15 23:24:21.0 +02:00
    }
    +ip: null
    +tags: [
      "configure"
    ]
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4129 …}
    +nested: Doctrine\ORM\PersistentCollection {#4127 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4141 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
    -id: 51202
    -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://reddthat.com/comment/3867471"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697405061 {#4137
      date: 2023-10-15 23:24:21.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: """
    Well I decided to use CasaOS because I thought it would make things easier, but here it seems to complicate things. As far as I can tell CasaOS provides no way to manually change the docker-compose file (it is all done through the web UI) so I’m unsure how to do step 3 in the docs above.\n
    \n
    Seems these are the relevant options: ` --runtime=nvidia   --gpus all `\n
    \n
    Anyone have an idea of how I can enable these options for my Jellyfin Docker container in CasaOS? I do see an option to add “container commands” but not sure what I would need to enter there if that is the correct place.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697407914 {#4157
    date: 2023-10-16 00:11:54.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
    "@reddthat@reddthat.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4152 …}
  +nested: Doctrine\ORM\PersistentCollection {#4150 …}
  +votes: Doctrine\ORM\PersistentCollection {#4148 …}
  +reports: Doctrine\ORM\PersistentCollection {#4164 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4166 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
  -id: 51286
  -bodyTs: "'3':56 'add':95 'anyon':71 'casao':6,28,88 'chang':34 'command':97 'complic':20 'compos':38 'contain':86,96 'correct':112 'decid':3 'doc':59 'docker':37,85 'docker-compos':36 'done':43 'easier':14 'enabl':79 'enter':106 'far':23 'file':39 'gpus':69 'idea':74 'jellyfin':84 'm':50 'make':12 'manual':33 'need':104 'nvidia':68 'option':66,81,93 'place':113 'provid':29 'relev':65 'runtim':67 'see':91 'seem':18,61 'step':55 'sure':100 'tell':27 'thing':13,21 'thought':9 'ui':47 'unsur':51 'use':5 'way':31 'web':46 'well':1 'would':11,103"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://slrpnk.net/comment/3266155"
  +editedAt: DateTimeImmutable @1697408010 {#4160
    date: 2023-10-16 00:13:30.0 +02:00
  }
  +createdAt: DateTimeImmutable @1697407914 {#4162
    date: 2023-10-16 00:11:54.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4154
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4139
    +user: Proxies\__CG__\App\Entity\User {#4131 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4069
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4046
        +user: App\Entity\User {#3995 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          You don’t need to run dkms commands on your own.\n
          \n
          If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1697408017 {#4055
          date: 2023-10-16 00:13:37.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@home-server"
          "@Schmoo@slrpnk.net"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4044 …}
        +nested: Doctrine\ORM\PersistentCollection {#4042 …}
        +votes: Doctrine\ORM\PersistentCollection {#4040 …}
        +reports: Doctrine\ORM\PersistentCollection {#4038 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
        -id: 51165
        -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/4559247"
        +editedAt: null
        +createdAt: DateTimeImmutable @1697403658 {#3987
          date: 2023-10-15 23:00:58.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4046}
      +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1697404466 {#4064
        date: 2023-10-15 23:14:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
        "@just_another_person@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4061 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4118 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
      -id: 51181
      -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://slrpnk.net/comment/3265011"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697404466 {#4067
        date: 2023-10-15 23:14:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: """
      The docs have your answers\n
      \n
      jellyfin.org/docs/general/…/nvidia/#configure-wit…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1697405061 {#4134
      date: 2023-10-15 23:24:21.0 +02:00
    }
    +ip: null
    +tags: [
      "configure"
    ]
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4129 …}
    +nested: Doctrine\ORM\PersistentCollection {#4127 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4141 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
    -id: 51202
    -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://reddthat.com/comment/3867471"
    +editedAt: null
    +createdAt: DateTimeImmutable @1697405061 {#4137
      date: 2023-10-15 23:24:21.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: """
    Well I decided to use CasaOS because I thought it would make things easier, but here it seems to complicate things. As far as I can tell CasaOS provides no way to manually change the docker-compose file (it is all done through the web UI) so I’m unsure how to do step 3 in the docs above.\n
    \n
    Seems these are the relevant options: ` --runtime=nvidia   --gpus all `\n
    \n
    Anyone have an idea of how I can enable these options for my Jellyfin Docker container in CasaOS? I do see an option to add “container commands” but not sure what I would need to enter there if that is the correct place.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697407914 {#4157
    date: 2023-10-16 00:11:54.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
    "@reddthat@reddthat.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4152 …}
  +nested: Doctrine\ORM\PersistentCollection {#4150 …}
  +votes: Doctrine\ORM\PersistentCollection {#4148 …}
  +reports: Doctrine\ORM\PersistentCollection {#4164 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4166 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
  -id: 51286
  -bodyTs: "'3':56 'add':95 'anyon':71 'casao':6,28,88 'chang':34 'command':97 'complic':20 'compos':38 'contain':86,96 'correct':112 'decid':3 'doc':59 'docker':37,85 'docker-compos':36 'done':43 'easier':14 'enabl':79 'enter':106 'far':23 'file':39 'gpus':69 'idea':74 'jellyfin':84 'm':50 'make':12 'manual':33 'need':104 'nvidia':68 'option':66,81,93 'place':113 'provid':29 'relev':65 'runtim':67 'see':91 'seem':18,61 'step':55 'sure':100 'tell':27 'thing':13,21 'thought':9 'ui':47 'unsur':51 'use':5 'way':31 'web':46 'well':1 'would':11,103"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://slrpnk.net/comment/3266155"
  +editedAt: DateTimeImmutable @1697408010 {#4160
    date: 2023-10-16 00:13:30.0 +02:00
  }
  +createdAt: DateTimeImmutable @1697407914 {#4162
    date: 2023-10-16 00:11:54.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4185
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4154
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4139
      +user: Proxies\__CG__\App\Entity\User {#4131 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4069
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4046
          +user: App\Entity\User {#3995 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            You don’t need to run dkms commands on your own.\n
            \n
            If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1697408017 {#4055
            date: 2023-10-16 00:13:37.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@home-server"
            "@Schmoo@slrpnk.net"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4044 …}
          +nested: Doctrine\ORM\PersistentCollection {#4042 …}
          +votes: Doctrine\ORM\PersistentCollection {#4040 …}
          +reports: Doctrine\ORM\PersistentCollection {#4038 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
          -id: 51165
          -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/4559247"
          +editedAt: null
          +createdAt: DateTimeImmutable @1697403658 {#3987
            date: 2023-10-15 23:00:58.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4046}
        +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1697404466 {#4064
          date: 2023-10-15 23:14:26.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@home-server"
          "@Schmoo@slrpnk.net"
          "@just_another_person@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4061 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4118 …}
        +reports: Doctrine\ORM\PersistentCollection {#4117 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        -id: 51181
        -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://slrpnk.net/comment/3265011"
        +editedAt: null
        +createdAt: DateTimeImmutable @1697404466 {#4067
          date: 2023-10-15 23:14:26.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4046}
      +body: """
        The docs have your answers\n
        \n
        jellyfin.org/docs/general/…/nvidia/#configure-wit…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1697405061 {#4134
        date: 2023-10-15 23:24:21.0 +02:00
      }
      +ip: null
      +tags: [
        "configure"
      ]
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
        "@just_another_person@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4129 …}
      +nested: Doctrine\ORM\PersistentCollection {#4127 …}
      +votes: Doctrine\ORM\PersistentCollection {#4125 …}
      +reports: Doctrine\ORM\PersistentCollection {#4141 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
      -id: 51202
      -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://reddthat.com/comment/3867471"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697405061 {#4137
        date: 2023-10-15 23:24:21.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: """
      Well I decided to use CasaOS because I thought it would make things easier, but here it seems to complicate things. As far as I can tell CasaOS provides no way to manually change the docker-compose file (it is all done through the web UI) so I’m unsure how to do step 3 in the docs above.\n
      \n
      Seems these are the relevant options: ` --runtime=nvidia   --gpus all `\n
      \n
      Anyone have an idea of how I can enable these options for my Jellyfin Docker container in CasaOS? I do see an option to add “container commands” but not sure what I would need to enter there if that is the correct place.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1697407914 {#4157
      date: 2023-10-16 00:11:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
      "@reddthat@reddthat.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4152 …}
    +nested: Doctrine\ORM\PersistentCollection {#4150 …}
    +votes: Doctrine\ORM\PersistentCollection {#4148 …}
    +reports: Doctrine\ORM\PersistentCollection {#4164 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    -id: 51286
    -bodyTs: "'3':56 'add':95 'anyon':71 'casao':6,28,88 'chang':34 'command':97 'complic':20 'compos':38 'contain':86,96 'correct':112 'decid':3 'doc':59 'docker':37,85 'docker-compos':36 'done':43 'easier':14 'enabl':79 'enter':106 'far':23 'file':39 'gpus':69 'idea':74 'jellyfin':84 'm':50 'make':12 'manual':33 'need':104 'nvidia':68 'option':66,81,93 'place':113 'provid':29 'relev':65 'runtim':67 'see':91 'seem':18,61 'step':55 'sure':100 'tell':27 'thing':13,21 'thought':9 'ui':47 'unsur':51 'use':5 'way':31 'web':46 'well':1 'would':11,103"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/3266155"
    +editedAt: DateTimeImmutable @1697408010 {#4160
      date: 2023-10-16 00:13:30.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697407914 {#4162
      date: 2023-10-16 00:11:54.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: "I’d start googling or looking through their forums. Somebody else has surely solved this for you."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697408013 {#4180
    date: 2023-10-16 00:13:33.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
    "@reddthat@reddthat.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4177 …}
  +nested: Doctrine\ORM\PersistentCollection {#4174 …}
  +votes: Doctrine\ORM\PersistentCollection {#4172 …}
  +reports: Doctrine\ORM\PersistentCollection {#4186 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
  -id: 51290
  -bodyTs: "'d':2 'els':11 'forum':9 'googl':4 'look':6 'solv':14 'somebodi':10 'start':3 'sure':13"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4560626"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697408013 {#4183
    date: 2023-10-16 00:13:33.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4185
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4154
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4139
      +user: Proxies\__CG__\App\Entity\User {#4131 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4069
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4046
          +user: App\Entity\User {#3995 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            You don’t need to run dkms commands on your own.\n
            \n
            If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1697408017 {#4055
            date: 2023-10-16 00:13:37.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@home-server"
            "@Schmoo@slrpnk.net"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4044 …}
          +nested: Doctrine\ORM\PersistentCollection {#4042 …}
          +votes: Doctrine\ORM\PersistentCollection {#4040 …}
          +reports: Doctrine\ORM\PersistentCollection {#4038 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
          -id: 51165
          -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/4559247"
          +editedAt: null
          +createdAt: DateTimeImmutable @1697403658 {#3987
            date: 2023-10-15 23:00:58.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4046}
        +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1697404466 {#4064
          date: 2023-10-15 23:14:26.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@home-server"
          "@Schmoo@slrpnk.net"
          "@just_another_person@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4061 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4118 …}
        +reports: Doctrine\ORM\PersistentCollection {#4117 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        -id: 51181
        -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://slrpnk.net/comment/3265011"
        +editedAt: null
        +createdAt: DateTimeImmutable @1697404466 {#4067
          date: 2023-10-15 23:14:26.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4046}
      +body: """
        The docs have your answers\n
        \n
        jellyfin.org/docs/general/…/nvidia/#configure-wit…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1697405061 {#4134
        date: 2023-10-15 23:24:21.0 +02:00
      }
      +ip: null
      +tags: [
        "configure"
      ]
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
        "@just_another_person@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4129 …}
      +nested: Doctrine\ORM\PersistentCollection {#4127 …}
      +votes: Doctrine\ORM\PersistentCollection {#4125 …}
      +reports: Doctrine\ORM\PersistentCollection {#4141 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
      -id: 51202
      -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://reddthat.com/comment/3867471"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697405061 {#4137
        date: 2023-10-15 23:24:21.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: """
      Well I decided to use CasaOS because I thought it would make things easier, but here it seems to complicate things. As far as I can tell CasaOS provides no way to manually change the docker-compose file (it is all done through the web UI) so I’m unsure how to do step 3 in the docs above.\n
      \n
      Seems these are the relevant options: ` --runtime=nvidia   --gpus all `\n
      \n
      Anyone have an idea of how I can enable these options for my Jellyfin Docker container in CasaOS? I do see an option to add “container commands” but not sure what I would need to enter there if that is the correct place.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1697407914 {#4157
      date: 2023-10-16 00:11:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
      "@reddthat@reddthat.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4152 …}
    +nested: Doctrine\ORM\PersistentCollection {#4150 …}
    +votes: Doctrine\ORM\PersistentCollection {#4148 …}
    +reports: Doctrine\ORM\PersistentCollection {#4164 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    -id: 51286
    -bodyTs: "'3':56 'add':95 'anyon':71 'casao':6,28,88 'chang':34 'command':97 'complic':20 'compos':38 'contain':86,96 'correct':112 'decid':3 'doc':59 'docker':37,85 'docker-compos':36 'done':43 'easier':14 'enabl':79 'enter':106 'far':23 'file':39 'gpus':69 'idea':74 'jellyfin':84 'm':50 'make':12 'manual':33 'need':104 'nvidia':68 'option':66,81,93 'place':113 'provid':29 'relev':65 'runtim':67 'see':91 'seem':18,61 'step':55 'sure':100 'tell':27 'thing':13,21 'thought':9 'ui':47 'unsur':51 'use':5 'way':31 'web':46 'well':1 'would':11,103"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/3266155"
    +editedAt: DateTimeImmutable @1697408010 {#4160
      date: 2023-10-16 00:13:30.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697407914 {#4162
      date: 2023-10-16 00:11:54.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: "I’d start googling or looking through their forums. Somebody else has surely solved this for you."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697408013 {#4180
    date: 2023-10-16 00:13:33.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
    "@reddthat@reddthat.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4177 …}
  +nested: Doctrine\ORM\PersistentCollection {#4174 …}
  +votes: Doctrine\ORM\PersistentCollection {#4172 …}
  +reports: Doctrine\ORM\PersistentCollection {#4186 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
  -id: 51290
  -bodyTs: "'d':2 'els':11 'forum':9 'googl':4 'look':6 'solv':14 'somebodi':10 'start':3 'sure':13"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4560626"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697408013 {#4183
    date: 2023-10-16 00:13:33.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4185
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4154
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4139
      +user: Proxies\__CG__\App\Entity\User {#4131 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4069
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4046
          +user: App\Entity\User {#3995 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            You don’t need to run dkms commands on your own.\n
            \n
            If you’re just running a simple media server, you don’t need the bleeding edge Nvidia driver. Just install the packages that come with Ubuntu. If you’re not used to Linux in general, here are the easiest steps to do so: [phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1697408017 {#4055
            date: 2023-10-16 00:13:37.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@home-server"
            "@Schmoo@slrpnk.net"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4044 …}
          +nested: Doctrine\ORM\PersistentCollection {#4042 …}
          +votes: Doctrine\ORM\PersistentCollection {#4040 …}
          +reports: Doctrine\ORM\PersistentCollection {#4038 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4006 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4010 …}
          -id: 51165
          -bodyTs: "'/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':57 'bleed':26 'come':35 'command':8 'dkms':7 'driver':29 'easiest':50 'edg':27 'general':46 'instal':31 'linux':44 'media':19 'need':4,24 'nvidia':28 'packag':33 'phoenixnap.com':56 'phoenixnap.com/kb/install-nvidia-drivers-ubuntu](https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu)':55 're':14,40 'run':6,16 'server':20 'simpl':18 'step':51 'ubuntu':37 'use':42"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/4559247"
          +editedAt: null
          +createdAt: DateTimeImmutable @1697403658 {#3987
            date: 2023-10-15 23:00:58.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4046}
        +body: "Thank you! After doing it this way I was finally able to get an output from nvidia-smi. Now would you happen to know how to give my Jellyfin Docker container access to the device for hardware acceleration?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1697404466 {#4064
          date: 2023-10-15 23:14:26.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@home-server"
          "@Schmoo@slrpnk.net"
          "@just_another_person@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4061 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4118 …}
        +reports: Doctrine\ORM\PersistentCollection {#4117 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4122 …}
        -id: 51181
        -bodyTs: "'abl':11 'acceler':39 'access':33 'contain':32 'devic':36 'docker':31 'final':10 'get':13 'give':28 'happen':23 'hardwar':38 'jellyfin':30 'know':25 'nvidia':18 'nvidia-smi':17 'output':15 'smi':19 'thank':1 'way':7 'would':21"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://slrpnk.net/comment/3265011"
        +editedAt: null
        +createdAt: DateTimeImmutable @1697404466 {#4067
          date: 2023-10-15 23:14:26.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4046}
      +body: """
        The docs have your answers\n
        \n
        jellyfin.org/docs/general/…/nvidia/#configure-wit…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1697405061 {#4134
        date: 2023-10-15 23:24:21.0 +02:00
      }
      +ip: null
      +tags: [
        "configure"
      ]
      +mentions: [
        "@home-server"
        "@Schmoo@slrpnk.net"
        "@just_another_person@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4129 …}
      +nested: Doctrine\ORM\PersistentCollection {#4127 …}
      +votes: Doctrine\ORM\PersistentCollection {#4125 …}
      +reports: Doctrine\ORM\PersistentCollection {#4141 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4143 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4145 …}
      -id: 51202
      -bodyTs: "'/docs/general/':8 '/nvidia':9 'answer':5 'configur':11 'configure-wit':10 'doc':2 'jellyfin.org':7 'jellyfin.org/docs/general/':6 'wit':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://reddthat.com/comment/3867471"
      +editedAt: null
      +createdAt: DateTimeImmutable @1697405061 {#4137
        date: 2023-10-15 23:24:21.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4046}
    +body: """
      Well I decided to use CasaOS because I thought it would make things easier, but here it seems to complicate things. As far as I can tell CasaOS provides no way to manually change the docker-compose file (it is all done through the web UI) so I’m unsure how to do step 3 in the docs above.\n
      \n
      Seems these are the relevant options: ` --runtime=nvidia   --gpus all `\n
      \n
      Anyone have an idea of how I can enable these options for my Jellyfin Docker container in CasaOS? I do see an option to add “container commands” but not sure what I would need to enter there if that is the correct place.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1697407914 {#4157
      date: 2023-10-16 00:11:54.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@home-server"
      "@Schmoo@slrpnk.net"
      "@just_another_person@lemmy.world"
      "@reddthat@reddthat.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4152 …}
    +nested: Doctrine\ORM\PersistentCollection {#4150 …}
    +votes: Doctrine\ORM\PersistentCollection {#4148 …}
    +reports: Doctrine\ORM\PersistentCollection {#4164 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4166 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4168 …}
    -id: 51286
    -bodyTs: "'3':56 'add':95 'anyon':71 'casao':6,28,88 'chang':34 'command':97 'complic':20 'compos':38 'contain':86,96 'correct':112 'decid':3 'doc':59 'docker':37,85 'docker-compos':36 'done':43 'easier':14 'enabl':79 'enter':106 'far':23 'file':39 'gpus':69 'idea':74 'jellyfin':84 'm':50 'make':12 'manual':33 'need':104 'nvidia':68 'option':66,81,93 'place':113 'provid':29 'relev':65 'runtim':67 'see':91 'seem':18,61 'step':55 'sure':100 'tell':27 'thing':13,21 'thought':9 'ui':47 'unsur':51 'use':5 'way':31 'web':46 'well':1 'would':11,103"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/3266155"
    +editedAt: DateTimeImmutable @1697408010 {#4160
      date: 2023-10-16 00:13:30.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697407914 {#4162
      date: 2023-10-16 00:11:54.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4046}
  +body: "I’d start googling or looking through their forums. Somebody else has surely solved this for you."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697408013 {#4180
    date: 2023-10-16 00:13:33.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
    "@just_another_person@lemmy.world"
    "@reddthat@reddthat.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4177 …}
  +nested: Doctrine\ORM\PersistentCollection {#4174 …}
  +votes: Doctrine\ORM\PersistentCollection {#4172 …}
  +reports: Doctrine\ORM\PersistentCollection {#4186 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4188 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4190 …}
  -id: 51290
  -bodyTs: "'d':2 'els':11 'forum':9 'googl':4 'look':6 'solv':14 'somebodi':10 'start':3 'sure':13"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4560626"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697408013 {#4183
    date: 2023-10-16 00:13:33.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4092
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Be careful with your solution. Ever other container you launch will attempt to access the Nvidia runtime, which gives access to the GPU. This may have unintended consequences, versus just running individual containers with Nvidia runtime set, and gpus=all set."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697416174 {#4098
    date: 2023-10-16 02:29:34.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4084 …}
  +nested: Doctrine\ORM\PersistentCollection {#4087 …}
  +votes: Doctrine\ORM\PersistentCollection {#4085 …}
  +reports: Doctrine\ORM\PersistentCollection {#4083 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4073 …}
  -id: 51466
  -bodyTs: "'access':14,20 'attempt':12 'care':2 'consequ':28 'contain':8,33 'ever':6 'give':19 'gpu':23 'gpus':39 'individu':32 'launch':10 'may':25 'nvidia':16,35 'run':31 'runtim':17,36 'set':37,41 'solut':5 'unintend':27 'versus':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4562887"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697416174 {#4096
    date: 2023-10-16 02:29:34.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4092
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Be careful with your solution. Ever other container you launch will attempt to access the Nvidia runtime, which gives access to the GPU. This may have unintended consequences, versus just running individual containers with Nvidia runtime set, and gpus=all set."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697416174 {#4098
    date: 2023-10-16 02:29:34.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4084 …}
  +nested: Doctrine\ORM\PersistentCollection {#4087 …}
  +votes: Doctrine\ORM\PersistentCollection {#4085 …}
  +reports: Doctrine\ORM\PersistentCollection {#4083 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4073 …}
  -id: 51466
  -bodyTs: "'access':14,20 'attempt':12 'care':2 'consequ':28 'contain':8,33 'ever':6 'give':19 'gpu':23 'gpus':39 'individu':32 'launch':10 'may':25 'nvidia':16,35 'run':31 'runtim':17,36 'set':37,41 'solut':5 'unintend':27 'versus':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4562887"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697416174 {#4096
    date: 2023-10-16 02:29:34.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4092
  +user: App\Entity\User {#3995 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "piracy@lemmy.dbzer0.com"
      +title: "piracy"
      +description: """
        ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
        \n
        ---\n
        \n
        ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
        \n
        **1**. Posts must be related to the discussion of digital piracy\n
        \n
        **2**. Don’t request invites, trade, sell, or self-promote\n
        \n
        **3**. Don’t request or link to specific pirated titles, including DMs\n
        \n
        **4**. Don’t submit low-quality posts, be entitled, or harass others\n
        \n
        **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
        \n
        ---\n
        \n
        [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
        ---------------------------------------------------------------------------\n
        \n
        ### Loot, Pillage, &amp; Plunder\n
        \n
        - [📜 Megathread](https://rentry.co/megathread)\n
        - [🪶 FAQ](https://rentry.co/piracy-faq)\n
        - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
        - [🪶 Rules](https://rentry.co/piracy-rules)\n
        \n
        ---\n
        \n
        💰 Please help cover server costs.\n
        \n
        [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 866
      +entryCommentCount: 20194
      +postCount: 7
      +postCommentCount: 149
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729581369 {#276
        date: 2024-10-22 09:16:09.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 51
      +apId: "piracy@lemmy.dbzer0.com"
      +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
      +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
      +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
      +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
      +apDomain: "lemmy.dbzer0.com"
      +apPreferredUsername: "piracy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708748229 {#270
        date: 2024-02-24 05:17:09.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697197339 {#272
        date: 2023-10-13 13:42:19.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Solved-Need-Help-With-My-Self-Hosted-Media-Server"
    +title: "(Solved) Need Help With My Self-Hosted Media Server"
    +url: null
    +body: """
      Edit: For those who stumble across this with the same issue, I eventually got it working by adding `“default-runtime”: “nvidia”,` to `/etc/docker/daemon.json` then restarting the docker service and Jellyfin container.\n
      \n
      I am in the process of setting up a new media server on an old PC using Ubuntu Server and CasaOS and have run into my first major roadblock.\n
      \n
      To give some background, I formerly had my media server running on my main gaming PC on Windows using Plex and the *arr suite. I’m now trying to do things the right way and set everything back up from scratch on some spare hardware with Jellyfin and all the rest in dockerized containers. I chose CasaOS because I’m not overly familiar with Linux and thought that would be a good way to ease into things.\n
      \n
      Everything was going well until I tried to get hardware acceleration enabled in Jellyfin. For the life of me I cannot seem to get the Nvidia drivers properly installed, much less give Jellyfin access to the device. I’m using a GTX 960.\n
      \n
      I’m not sure exactly what additional info I need to give here, but here’s something I hope helps:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">*****@home-server:/$ nvidia-smi\n
      </span><span style="color:#323232;">NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n
      </span><span style="color:#323232;">*****@home-server:/$ nvcc --version\n
      </span><span style="color:#323232;">nvcc: NVIDIA (R) Cuda compiler driver\n
      </span><span style="color:#323232;">Copyright (c) 2005-2021 NVIDIA Corporation\n
      </span><span style="color:#323232;">Built on Thu_Nov_18_09:45:30_PST_2021\n
      </span><span style="color:#323232;">Cuda compilation tools, release 11.5, V11.5.119\n
      </span><span style="color:#323232;">Build cuda_11.5.r11.5/compiler.30672275_0\n
      </span><span style="color:#323232;">*****@home-server:/$ ls /usr/src | grep nvidia\n
      </span><span style="color:#323232;">nvidia-srv-535.104.12\n
      </span><span style="color:#323232;">*****@home-server:/$ sudo dkms install -m nvidia -v srv-535.104.12\n
      </span><span style="color:#323232;">Error! Could not locate dkms.conf file.\n
      </span><span style="color:#323232;">File: /usr/src/nvidia-srv-535.104.12/dkms.conf does not exist.\n
      </span>\n
      ```\n
      \n
      If there’s anything important I’m leaving out - and I probably am - let me know. Also if there’s anywhere else you recommend I post this let me know that as well.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 33
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1697416174 {#2410
      date: 2023-10-16 02:29:34.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: [
      "@home-server"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 5597
    -titleTs: "'help':3 'host':8 'media':9 'need':2 'self':7 'self-host':6 'server':10 'solv':1"
    -bodyTs: "'-2021':247 '/etc/docker/daemon.json':24 '/usr/src':274 '/usr/src/nvidia-srv-535.104.12/dkms.conf':299 '09':255 '11.5':264,268 '18':254 '2005':246 '2021':259 '30':257 '45':256 '535.104.12':280,291 '960':181 'acceler':149 'access':172 'across':6 'ad':18 'addit':188 'also':319 'anyth':306 'anywher':323 'arr':84 'back':99 'background':65 'build':266 'built':250 'c':245 'cannot':159 'casao':53,118 'chose':117 'communic':217 'compil':242,261 'contain':32,115 'copyright':244 'corpor':249 'could':293 'couldn':215 'cuda':241,260,267 'default':20 'default-runtim':19 'devic':175 'dkms':285 'dkms.conf':296 'docker':28,114 'driver':165,221,228,243 'eas':136 'edit':1 'els':324 'enabl':150 'error':292 'eventu':13 'everyth':98,139 'exact':186 'exist':302 'fail':212 'familiar':124 'file':297,298 'first':59 'former':67 'game':76 'get':147,162 'give':63,170,193 'go':141 'good':133 'got':14 'grep':275 'gtx':180 'hardwar':106,148 'help':201 'home':203,234,271,282 'home-serv':202,233,270,281 'hope':200 'import':307 'info':189 'instal':167,230,286 'issu':11 'jellyfin':31,108,152,171 'know':318,332 'latest':226 'leav':310 'less':169 'let':316,330 'life':155 'linux':126 'locat':295 'ls':273 'm':87,121,177,183,287,309 'main':75 'major':60 'make':222 'media':43,70 'much':168 'need':191 'new':42 'nov':253 'nvcc':236,238 'nvidia':22,164,206,209,220,227,239,248,276,278,288 'nvidia-smi':205,208 'nvidia-srv':277 'old':47 'over':123 'pc':48,77 'plex':81 'post':328 'probabl':314 'process':37 'proper':166 'pst':258 'r':240 'r11.5/compiler.30672275_0':269 'recommend':326 'releas':263 'rest':112 'restart':26 'right':94 'roadblock':61 'run':56,72,232 'runtim':21 'scratch':102 'seem':160 'server':44,51,71,204,235,272,283 'servic':29 'set':39,97 'smi':207,210 'someth':198 'spare':105 'srv':279,290 'stumbl':5 'sudo':284 'suit':85 'sure':185,223 'thing':92,138 'thought':128 'thu':252 'tool':262 'tri':89,145 'ubuntu':50 'use':49,80,178 'v':289 'v11.5.119':265 'version':237 'way':95,134 'well':142,335 'window':79 'work':16 'would':130"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1697489239
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/3120635"
    +editedAt: DateTimeImmutable @1697411118 {#1850
      date: 2023-10-16 01:05:18.0 +02:00
    }
    +createdAt: DateTimeImmutable @1697402839 {#2420
      date: 2023-10-15 22:47:19.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Be careful with your solution. Ever other container you launch will attempt to access the Nvidia runtime, which gives access to the GPU. This may have unintended consequences, versus just running individual containers with Nvidia runtime set, and gpus=all set."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1697416174 {#4098
    date: 2023-10-16 02:29:34.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@home-server"
    "@Schmoo@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4084 …}
  +nested: Doctrine\ORM\PersistentCollection {#4087 …}
  +votes: Doctrine\ORM\PersistentCollection {#4085 …}
  +reports: Doctrine\ORM\PersistentCollection {#4083 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4073 …}
  -id: 51466
  -bodyTs: "'access':14,20 'attempt':12 'care':2 'consequ':28 'contain':8,33 'ever':6 'give':19 'gpu':23 'gpus':39 'individu':32 'launch':10 'may':25 'nvidia':16,35 'run':31 'runtim':17,36 'set':37,41 'solut':5 'unintend':27 'versus':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/4562887"
  +editedAt: null
  +createdAt: DateTimeImmutable @1697416174 {#4096
    date: 2023-10-16 02:29:34.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +name: "piracy@lemmy.dbzer0.com"
  +title: "piracy"
  +description: """
    ##### ⚓ Community devoted to in-depth debate on topics concerning digital piracy, ethical problems, and legal advancements.\n
    \n
    ---\n
    \n
    ### Rules • [Full Version](https://rentry.co/piracy-rules)\n
    \n
    **1**. Posts must be related to the discussion of digital piracy\n
    \n
    **2**. Don’t request invites, trade, sell, or self-promote\n
    \n
    **3**. Don’t request or link to specific pirated titles, including DMs\n
    \n
    **4**. Don’t submit low-quality posts, be entitled, or harass others\n
    \n
    **5**. Don’t post questions already answered. READ THE [WIKI](https://lemmy.dbzer0.com/post/10901)\n
    \n
    ---\n
    \n
    [![](https://a.imagem.app/oZoQ1v.png)](https://lemmy.dbzer0.com/post/10901)\n
    ---------------------------------------------------------------------------\n
    \n
    ### Loot, Pillage, &amp; Plunder\n
    \n
    - [📜 Megathread](https://rentry.co/megathread)\n
    - [🪶 FAQ](https://rentry.co/piracy-faq)\n
    - [🪶 ISP Complaints](https://rentry.co/piracy-isp-complaints)\n
    - [🪶 Rules](https://rentry.co/piracy-rules)\n
    \n
    ---\n
    \n
    💰 Please help cover server costs.\n
    \n
    [![Ko-Fi](https://lemmy.dbzer0.com/pictrs/image/4a2f073a-3dd8-492a-942d-72bd929c9f1d.png)](https://ko-fi.com/dbzer0)[![Liberapay](https://lemmy.dbzer0.com/pictrs/image/eec4659d-39be-4fc9-bc9e-66a96285ea2c.png)](https://liberapay.com/db0/)\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 866
  +entryCommentCount: 20194
  +postCount: 7
  +postCommentCount: 149
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729581369 {#276
    date: 2024-10-22 09:16:09.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#238 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
  +entries: Doctrine\ORM\PersistentCollection {#181 …}
  +posts: Doctrine\ORM\PersistentCollection {#139 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
  +bans: Doctrine\ORM\PersistentCollection {#118 …}
  +reports: Doctrine\ORM\PersistentCollection {#104 …}
  +badges: Doctrine\ORM\PersistentCollection {#82 …}
  +logs: Doctrine\ORM\PersistentCollection {#72 …}
  +awards: Doctrine\ORM\PersistentCollection {#61 …}
  +categories: Doctrine\ORM\PersistentCollection {#1820 …}
  -id: 51
  +apId: "piracy@lemmy.dbzer0.com"
  +apProfileId: "https://lemmy.dbzer0.com/c/piracy"
  +apPublicUrl: "https://lemmy.dbzer0.com/c/piracy"
  +apFollowersUrl: "https://lemmy.dbzer0.com/c/piracy/followers"
  +apInboxUrl: "https://lemmy.dbzer0.com/inbox"
  +apDomain: "lemmy.dbzer0.com"
  +apPreferredUsername: "piracy"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1708748229 {#270
    date: 2024-02-24 05:17:09.0 +01:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1697197339 {#272
    date: 2023-10-13 13:42:19.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details