Skip to content

Commit

Permalink
work on nvenc
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed May 25, 2024
1 parent 6140e36 commit 4d451cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ xrdp/xrdp.ini
xrdp_configure_options.h
xrdpapi/xrdp-xrdpapi-simple
.vscode/*
xrdp_accel_assist/xrdp-accel-assist
2 changes: 2 additions & 0 deletions sesman/sesman.ini.in
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ param=Xorg
; Leave the rest parameters as-is unless you understand what will happen.
param=-config
param=xrdp/xorg.conf
;param=xrdp/xorg_nvidia.conf
param=-noreset
param=-nolisten
param=tcp
Expand Down Expand Up @@ -206,3 +207,4 @@ EnableSyslog=true

[SessionVariables]
PULSE_SCRIPT=@sesmansysconfdir@/pulse/default.pa
;XRDP_USE_ACCEL_ASSIST=1
2 changes: 1 addition & 1 deletion xrdp_accel_assist/xrdp_accel_assist.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ main(int argc, char **argv)
{
robj_count = 0;
wobj_count = 0;
timeout = 0;
timeout = -1;
error = trans_get_wait_objs_rw(xi.xorg_trans, robjs, &robj_count,
wobjs, &wobj_count, &timeout);
if (error != 0)
Expand Down

0 comments on commit 4d451cb

Please sign in to comment.