mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
x11-drivers/xorgxrdp{,-devel}: Refine glamor instructions
Sponsored by: Cybertrust Japan
This commit is contained in:
parent
98cdf6ebfb
commit
f5ff94e931
2 changed files with 18 additions and 20 deletions
|
@ -9,12 +9,12 @@ To configure hardware acceleration, follow the following steps.
|
||||||
# pkg install drm-kmod
|
# pkg install drm-kmod
|
||||||
|
|
||||||
2. Configure to load kernel module (either one of the following)
|
2. Configure to load kernel module (either one of the following)
|
||||||
# sysrc kld_list+="/boot/modules/i915kms.ko"
|
# sysrc kld_list+="i915kms"
|
||||||
# sysrc kld_list+="/boot/modules/amdgpu.ko"
|
# sysrc kld_list+="amdgpu"
|
||||||
# sysrc kld_list+="/boot/modules/radeonkms.ko"
|
# sysrc kld_list+="radeonkms"
|
||||||
|
|
||||||
3. Ensure users who login via xrdp are members of the "video" group
|
3. Ensure users who login via xrdp are members of the "video" group
|
||||||
# pw groupmod video -m username|| pw groupmod wheel -m username
|
# pw groupmod video -m username || pw groupmod wheel -m username
|
||||||
|
|
||||||
4. Edit /etc/X11/xrdp/xorg.conf to fit your environment
|
4. Edit /etc/X11/xrdp/xorg.conf to fit your environment
|
||||||
"/dev/dri/renderD128" might be different depending on your environment.
|
"/dev/dri/renderD128" might be different depending on your environment.
|
||||||
|
@ -22,21 +22,20 @@ To configure hardware acceleration, follow the following steps.
|
||||||
Find the following line and change it to the actual path.
|
Find the following line and change it to the actual path.
|
||||||
Option "DRMDevice" "/dev/dri/renderD128"
|
Option "DRMDevice" "/dev/dri/renderD128"
|
||||||
|
|
||||||
Change "0" to "1" of the following line.
|
Change "0" to "1" of the following line (defaults to 1 now).
|
||||||
Option "DRI3" "0"
|
Option "DRI3" "0"
|
||||||
|
|
||||||
5. Restart your system and login via xrdp
|
5. Restart your system and login via xrdp
|
||||||
|
|
||||||
See also the Wiki page for detailed instructions:
|
See also handbook for detailed instructions:
|
||||||
https://wiki.freebsd.org/Graphics#Hardware_Support
|
https://docs.freebsd.org/en/books/handbook/x11/
|
||||||
|
|
||||||
|
|
||||||
If hardware acceleration is properly configured, you will see logs like both
|
If hardware acceleration is properly configured, you will see logs like both
|
||||||
of the following in ~/.local/share/xorg/Xorg.10.log. 10 can be replaced with
|
of the following in ~/.local/share/xorg/xorgxrdp.10.log. 10 will be replaced
|
||||||
display number.
|
with display number.
|
||||||
|
|
||||||
"glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Desktop"
|
"glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Desktop"
|
||||||
"rdpScreenInit: rdpDri3Init ok"
|
|
||||||
|
|
||||||
EOM
|
EOM
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,12 +9,12 @@ To configure hardware acceleration, follow the following steps.
|
||||||
# pkg install drm-kmod
|
# pkg install drm-kmod
|
||||||
|
|
||||||
2. Configure to load kernel module (either one of the following)
|
2. Configure to load kernel module (either one of the following)
|
||||||
# sysrc kld_list+="/boot/modules/i915kms.ko"
|
# sysrc kld_list+="i915kms"
|
||||||
# sysrc kld_list+="/boot/modules/amdgpu.ko"
|
# sysrc kld_list+="amdgpu"
|
||||||
# sysrc kld_list+="/boot/modules/radeonkms.ko"
|
# sysrc kld_list+="radeonkms"
|
||||||
|
|
||||||
3. Ensure users who login via xrdp are members of the "video" group
|
3. Ensure users who login via xrdp are members of the "video" group
|
||||||
# pw groupmod video -m username|| pw groupmod wheel -m username
|
# pw groupmod video -m username || pw groupmod wheel -m username
|
||||||
|
|
||||||
4. Edit /etc/X11/xrdp/xorg.conf to fit your environment
|
4. Edit /etc/X11/xrdp/xorg.conf to fit your environment
|
||||||
"/dev/dri/renderD128" might be different depending on your environment.
|
"/dev/dri/renderD128" might be different depending on your environment.
|
||||||
|
@ -22,21 +22,20 @@ To configure hardware acceleration, follow the following steps.
|
||||||
Find the following line and change it to the actual path.
|
Find the following line and change it to the actual path.
|
||||||
Option "DRMDevice" "/dev/dri/renderD128"
|
Option "DRMDevice" "/dev/dri/renderD128"
|
||||||
|
|
||||||
Change "0" to "1" of the following line.
|
Change "0" to "1" of the following line (defaults to 1 now).
|
||||||
Option "DRI3" "0"
|
Option "DRI3" "0"
|
||||||
|
|
||||||
5. Restart your system and login via xrdp
|
5. Restart your system and login via xrdp
|
||||||
|
|
||||||
See also the Wiki page for detailed instructions:
|
See also handbook for detailed instructions:
|
||||||
https://wiki.freebsd.org/Graphics#Hardware_Support
|
https://docs.freebsd.org/en/books/handbook/x11/
|
||||||
|
|
||||||
|
|
||||||
If hardware acceleration is properly configured, you will see logs like both
|
If hardware acceleration is properly configured, you will see logs like both
|
||||||
of the following in ~/.local/share/xorg/Xorg.10.log. 10 can be replaced with
|
of the following in ~/.local/share/xorg/xorgxrdp.10.log. 10 will be replaced
|
||||||
display number.
|
with display number.
|
||||||
|
|
||||||
"glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Desktop"
|
"glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Desktop"
|
||||||
"rdpScreenInit: rdpDri3Init ok"
|
|
||||||
|
|
||||||
EOM
|
EOM
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue