Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] < dev/dri/renderD129 > #57

Closed
1 task done
nikhil96widhani opened this issue May 13, 2024 · 5 comments
Closed
1 task done

[BUG] < dev/dri/renderD129 > #57

nikhil96widhani opened this issue May 13, 2024 · 5 comments

Comments

@nikhil96widhani
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Installed KASM using docker, Mounted dri volume. I have 2 entried in the dri card1 and renderD129. Selected card1 dusing install but everytime i see logging it has this error "error gathering device information while adding custom device "/dev/dri/renderD129": no such file or directory". this might be because on my host its d128 instead of d129.

Expected Behavior

There should not be such error and renderd128 should be used instead of d129 as its not present

Steps To Reproduce

use a fresh install

Environment

- OS: Ununtu server 24
- How docker service was installed: Docker.io with linuxserver docker image

CPU architecture

x86-64

Docker creation

#portainer with docker compose
version: "2.1"
services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    devices:
      - "/dev/dri/card1:/dev/dri/card1"
      - "/dev/dri/renderD128:/dev/dri/renderD128"
    environment:
      - TZ=America/Toronto
      - KASM_PORT=4443
#      - DOCKER_HUB_USERNAME=USER #optional
#      - DOCKER_HUB_PASSWORD=PASS #optional
#      - DOCKER_MTU=1500 #optional
    volumes:
      - ~/volumes/kasm/opt:/opt
      - ~/volumes/kasm/profiles:/profiles
      - /dev/dri:/dev/dri
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
    ports:
      - 3001:3000
      - 4443:4443
    restart: unless-stopped

Container logs

host: b8bfb798d528
ingest_date: 202405131400
application: kasm_api
levelname: ERROR
kasm_user_name: [email protected]
process: client_api_server
client_ip: 192.168.0.11
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15
message
Error during Create request for Server(4aae7f16-0a63-4c74-b09a-f64ce7ab406f) : (Exception creating Kasm: Traceback (most recent call last):
  File "docker/api/client.py", line 268, in _raise_for_status
  File "requests/models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.45/containers/3b05fc8de49c7218f9b5747ae4bfc9db64c5bb847a558833c1bc31ecfea3da06/start

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "__init__.py", line 573, in post
  File "provision.py", line 1871, in provision
  File "provision.py", line 1863, in provision
  File "docker/models/containers.py", line 818, in run
  File "docker/models/containers.py", line 404, in start
  File "docker/utils/decorators.py", line 19, in wrapped
  File "docker/api/container.py", line 1111, in start
  File "docker/api/client.py", line 270, in _raise_for_status
  File "docker/errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.45/containers/3b05fc8de49c7218f9b5747ae4bfc9db64c5bb847a558833c1bc31ecfea3da06/start: Internal Server Error ("error gathering device information while adding custom device "/dev/dri/renderD129": no such file or directory")
)
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@inquam
Copy link

inquam commented Jun 23, 2024

I run into the same issue with an nvidia gpu installed and the nvidia docker runtime working fine for other containers in my setup.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 23, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants