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

[question] Viewport is unresponsive if bigger than full hd, Does 4k 60fps is achievable ? #11

Closed
1 task done
erinorina opened this issue Jun 2, 2024 · 3 comments
Closed
1 task done

Comments

@erinorina
Copy link

erinorina commented Jun 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The blender viewport is responsive at full hd resolution, but not in 4k on localhost,
I would like to understand if i miss-configured my launch parameters, or if it's a limitation of KASMvnc.
cuda , optix, work fine in the container.

My HOST hardware :

NVIDIA RTX 3060 Driver Version: 525.147.05 CUDA Version: 12.0

$ xdpyinfo | grep -i "DRI"
    DRI2
    DRI3

In the Container:
I am not sure if it's relevant, but i noticed xdpyinfo | grep -i "DRI" return nothing

Glx infos :

OpenGL vendor string: Mesa
OpenGL renderer string: zink Vulkan 1.3(llvmpipe (LLVM 15.0.7, 256 bits) (MESA_LLVMPIPE))
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Expected Behavior

No response

Steps To Reproduce

docker run -d \
  --name=blender \
  --gpus all \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e SUBFOLDER=/ `#optional` \
  -e NVIDIA_VISIBLE_DEVICES=all \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /path/to/config:/config \
  --restart unless-stopped \
  --device=/dev/dri:/dev/dri lscr.io/linuxserver/blender:latest

Environment

- OS:  debian 12, Linux x99 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux
- How docker service was installed: via apt

CPU architecture

x86-64

Docker creation

$ docker run -d \
  --name=blender \
  --gpus all \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e SUBFOLDER=/ `#optional` \
  -e NVIDIA_VISIBLE_DEVICES=all \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /path/to/config:/config \
  --restart unless-stopped \
  --device=/dev/dri:/dev/dri lscr.io/linuxserver/blender:latest

Container logs

$ docker logs blender
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

**** adding /dev/dri/renderD128 to video group ssl-cert with id 105 ****
**** adding /dev/dri/card0 to video group video with id 44 ****
[custom-init] No custom files found, skipping...
/usr/bin/nvidia-smi
/usr/bin/nvidia-smi
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built May 25 2024 18:57:36
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
Copy link

github-actions bot commented Jun 2, 2024

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

@erinorina erinorina changed the title [question] Viewport is unresponsive if bigger than full hd, Does 4k 60fps is achievable, ? [question] Viewport is unresponsive if bigger than full hd, Does 4k 60fps is achievable ? Jun 2, 2024
@thelamer
Copy link
Member

thelamer commented Jun 2, 2024

Kasmvnc limitation, you might want to try lossless if you have a bunch of spare CPU threads. It is still VNC, turbocharged VNC with more broad image format support but it is not a video codec.

@erinorina
Copy link
Author

Thank's , sorry i overlook the cpu usage, 24 threads at 2.50GHz are not enough (XeonCPU E5-2678 v3),
I will look into another protocol that use GPU encode/decode (moonlight/sunshine) which use nvenc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants