ubuntu-core-22에서 Nvidia GPU를 사용하고 디스플레이에 ubuntu-frame을 사용할 수 있습니까?

ubuntu-core-22에서 Nvidia GPU를 사용하고 디스플레이에 ubuntu-frame을 사용할 수 있습니까?

저는 Nvidia GT 1030 그래픽 카드가 장착된 컴퓨터를 가지고 있으며 ubuntu-frame을 사용하여 간단한 웹사이트를 표시하려고 합니다. 처음에는 아무런 문제 없이 프롬프트가 표시됩니다. 그러나 우분투 프레임을 사용하여 더 복잡한 것을 표시하려고 하면 빈 화면이 나타납니다.

.nvidia-core22ubuntu-framesnap connect ubuntu-frame:graphics-core22 nvidia-core22:graphics-core22ubuntu-frame

로그 ubuntu-frame는 다음과 같습니다.

2023-06-27T12:43:46Z systemd[1]: Started Service for snap application ubuntu-frame.daemon.
2023-06-27T12:43:46Z ubuntu-frame.daemon[1841]: ++ snapctl get display
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + '[' -z '' ']'
2023-06-27T12:43:46Z ubuntu-frame.daemon[1847]: + initialise-display-config
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + disown
2023-06-27T12:43:46Z ubuntu-frame.daemon[1848]: + sh -c 'sleep 5; mkdir "/run/user/007"; rmdir "/run/user/007"'
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + exec nohup /snap/ubuntu-frame/5776/bin/run-frame /snap/ubuntu-frame/5776/bin/graphics-core22-wrapper /snap/ubuntu-frame/5776/usr/local/bin/frame
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + [ /snap/ubuntu-frame/5776/bin/graphics-core22-wrapper = --help ]
2023-06-27T12:43:46Z ubuntu-frame.daemon[1853]: + dirname /run/user/0/snap.ubuntu-frame
2023-06-27T12:43:46Z ubuntu-frame.daemon[1849]: Setting up watches.
2023-06-27T12:43:46Z ubuntu-frame.daemon[1849]: Watches established.
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + XDG_RUNTIME_DIR=/run/user/0
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + export XDG_RUNTIME_DIR
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + mkdir -p /run/user/0 -m 700
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + [ -n  ]
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: + exec /snap/ubuntu-frame/5776/bin/graphics-core22-wrapper /snap/ubuntu-frame/5776/usr/local/bin/frame
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.347553] <information> mirserver: Starting
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.347935] < - debug - > mirserver: Using Linux VT subsystem for session management
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.348063] <information> mircommon: Loading modules from: /snap/ubuntu-frame/5776/usr/lib/x86_64-linux-gnu/mir/server-platform
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.348116] <information> mircommon: Loading module: /snap/ubuntu-frame/5776/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.20
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.348133] <information> mircommon: Loading module: /snap/ubuntu-frame/5776/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.20
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.348146] <information> mircommon: Loading module: /snap/ubuntu-frame/5776/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.20
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.348158] <information> mircommon: Loading module: /snap/ubuntu-frame/5776/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.8
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.349104] <information> mirserver: Found display driver: mir:eglstream-kms (version 2.13.0)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.358932] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359002] <information> eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359015] < - debug - > eglstream: EGLDeviceEXTs found, but none are suitable for Mir
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359033] <information> mirserver: (Unsupported by system environment)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359044] <information> mirserver: Found display driver: mir:gbm-kms (version 2.13.0)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359170] <information> gbm-kms: Unsupported: No DRM devices detected
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359183] <information> mirserver: (Unsupported by system environment)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359194] <information> mirserver: Found display driver: mir:x11 (version 2.13.0)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: [2023-06-27 12:43:46.359223] <information> mirserver: (Unsupported by system environment)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: ERROR: ./src/server/graphics/default_configuration.cpp(233): Throw in function virtual const std::vector<std::shared_ptr<mir::graphics::DisplayPlatform> >& mir::DefaultServerConfiguration::the_display_platforms()
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: std::exception::what: Exception while creating graphics platform
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: ERROR: ./src/server/graphics/platform_probe.cpp(190): Throw in function std::vector<std::pair<mir::graphics::SupportedDevice, std::shared_ptr<mir::SharedLibrary> > > {anonymous}::modules_for_device({anonymous}::ModuleType, const std::vector<std::shared_ptr<mir::SharedLibrary> >&, const mir::options::ProgramOption&, const std::shared_ptr<mir::ConsoleServices>&)
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2023-06-27T12:43:46Z ubuntu-frame.daemon[1817]: std::exception::what: Failed to find any platforms for current system
2023-06-27T12:43:46Z systemd[1]: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=1/FAILURE
2023-06-27T12:43:46Z systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result 'exit-code'.

내가 아는 한, GMB는 Nvidia 카드와 함께 사용할 수 없지만 EGL은 사용할 수 있습니다.

누군가 같은 문제가 있습니까? 이 문제를 해결하는 방법에 대한 아이디어가 있습니까?

감사해요

답변1

저는 클래식 Ubuntu(서버 또는 데스크탑)에서 작동하고 있음을 알고 있지만 nvidia-core22Ubuntu ubuntu-frameCore에서 작동하려면 Nvidia를 지원하는 커널 스냅이 필요합니다.

또한 nvidia 커널 공간 드라이버를 어셈블하고 로드하려면 pc-kernel및 스냅이 필요합니다. nvidia-assemble(덕분에이 설명을 위해 Xnox!)

이는 불편하지만 Nvidia Linux 지원을 패키징할 수 있는 방식의 한계를 반영합니다.

관련 정보