Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:gnome-remote-desktop
User: [email protected]
Usertags: pu

[ Reason ]
There's a new minor/bugfix upstream release of the upstream 48.x series,
which contains a few fixes and small improvements, including fixes for
image corruption (on some NVIDIA GPUs), for vulcan compatibility issues
and more.

Additionally, there's a change from upstream which allows building the
package with a more recent freerdp3 package, as a patch:
 build-Add-support-for-FreeRDP-3.25.0.patch
(it is not included into 48.x upstream series but is applied to a later
upsream series).  The problem is small, one of the g-r-d tests used a
freerdp API which become deprecated in a more recent freerdp version,
but all g-r-d testsuite is built with -DNO_FREERDP_DEPRECATED, so the
build of the test fails.  THe patch adds an #if conditional based on
the freerdp version.

This is the critical change in this package - it will allow us to update
freerdp in trixie to fix really huge amount of security issues in there
(and g-r-d is based on freerdp, so it affects g-r-d security state too).

[ Impact ]
Not updating to the new upstream point release wont give much trouble
(but it's still nice to have all the fixes for the users).  But not
making g-r-d package compatible with more recent freerdp wont let us
to make freerdp security updates, which is much more problematic.

[ Tests ]
This version of g-r-d package passes the basic functionality tests and
works for me, bot with current freerdp3 in trixie and with the freerdp3
version we want to update to (actually all 3 combinations works -- this
g-r-d built against current freerdp3 with either current or new freerdp3,
and this g-r-d built against new freerdp3, with new freerdp3) - there's
no regressions noted.

[ Risks ]
The risk of this update seems to be minimal.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Other info ]
I'm not currently listed in the Uploaders, but Jeremy asked me for help
with this upload due to lack of time (the packaging is prepared by Jeremy
initially, I only added some more verbosity into d/changelog).

Hopefully it's not too late for the 13.8 trixie point release...

Thanks,

/mjt

diff -Nru gnome-remote-desktop-48.1/NEWS gnome-remote-desktop-48.3/NEWS
--- gnome-remote-desktop-48.1/NEWS      2025-04-14 12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/NEWS      2025-10-13 21:44:25.000000000 +0300
@@ -1,3 +1,23 @@
+48.3
+====
+
+* Fix image corruption on some NVIDIA GPUs [Stephan; !344]
+
+Contributors:
+  Stephan Seitz
+
+48.2
+====
+
+* Handle Vulkan dma-buf format compatibility issues [Jonas, Pascal; !323, !324,
+  !339]
+
+Contributors:
+  Jonas Ådahl, Pascal Nowack
+
+Translators:
+  Antonio Marin [ro], Nathan Follens [nl]
+
 48.1
 ====
 * Reduce latency when PipeWire stream uses shared memories
diff -Nru gnome-remote-desktop-48.1/data/grd-cuda-avc-utils_30.ptx 
gnome-remote-desktop-48.3/data/grd-cuda-avc-utils_30.ptx
--- gnome-remote-desktop-48.1/data/grd-cuda-avc-utils_30.ptx    2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/data/grd-cuda-avc-utils_30.ptx    2025-10-13 
21:44:25.000000000 +0300
@@ -1,224 +1,267 @@
 //
-// Generated by NVIDIA NVVM Compiler
-//
-// Compiler Build ID: CL-27506705
-// Cuda compilation tools, release 10.2, V10.2.89
-// Based on LLVM 3.4svn
+// Generated by LLVM NVPTX Back-End
 //
 
-.version 6.5
+.version 8.7
 .target sm_30
 .address_size 64
 
