-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
I am currently setting up xrdp on a GCP VM with nvidia L4 GPU. I am using @jsorg71 nvenc branch for both xrdp and xorgxrdp
The following is my configuration while building
# for xrdp
XRDP_NVENC_CFLAGS="-I/usr/local/cuda-12.4/include -I$HOME/Video_Codec_SDK_12.2.72/Interface" XRDP_NVENC_LIBS="-lcuda -lnvidia-encode" ./configure --enable-vsock --enable-jpeg --enable-fuse --enable-pixman --enable-opus --enable-mp3lame --enable-x264 --enable-nvenc
# for xorgxrdp
./configure --with-simd --enable-lrandr
Mouse is limited to work in a very small region (green being the max point, black being where i was right clicking)

I have also tried changing to Virtual 1920 1080 to Virtual 4000 2000 but the usable area just shifted to the center with much of the sides unusable
/etc/X11/xrdp/xorg_nvidia.conf
Section "ServerLayout"
Identifier "XRDP GPU Server"
Screen 0 "dGPU"
InputDevice "xrdpMouse" "CorePointer"
InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection
Section "ServerFlags"
# This line prevents "ServerLayout" sections in xorg.conf.d files
# overriding the "XRDP GPU Server" layout (xrdp #1784)
Option "DefaultServerLayout" "XRDP GPU Server"
Option "DontVTSwitch" "on"
Option "AutoAddDevices" "off"
EndSection
Section "Module"
Load "xorgxrdp"
EndSection
Section "InputDevice"
Identifier "xrdpKeyboard"
Driver "xrdpkeyb"
EndSection
Section "InputDevice"
Identifier "xrdpMouse"
Driver "xrdpmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
EndSection
Section "Screen"
Identifier "dGPU"
Device "dGPU"
Option "DPI" "96 x 96"
Monitor "Monitor0"
# T4 needs an entry here, this is not the desktop size
SubSection "Display"
Virtual 1920 1080
EndSubSection
EndSection
Section "Device"
Identifier "dGPU"
Driver "nvidia"
# T4 may need to comment out next line
#Option "UseDisplayDevice" "none"
Option "ConnectToAcpid" "false"
BusID "PCI:0:3:0"
EndSection
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels