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

why nvidia-xconfig is disabled from libnvidia-config #1085

Open
yuclassic opened this issue Oct 30, 2024 · 0 comments
Open

why nvidia-xconfig is disabled from libnvidia-config #1085

yuclassic opened this issue Oct 30, 2024 · 0 comments

Comments

@yuclassic
Copy link

hello~
I want to use 'nvidia-xconfig' to run X11 on k8s containerd
which container should mount one GPU from a 8-GPU machine
but I found nvidia-xconfig is disabled

so I patched codes from libnvidia-container to enable nvidia-xconfig
and I patch nvidia-xconfig to fit a rand card which mounted

but X11 cannot working,it says


root@embodiedscan-8x8q4-9098-worker-0:/# X :99

X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux embodiedscan-8x8q4-9098-worker-0 5.4.15-1.el7.elrepo.x86_64 #1 SMP Sun Jan 26 09:10:24 EST 2020 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.15-1.el7.elrepo.x86_64 root=UUID=3d93760f-dc88-483c-acd9-e0fbf5c9c436 ro crashkernel=512M spectre_v2=retpoline intel_iommu=on iommu=pt rootflags=prjquota cgroup.memory=nokmem console=tty0 console=ttyS0,115200n8 rd.auto=1
Build Date: 09 April 2024 01:36:10AM
xorg-server 2:1.20.13-1ubuntu1~20.04.17 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.99.log", Time: Wed Oct 30 16:19:33 2024
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.99.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.


can't open /dev/tty0: No such file or directory

maybe there is no tty0 in containerd?
is the reason for you to disable nvidia-xconfig on containerd
if this is the reason, maybe i can use kata-container to fit this problem

thank you

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

No branches or pull requests

1 participant