-       // .globl       convert_2x2_bgrx_area_to_yuv420_nv12
+       // .globl       rgb_to_y                // -- Begin function rgb_to_y
+                                        // @rgb_to_y
+.visible .func  (.param .b32 func_retval0) rgb_to_y(
+       .param .b32 rgb_to_y_param_0,
+       .param .b32 rgb_to_y_param_1,
+       .param .b32 rgb_to_y_param_2
+)
+{
+       .reg .b16       %rs<4>;
+       .reg .b32       %r<7>;
+
+// %bb.0:
+       ld.param.u8     %rs1, [rgb_to_y_param_0];
+       ld.param.u8     %rs2, [rgb_to_y_param_1];
+       mul.wide.u16    %r1, %rs1, 54;
+       ld.param.u8     %rs3, [rgb_to_y_param_2];
+       mul.wide.u16    %r2, %rs2, 183;
+       add.s32         %r3, %r2, %r1;
+       mul.wide.u16    %r4, %rs3, 18;
+       add.s32         %r5, %r3, %r4;
+       shr.u32         %r6, %r5, 8;
+       st.param.b32    [func_retval0], %r6;
+       ret;
+                                        // -- End function
+}
+       // .globl       rgb_to_u                // -- Begin function rgb_to_u
+.visible .func  (.param .b32 func_retval0) rgb_to_u(
+       .param .b32 rgb_to_u_param_0,
+       .param .b32 rgb_to_u_param_1,
+       .param .b32 rgb_to_u_param_2
+)                                       // @rgb_to_u
+{
+       .reg .b16       %rs<7>;
+       .reg .b32       %r<7>;
+
+// %bb.0:
+       ld.param.u8     %rs1, [rgb_to_u_param_0];
+       ld.param.u8     %rs2, [rgb_to_u_param_1];
+       mul.wide.u16    %r1, %rs1, -29;
+       ld.param.u8     %rs3, [rgb_to_u_param_2];
+       mul.wide.u16    %r2, %rs2, -99;
+       add.s32         %r3, %r2, %r1;
+       mul.wide.u16    %r4, %rs3, 128;
+       add.s32         %r5, %r3, %r4;
+       cvt.u16.u32     %rs4, %r5;
+       shr.u16         %rs5, %rs4, 8;
+       xor.b16         %rs6, %rs5, 128;
+       cvt.u32.u16     %r6, %rs6;
+       st.param.b32    [func_retval0], %r6;
+       ret;
+                                        // -- End function
+}
+       // .globl       rgb_to_v                // -- Begin function rgb_to_v
+.visible .func  (.param .b32 func_retval0) rgb_to_v(
+       .param .b32 rgb_to_v_param_0,
+       .param .b32 rgb_to_v_param_1,
+       .param .b32 rgb_to_v_param_2
+)                                       // @rgb_to_v
+{
+       .reg .b16       %rs<7>;
+       .reg .b32       %r<7>;
 
+// %bb.0:
+       ld.param.u8     %rs1, [rgb_to_v_param_0];
+       ld.param.u8     %rs2, [rgb_to_v_param_1];
+       mul.wide.u16    %r1, %rs1, 128;
+       ld.param.u8     %rs3, [rgb_to_v_param_2];
+       mul.wide.u16    %r2, %rs2, -116;
+       add.s32         %r3, %r2, %r1;
+       mul.wide.u16    %r4, %rs3, -12;
+       add.s32         %r5, %r3, %r4;
+       cvt.u16.u32     %rs4, %r5;
+       shr.u16         %rs5, %rs4, 8;
+       xor.b16         %rs6, %rs5, 128;
+       cvt.u32.u16     %r6, %rs6;
+       st.param.b32    [func_retval0], %r6;
+       ret;
+                                        // -- End function
+}
+       // .globl       convert_2x2_bgrx_area_to_yuv420_nv12 // -- Begin 
function convert_2x2_bgrx_area_to_yuv420_nv12
 .visible .entry convert_2x2_bgrx_area_to_yuv420_nv12(
-       .param .u64 convert_2x2_bgrx_area_to_yuv420_nv12_param_0,
-       .param .u64 convert_2x2_bgrx_area_to_yuv420_nv12_param_1,
+       .param .u64 .ptr .align 1 convert_2x2_bgrx_area_to_yuv420_nv12_param_0,
+       .param .u64 .ptr .align 1 convert_2x2_bgrx_area_to_yuv420_nv12_param_1,
        .param .u16 convert_2x2_bgrx_area_to_yuv420_nv12_param_2,
        .param .u16 convert_2x2_bgrx_area_to_yuv420_nv12_param_3,
        .param .u16 convert_2x2_bgrx_area_to_yuv420_nv12_param_4,
        .param .u16 convert_2x2_bgrx_area_to_yuv420_nv12_param_5,
        .param .u16 convert_2x2_bgrx_area_to_yuv420_nv12_param_6
-)
+)                                       // 
@convert_2x2_bgrx_area_to_yuv420_nv12
 {
-       .reg .pred      %p<17>;
-       .reg .b16       %rs<18>;
-       .reg .b32       %r<127>;
-       .reg .b64       %rd<40>;
-
-
-       ld.param.u64    %rd6, [convert_2x2_bgrx_area_to_yuv420_nv12_param_0];
-       ld.param.u64    %rd7, [convert_2x2_bgrx_area_to_yuv420_nv12_param_1];
-       ld.param.u16    %rs7, [convert_2x2_bgrx_area_to_yuv420_nv12_param_2];
-       ld.param.u16    %rs8, [convert_2x2_bgrx_area_to_yuv420_nv12_param_3];
-       ld.param.u16    %rs9, [convert_2x2_bgrx_area_to_yuv420_nv12_param_5];
-       ld.param.u16    %rs10, [convert_2x2_bgrx_area_to_yuv420_nv12_param_6];
-       mov.u32         %r30, %ntid.x;
-       mov.u32         %r31, %ctaid.x;
-       mov.u32         %r32, %tid.x;
-       mad.lo.s32      %r1, %r30, %r31, %r32;
-       mov.u32         %r33, %ntid.y;
-       mov.u32         %r34, %ctaid.y;
-       mov.u32         %r35, %tid.y;
-       mad.lo.s32      %r2, %r33, %r34, %r35;
-       and.b32         %r36, %r1, 65535;
-       ld.param.u16    %r37, [convert_2x2_bgrx_area_to_yuv420_nv12_param_4];
-       shr.u32         %r38, %r37, 1;
+       .reg .pred      %p<13>;
+       .reg .b16       %rs<27>;
+       .reg .b32       %r<104>;
+       .reg .b64       %rd<25>;
+
+// %bb.0:
+       ld.param.u64    %rd7, [convert_2x2_bgrx_area_to_yuv420_nv12_param_0];
+       ld.param.u64    %rd8, [convert_2x2_bgrx_area_to_yuv420_nv12_param_1];
+       cvta.to.global.u64      %rd1, %rd8;
+       cvta.to.global.u64      %rd2, %rd7;
+       mov.u32         %r32, %ctaid.x;
+       ld.param.u16    %rs12, [convert_2x2_bgrx_area_to_yuv420_nv12_param_4];
+       mov.u32         %r33, %ntid.x;
+       mov.u32         %r34, %tid.x;
+       mad.lo.s32      %r1, %r32, %r33, %r34;
+       and.b32         %r35, %r1, 65535;
+       shr.u16         %rs13, %rs12, 1;
+       cvt.u32.u16     %r36, %rs13;
+       setp.ge.u32     %p1, %r35, %r36;
+       @%p1 bra        $L__BB3_11;
+// %bb.1:
+       ld.param.u16    %rs10, [convert_2x2_bgrx_area_to_yuv420_nv12_param_5];
+       mov.u32         %r37, %tid.y;
+       mov.u32         %r38, %ntid.y;
+       mov.u32         %r39, %ctaid.y;
+       mad.lo.s32      %r2, %r39, %r38, %r37;
        and.b32         %r3, %r2, 65535;
-       cvt.u32.u16     %r4, %rs9;
-       shr.u32         %r5, %r4, 1;
-       setp.ge.u32     %p1, %r3, %r5;
-       setp.ge.u32     %p2, %r36, %r38;
-       or.pred         %p3, %p1, %p2;
-       @%p3 bra        BB0_10;
-
-       cvta.to.global.u64      %rd8, %rd6;
+       cvt.u32.u16     %r4, %rs10;
+       shr.u32         %r40, %r4, 1;
+       setp.ge.u32     %p2, %r3, %r40;
+       @%p2 bra        $L__BB3_11;
+// %bb.2:
+       ld.param.u16    %rs11, [convert_2x2_bgrx_area_to_yuv420_nv12_param_6];
+       ld.param.u16    %rs9, [convert_2x2_bgrx_area_to_yuv420_nv12_param_3];
+       ld.param.u16    %rs8, [convert_2x2_bgrx_area_to_yuv420_nv12_param_2];
+       cvt.u32.u16     %r5, %rs8;
        shl.b32         %r42, %r1, 1;
-       and.b32         %r6, %r42, 65534;
-       mov.u32         %r43, 1;
-       shl.b32         %r44, %r2, 1;
-       and.b32         %r7, %r44, 65534;
-       cvt.u32.u16     %r45, %rs7;
-       mul.lo.s32      %r46, %r7, %r45;
-       cvt.u64.u32     %rd9, %r46;
-       cvt.u64.u32     %rd10, %r6;
-       add.s64         %rd1, %rd9, %rd10;
-       cvta.to.global.u64      %rd11, %rd7;
-       shl.b64         %rd12, %rd1, 2;
-       add.s64         %rd2, %rd11, %rd12;
-       setp.lt.u32     %p4, %r7, %r5;
-       shl.b32         %r47, %r2, 2;
-       sub.s32         %r48, %r43, %r4;
-       selp.b32        %r49, 0, %r48, %p4;
-       mov.u32         %r124, 0;
-       add.s32         %r50, %r49, %r47;
-       cvt.u64.u32     %rd13, %r50;
-       and.b64         %rd14, %rd13, 65535;
-       cvt.u64.u16     %rd15, %rs10;
-       mul.lo.s64      %rd16, %rd14, %rd15;
-       add.s64         %rd17, %rd16, %rd10;
-       add.s64         %rd3, %rd8, %rd17;
-       add.s32         %r51, %r7, 1;
-       and.b32         %r52, %r51, 65535;
-       setp.lt.u32     %p5, %r52, %r5;
-       shl.b32         %r53, %r51, 1;
-       selp.b32        %r54, 0, %r48, %p5;
-       add.s32         %r55, %r54, %r53;
-       cvt.u64.u32     %rd18, %r55;
-       and.b64         %rd19, %rd18, 65535;
-       mul.lo.s64      %rd20, %rd19, %rd15;
-       add.s64         %rd21, %rd20, %rd10;
-       add.s64         %rd4, %rd8, %rd21;
-       shr.u32         %r56, %r4, 2;
-       setp.lt.u32     %p6, %r3, %r56;
-       sub.s32         %r57, %r43, %r5;
-       selp.b32        %r58, 0, %r57, %p6;
-       shl.b32         %r59, %r3, 1;
-       add.s32         %r60, %r59, %r58;
-       cvt.u64.u32     %rd22, %r60;
-       and.b64         %rd23, %rd22, 65535;
-       cvt.u64.u16     %rd24, %rs9;
-       add.s64         %rd25, %rd23, %rd24;
-       mul.lo.s64      %rd26, %rd25, %rd15;
-       add.s64         %rd27, %rd26, %rd10;
-       add.s64         %rd5, %rd8, %rd27;
-       setp.ge.u32     %p7, %r6, %r45;
-       cvt.u32.u16     %r61, %rs8;
-       setp.ge.u32     %p8, %r7, %r61;
-       mov.u16         %rs16, 0;
-       or.pred         %p9, %p7, %p8;
-       mov.u16         %rs15, %rs16;
-       mov.u32         %r125, %r124;
-       mov.u32         %r126, %r124;
-       @%p9 bra        BB0_3;
-
-       ld.global.u32   %r62, [%rd2];
-       and.b32         %r126, %r62, 255;
-       bfe.u32         %r125, %r62, 8, 8;
-       bfe.u32         %r124, %r62, 16, 8;
-       mul.lo.s32      %r63, %r126, 18;
-       mad.lo.s32      %r64, %r124, 54, %r63;
-       mad.lo.s32      %r65, %r125, 183, %r64;
-       shr.u32         %r66, %r65, 8;
-       cvt.u16.u32     %rs15, %r66;
-
-BB0_3:
-       st.global.u8    [%rd3], %rs15;
-       add.s32         %r14, %r6, 1;
-       setp.ge.u32     %p11, %r14, %r45;
-       or.pred         %p12, %p11, %p8;
-       @%p12 bra       BB0_5;
-
-       ld.global.u32   %r69, [%rd2+4];
-       and.b32         %r70, %r69, 255;
-       add.s32         %r126, %r70, %r126;
-       bfe.u32         %r71, %r69, 8, 8;
-       add.s32         %r125, %r71, %r125;
-       bfe.u32         %r72, %r69, 16, 8;
-       add.s32         %r124, %r72, %r124;
-       mul.lo.s32      %r73, %r70, 18;
-       mad.lo.s32      %r74, %r72, 54, %r73;
-       mad.lo.s32      %r75, %r71, 183, %r74;
-       shr.u32         %r76, %r75, 8;
-       cvt.u16.u32     %rs16, %r76;
-
-BB0_5:
-       setp.lt.u32     %p13, %r6, %r45;
-       st.global.u8    [%rd3+1], %rs16;
-       and.b32         %r82, %r2, 32767;
-       shl.b32         %r83, %r82, 1;
-       add.s32         %r84, %r83, 1;
-       setp.lt.u32     %p14, %r84, %r61;
-       and.pred        %p15, %p13, %p14;
-       @%p15 bra       BB0_7;
-       bra.uni         BB0_6;
-
-BB0_7:
-       cvt.u64.u16     %rd28, %rs7;
-       add.s64         %rd29, %rd1, %rd28;
-       shl.b64         %rd31, %rd29, 2;
-       add.s64         %rd32, %rd11, %rd31;
-       ld.global.u32   %r87, [%rd32];
-       and.b32         %r88, %r87, 255;
-       add.s32         %r126, %r88, %r126;
-       bfe.u32         %r89, %r87, 8, 8;
-       add.s32         %r125, %r89, %r125;
-       bfe.u32         %r90, %r87, 16, 8;
-       add.s32         %r124, %r90, %r124;
-       mul.lo.s32      %r91, %r88, 18;
-       mad.lo.s32      %r92, %r90, 54, %r91;
-       mad.lo.s32      %r93, %r89, 183, %r92;
-       shr.u32         %r94, %r93, 8;
-       st.global.u8    [%rd4], %r94;
-       mov.u16         %rs17, 0;
-       @%p11 bra       BB0_9;
-
-       add.s64         %rd34, %rd28, 1;
-       and.b64         %rd35, %rd34, 65535;
-       add.s64         %rd36, %rd1, %rd35;
-       shl.b64         %rd38, %rd36, 2;
-       add.s64         %rd39, %rd11, %rd38;
-       ld.global.u32   %r95, [%rd39];
-       and.b32         %r96, %r95, 255;
-       add.s32         %r126, %r96, %r126;
-       bfe.u32         %r97, %r95, 8, 8;
-       add.s32         %r125, %r97, %r125;
-       bfe.u32         %r98, %r95, 16, 8;
-       add.s32         %r124, %r98, %r124;
-       mul.lo.s32      %r99, %r96, 18;
-       mad.lo.s32      %r100, %r98, 54, %r99;
-       mad.lo.s32      %r101, %r97, 183, %r100;
-       shr.u32         %r102, %r101, 8;
-       cvt.u16.u32     %rs17, %r102;
-       bra.uni         BB0_9;
-
-BB0_6:
-       mov.u16         %rs17, 0;
-       st.global.u8    [%rd4], %rs17;
-
-BB0_9:
-       st.global.u8    [%rd4+1], %rs17;
-       bfe.u32         %r103, %r124, 2, 8;
-       mul.lo.s32      %r104, %r103, -29;
-       bfe.u32         %r105, %r125, 2, 8;
-       mad.lo.s32      %r106, %r105, -99, %r104;
-       bfe.u32         %r107, %r126, 2, 8;
-       shl.b32         %r108, %r107, 7;
-       add.s32         %r109, %r106, %r108;
-       shr.u32         %r110, %r109, 8;
-       add.s32         %r111, %r110, 128;
-       st.global.u8    [%rd5], %r111;
-       shl.b32         %r112, %r124, 5;
-       and.b32         %r113, %r112, 32640;
-       mad.lo.s32      %r114, %r105, -116, %r113;
-       mad.lo.s32      %r115, %r107, -12, %r114;
-       shr.u32         %r116, %r115, 8;
-       add.s32         %r117, %r116, 128;
-       st.global.u8    [%rd5+1], %r117;
-
-BB0_10:
+       shl.b32         %r43, %r2, 1;
+       and.b32         %r6, %r43, 65534;
+       mul.lo.s32      %r44, %r6, %r5;
+       mul.wide.u32    %rd9, %r44, 4;
+       add.s64         %rd10, %rd1, %rd9;
+       and.b32         %r7, %r42, 65534;
+       cvt.u64.u32     %rd11, %r7;
+       mul.wide.u32    %rd12, %r7, 4;
+       add.s64         %rd3, %rd10, %rd12;
+       cvt.u32.u16     %r45, %rs11;
+       mul.lo.s32      %r46, %r6, %r45;
+       cvt.u64.u32     %rd13, %r46;
+       add.s64         %rd14, %rd2, %rd13;
+       add.s64         %rd4, %rd14, %rd11;
+       add.s32         %r47, %r46, %r45;
+       cvt.u64.u32     %rd15, %r47;
+       mul.lo.s32      %r48, %r45, %r4;
+       cvt.u64.u32     %rd17, %r48;
+       add.s64         %rd18, %rd2, %rd17;
+       mul.lo.s32      %r49, %r3, %r45;
+       cvt.u64.u32     %rd19, %r49;
+       setp.ge.u32     %p3, %r7, %r5;
+       cvt.u32.u16     %r9, %rs9;
+       setp.ge.u32     %p4, %r6, %r9;
+       mov.b32         %r98, 0;
+       mov.b16         %rs25, 0;
+       or.pred         %p5, %p3, %p4;
+       mov.u16         %rs24, %rs25;
+       mov.u32         %r99, %r98;
+       mov.u32         %r100, %r98;
+       @%p5 bra        $L__BB3_4;
+// %bb.3:
+       ld.global.u32   %r50, [%rd3];
+       and.b32         %r100, %r50, 255;
+       bfe.u32         %r99, %r50, 8, 8;
+       bfe.u32         %r98, %r50, 16, 8;
+       mul.lo.s32      %r51, %r100, 18;
+       mad.lo.s32      %r52, %r98, 54, %r51;
+       mad.lo.s32      %r53, %r99, 183, %r52;
+       shr.u32         %r54, %r53, 8;
+       cvt.u16.u32     %rs24, %r54;
+$L__BB3_4:
+       add.s64         %rd16, %rd2, %rd15;
+       add.s64         %rd20, %rd18, %rd19;
+       or.b32          %r8, %r6, 1;
+       st.global.u8    [%rd4], %rs24;
+       or.b32          %r16, %r7, 1;
+       setp.ge.u32     %p7, %r16, %r5;
+       or.pred         %p8, %p7, %p4;
+       @%p8 bra        $L__BB3_6;
+// %bb.5:
+       ld.global.u32   %r57, [%rd3+4];
+       and.b32         %r58, %r57, 255;
+       add.s32         %r100, %r58, %r100;
+       bfe.u32         %r59, %r57, 8, 8;
+       add.s32         %r99, %r59, %r99;
+       bfe.u32         %r60, %r57, 16, 8;
+       add.s32         %r98, %r60, %r98;
+       mul.lo.s32      %r61, %r58, 18;
+       mad.lo.s32      %r62, %r60, 54, %r61;
+       mad.lo.s32      %r63, %r59, 183, %r62;
+       shr.u32         %r64, %r63, 8;
+       cvt.u16.u32     %rs25, %r64;
+$L__BB3_6:
+       add.s64         %rd5, %rd16, %rd11;
+       add.s64         %rd6, %rd20, %rd11;
+       st.global.u8    [%rd4+1], %rs25;
+       setp.ge.u32     %p10, %r8, %r9;
+       or.pred         %p11, %p3, %p10;
+       @%p11 bra       $L__BB3_9;
+// %bb.7:
+       mul.wide.u32    %rd21, %r5, 4;
+       add.s64         %rd22, %rd3, %rd21;
+       ld.global.u32   %r68, [%rd22];
+       and.b32         %r69, %r68, 255;
+       add.s32         %r100, %r69, %r100;
+       bfe.u32         %r70, %r68, 8, 8;
+       add.s32         %r99, %r70, %r99;
+       bfe.u32         %r71, %r68, 16, 8;
+       add.s32         %r98, %r71, %r98;
+       mul.lo.s32      %r72, %r69, 18;
+       mad.lo.s32      %r73, %r71, 54, %r72;
+       mad.lo.s32      %r74, %r70, 183, %r73;
+       shr.u32         %r75, %r74, 8;
+       st.global.u8    [%rd5], %r75;
+       mov.b16         %rs26, 0;
+       @%p7 bra        $L__BB3_10;
+// %bb.8:
+       add.s16         %rs1, %rs8, 1;
+       cvt.u32.u16     %r76, %rs1;
+       mul.wide.u32    %rd23, %r76, 4;
+       add.s64         %rd24, %rd3, %rd23;
+       ld.global.u32   %r77, [%rd24];
+       and.b32         %r78, %r77, 255;
+       add.s32         %r100, %r78, %r100;
+       bfe.u32         %r79, %r77, 8, 8;
+       add.s32         %r99, %r79, %r99;
+       bfe.u32         %r80, %r77, 16, 8;
+       add.s32         %r98, %r80, %r98;
+       mul.lo.s32      %r81, %r78, 18;
+       mad.lo.s32      %r82, %r80, 54, %r81;
+       mad.lo.s32      %r83, %r79, 183, %r82;
+       shr.u32         %r84, %r83, 8;
+       cvt.u16.u32     %rs26, %r84;
+       bra.uni         $L__BB3_10;
+$L__BB3_9:
+       mov.b16         %rs26, 0;
+       st.global.u8    [%rd5], %rs26;
+$L__BB3_10:
+       st.global.u8    [%rd5+1], %rs26;
+       shr.u32         %r85, %r100, 2;
+       shr.u32         %r86, %r99, 2;
+       shr.u32         %r87, %r98, 2;
+       mul.lo.s32      %r88, %r87, 65507;
+       mad.lo.s32      %r89, %r86, 65437, %r88;
+       shl.b32         %r90, %r85, 7;
+       add.s32         %r91, %r89, %r90;
+       cvt.u16.u32     %rs18, %r91;
+       shr.u16         %rs19, %rs18, 8;
+       xor.b16         %rs20, %rs19, 128;
+       st.global.u8    [%rd6], %rs20;
+       shl.b32         %r92, %r87, 7;
+       mad.lo.s32      %r93, %r86, 65420, %r92;
+       mad.lo.s32      %r94, %r85, 65524, %r93;
+       cvt.u16.u32     %rs21, %r94;
+       shr.u16         %rs22, %rs21, 8;
+       xor.b16         %rs23, %rs22, 128;
+       st.global.u8    [%rd6+1], %rs23;
+$L__BB3_11:
        ret;
+                                        // -- End function
 }
