DREAMER

[wayland] default wayland로 설정 본문

프로그래밍/NVIDIA

[wayland] default wayland로 설정

연소민 2023. 3. 20. 16:15
728x90
반응형

아래 명령어로 Weston을 실행할 수 있다.

sudo service gdm stop
sudo pkill -9 Xorg

unset DISPLAY
mkdir /tmp/xdg
export XDG_RUNTIME_DIR=/tmp/xdg
weston-launch &

 

동작을 확인 했으면, init.d에 적절한 스크립트 파일을 생성하여 부팅시에 실행되게 한다.

 

또한, 아래 옵션을 comment 한다.

해당 파일의 맨 마지막줄에 uncomment되어있을 것이다. 아래와 같이 comment로 변경한다.

 

"/etc/modprobe.d/tegra-udrm.conf"

options tegra-udrm modeset=1

 

----------------------------------------------------------------------------------------------------

반대로 wayland에서 Xorg로 변경하려면, /etc/modprobe.d/tegra-udrm.conf 파일의 modeset 부분을 uncomment 한다.

# Copyright (c) 2019, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.

# DRM KMS support is still considered experimental and only works
# with libdrm_nvdc.so. It doesn't work with libdrm.so. It is
# disabled by default, uncomment below line to enable it.
# Gnome-wayland needs DRM KMS support to be enabled.

#options tegra-udrm modeset=1

gdm3를 실행시키면 Xorg 화면이 정상적으로 출력된다.

$ service gdm3 start

 

728x90
반응형

'프로그래밍 > NVIDIA' 카테고리의 다른 글

[VisionWorks] Kernel & Node  (0) 2023.06.07
[V4L2] Camera Sensor  (0) 2023.05.03
[rndis] ...  (0) 2023.03.29
[yocto] system V init에서 systemd init으로 바꾸기  (0) 2023.03.17
[yocto] bitbake kbd error (solved)  (0) 2023.03.17
Comments