Skip to content

Commit

Permalink
enable X extension X-Resource. --xpra: set XPRA_OPENGL_DOUBLE_BUFFERE…
Browse files Browse the repository at this point in the history
…D= for client #167
  • Loading branch information
mviereck committed Jul 2, 2019
1 parent 47ac840 commit b5ed86a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -2541,7 +2541,7 @@ create_xcommand() { # create command to start X server and/or Waylan
+extension RANDR +extension RENDER +extension GLX \\
+extension XVideo +extension DOUBLE-BUFFER"
Xserveroptions="$Xserveroptions \\
-extension X-Resource +extension SECURITY +extension DAMAGE"
+extension X-Resource +extension SECURITY +extension DAMAGE"
Xserveroptions="$Xserveroptions \\
-extension XINERAMA -xinerama"
case $Sharehostipc in
Expand Down Expand Up @@ -5339,7 +5339,7 @@ $(tail $Xpraserverlogfile)"
}
verbose -d "Starting Xpra server"
echo "x11docker [$(timestamp)]: Starting Xpra server" >> $Xpraserverlogfile
$Mksu "env $Newxenv GDK_BACKEND=x11 XPRA_OPENGL_DOUBLE_BUFFERED=1 XPRA_UINPUT=0 $Xpraservercommand" >> $Xpraserverlogfile 2>&1 &
$Mksu "env $Newxenv GDK_BACKEND=x11 XPRA_UINPUT=0 $Xpraservercommand" >> $Xpraserverlogfile 2>&1 &
Xpraserverpid=$! && storepid $Xpraserverpid xpraserver
verlt "$Xprarelease" "r23060" && {
waitforlogentry "xpra server" $Xpraserverlogfile 'xpra is ready' || {
Expand All @@ -5364,7 +5364,7 @@ $(tail $Xpraserverlogfile)"
[ -n "$Xpraclientpid" ] && note "Restarting Xpra client."
verbose -d "Starting Xpra client"
echo "x11docker [$(timestamp)]: Starting Xpra client" >> $Xpraclientlogfile
$Mksu "env $Hostxenv GDK_BACKEND=$GDK_BACKEND NO_AT_BRIDGE=1 XPRA_MENU_ICONS=0 XPRA_ICON_OVERLAY=0 XPRA_EXPORT_ICON_DATA=0 $Xpraclientcommand" >> $Xpraclientlogfile 2>&1 &
$Mksu "env $Hostxenv GDK_BACKEND=$GDK_BACKEND NO_AT_BRIDGE=1 XPRA_OPENGL_DOUBLE_BUFFERED=1 XPRA_MENU_ICONS=0 XPRA_ICON_OVERLAY=0 XPRA_EXPORT_ICON_DATA=0 $Xpraclientcommand" >> $Xpraclientlogfile 2>&1 &
Xpraclientpid=$! && storepid $Xpraclientpid xpraclient
checkpid $Xpraclientpid && {
while { checkpid $Xpraserverpid && checkpid $Xpraclientpid ; } do sleep 1 ; done
Expand Down Expand Up @@ -6439,7 +6439,7 @@ option_messages() { # some messages depending on options, but not ch
It is recommended to use --xephyr or --nxagent instead.
Rendering issues can be reduced disabling OpenGL in Xpra tray icon. Screen
size issues can be avoided with non-integer scaling (e.g. --scale=1.01)."
[ "$Desktopmode" = "no" ] && verlt $Xprarelease r23069 && note "Xpra startup can be slow. For faster startup
[ "$Desktopmode" = "no" ] && verlt $Xprarelease r23066 && note "Xpra startup can be slow. For faster startup
with seamless applications, try --nxagent.
If security is not a concern, try --hostdisplay.
Xpra version v3.0-r23066 and higher starts up faster."
Expand Down

0 comments on commit b5ed86a

Please sign in to comment.