-
-
diff -Nru gnome-remote-desktop-48.1/debian/changelog 
gnome-remote-desktop-48.3/debian/changelog
--- gnome-remote-desktop-48.1/debian/changelog  2025-07-10 12:04:35.000000000 
+0300
+++ gnome-remote-desktop-48.3/debian/changelog  2026-11-13 09:53:29.000000000 
+0300
@@ -1,3 +1,29 @@
+gnome-remote-desktop (48.3-0+deb13u1) trixie; urgency=medium
+
+  [ Jeremy Bícha ]
+  * New upstream minor/bugfix release:
+    - hwaccel-nvidia: Fix image corruptions on Blackwell GPUs
+    - vk-image: Be more verbose when image format properties are not supported
+    - vk-image: Fix sample bitmask check operation
+    - rdp-buffer: Only handle failed dma-buf import fatally when needed
+    - rdp: Only create VA-API encode session when dma-bufs were imported
+    - session-rdp: Print debug message when receiving a Synchronize event
+    - rdp: Get DRM format modifiers from Vulkan if needed
+    - hwaccel-vulkan: Check whether dma-buf based BGRX images are supported
+    - hwaccel-vulkan: Add API to get DRM format modifiers for DRM format
+    - rdp-buffer: Move DRM-format-to-Vk-format helper function to vk-utils
+    - vulkan: Ensure VK_KHR_format_feature_flags2 extension is supported
+    - Update Dutch translation
+    - Update Romanian translation
+  * debian/watch, debian/gbp.conf: update for trixie
+  * Remove arm64 patch: applied in new release
+  * Cherry-pick patch to allow building with freerdp3 3.25 (Closes: #1151371)
+
+  [ Michael Tokarev ]
+  * update changelog
+
+ -- Michael Tokarev <[email protected]>  Fri, 13 Nov 2026 09:53:29 +0300
+
 gnome-remote-desktop (48.1-4) unstable; urgency=medium
 
   * Team upload
diff -Nru gnome-remote-desktop-48.1/debian/gbp.conf 
gnome-remote-desktop-48.3/debian/gbp.conf
--- gnome-remote-desktop-48.1/debian/gbp.conf   2025-07-10 12:04:35.000000000 
+0300
+++ gnome-remote-desktop-48.3/debian/gbp.conf   2026-11-13 09:48:57.000000000 
+0300
@@ -1,7 +1,7 @@
 [DEFAULT]
 pristine-tar = True
-debian-branch = debian/latest
-upstream-branch = upstream/latest
+debian-branch = debian/trixie
+upstream-branch = upstream/48.x
 
 [buildpackage]
 sign-tags = True
diff -Nru 
gnome-remote-desktop-48.1/debian/patches/build-Add-support-for-FreeRDP-3.25.0.patch
 
gnome-remote-desktop-48.3/debian/patches/build-Add-support-for-FreeRDP-3.25.0.patch
--- 
gnome-remote-desktop-48.1/debian/patches/build-Add-support-for-FreeRDP-3.25.0.patch
 1970-01-01 03:00:00.000000000 +0300
+++ 
gnome-remote-desktop-48.3/debian/patches/build-Add-support-for-FreeRDP-3.25.0.patch
 2026-11-13 09:49:12.000000000 +0300
@@ -0,0 +1,65 @@
+From: Pascal Nowack <[email protected]>
+Date: Sun, 10 May 2026 19:14:08 +0200
+Subject: build: Add support for FreeRDP 3.25.0
+
+FreeRDP 3.25.0 introduced an API break on the client side, requiring the
+test client to exchange the old authenticate callback with a revised
+version. Since it is not possible to increase dependencies on the stable
+branch, simply check the installed FreeRDP version at build time and use
+the correct API depending on it.
+As the API change only affects the test client, it should not matter if
+a distribution decides to update FreeRDP to 3.25 or later when
+gnome-remote-desktop was already built.
+
+Closes: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/work_items/326
+Part-of: 
<https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/merge_requests/401>
+(cherry picked from commit 2afaced792b91874eb71dc0d0338d295f844601c)
+
+Origin: upstream, 50.2
+---
+ tests/test-client-rdp.c | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+diff --git a/tests/test-client-rdp.c b/tests/test-client-rdp.c
+index e45e794..afb7e5a 100644
+--- a/tests/test-client-rdp.c
++++ b/tests/test-client-rdp.c
+@@ -20,6 +20,7 @@
+ #include <freerdp/client/cmdline.h>
+ #include <freerdp/freerdp.h>
+ #include <freerdp/gdi/gfx.h>
++#include <freerdp/version.h>
+ #include <glib.h>
+ 
+ #define TEST_1_WIDTH 800
+@@ -239,10 +240,18 @@ rdp_client_post_disconnect (freerdp *instance)
+ }
+ 
+ static BOOL
++#if FREERDP_VERSION_MAJOR == 3 && FREERDP_VERSION_MINOR >= 25
++rdp_client_authenticate_ex (freerdp          *instance,
++                            char            **username,
++                            char            **password,
++                            char            **domain,
++                            rdp_auth_reason   reason)
++#else
+ rdp_client_authenticate (freerdp  *instance,
+                          char    **username,
+                          char    **password,
+                          char    **domain)
++#endif /* FREERDP_VERSION_MAJOR == 3 && FREERDP_VERSION_MINOR >= 25 */
+ {
+   /* Credentials were already parsed from the command line */
+ 
+@@ -300,7 +309,11 @@ rdp_client_new (freerdp    *instance,
+   instance->PreConnect = rdp_client_pre_connect;
+   instance->PostConnect = rdp_client_post_connect;
+   instance->PostDisconnect = rdp_client_post_disconnect;
++#if FREERDP_VERSION_MAJOR == 3 && FREERDP_VERSION_MINOR >= 25
++  instance->AuthenticateEx = rdp_client_authenticate_ex;
++#else
+   instance->Authenticate = rdp_client_authenticate;
++#endif /* FREERDP_VERSION_MAJOR == 3 && FREERDP_VERSION_MINOR >= 25 */
+   instance->VerifyCertificateEx = rdp_client_verify_certificate_ex;
+   instance->VerifyChangedCertificateEx = 
rdp_client_verify_changed_certificate_ex;
+ 
diff -Nru 
gnome-remote-desktop-48.1/debian/patches/rdp-renderer-Clear-VkDevice-when-vaapi-initialization-fai.patch
 
gnome-remote-desktop-48.3/debian/patches/rdp-renderer-Clear-VkDevice-when-vaapi-initialization-fai.patch
--- 
gnome-remote-desktop-48.1/debian/patches/rdp-renderer-Clear-VkDevice-when-vaapi-initialization-fai.patch
    2025-07-10 12:04:35.000000000 +0300
+++ 
gnome-remote-desktop-48.3/debian/patches/rdp-renderer-Clear-VkDevice-when-vaapi-initialization-fai.patch
    1970-01-01 03:00:00.000000000 +0300
@@ -1,34 +0,0 @@
-From: =?utf-8?q?Jonas_=C3=85dahl?= <[email protected]>
-Date: Tue, 17 Jun 2025 11:39:29 +0200
-Subject: rdp/renderer: Clear VkDevice when vaapi initialization fails
-
-We're not going to use the VkDevice in this case, and it may cause
-issues if it exposes a different set of format modifiers, as we'd check
-format modifier support on the VkDevice, even if we won't be using
-it.
-
-https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/merge_requests/323
-
-(cherry picked from commit cd5c0d008329565838e047130385b52b8a261fa6)
-
-Origin: upstream gnome-48 branch after 48.1
----
- src/grd-rdp-renderer.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/grd-rdp-renderer.c b/src/grd-rdp-renderer.c
-index 0efffa1..c9ffa95 100644
---- a/src/grd-rdp-renderer.c
-+++ b/src/grd-rdp-renderer.c
-@@ -187,7 +187,10 @@ maybe_initialize_hardware_acceleration (GrdRdpRenderer   
*renderer,
-   renderer->hwaccel_vaapi = grd_hwaccel_vaapi_new (renderer->vk_device,
-                                                    &error);
-   if (!renderer->hwaccel_vaapi)
--    g_message ("[RDP] Did not initialize VAAPI: %s", error->message);
-+    {
-+      g_message ("[RDP] Did not initialize VAAPI: %s", error->message);
-+      g_clear_object (&renderer->vk_device);
-+    }
- 
-   return TRUE;
- }
diff -Nru gnome-remote-desktop-48.1/debian/patches/series 
gnome-remote-desktop-48.3/debian/patches/series
--- gnome-remote-desktop-48.1/debian/patches/series     2025-07-10 
12:04:35.000000000 +0300
+++ gnome-remote-desktop-48.3/debian/patches/series     2026-11-13 
09:49:12.000000000 +0300
@@ -1,2 +1,2 @@
 fdkaac.patch
-rdp-renderer-Clear-VkDevice-when-vaapi-initialization-fai.patch
+build-Add-support-for-FreeRDP-3.25.0.patch
diff -Nru gnome-remote-desktop-48.1/debian/watch 
gnome-remote-desktop-48.3/debian/watch
--- gnome-remote-desktop-48.1/debian/watch      2025-07-10 12:04:35.000000000 
+0300
+++ gnome-remote-desktop-48.3/debian/watch      2026-11-13 09:48:57.000000000 
+0300
@@ -1,4 +1,4 @@
 version=4
 opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/, 
downloadurlmangle=s|cache.json||" \
 https://download.gnome.org/sources/@PACKAGE@/cache.json \
-       [\d.]+/@PACKAGE@-([\d.]+\.?(?:beta|rc)?[\d.]*)@ARCHIVE_EXT@
+       48/@PACKAGE@-([\d.]+\.?(?:beta|rc)?[\d.]*)@ARCHIVE_EXT@
diff -Nru gnome-remote-desktop-48.1/meson.build 
gnome-remote-desktop-48.3/meson.build
--- gnome-remote-desktop-48.1/meson.build       2025-04-14 12:27:19.000000000 
+0300
+++ gnome-remote-desktop-48.3/meson.build       2025-10-13 21:44:25.000000000 
+0300
@@ -1,5 +1,5 @@
 project('gnome-remote-desktop', 'c',
-        version: '48.1',
+        version: '48.3',
         meson_version: '>= 0.58.0',
         default_options: ['warning_level=1',
                           'buildtype=debugoptimized'])
diff -Nru gnome-remote-desktop-48.1/po/nl.po gnome-remote-desktop-48.3/po/nl.po
--- gnome-remote-desktop-48.1/po/nl.po  2025-04-14 12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/po/nl.po  2025-10-13 21:44:25.000000000 +0300
@@ -4,15 +4,15 @@
 #
 # Marcia van den Hout <[email protected]>, 2021.
 # Hannie Dumoleyn <[email protected]>, 2021.
-# Nathan Follens <[email protected]>, 2021-2022, 2024.
+# Nathan Follens <[email protected]>, 2021-2022, 2024-2025.
 # Philip Goto <[email protected]>, 2022.
 msgid ""
 msgstr ""
 "Project-Id-Version: gnome-remote-desktop.master\n"
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/";
 "issues/\n"
-"POT-Creation-Date: 2024-10-05 10:10+0000\n"
-"PO-Revision-Date: 2024-10-28 00:14+0100\n"
+"POT-Creation-Date: 2025-08-14 13:34+0000\n"
+"PO-Revision-Date: 2025-08-20 01:13+0200\n"
 "Last-Translator: Nathan Follens <[email protected]>\n"
 "Language-Team: GNOME-NL https://matrix.to/#/#nl:gnome.org\n";
 "Language: nl\n"
@@ -20,21 +20,21 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 3.4.4\n"
+"X-Generator: Poedit 3.6\n"
 
 #: data/org.gnome.remotedesktop.configure-system-daemon.policy.in:11
-msgid "Allow to configure gnome-remote-desktop's system daemon settings."
+msgid "Allow to configure gnome-remote-desktop's system daemon settings"
 msgstr ""
 "Laat toe de systeemdaemoninstellingen van gnome-remote-desktop te "
-"configureren."
+"configureren"
 
 #: data/org.gnome.remotedesktop.configure-system-daemon.policy.in:12
 msgid ""
 "Authentication is required to configure gnome-remote-desktop's system daemon "
-"settings."
+"settings"
 msgstr ""
 "Aanmelding is vereist om de systeemdaemoninstellingen van gnome-remote-"
-"desktop te configureren."
+"desktop te configureren"
 
 #: data/org.gnome.remotedesktop.enable-system-daemon.policy.in:11
 msgid "Allow to enable and disable gnome-remote-desktop's system daemon"
@@ -44,12 +44,12 @@
 #: data/org.gnome.remotedesktop.enable-system-daemon.policy.in:12
 msgid ""
 "Authentication is required to enable or disable gnome-remote-desktop's "
-"system daemon."
+"system daemon"
 msgstr ""
 "Aanmelding is vereist om de systeemdaemon van gnome-remote-desktop in- of "
-"uit te schakelen."
+"uit te schakelen"
 
-#: data/org.gnome.RemoteDesktop.Handover.desktop.in:4
+#: data/org.gnome.RemoteDesktop.Handover.desktop.in:3
 msgid "GNOME Remote Desktop Handover Daemon"
 msgstr "GNOME-extern-bureaublad-handoverdaemon"
 
diff -Nru gnome-remote-desktop-48.1/po/ro.po gnome-remote-desktop-48.3/po/ro.po
--- gnome-remote-desktop-48.1/po/ro.po  2025-04-14 12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/po/ro.po  2025-10-13 21:44:25.000000000 +0300
@@ -2,113 +2,146 @@
 # Copyright (C) 2021 gnome-remote-desktop's COPYRIGHT HOLDER
 # This file is distributed under the same license as the gnome-remote-desktop 
package.
 # Florentina Mușat <[email protected]>, 2021.
+# Antonio Marin <[email protected]>, 2025.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: gnome-remote-desktop master\n"
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/";
 "issues/\n"
-"POT-Creation-Date: 2024-08-02 12:54+0000\n"
-"PO-Revision-Date: 2024-08-07 13:17+0300\n"
-"Last-Translator: Florentina Mușat <florentina [dot] musat [dot] 28 [at] "
-"gmail [dot] com>\n"
+"POT-Creation-Date: 2025-08-14 10:27+0000\n"
+"PO-Revision-Date: 2025-08-14 15:29+0200\n"
+"Last-Translator: Antonio Marin <[email protected]>\n"
 "Language-Team: Romanian <[email protected]>\n"
 "Language: ro\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
-"20)) ? 1 : 2);;\n"
-"X-Generator: Poedit 3.4.4\n"
+"20)) ? 1 : 2);\n"
+"X-Generator: Gtranslator 48.0\n"
 
 #: data/org.gnome.remotedesktop.configure-system-daemon.policy.in:11
-msgid "Allow to configure gnome-remote-desktop's system daemon settings."
+msgid "Allow to configure gnome-remote-desktop's system daemon settings"
 msgstr ""
-"Permite configurarea setărilor daemon-ului de sistem ale gnome-remote-"
-"desktop."
+"Permite schimbarea preferințelor pentru serviciul de sistem gnome-remote-"
+"desktop"
 
 #: data/org.gnome.remotedesktop.configure-system-daemon.policy.in:12
 msgid ""
 "Authentication is required to configure gnome-remote-desktop's system daemon "
-"settings."
+"settings"
+msgstr ""
+"Autentificarea este necesară pentru a schimba preferințele pentru serviciul "
+"de sistem gnome-remote-desktop"
+
+#: data/org.gnome.remotedesktop.enable-system-daemon.policy.in:11
+msgid "Allow to enable and disable gnome-remote-desktop's system daemon"
+msgstr ""
+"Permite activarea sau dezactivarea serviciului de sistem gnome-remote-desktop"
+
+#: data/org.gnome.remotedesktop.enable-system-daemon.policy.in:12
+msgid ""
+"Authentication is required to enable or disable gnome-remote-desktop's "
+"system daemon"
 msgstr ""
-"Autentificarea este necesară pentru a configura setările daemon-ului de "
-"sistem ale gnome-remote-desktop."
+"Autentificarea este necesară pentru activarea sau dezactivarea serviciului "
+"de sistem gnome-remote-desktop"
 
-#: data/org.gnome.RemoteDesktop.Handover.desktop.in:4
+#: data/org.gnome.RemoteDesktop.Handover.desktop.in:3
 msgid "GNOME Remote Desktop Handover Daemon"
-msgstr "Daemon-ul de transfer al desktopului de la distanță GNOME"
+msgstr "Serviciul de transfer GNOME Remote Desktop"
 
-#: src/grd-ctl.c:59
+#: src/grd-ctl.c:70
 #, c-format
 msgid "Usage: %s [OPTIONS...] COMMAND [SUBCOMMAND]...\n"
 msgstr "Utilizare: %s [OPȚIUNI...] COMANDĂ [SUBCOMANDĂ]...\n"
 
-#: src/grd-ctl.c:576
+#: src/grd-ctl.c:305
+msgid "Username: "
+msgstr "Nume de utilizator: "
+
+#: src/grd-ctl.c:317 src/grd-ctl.c:460
+msgid "Password: "
+msgstr "Parola: "
+
+#: src/grd-ctl.c:590
 msgid "Commands:\n"
 msgstr "Comenzi:\n"
 
-#: src/grd-ctl.c:581
+#: src/grd-ctl.c:595
 msgid ""
-"  rdp                                        - RDP subcommands:\n"
-"    set-port                                 - Set port the server binds to\n"
-"    enable                                   - Enable the RDP backend\n"
-"    disable                                  - Disable the RDP backend\n"
-"    set-tls-cert <path-to-cert>              - Set path to TLS certificate\n"
-"    set-tls-key <path-to-key>                - Set path to TLS key\n"
-"    set-credentials <username> <password>    - Set username and password\n"
-"                                               credentials\n"
-"    clear-credentials                        - Clear username and password\n"
-"                                               credentials\n"
-"    enable-view-only                         - Disable remote control of "
+"  rdp                                            - RDP subcommands:\n"
+"    set-port                                     - Set port the server binds "
+"to\n"
+"    enable                                       - Enable the RDP backend\n"
+"    disable                                      - Disable the RDP backend\n"
+"    set-tls-cert <path-to-cert>                  - Set path to TLS "
+"certificate\n"
+"    set-tls-key <path-to-key>                    - Set path to TLS key\n"
+"    set-credentials [<username> [<password>]]    - Set username and "
+"password\n"
+"                                                   credentials\n"
+"    clear-credentials                            - Clear username and "
+"password\n"
+"                                                   credentials\n"
+"    enable-view-only                             - Disable remote control of "
 "input\n"
-"                                               devices\n"
-"    disable-view-only                        - Enable remote control of "
+"                                                   devices\n"
+"    disable-view-only                            - Enable remote control of "
 "input\n"
-"                                               devices\n"
-"    enable-port-negotiation                  - If unavailable, listen to\n"
-"                                               a different port\n"
-"    disable-port-negotiation                 - If unavailable, don't listen\n"
-"                                               to a different port\n"
+"                                                   devices\n"
+"    enable-port-negotiation                      - If unavailable, listen "
+"to\n"
+"                                                   a different port\n"
+"    disable-port-negotiation                     - If unavailable, don't "
+"listen\n"
+"                                                   to a different port\n"
 "\n"
 msgstr ""
-"  rdp                                        - Subcomenzi RDP:\n"
-"    set-port                                 - Stabilește portul la care se "
-"leagă serverul\n"
-"    enable                                   - Activează backend-ul RDP\n"
-"    disable                                  - Dezactivează backend-ul RDP\n"
-"    set-tls-cert <path-to-cert>              - Stabilește calea către "
-"certificatul TLS\n"
-"    set-tls-key <path-to-key>                - Stabilește calea către cheia "
+"  rdp                                            - Subcomenzi RDP:\n"
+"    set-port                                     - Stabilește portul la care "
+"se\n"
+"                                                   leagă serverul\n"
+"    enable                                       - Activează backend-ul RDP\n"
+"    disable                                      - Dezactivează backend-ul "
+"RDP\n"
+"    set-tls-cert <path-to-cert>                  - Stabilește calea către\n"
+"                                                   certificatul TLS\n"
+"    set-tls-key <path-to-key>                    - Stabilește calea cheii "
 "TLS\n"
-"    set-credentials <username> <password>    - Stabilește autorizările "
-"pentru numele de utilizator\n"
-"                                               și parola\n"
-"    clear-credentials                        - Eliberează autorizările "
-"pentru numele de utilizator\n"
-"                                               și parola\n"
-"    enable-view-only                         - Dezactivează controlul de la "
-"distanță al dispozitivelor\n"
-"                                               de intrare\n"
-"    disable-view-only                        - Activează controlul de la "
-"distanță al dispozitivelor\n"
-"                                               de intrare\n"
-"    enable-port-negotiation                  - Dacă nu este disponibil, "
-"ascultă\n"
-"                                               un port diferit\n"
-"    disable-port-negotiation                 - Dacă nu este disponibil, nu "
-"asculta\n"
-"                                               un port diferit\n"
-"\n"
+"    set-credentials [<username> [<password>]]    - Stabilește numele de\n"
+"                                                   utilizator și parola\n"
+"    clear-credentials                            - Șterge numele de "
+"utilizator\n"
+"                                                   și parola\n"
+"    enable-view-only                             - Dezactivează controlul de "
+"la\n"
+"                                                   distanță al "
+"dispozitivelor\n"
+"                                                   periferice\n"
+"    disable-view-only                            - Activează controlul de "
+"la\n"
+"                                                   distanță al "
+"dispozitivelor\n"
+"                                                   periferice\n"
+"    enable-port-negotiation                      - Dacă un port nu e "
+"disponibil,\n"
+"                                                   ascultă la un port "
+"diferit\n"
+"    disable-port-negotiation                     - Dacă un port nu e "
+"disponibil,\n"
+"                                                   nu ascultă la un port "
+"diferit\n"
 "\n"
 
-#: src/grd-ctl.c:605
+#: src/grd-ctl.c:619
 msgid ""
 "  vnc                                        - VNC subcommands:\n"
 "    set-port                                 - Set port the server binds to\n"
 "    enable                                   - Enable the VNC backend\n"
 "    disable                                  - Disable the VNC backend\n"
-"    set-password <password>                  - Set the VNC password\n"
+"    set-password [<password>]                - Set the VNC password\n"
 "    clear-password                           - Clear the VNC password\n"
 "    set-auth-method password|prompt          - Set the authorization method\n"
 "    enable-view-only                         - Disable remote control of "
@@ -128,25 +161,26 @@
 "leagă serverul\n"
 "    enable                                   - Activează backend-ul VNC\n"
 "    disable                                  - Dezactivează backend-ul VNC\n"
-"    set-password <password>                  - Stabilește parola VNC\n"
-"    clear-password                           - Eliberează parola VNC\n"
+"    set-password [<password>]                - Stabilește parola VNC\n"
+"    clear-password                           - Șterge parola VNC\n"
 "    set-auth-method password|prompt          - Stabilește metoda de "
 "autorizare\n"
-"    enable-view-only                         - Dezactivează controlul de la "
-"distanță al dispozitivelor\n"
-"                                               de intrare\n"
-"    disable-view-only                        - Activează controlul de la "
-"distanță al dispozitivelor\n"
-"                                               de intrare\n"
-"    enable-port-negotiation                  - Dacă nu este disponibil, "
-"ascultă\n"
-"                                               un port diferit\n"
-"    disable-port-negotiation                 - Dacă nu este disponibil, nu "
-"asculta\n"
-"                                               un port diferit\n"
+"    enable-view-only                         - Dezactivează controlul de la\n"
+"                                               distanță al dispozitivelor\n"
+"                                               periferice\n"
+"    disable-view-only                        - Activează controlul de la\n"
+"                                               distanță al dispozitivelor\n"
+"                                               periferice\n"
+"    enable-port-negotiation                  - Dacă un port nu e "
+"disponibil,\n"
+"                                               ascultă la un port diferit\n"
+"    disable-port-negotiation                 - Dacă un port nu e "
+"disponibil,\n"
+"                                               nu ascultă la un port "
+"diferit\n"
 "\n"
 
-#: src/grd-ctl.c:625
+#: src/grd-ctl.c:639
 msgid ""
 "  status [--show-credentials]                - Show current status\n"
 "\n"
@@ -156,44 +190,47 @@
 "  --system                                   - Configure system daemon\n"
 "  --help                                     - Print this help text\n"
 msgstr ""
-"  status [--show-credentials]                - Arată starea curentă\n"
+"  status [--show-credentials]                - Arată starea actuală\n"
 "\n"
 "Opțiuni:\n"
-"  --headless                                 - Utilizează stocarea "
-"acreditărilor headless\n"
-"  --system                                   - Configurează daemon-ul de "
+"  --headless                                 - Utilizează o stocare, a "
+"datelor\n"
+"                                               de autentificare, fără "
+"monitor\n"
+"  --system                                   - Configurează serviciul de "
 "sistem\n"
 "  --help                                     - Tipărește acest text de "
 "ajutor\n"
 
-#: src/grd-daemon.c:1263
+#: src/grd-daemon.c:992
 msgid "GNOME Remote Desktop"
-msgstr "Desktop la distanță GNOME"
+msgstr "Computer la distanță GNOME"
 
-#: src/grd-daemon-handover.c:346
+#: src/grd-daemon-handover.c:297 src/grd-daemon-handover.c:358
 #, c-format
-msgid "This connection is insecure"
-msgstr "Această conexiune nu este sigură"
+msgid "Continue With Insecure Connection?"
+msgstr "Se continuă cu o conexiune nesigură?"
 
-#. Translators: Don't translate "use redirection server name:i:1".
+#. Translators: Don't translate “use redirection server name:i:1”.
 #. * It's a menu option, and it's the same for all languages.
-#: src/grd-daemon-handover.c:350
+#: src/grd-daemon-handover.c:300 src/grd-daemon-handover.c:362
 #, c-format
 msgid ""
-"Do you want to continue with an insecure connection?\n"
-"To make it secure set <b>“use redirection server name:i:1”</b> in the RDP "
-"config file."
+"This Remote Desktop connection is insecure. To secure this connection, "
+"enable RDSTLS Security in your client by saving the connection settings in "
+"your client as an RDP file and set “use redirection server name:i:1” in it."
 msgstr ""
-"Doriți să continuați cu o conexiune nesigură?\n"
-"Pentru a o face sigură, stabiliți <b>“use redirection server name:i:1”</b> "
-"în fișierul de configurare RDP."
+"Această conexiune la un computer aflat la distanță nu este sigură. Pentru a "
+"o face sigură, trebuie activată securitatea RDSTLS în propria aplicație "
+"salvând parametrii de conectare în propria aplicație, într-un fișier RDP, și "
+"stabilind în acesta „use redirection server name:i:1”."
 
-#: src/grd-daemon-handover.c:354
+#: src/grd-daemon-handover.c:305 src/grd-daemon-handover.c:367
 #, c-format
 msgid "Disconnect"
 msgstr "Deconectează"
 
-#: src/grd-daemon-handover.c:355
+#: src/grd-daemon-handover.c:306 src/grd-daemon-handover.c:368
 #, c-format
 msgid "Continue"
 msgstr "Continuă"
@@ -201,7 +238,7 @@
 #: src/grd-daemon-user.c:99
 #, c-format
 msgid "Desktop Sharing port changed"
-msgstr "Portul de partajare desktop a fost modificat"
+msgstr "Portul pentru împărtășirea computerului a fost schimbat"
 
 #: src/grd-daemon-user.c:101
 #, c-format
@@ -210,7 +247,8 @@
 "This is because the Remote Sessions service has been activated and it has a "
 "higher priority to use port <b>%i</b>."
 msgstr ""
-"Portul de partajare desktop a fost modificat de la <b>%i</b> la <b>%i</b>.\n"
+"Portul pentru împărtășirea computerului a fost schimbat de la <b>%i</b> la "
+"<b>%i</b>.\n"
 "Acest lucru se datorează faptului că serviciul sesiuni de la distanță a fost "
 "activat și are o prioritate mai mare să utilizeze portul <b>%i</b>."
 
@@ -222,7 +260,7 @@
 #: src/grd-session-vnc.c:305
 #, c-format
 msgid "Do you want to share your desktop?"
-msgstr "Doriți să vă partajați desktop-ul?"
+msgstr "Se împărtășește propriul computerul?"
 
 #: src/grd-session-vnc.c:307
 #, c-format
@@ -230,8 +268,8 @@
 "A user on the computer '%s' is trying to remotely view or control your "
 "desktop."
 msgstr ""
-"Un utilizator de pe calculatorul „%s” încearcă să vizualizeze sau să "
-"controleze de la distanță desktop-ul."
+"Un utilizator de la computerul „%s” încearcă să vadă sau să controleze de la "
+"distanță computerul tău."
 
 #: src/grd-session-vnc.c:309
 #, c-format
@@ -245,20 +283,21 @@
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:8
 msgid "The RDP client will connect to this port to use this RDP server."
 msgstr ""
-"Clientul RDP se va conecta la acest port pentru a utiliza acest server RDP."
+"Aplicația client RDP se va conecta la acest port pentru a utiliza acest "
+"server RDP."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:14
 msgid "Search a different RDP port if the configured one is used"
-msgstr "Caută un port RDP diferit dacă portul configurat este utilizat"
+msgstr "Caută un port RDP diferit dacă portul stabilit este utilizat"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:15
 msgid ""
 "When negotiate-port is set to 'true' the RDP server will attempt to listen "
 "to the first available of the next 10 ports starting from the configured one."
 msgstr ""
-"Când negotiate-port este stabilit la „adevărat”, serverul RDP va încerca să "
-"asculte primul port disponibil dintre următoarele 10 porturi, începând de la "
-"cel configurat."
+"Când negotiate-port este stabilit la „true” (adevărat), serverul RDP va "
+"încerca să asculte primul port disponibil dintre următoarele 10 porturi, "
+"începând de la cel stabilit."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:23
 msgid "Whether the RDP backend is enabled or not"
@@ -266,11 +305,12 @@
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:24
 msgid "If set to 'true' the RDP backend will be initialized."
-msgstr "Dacă este stabilit la „true”, backend-ul RDP va fi inițializat."
+msgstr ""
+"Dacă este stabilit la „true” (adevărat), backend-ul RDP va fi inițializat."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:30
 msgid "Screenshare mode of RDP connections"
-msgstr "Modul partajare ecran al conexiunilor RDP"
+msgstr "Modul „distribuire ecran” al conexiunilor RDP"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:31
 msgid ""
@@ -287,19 +327,20 @@
 "resolution of this virtual monitor is derived from the monitor "
 "configuration, submitted by the remote desktop client."
 msgstr ""
-"Modul partajare ecran specifică, dacă backend-ul RDP oglindește ecranul "
-"primar, sau dacă este creat un monitor virtual. Pentru rezoluția inițială a "
-"monitorului virtual, backend-ul RDP utilizează ori datele de bază ale "
+"Modul „distribuire ecran”, specifică dacă serverul RDP transmite ecranul "
+"principal, sau dacă se creează un monitor virtual. Pentru rezoluția inițială "
+"a monitorului virtual, serverul RDP utilizează ori datele de bază ale "
 "clientului ([MS-RDPBCGR] 2.2.1.3.2) ori datele de monitor ale clientului "
 "([MS-RDPBCGR] 2.2.1.3.6), în funcție de ce este disponibil. Când se "
-"utilizează o sesiune desktop la distanță cu un monitor virtual, clienții pot "
-"redimensiona rezoluția monitorului virtual în timpul unei sesiuni cu "
-"Extensia de canal virtual de actualizare a afișajului ([MS-RDPEDISP]). "
-"Modurile de partajare ecran permise includ: * mirror-primary - Înregistrează "
-"monitorul primar al sesiunii de utilizator curente. * extend - Creează un "
-"monitor virtual nou și îl utilizează pentru sesiunea desktop de la distanță. "
-"Rezoluția acestui monitor virtual este derivată de la configurarea "
-"monitorului, trimisă de clientul desktop de la distanță."
+"utilizează o sesiune computer la distanță cu un monitor virtual, aplicațiile "
+"client pot redimensiona rezoluția monitorului virtual în timpul unei sesiuni "
+"cu Extensia „Display Update Virtual Channel” ([MS-RDPEDISP]). Modurile "
+"permise pentru împărtășirea ecranului includ: * mirror-primary - "
+"Înregistrează monitorul principal al sesiunii de lucru a utilizatorului "
+"actual. * extend - Creează un monitor virtual nou și îl utilizează pentru "
+"sesiunea de lucru de la distanță. Rezoluția acestui monitor virtual este "
+"stabilită din aplicația client aflată la distanță cu ajutorul căreia se "
+"realizează conectarea la serverul RDP."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:57
 msgid "Path to the certificate file"
@@ -312,7 +353,7 @@
 "and the certificate file need to be provided to the RDP server."
 msgstr ""
 "Pentru a putea utiliza RDP cu Securitate TLS, atât fișierul cheii private "
-"cât și fișierul certificat trebuie să fie furnizate serverului RDP."
+"cât și fișierul certificat trebuie să-i fie furnizate serverului RDP."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:65
 msgid "Path to the private key file"
@@ -321,16 +362,16 @@
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:73
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:106
 msgid "Only allow remote connections to view the screen content"
-msgstr ""
-"Permite doar conexiunilor de la distanță să vizualizeze conținutul ecranului"
+msgstr "Permite doar conexiunilor de la distanță să vadă conținutul ecranului"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:74
 msgid ""
 "When view-only is true, remote RDP connections cannot manipulate input "
 "devices (e.g. mouse and keyboard)."
 msgstr ""
-"Când doar vizualizare este adevărat, conexiunile RDP de la distanță nu pot "
-"manipula dispozitivele de intrare (de ex: maus și tastatură)."
+"Când „view-only” (doar vizualizare) este „true” (adevărat), conexiunile RDP "
+"de la distanță nu pot manipula dispozitivele periferice introduse (de ex: "
+"maus și tastatură)."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:83
 msgid "The port used by the VNC server"
@@ -339,40 +380,42 @@
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:84
 msgid "The VNC client will connect to this port to use this VNC server."
 msgstr ""
-"Clientul VNC se va conecta la acest port pentru a utiliza serverul VNC."
+"Aplicația client VNC se va conecta la acest port pentru a utiliza serverul "
+"VNC."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:90
 msgid "Search a different VNC port if the configured one is used"
-msgstr "Caută un port VNC diferit dacă portul configurat este utilizat"
+msgstr "Caută un port VNC diferit dacă portul stabilit este utilizat"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:91
 msgid ""
 "When negotiate-port is set to 'true' the VNC server will attempt to listen "
 "to the first available of the next 10 ports starting from the configured one."
 msgstr ""
-"Când negotiate-port este stabilit la „adevărat”, serverul VNC va încerca să "
-"asculte primul port disponibil dintre următoarele 10 porturi, începând de la "
-"cel configurat."
+"Când „negotiate-port” este stabilit la „true” (adevărat), serverul VNC va "
+"încerca să asculte primul port disponibil dintre următoarele 10 porturi, "
+"începând de la cel stabilit."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:99
 msgid "Whether the VNC backend is enabled or not"
-msgstr "Dacă este activat sau nu backend-ul VNC"
+msgstr "Dacă este activat sau nu serverul VNC"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:100
 msgid "If set to 'true' the VNC backend will be initialized."
-msgstr "Dacă este stabilit la „true”, backend-ul va fi inițializat."
+msgstr "Dacă este stabilit la „true” (adevărat), backend-ul va fi inițializat."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:107
 msgid ""
 "When view-only is true, remote VNC connections cannot manipulate input "
 "devices (e.g. mouse and keyboard)."
 msgstr ""
-"Când doar vizualizare este adevărat, conexiunile VNC de la distanță nu pot "
-"manipula dispozitivele de intrare (de ex: maus și tastatură)."
+"Când „view-only” (doar vizualizare) este „true” (adevărat), conexiunile VNC "
+"de la distanță nu pot manipula dispozitivele periferice introduse (de ex: "
+"maus și tastatură)."
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:114
 msgid "Method used to authenticate VNC connections"
-msgstr "Metodă utilizată pentru autentificarea conexiunilor VNC"
+msgstr "Metoda utilizată pentru autentificarea conexiunilor VNC"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:115
 msgid ""
@@ -383,15 +426,15 @@
 "password - by requiring the remote client to provide a known password"
 msgstr ""
 "Metoda de autentificare VNC descrie cum se autentifică o conexiune de la "
-"distanță. În mod curent se poate efectua în două moduri diferite: * prompt - "
-"prin solicitarea utilizatorului pentru fiecare conexiune nouă, necesitând o "
-"persoană cu acces fizic la stația de lucru pentru a aproba explicit "
-"conexiunea nouă. * password - solicitând clientului de la distanță să "
-"furnizeze o parolă cunoscută"
+"distanță. În prezent se poate efectua în două moduri diferite: * prompt - "
+"care solicită utilizatorul pentru fiecare conexiune nouă, fiind nevoie "
+"astfel de o persoană cu acces fizic la calculator pentru a aproba explicit "
+"conexiunea nouă. * password - care solicită aplicației client de la distanță "
+"să furnizeze o parolă cunoscută"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:127
 msgid "Screenshare mode of VNC connections"
-msgstr "Modul partajare ecran al conexiunilor VNC"
+msgstr "Modul „distribuire ecran” al conexiunilor VNC"
 
 #: src/org.gnome.desktop.remote-desktop.gschema.xml.in:128
 msgid ""
@@ -407,15 +450,15 @@
 "Clients can override the initial resolution with subsequent monitor "
 "configuration updates."
 msgstr ""
-"Modul partajare ecran specifică, dacă backend-ul VNC oglindește ecranul "
-"primar, sau dacă este creat un monitor virtual. Pentru rezoluția inițială a "
-"monitorului virtual, backend-ul VNC utilizează o dimensiune implicită de "
-"1920x1080 pixeli. Când se utilizează o sesiune desktop de la distanță cu un "
-"monitor virtual, clienții pot redimensiona rezoluția monitorului virtual în "
-"timpul unei sesiuni cu setDesktopSize PDU. Modurile de partajare ecran "
-"permise includ: * mirror-primary - Înregistrează monitorul primar al "
-"sesiunii de utilizator curente. * extend - Creează un monitor virtual nou și "
-"îl utilizează pentru sesiunea desktop de la distanță. Rezoluția de monitor "
-"inițială a acestui monitor virtual este stabilită la 1920x1080 pixeli. "
-"Clienții pot suprascrie rezoluția inițială cu actualizări ulterioare ale "
-"configurației monitorului."
+"Modul „distribuire ecran” specifică, dacă serverul VNC transmite ecranul "
+"principal, sau dacă este creat un monitor virtual. Pentru rezoluția inițială "
+"a monitorului virtual, serverul VNC utilizează o mărime prestabilită de "
+"1920x1080 pixeli. Când se folosește o sesiune de lucru de la distanță cu un "
+"monitor virtual, aplicațiile client pot redimensiona rezoluția monitorului "
+"virtual în timpul unei sesiuni cu setDesktopSize PDU. Modurile permise "
+"pentru împărtășirea ecranului includ: * mirror-primary - Înregistrează "
+"monitorul principal al sesiunii de lucru a utilizatorului actual. * extend - "
+"Creează un monitor virtual nou și îl utilizează pentru sesiunea de lucru de "
+"la distanță. Rezoluția inițială a acestui monitor virtual este stabilită la "
+"1920x1080 pixeli. Aplicațiile client pot înlocui rezoluția inițială cu "
+"actualizări ulterioare ale rezoluției monitorului."
diff -Nru gnome-remote-desktop-48.1/src/grd-cuda-avc-utils.cu 
gnome-remote-desktop-48.3/src/grd-cuda-avc-utils.cu
--- gnome-remote-desktop-48.1/src/grd-cuda-avc-utils.cu 2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-cuda-avc-utils.cu 2025-10-13 
21:44:25.000000000 +0300
@@ -19,6 +19,10 @@
 
 /*
  * Generate the PTX instructions with:
+ * clang --cuda-gpu-arch=sm_30 -S src/grd-cuda-avc-utils.cu -o 
data/grd-cuda-avc-utils_30.ptx --no-cuda-version-check -O3 --cuda-device-only 
-Wall -Wextra
+ *
+ * or
+ *
  * nvcc -arch=compute_30 -ptx grd-cuda-avc-utils.cu -o 
grd-cuda-avc-utils_30.ptx
  *
  * Note: This requires CUDA < 11, since the generation of Kepler capable
@@ -29,24 +33,6 @@
 
 extern "C"
 {
-  __device__ uint16_t
-  nv12_get_interlaced_y_1x1 (uint16_t y_1x1,
-                             uint16_t aligned_height)
-  {
-    if (y_1x1 < aligned_height >> 1)
-      return y_1x1 << 1;
-    return (y_1x1 << 1) - aligned_height + 1;
-  }
-
-  __device__ uint16_t
-  nv12_get_interlaced_y_2x2 (uint16_t y_2x2,
-                             uint16_t aligned_height)
-  {
-    if (y_2x2 < aligned_height >> 2)
-      return y_2x2 << 1;
-    return (y_2x2 << 1) - (aligned_height >> 1) + 1;
-  }
-
   __device__ uint8_t
   rgb_to_y (uint8_t r,
             uint8_t g,
@@ -106,44 +92,17 @@
     s1 = 1;
     s2 = src_width;
     s3 = src_width + 1;
-    /*
-     * Technically, the correct positions for the Y data in the resulting NV12
-     * image would be the following:
-     *
-     * d0 = 0;
-     * d1 = 1;
-     * d2 = aligned_stride;
-     * d3 = aligned_stride + 1;
-     *
-     * However, since MBAFF is used as frame field mode, NVENC requires the 
input
-     * frame to be interlaced.
-     * If the frame is not interlaced, then even lines end up in the position
-     * y / 2, instead of y and odd lines end up in the position y / 2 +
-     * aligned_height / 2, instead of y.
-     * So, calculate the interlaced y position via a dedicated function, which
-     * ensures that the lines in the input frame end up in the resulting frame 
to
-     * be at the correct position.
-     * Doing this now in the kernel here, instead of after the BGRX -> YUV420
-     * conversion, saves a huge amount of time, since each thread only has a
-     * super tiny overhead to perform this action, while a normal
-     * device-to-device copy operation can take at least several milliseconds.
-     */
 
     x_1x1 = x_2x2 << 1;
     y_1x1 = y_2x2 << 1;
     src_u32 = src_data + y_1x1 * src_width + x_1x1;
 
-    dst_y0 = dst_data +
-             nv12_get_interlaced_y_1x1 (y_1x1, aligned_height) * 
aligned_stride +
-             x_1x1;
+    dst_y0 = dst_data + y_1x1 * aligned_stride + x_1x1;
     dst_y1 = dst_y0 + 1;
-    dst_y2 = dst_data +
-             nv12_get_interlaced_y_1x1 (y_1x1 + 1, aligned_height) * 
aligned_stride +
-             x_1x1;
+    dst_y2 = dst_data + (y_1x1 + 1) * aligned_stride + x_1x1;
     dst_y3 = dst_y2 + 1;
     dst_u = dst_data + aligned_height * aligned_stride +
-            nv12_get_interlaced_y_2x2 (y_2x2, aligned_height) * aligned_stride 
+
-            x_1x1;
+            y_2x2 * aligned_stride + x_1x1;
     dst_v = dst_u + 1;
 
     /* d_0 */
diff -Nru gnome-remote-desktop-48.1/src/grd-hwaccel-nvidia.c 
gnome-remote-desktop-48.3/src/grd-hwaccel-nvidia.c
--- gnome-remote-desktop-48.1/src/grd-hwaccel-nvidia.c  2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-hwaccel-nvidia.c  2025-10-13 
21:44:25.000000000 +0300
@@ -406,7 +406,7 @@
   encode_config.profileGUID = NV_ENC_H264_PROFILE_PROGRESSIVE_HIGH_GUID;
   encode_config.gopLength = NVENC_INFINITE_GOPLENGTH;
   encode_config.frameIntervalP = 1;
-  encode_config.frameFieldMode = NV_ENC_PARAMS_FRAME_FIELD_MODE_MBAFF;
+  encode_config.frameFieldMode = NV_ENC_PARAMS_FRAME_FIELD_MODE_FRAME;
   encode_config.mvPrecision = NV_ENC_MV_PRECISION_QUARTER_PEL;
   encode_config.rcParams.version = NV_ENC_RC_PARAMS_VER;
   encode_config.rcParams.rateControlMode = NV_ENC_PARAMS_RC_VBR;
diff -Nru gnome-remote-desktop-48.1/src/grd-hwaccel-vulkan.c 
gnome-remote-desktop-48.3/src/grd-hwaccel-vulkan.c
--- gnome-remote-desktop-48.1/src/grd-hwaccel-vulkan.c  2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-hwaccel-vulkan.c  2025-10-13 
21:44:25.000000000 +0300
@@ -21,6 +21,7 @@
 
 #include "grd-hwaccel-vulkan.h"
 
+#include <drm_fourcc.h>
 #include <gio/gio.h>
 #include <sys/stat.h>
 #include <sys/sysmacros.h>
@@ -36,6 +37,8 @@
 {
   GObject parent;
 
+  GrdEglThread *egl_thread;
+
   VkInstance vk_instance;
 
   /* VK_EXT_debug_utils */
@@ -55,6 +58,136 @@
 
 G_DEFINE_TYPE (GrdHwAccelVulkan, grd_hwaccel_vulkan, G_TYPE_OBJECT)
 
+static gboolean
+list_contains_drm_format_modifier (uint64_t *modifiers,
+                                   int       n_modifiers,
+                                   uint64_t  modifier)
+{
+  int i;
+
+  for (i = 0; i < n_modifiers; ++i)
+    {
+      if (modifiers[i] == modifier)
+        return TRUE;
+    }
+
+  return FALSE;
+}
+
+static GArray *
+get_egl_vulkan_format_modifier_intersection (GrdHwAccelVulkan       
*hwaccel_vulkan,
+                                             VkPhysicalDevice        
vk_physical_device,
+                                             uint32_t                
drm_format,
+                                             uint32_t               
*required_n_planes,
+                                             VkFormatFeatureFlags2  
*required_features,
+                                             GError                **error)
+{
+  GrdEglThread *egl_thread = hwaccel_vulkan->egl_thread;
+  VkFormatProperties2 format_properties_2 = {};
+  VkDrmFormatModifierPropertiesList2EXT modifier_properties_list2 = {};
+  g_autofree VkDrmFormatModifierProperties2EXT *modifier_properties_2 = NULL;
+  VkFormat vk_format = VK_FORMAT_UNDEFINED;
+  g_autofree uint64_t *egl_modifiers = NULL;
+  int n_egl_modifiers;
+  GArray *vk_modifiers;
+  uint32_t i;
+
+  if (!grd_vk_get_vk_format_from_drm_format (drm_format, &vk_format, error))
+    return NULL;
+
+  format_properties_2.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2;
+  modifier_properties_list2.sType =
+    VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT;
+
+  grd_vk_append_to_chain (&format_properties_2, &modifier_properties_list2);
+
+  vkGetPhysicalDeviceFormatProperties2 (vk_physical_device, vk_format,
+                                        &format_properties_2);
+
+  if (modifier_properties_list2.drmFormatModifierCount == 0)
+    {
+      g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+                   "No DRM format modifiers available for DRM format %u",
+                   drm_format);
+      return NULL;
+    }
+
+  modifier_properties_2 =
+    g_new0 (VkDrmFormatModifierProperties2EXT,
+            modifier_properties_list2.drmFormatModifierCount);
+
+  modifier_properties_list2.pDrmFormatModifierProperties = 
modifier_properties_2;
+  vkGetPhysicalDeviceFormatProperties2 (vk_physical_device, vk_format,
+                                        &format_properties_2);
+
+  if (!grd_egl_thread_get_modifiers_for_format (egl_thread, drm_format,
+                                                &n_egl_modifiers,
+                                                &egl_modifiers))
+    {
+      g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+                   "No DRM format modifiers available for DRM format %u from "
+                   "EGL", drm_format);
+      return NULL;
+    }
+
+  vk_modifiers = g_array_new (FALSE, FALSE, sizeof (uint64_t));
+
+  for (i = 0; i < modifier_properties_list2.drmFormatModifierCount; i++)
+    {
+      uint64_t modifier = modifier_properties_2[i].drmFormatModifier;
+      uint32_t n_planes = modifier_properties_2[i].drmFormatModifierPlaneCount;
+      VkFormatFeatureFlags2 tiling_features =
+        modifier_properties_2[i].drmFormatModifierTilingFeatures;
+
+      if (required_n_planes &&
+          n_planes != *required_n_planes)
+        continue;
+      if (required_features &&
+          (tiling_features & *required_features) != *required_features)
+        continue;
+      if (!list_contains_drm_format_modifier (egl_modifiers, n_egl_modifiers,
+                                              modifier))
+        continue;
+
+      g_array_append_vals (vk_modifiers, &modifier, 1);
+    }
+
+  if (vk_modifiers->len == 0)
+    {
+      g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+                   "No common DRM format modifiers available for DRM format %u 
"
+                   "from EGL and Vulkan", drm_format);
+      g_array_free (vk_modifiers, TRUE);
+      return NULL;
+    }
+
+  return vk_modifiers;
+}
+
+gboolean
+grd_hwaccel_vulkan_get_modifiers_for_format (GrdHwAccelVulkan  *hwaccel_vulkan,
+                                             uint32_t           drm_format,
+                                             int               
*out_n_modifiers,
+                                             uint64_t         **out_modifiers)
+{
+  VkPhysicalDevice vk_physical_device = hwaccel_vulkan->vk_physical_device;
+  GArray *modifiers;
+  g_autoptr (GError) error = NULL;
+
+  modifiers =
+    get_egl_vulkan_format_modifier_intersection (hwaccel_vulkan,
+                                                 vk_physical_device,
+                                                 drm_format,
+                                                 NULL, NULL, &error);
+  if (!modifiers)
+    return FALSE;
+
+  *out_n_modifiers = modifiers->len;
+  *out_modifiers = (uint64_t *) g_array_free (modifiers, FALSE);
+
+  return TRUE;
+}
+
 GrdVkDevice *
 grd_hwaccel_vulkan_acquire_device (GrdHwAccelVulkan  *hwaccel_vulkan,
                                    GError           **error)
