# Screen sharing quality issue on Wayland + NVIDIA (2560×1440)

**URL:** <https://forum.jami.net/t/screen-sharing-quality-issue-on-wayland-nvidia-2560x1440/5818>\
**Category:** Support in English\
**Created:** [September 22, 2026, 1:45am UTC](https://forum.jami.net/t/screen-sharing-quality-issue-on-wayland-nvidia-2560x1440/5818 "2026-09-22T01:45:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![urikami](https://forum.jami.net/letter_avatar_proxy/v4/letter/u/ecccb3/32.png) [@urikami](https://forum.jami.net/u/urikami)\
**Post date:** [September 22, 2026, 1:45am UTC](https://forum.jami.net/t/screen-sharing-quality-issue-on-wayland-nvidia-2560x1440/5818/1 "2026-09-22T01:45:20Z")

</div>

Hi,

I’m having a problem with outgoing screen sharing on Jami Desktop under Linux.  
I’m trying to use Jami as a Discord replacement while playing with small group of friends (like 2-4).

**System:**

- CachyOS

- KDE Plasma / Wayland

- NVIDIA RTX 2080 Ti

- Jami Flatpak `20260917.0`

- PipeWire `1.6.8`

- xdg-desktop-portal `1.22.1`

- xdg-desktop-portal-kde `6.7.5`

My desktop resolution is **2560×1440** , and I would like to keep it that way.

Screen capture itself appears to work correctly. PipeWire reports a **2560×1440 BGRA** stream, and Jami receives the screen at the expected resolution.

However, the **outgoing video seen by the other participant is heavily corrupted/pixelated** , while incoming video streams from the other participant are perfectly fine.

I investigated the encoding side and noticed that Jami is using **libx264** for the outgoing H.264 stream:

```auto
[libx264 @ ...] frame MB size (160x90) > level limit (8192)
[libx264 @ ...] MB rate (864000) > level limit (245760)

```

There are also VBV underflow messages.

The interesting part is that the Flatpak environment has NVIDIA NVENC support available. From inside the Jami Flatpak, FFmpeg reports:

```auto
h264_nvenc
hevc_nvenc

```

and I can successfully encode a 2560×1440@60 test source with `h264_nvenc`. `nvidia-smi dmon` also confirms that the NVIDIA encoder engine is actually being used.

Jami’s configuration already contains:

```auto
decodingAccelerated: true
encodingAccelerated: true

```

I also tried adding `h264_nvenc` to `encoder.json`, but Jami continued to use `libx264`.

So my question is:

**Is H.264 hardware encoding with NVIDIA NVENC supported by Jami’s current Linux video pipeline, or is H.264 intentionally hard-coded to use libx264?**

If hardware H.264 encoding is supported, is there a configuration option or codec negotiation setting that I’m missing?

If not, is there a recommended way to make Jami downscale the screen-share stream (e.g. 2560×1440 desktop → 1920×1080 stream) while keeping the desktop itself at 2560×1440?

I’d be happy to provide full Jami logs, PipeWire node information, or any other diagnostic information that would be useful.

Thanks!

---

<div class="post-metadata">

**Author:** ![4uvpn](https://forum.jami.net/letter_avatar_proxy/v4/letter/4/4bbf92/32.png) [@4uvpn](https://forum.jami.net/u/4uvpn)\
**Post date:** [November 21, 2026, 5:26pm UTC](https://forum.jami.net/t/screen-sharing-quality-issue-on-wayland-nvidia-2560x1440/5818/2 "2026-11-21T17:26:28Z")

</div>

The call log already answers the codec question: that stream was libx264, so encodingAccelerated and the nvenc line in encoder.json did not win. The Flatpak ffmpeg list only shows the encoder exists.

The pixelation matches the next line. 2560x1440 is 160x90 macroblocks, and the level it picked caps a frame at 8192. Nothing in the log shows a downscale.

I don’t know a switch that sends 1080p while the desktop stays at 1440p. The test that stays inside that level is to share a 1920x1080 window, or a scaled portal source, and leave the desktop alone.

---

<div class="post-metadata">

**Author:** ![victoriawhite](https://forum.jami.net/letter_avatar_proxy/v4/letter/v/a88e57/32.png) [@victoriawhite](https://forum.jami.net/u/victoriawhite)\
**Post date:** [November 22, 2026, 12:33am UTC](https://forum.jami.net/t/screen-sharing-quality-issue-on-wayland-nvidia-2560x1440/5818/3 "2026-11-22T00:33:06Z")

</div>

The 8192 in that x264 line is the H.264 level-4 frame-size limit in macroblocks: 2560×1440 is 160×90 = 14400 MB/frame, while 1920×1080 is 120×68 = 8160, just under it. That explains why a 1080p window or scaled portal source works and 1440p does not. If Jami exposes x264 level/params, raising the level to 5.0+ may let software 1440p encode; otherwise downscale before Jami. NVENC being available in Flatpak FFmpeg doesn’t prove Jami’s WebRTC encoder path uses it.