@@ -419,6 +552,9 @@
                                
VK_EXT_IMAGE_DRM_FORMAT_MODIFIER_EXTENSION_NAME))
     return FALSE;
   if (!check_device_extension (properties, n_properties,
+                               VK_KHR_FORMAT_FEATURE_FLAGS_2_EXTENSION_NAME))
+    return FALSE;
+  if (!check_device_extension (properties, n_properties,
                                
VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME))
     return FALSE;
   if (!check_device_extension (properties, n_properties,
@@ -475,6 +611,43 @@
 }
 
 static gboolean
+supports_bgrx_dma_buf_images (GrdHwAccelVulkan  *hwaccel_vulkan,
+                              VkPhysicalDevice   vk_physical_device,
+                              GError           **error)
+{
+  uint32_t drm_format;
+  uint32_t required_n_planes;
+  VkFormatFeatureFlags2 required_features;
+  GArray *modifier_array;
+  uint64_t *modifiers;
+  uint32_t i;
+
+  drm_format = DRM_FORMAT_XRGB8888;
+  required_n_planes = 1;
+  required_features = VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT;
+
+  modifier_array =
+    get_egl_vulkan_format_modifier_intersection (hwaccel_vulkan,
+                                                 vk_physical_device,
+                                                 drm_format,
+                                                 &required_n_planes,
+                                                 &required_features,
+                                                 error);
+  if (!modifier_array)
+    return FALSE;
+
+  modifiers = (uint64_t *) modifier_array->data;
+  for (i = 0; i < modifier_array->len; ++i)
+    {
+      g_debug ("[HWAccel.Vulkan] Found DRM format modifier %lu for DRM "
+               "format %u", modifiers[i], drm_format);
+    }
+  g_array_free (modifier_array, TRUE);
+
+  return TRUE;
+}
+
+static gboolean
 check_physical_device (GrdHwAccelVulkan *hwaccel_vulkan,
                        VkPhysicalDevice  vk_physical_device,
                        int64_t           render_major_egl,
@@ -558,6 +731,13 @@
       return FALSE;
     }
 
+  if (!supports_bgrx_dma_buf_images (hwaccel_vulkan, vk_physical_device,
+                                     &error))
+    {
+      g_debug ("[HWAccel.Vulkan] Skipping device: %s", error->message);
+      return FALSE;
+    }
+
   hwaccel_vulkan->vk_physical_device = vk_physical_device;
 
   return TRUE;
@@ -590,9 +770,9 @@
 
 static gboolean
 find_vulkan_device_from_egl_thread (GrdHwAccelVulkan  *hwaccel_vulkan,
-                                    GrdEglThread      *egl_thread,
                                     GError           **error)
 {
+  GrdEglThread *egl_thread = hwaccel_vulkan->egl_thread;
   g_autofree VkPhysicalDevice *physical_devices = NULL;
   uint32_t n_physical_devices = 0;
   const char *drm_render_node;
@@ -662,11 +842,12 @@
   g_autoptr (GrdHwAccelVulkan) hwaccel_vulkan = NULL;
 
   hwaccel_vulkan = g_object_new (GRD_TYPE_HWACCEL_VULKAN, NULL);
+  hwaccel_vulkan->egl_thread = egl_thread;
 
   if (!create_vk_instance (hwaccel_vulkan, error))
     return NULL;
 
-  if (!find_vulkan_device_from_egl_thread (hwaccel_vulkan, egl_thread, error))
+  if (!find_vulkan_device_from_egl_thread (hwaccel_vulkan, error))
     return NULL;
 
   return g_steal_pointer (&hwaccel_vulkan);
diff -Nru gnome-remote-desktop-48.1/src/grd-hwaccel-vulkan.h 
gnome-remote-desktop-48.3/src/grd-hwaccel-vulkan.h
--- gnome-remote-desktop-48.1/src/grd-hwaccel-vulkan.h  2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-hwaccel-vulkan.h  2025-10-13 
21:44:25.000000000 +0300
@@ -43,6 +43,11 @@
 GrdHwAccelVulkan *grd_hwaccel_vulkan_new (GrdEglThread  *egl_thread,
                                           GError       **error);
 
+gboolean grd_hwaccel_vulkan_get_modifiers_for_format (GrdHwAccelVulkan  
*hwaccel_vulkan,
+                                                      uint32_t           
drm_format,
+                                                      int               
*out_n_modifiers,
+                                                      uint64_t         
**out_modifiers);
+
 GrdVkDevice *grd_hwaccel_vulkan_acquire_device (GrdHwAccelVulkan  
*hwaccel_vulkan,
                                                 GError           **error);
 
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-buffer-info.h 
gnome-remote-desktop-48.3/src/grd-rdp-buffer-info.h
--- gnome-remote-desktop-48.1/src/grd-rdp-buffer-info.h 2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-buffer-info.h 2025-10-13 
21:44:25.000000000 +0300
@@ -35,6 +35,7 @@
 
   uint32_t drm_format;
   uint64_t drm_format_modifier;
+  gboolean has_vk_image;
 };
 
 #endif /* GRD_RDP_BUFFER_INFO_H */
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-buffer.c 
gnome-remote-desktop-48.3/src/grd-rdp-buffer.c
--- gnome-remote-desktop-48.1/src/grd-rdp-buffer.c      2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-buffer.c      2025-10-13 
21:44:25.000000000 +0300
@@ -73,27 +73,6 @@
 }
 
 static gboolean
-get_vk_format_from_drm_format (uint32_t   drm_format,
-                               VkFormat  *vk_format,
-                               GError   **error)
-{
-  *vk_format = VK_FORMAT_UNDEFINED;
-
-  switch (drm_format)
-    {
-    case DRM_FORMAT_ARGB8888:
-    case DRM_FORMAT_XRGB8888:
-      *vk_format = VK_FORMAT_B8G8R8A8_UNORM;
-      return TRUE;
-    }
-
-  g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-               "No VkFormat available for DRM format 0x%08X", drm_format);
-
-  return FALSE;
-}
-
-static gboolean
 import_dma_buf_image (GrdRdpBuffer      *rdp_buffer,
                       GrdRdpPwBuffer    *rdp_pw_buffer,
                       GrdRdpBufferInfo  *rdp_buffer_info,
@@ -107,8 +86,8 @@
     grd_rdp_pw_buffer_get_dma_buf_info (rdp_pw_buffer);
   VkFormat vk_format = VK_FORMAT_UNDEFINED;
 
-  if (!get_vk_format_from_drm_format (rdp_buffer_info->drm_format, &vk_format,
-                                      error))
+  if (!grd_vk_get_vk_format_from_drm_format (rdp_buffer_info->drm_format,
+                                             &vk_format, error))
     return FALSE;
 
   rdp_buffer->dma_buf_image =
@@ -123,6 +102,8 @@
   if (!rdp_buffer->dma_buf_image)
     return FALSE;
 
+  rdp_buffer_info->has_vk_image = TRUE;
+
   return TRUE;
 }
 
@@ -138,19 +119,31 @@
 
   rdp_buffer = g_object_new (GRD_TYPE_RDP_BUFFER, NULL);
   rdp_buffer->rdp_pw_buffer = rdp_pw_buffer;
-  rdp_buffer->rdp_buffer_info =
-    g_memdup2 (rdp_buffer_info, sizeof (GrdRdpBufferInfo));
 
   buffer_type = grd_rdp_pw_buffer_get_buffer_type (rdp_pw_buffer);
   if (buffer_type == GRD_RDP_BUFFER_TYPE_DMA_BUF &&
       vk_device &&
       rdp_buffer_info->drm_format_modifier != DRM_FORMAT_MOD_INVALID)
     {
+      g_autoptr (GError) local_error = NULL;
+
       if (!import_dma_buf_image (rdp_buffer, rdp_pw_buffer, rdp_buffer_info,
-                                 rdp_surface, vk_device, error))
-        return NULL;
+                                 rdp_surface, vk_device, &local_error))
+        {
+          if (rdp_buffer_info->has_vk_image)
+            {
+              g_propagate_error (error, g_steal_pointer (&local_error));
+              return NULL;
+            }
+
+          g_debug ("[RDP] Could not import dma-buf image: %s",
+                   local_error->message);
+        }
     }
 
+  rdp_buffer->rdp_buffer_info =
+    g_memdup2 (rdp_buffer_info, sizeof (GrdRdpBufferInfo));
+
   return g_steal_pointer (&rdp_buffer);
 }
 
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-layout-manager.c 
gnome-remote-desktop-48.3/src/grd-rdp-layout-manager.c
--- gnome-remote-desktop-48.1/src/grd-rdp-layout-manager.c      2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-layout-manager.c      2025-10-13 
21:44:25.000000000 +0300
@@ -70,6 +70,7 @@
   GrdSessionRdp *session_rdp;
   GrdRdpRenderer *renderer;
   GrdRdpCursorRenderer *cursor_renderer;
+  GrdHwAccelVulkan *hwaccel_vulkan;
   GrdHwAccelNvidia *hwaccel_nvidia;
   rdpContext *rdp_context;
 
@@ -456,6 +457,7 @@
   surface_context->pipewire_stream =
     grd_rdp_pipewire_stream_new (layout_manager->session_rdp,
                                  layout_manager->cursor_renderer,
+                                 layout_manager->hwaccel_vulkan,
                                  layout_manager->hwaccel_nvidia,
                                  surface_context->rdp_surface,
                                  surface_context->virtual_monitor,
@@ -597,6 +599,7 @@
 GrdRdpLayoutManager *
 grd_rdp_layout_manager_new (GrdSessionRdp    *session_rdp,
                             GrdRdpRenderer   *renderer,
+                            GrdHwAccelVulkan *hwaccel_vulkan,
                             GrdHwAccelNvidia *hwaccel_nvidia)
 {
   GrdRdpLayoutManager *layout_manager;
@@ -604,6 +607,7 @@
   layout_manager = g_object_new (GRD_TYPE_RDP_LAYOUT_MANAGER, NULL);
   layout_manager->session_rdp = session_rdp;
   layout_manager->renderer = renderer;
+  layout_manager->hwaccel_vulkan = hwaccel_vulkan;
   layout_manager->hwaccel_nvidia = hwaccel_nvidia;
 
   layout_manager->inhibition_done_id =
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-layout-manager.h 
gnome-remote-desktop-48.3/src/grd-rdp-layout-manager.h
--- gnome-remote-desktop-48.1/src/grd-rdp-layout-manager.h      2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-layout-manager.h      2025-10-13 
21:44:25.000000000 +0300
@@ -32,6 +32,7 @@
 
 GrdRdpLayoutManager *grd_rdp_layout_manager_new (GrdSessionRdp    *session_rdp,
                                                  GrdRdpRenderer   *renderer,
+                                                 GrdHwAccelVulkan 
*hwaccel_vulkan,
                                                  GrdHwAccelNvidia 
*hwaccel_nvidia);
 
 void grd_rdp_layout_manager_notify_session_started (GrdRdpLayoutManager  
*layout_manager,
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-pipewire-stream.c 
gnome-remote-desktop-48.3/src/grd-rdp-pipewire-stream.c
--- gnome-remote-desktop-48.1/src/grd-rdp-pipewire-stream.c     2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-pipewire-stream.c     2025-10-13 
21:44:25.000000000 +0300
@@ -30,6 +30,7 @@
 
 #include "grd-context.h"
 #include "grd-egl-thread.h"
+#include "grd-hwaccel-vulkan.h"
 #include "grd-pipewire-utils.h"
 #include "grd-rdp-buffer-pool.h"
 #include "grd-rdp-cursor-renderer.h"
@@ -94,6 +95,7 @@
 
   GrdSessionRdp *session_rdp;
   GrdRdpCursorRenderer *cursor_renderer;
+  GrdHwAccelVulkan *hwaccel_vulkan;
   GrdRdpSurface *rdp_surface;
   GrdEglThreadSlot egl_slot;
 
@@ -254,6 +256,32 @@
                                                       &max_framerate), 0);
 }
 
+static gboolean
+get_modifiers_for_format (GrdRdpPipeWireStream  *stream,
+                          uint32_t               drm_format,
+                          int                   *out_n_modifiers,
+                          uint64_t             **out_modifiers)
+{
+  GrdHwAccelVulkan *hwaccel_vulkan = stream->hwaccel_vulkan;
+  GrdSession *session = GRD_SESSION (stream->session_rdp);
+  GrdContext *context = grd_session_get_context (session);
+  GrdEglThread *egl_thread = grd_context_get_egl_thread (context);
+
+  g_assert (egl_thread);
+
+  if (hwaccel_vulkan)
+    {
+      return grd_hwaccel_vulkan_get_modifiers_for_format (hwaccel_vulkan,
+                                                          drm_format,
+                                                          out_n_modifiers,
+                                                          out_modifiers);
+    }
+
+  return grd_egl_thread_get_modifiers_for_format (egl_thread, drm_format,
+                                                  out_n_modifiers,
+                                                  out_modifiers);
+}
+
 static uint32_t
 add_format_params (GrdRdpPipeWireStream        *stream,
                    const GrdRdpVirtualMonitor  *virtual_monitor,
@@ -288,9 +316,8 @@
       g_autofree uint64_t *modifiers = NULL;
 
       grd_get_spa_format_details (spa_format, &drm_format, NULL);
-      if (grd_egl_thread_get_modifiers_for_format (egl_thread, drm_format,
-                                                   &n_modifiers,
-                                                   &modifiers))
+      if (get_modifiers_for_format (stream, drm_format,
+                                    &n_modifiers, &modifiers))
         {
           struct spa_pod_frame modifier_frame;
           int i;
@@ -1081,6 +1108,7 @@
 GrdRdpPipeWireStream *
 grd_rdp_pipewire_stream_new (GrdSessionRdp               *session_rdp,
                              GrdRdpCursorRenderer        *cursor_renderer,
+                             GrdHwAccelVulkan            *hwaccel_vulkan,
                              GrdHwAccelNvidia            *hwaccel_nvidia,
                              GrdRdpSurface               *rdp_surface,
                              const GrdRdpVirtualMonitor  *virtual_monitor,
@@ -1096,6 +1124,7 @@
   stream = g_object_new (GRD_TYPE_RDP_PIPEWIRE_STREAM, NULL);
   stream->session_rdp = session_rdp;
   stream->cursor_renderer = cursor_renderer;
+  stream->hwaccel_vulkan = hwaccel_vulkan;
   stream->rdp_surface = rdp_surface;
   stream->src_node_id = src_node_id;
 
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-pipewire-stream.h 
gnome-remote-desktop-48.3/src/grd-rdp-pipewire-stream.h
--- gnome-remote-desktop-48.1/src/grd-rdp-pipewire-stream.h     2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-pipewire-stream.h     2025-10-13 
21:44:25.000000000 +0300
@@ -33,6 +33,7 @@
 
 GrdRdpPipeWireStream *grd_rdp_pipewire_stream_new (GrdSessionRdp               
*session_rdp,
                                                    GrdRdpCursorRenderer        
*cursor_renderer,
+                                                   GrdHwAccelVulkan            
*hwaccel_vulkan,
                                                    GrdHwAccelNvidia            
*hwaccel_nvidia,
                                                    GrdRdpSurface               
*rdp_surface,
                                                    const GrdRdpVirtualMonitor  
*virtual_monitor,
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-render-context.c 
gnome-remote-desktop-48.3/src/grd-rdp-render-context.c
--- gnome-remote-desktop-48.1/src/grd-rdp-render-context.c      2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-render-context.c      2025-10-13 
21:44:25.000000000 +0300
@@ -434,6 +434,8 @@
 
   g_assert (buffer_info->buffer_type == GRD_RDP_BUFFER_TYPE_DMA_BUF);
 
+  if (!buffer_info->has_vk_image)
+    return;
   if (buffer_info->drm_format_modifier == DRM_FORMAT_MOD_INVALID)
     return;
 
diff -Nru gnome-remote-desktop-48.1/src/grd-rdp-renderer.c 
gnome-remote-desktop-48.3/src/grd-rdp-renderer.c
--- gnome-remote-desktop-48.1/src/grd-rdp-renderer.c    2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-rdp-renderer.c    2025-10-13 
21:44:25.000000000 +0300
@@ -187,7 +187,10 @@
   renderer->hwaccel_vaapi = grd_hwaccel_vaapi_new (renderer->vk_device,
                                                    &error);
   if (!renderer->hwaccel_vaapi)
-    g_message ("[RDP] Did not initialize VAAPI: %s", error->message);
+    {
+      g_message ("[RDP] Did not initialize VAAPI: %s", error->message);
+      g_clear_object (&renderer->vk_device);
+    }
 
   return TRUE;
 }
diff -Nru gnome-remote-desktop-48.1/src/grd-session-rdp.c 
gnome-remote-desktop-48.3/src/grd-session-rdp.c
--- gnome-remote-desktop-48.1/src/grd-session-rdp.c     2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-session-rdp.c     2025-10-13 
21:44:25.000000000 +0300
@@ -505,6 +505,8 @@
   GrdSessionRdp *session_rdp = rdp_peer_context->session_rdp;
   GrdRdpEventQueue *rdp_event_queue = session_rdp->rdp_event_queue;
 
+  g_debug ("[RDP] Received Synchronize event with flags 0x%08X", flags);
+
   if (!is_rdp_peer_flag_set (session_rdp, RDP_PEER_ACTIVATED) ||
       session_rdp->is_view_only)
     return TRUE;
@@ -1485,6 +1487,7 @@
   session_rdp->layout_manager =
     grd_rdp_layout_manager_new (session_rdp,
                                 session_rdp->renderer,
+                                hwaccel_vulkan,
                                 hwaccel_nvidia);
 
   if (!init_rdp_session (session_rdp, username, password, &error))
diff -Nru gnome-remote-desktop-48.1/src/grd-vk-device.c 
gnome-remote-desktop-48.3/src/grd-vk-device.c
--- gnome-remote-desktop-48.1/src/grd-vk-device.c       2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-vk-device.c       2025-10-13 
21:44:25.000000000 +0300
@@ -390,7 +390,7 @@
   VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures zero_init_features = 
{};
   VkDeviceQueueCreateInfo device_queue_create_info = {};
   float queue_priorities[MAX_DEVICE_QUEUES] = {};
-  const char *extensions[6] = {};
+  const char *extensions[7] = {};
   uint32_t n_extensions = 0;
   VkResult vk_result;
   uint32_t i;
@@ -414,6 +414,7 @@
   extensions[n_extensions++] = VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME;
   extensions[n_extensions++] = VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME;
   extensions[n_extensions++] = VK_EXT_IMAGE_DRM_FORMAT_MODIFIER_EXTENSION_NAME;
+  extensions[n_extensions++] = VK_KHR_FORMAT_FEATURE_FLAGS_2_EXTENSION_NAME;
   extensions[n_extensions++] = 
VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME;
   extensions[n_extensions++] = VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME;
 
diff -Nru gnome-remote-desktop-48.1/src/grd-vk-image.c 
gnome-remote-desktop-48.3/src/grd-vk-image.c
--- gnome-remote-desktop-48.1/src/grd-vk-image.c        2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-vk-image.c        2025-10-13 
21:44:25.000000000 +0300
@@ -139,10 +139,18 @@
       image_format_properties->maxExtent.depth < 
image_create_info->extent.depth ||
       image_format_properties->maxMipLevels < image_create_info->mipLevels ||
       image_format_properties->maxArrayLayers < image_create_info->arrayLayers 
||
-      image_format_properties->sampleCounts < image_create_info->samples)
+      !(image_format_properties->sampleCounts & image_create_info->samples))
     {
       g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-                   "Required image format properties not supported by device");
+                   "Required image format properties not supported by device: "
+                   "maxExtent: [%u, %u, %u], maxMipLevels: %u, "
+                   "maxArrayLayers %u, sampleCounts: 0x%08X",
+                   image_format_properties->maxExtent.width,
+                   image_format_properties->maxExtent.height,
+                   image_format_properties->maxExtent.depth,
+                   image_format_properties->maxMipLevels,
+                   image_format_properties->maxArrayLayers,
+                   image_format_properties->sampleCounts);
       return FALSE;
     }
 
diff -Nru gnome-remote-desktop-48.1/src/grd-vk-utils.c 
gnome-remote-desktop-48.3/src/grd-vk-utils.c
--- gnome-remote-desktop-48.1/src/grd-vk-utils.c        2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-vk-utils.c        2025-10-13 
21:44:25.000000000 +0300
@@ -135,6 +135,27 @@
   *vk_sampler = VK_NULL_HANDLE;
 }
 
+gboolean
+grd_vk_get_vk_format_from_drm_format (uint32_t   drm_format,
+                                      VkFormat  *vk_format,
+                                      GError   **error)
+{
+  *vk_format = VK_FORMAT_UNDEFINED;
+
+  switch (drm_format)
+    {
+    case DRM_FORMAT_ARGB8888:
+    case DRM_FORMAT_XRGB8888:
+      *vk_format = VK_FORMAT_B8G8R8A8_UNORM;
+      return TRUE;
+    }
+
+  g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
+               "No VkFormat available for DRM format 0x%08X", drm_format);
+
+  return FALSE;
+}
+
 GrdVkImage *
 grd_vk_dma_buf_image_new (GrdVkDevice        *vk_device,
                           VkFormat            vk_format,
diff -Nru gnome-remote-desktop-48.1/src/grd-vk-utils.h 
gnome-remote-desktop-48.3/src/grd-vk-utils.h
--- gnome-remote-desktop-48.1/src/grd-vk-utils.h        2025-04-14 
12:27:19.000000000 +0300
+++ gnome-remote-desktop-48.3/src/grd-vk-utils.h        2025-10-13 
21:44:25.000000000 +0300
@@ -46,6 +46,10 @@
 void grd_vk_clear_sampler (GrdVkDevice *device,
                            VkSampler   *vk_sampler);
 
+gboolean grd_vk_get_vk_format_from_drm_format (uint32_t   drm_format,
+                                               VkFormat  *vk_format,
+                                               GError   **error);
+
 GrdVkImage *grd_vk_dma_buf_image_new (GrdVkDevice        *vk_device,
                                       VkFormat            vk_format,
                                       uint32_t            width,

Reply via email to