<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://freemwiki.com/index.php?action=history&amp;feed=atom&amp;title=Openai%2F6964e172-93a0-8013-9baf-b12d96b905a2</id>
	<title>Openai/6964e172-93a0-8013-9baf-b12d96b905a2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://freemwiki.com/index.php?action=history&amp;feed=atom&amp;title=Openai%2F6964e172-93a0-8013-9baf-b12d96b905a2"/>
	<link rel="alternate" type="text/html" href="https://freemwiki.com/index.php?title=Openai/6964e172-93a0-8013-9baf-b12d96b905a2&amp;action=history"/>
	<updated>2026-07-29T03:42:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://freemwiki.com/index.php?title=Openai/6964e172-93a0-8013-9baf-b12d96b905a2&amp;diff=595539&amp;oldid=prev</id>
		<title>Lukegao: by freem.ai...</title>
		<link rel="alternate" type="text/html" href="https://freemwiki.com/index.php?title=Openai/6964e172-93a0-8013-9baf-b12d96b905a2&amp;diff=595539&amp;oldid=prev"/>
		<updated>2026-01-13T05:15:55Z</updated>

		<summary type="html">&lt;p&gt;by freem.ai...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{{DISPLAYTITLE:Discord streaming fix}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This conversation was exported from ChatGPT&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;{{cite web|title=Discord streaming fix|url=https://chatgpt.com/share/6964e172-93a0-8013-9baf-b12d96b905a2|publisher=ChatGPT|access-date=2026-01-13}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== gpt-5-2 ==&lt;br /&gt;
=== User: i cant stream in discord app but i can stream in discord web through chrome, im using cachyOS plasma ===&lt;br /&gt;
i cant stream in discord app but i can stream in discord web through chrome, im using cachyOS plasma&lt;br /&gt;
&lt;br /&gt;
=== Assistant: This is a classic Discord-on-Linux issue, not a CachyOS-only problem. ===&lt;br /&gt;
This is a classic Discord-on-Linux issue, not a CachyOS-only problem. Since Discord Web works in Chrome but the Discord app doesn’t, the problem is almost certainly Wayland + Electron + PipeWire related.&lt;br /&gt;
&lt;br /&gt;
I’ll give you fixes in order of likelihood. Don’t restart unless I explicitly say so.&lt;br /&gt;
&lt;br /&gt;
==== KDE Plasma on CachyOS defaults to Wayland. ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;echo $XDG_SESSION_TYPE&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it says:&lt;br /&gt;
* wayland → continue (this is the problem)&lt;br /&gt;
* x11 → tell me (different fix)&lt;br /&gt;
&lt;br /&gt;
==== Discord’s screen sharing is broken on native Wayland. ====&lt;br /&gt;
&lt;br /&gt;
===== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;pkill Discord =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;DISCORD_USE_WAYLAND=0 discord =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now try streaming.&lt;br /&gt;
&lt;br /&gt;
✅ If this works → we’ll make it permanent&lt;br /&gt;
❌ If not → go to step 3&lt;br /&gt;
&lt;br /&gt;
==== So you don’t have to run commands every time. ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;cp /usr/share/applications/discord.desktop ~/.local/share/applications/&lt;br /&gt;
nano ~/.local/share/applications/discord.desktop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find this line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;Exec=/usr/bin/discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change it to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;Exec=env DISCORD_USE_WAYLAND=0 /usr/bin/discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit:&lt;br /&gt;
* Ctrl + O&lt;br /&gt;
* Enter&lt;br /&gt;
* Ctrl + X&lt;br /&gt;
&lt;br /&gt;
Log out &amp;amp; log back in (not full reboot).&lt;br /&gt;
&lt;br /&gt;
==== Run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S --needed pipewire pipewire-pulse wireplumber xdg-desktop-portal xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart only PipeWire, not your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user restart pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== In Discord: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;Settings → Advanced → Hardware Acceleration → OFF&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Close Discord → reopen → test stream again.&lt;br /&gt;
&lt;br /&gt;
==== - Discord Web (Chrome) → fully supports PipeWire + Wayland ====&lt;br /&gt;
* Discord App → Electron + outdated Wayland support = broken capture&lt;br /&gt;
* Chrome handles screen portals correctly; Discord app often doesn’t&lt;br /&gt;
&lt;br /&gt;
This is Discord’s fault, not CachyOS or KDE.&lt;br /&gt;
&lt;br /&gt;
==== Choose ONE: ====&lt;br /&gt;
&lt;br /&gt;
===== - Use Discord Web in Chrome =====&lt;br /&gt;
* Best stability, zero hacks&lt;br /&gt;
&lt;br /&gt;
===== - Keep Discord app forced to XWayland =====&lt;br /&gt;
* Slightly worse performance, but works&lt;br /&gt;
&lt;br /&gt;
==== Reply with: ====&lt;br /&gt;
# Output of echo $XDG_SESSION_TYPE&lt;br /&gt;
# Does Step 2 work or not?&lt;br /&gt;
&lt;br /&gt;
I’ll dial it in perfectly after that.&lt;br /&gt;
&lt;br /&gt;
=== User: even after going to step 3, it still doesnt work ===&lt;br /&gt;
even after going to step 3, it still doesnt work&lt;br /&gt;
&lt;br /&gt;
=== Assistant: Good — that tells us something important. ===&lt;br /&gt;
Good — that tells us something important.&lt;br /&gt;
&lt;br /&gt;
If Step 3 (forcing XWayland) didn’t fix it but Discord Web still works, then this is not a simple Wayland toggle issue anymore. At this point, one of these is true:&lt;br /&gt;
# Your native Discord package is broken with PipeWire&lt;br /&gt;
# xdg-desktop-portal is misbehaving on Plasma&lt;br /&gt;
# You’re using the wrong Discord build (native vs flatpak mismatch)&lt;br /&gt;
# KDE’s screen portal is stuck (very common)&lt;br /&gt;
&lt;br /&gt;
We’ll go surgical. Follow exactly, in order.&lt;br /&gt;
&lt;br /&gt;
==== Run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;which discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;pacman -Qs discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Tell me:&lt;br /&gt;
* Is it discord, discord-canary, or flatpak?&lt;br /&gt;
&lt;br /&gt;
⚠️ Don’t skip this — the fix depends on it.&lt;br /&gt;
&lt;br /&gt;
==== This fixes 70% of Plasma streaming bugs. ====&lt;br /&gt;
&lt;br /&gt;
Close Discord.&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user stop xdg-desktop-portal&lt;br /&gt;
systemctl --user stop xdg-desktop-portal-kde&lt;br /&gt;
systemctl --user stop pipewire&lt;br /&gt;
systemctl --user stop wireplumber&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait 10 seconds.&lt;br /&gt;
&lt;br /&gt;
Now start them again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user start pipewire&lt;br /&gt;
systemctl --user start wireplumber&lt;br /&gt;
systemctl --user start xdg-desktop-portal&lt;br /&gt;
systemctl --user start xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now launch Discord from terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;DISCORD_USE_WAYLAND=0 discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test streaming a window, not full screen.&lt;br /&gt;
&lt;br /&gt;
==== Native Arch Discord is notorious for this exact issue. ====&lt;br /&gt;
&lt;br /&gt;
===== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S flatpak =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak install flathub com.discordapp.Discord =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak run com.discordapp.Discord =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
➡️ Try streaming.&lt;br /&gt;
&lt;br /&gt;
Why this works:&lt;br /&gt;
Flatpak Discord ships newer Electron + correct PipeWire permissions.&lt;br /&gt;
&lt;br /&gt;
==== To avoid conflicts: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -R discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keep Flatpak only.&lt;br /&gt;
&lt;br /&gt;
==== Open: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;System Settings → Privacy &amp;amp; Security → Screen Recording&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure:&lt;br /&gt;
* Discord is allowed&lt;br /&gt;
* No global restriction is enabled&lt;br /&gt;
&lt;br /&gt;
==== Run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;journalctl --user -xe | grep -E &amp;quot;portal|pipewire|discord&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see errors like:&lt;br /&gt;
* Failed to create screencast session&lt;br /&gt;
* No such interface org.freedesktop.portal.ScreenCast&lt;br /&gt;
&lt;br /&gt;
👉 paste them here.&lt;br /&gt;
&lt;br /&gt;
==== - Discord native on Arch/Wayland is unreliable ====&lt;br /&gt;
* Discord Web works because Chrome is better&lt;br /&gt;
* Flatpak Discord is the real fix 9/10 times&lt;br /&gt;
* CachyOS + Plasma is NOT the problem&lt;br /&gt;
&lt;br /&gt;
===== 1. Output of which discord =====&lt;br /&gt;
# Whether Flatpak Discord works or not&lt;br /&gt;
&lt;br /&gt;
I’ll finish locking this down after that.&lt;br /&gt;
&lt;br /&gt;
=== User: एक इमेज अपलोड किया गया ===&lt;br /&gt;
एक इमेज अपलोड किया गया&lt;br /&gt;
&lt;br /&gt;
=== Assistant: Perfect — this screenshot confirms the root cause 🔥 ===&lt;br /&gt;
Perfect — this screenshot confirms the root cause 🔥&lt;br /&gt;
You are using native Arch Discord (&amp;lt;code&amp;gt;/usr/bin/discord&amp;lt;/code&amp;gt;) + OpenAsar on KDE Plasma Wayland.&lt;br /&gt;
&lt;br /&gt;
That combo is notoriously broken for screen streaming. OpenAsar actually makes it worse on Wayland.&lt;br /&gt;
&lt;br /&gt;
Now I’ll give you the real fix, no guessing.&lt;br /&gt;
&lt;br /&gt;
==== - Native Discord (Electron) ❌ bad PipeWire support ====&lt;br /&gt;
* OpenAsar ❌ breaks screencast portals on Wayland&lt;br /&gt;
* KDE Plasma Wayland ❌ stricter than GNOME&lt;br /&gt;
* Result: streaming fails no matter how many flags you add&lt;br /&gt;
&lt;br /&gt;
This is not user error. You hit a known upstream limitation.&lt;br /&gt;
&lt;br /&gt;
==== ### ====&lt;br /&gt;
&lt;br /&gt;
This is what actually works on Plasma Wayland.&lt;br /&gt;
&lt;br /&gt;
====== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -R discord openasar-install ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S flatpak ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak install flathub com.discordapp.Discord ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak run com.discordapp.Discord ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
➡️ Start streaming&lt;br /&gt;
➡️ Select Window, not Screen (first time)&lt;br /&gt;
&lt;br /&gt;
✅ This works in 90%+ of Plasma Wayland setups.&lt;br /&gt;
&lt;br /&gt;
==== I’m being honest: this is fragile. ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -R openasar-install&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;pkill Discord&lt;br /&gt;
DISCORD_USE_WAYLAND=0 discord --disable-gpu --disable-gpu-compositing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this fails → stop here and use Flatpak.&lt;br /&gt;
&lt;br /&gt;
==== Go to: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;System Settings → Privacy &amp;amp; Security → Screen Recording&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure:&lt;br /&gt;
* Discord is allowed&lt;br /&gt;
* No “Ask every time” bugged state (toggle off/on)&lt;br /&gt;
&lt;br /&gt;
==== - Reinstall CachyOS ❌ ====&lt;br /&gt;
* Switch kernels ❌&lt;br /&gt;
* Random Electron flags ❌&lt;br /&gt;
* PipeWire reinstall loops ❌&lt;br /&gt;
&lt;br /&gt;
==== - Discord Web works → proves your system is fine ====&lt;br /&gt;
* Native Discord on Arch + Wayland is broken&lt;br /&gt;
* Flatpak Discord is the real solution&lt;br /&gt;
* This is Discord’s fault, not Linux, not CachyOS, not you&lt;br /&gt;
&lt;br /&gt;
===== - Did Flatpak Discord streaming work? =====&lt;br /&gt;
* Window stream or screen stream?&lt;br /&gt;
&lt;br /&gt;
If Flatpak somehow fails (rare), I’ll give you the X11 fallback plan next.&lt;br /&gt;
&lt;br /&gt;
=== User: एक इमेज अपलोड किया गया ===&lt;br /&gt;
एक इमेज अपलोड किया गया&lt;br /&gt;
&lt;br /&gt;
=== Assistant: Perfect — this is actually good news. ===&lt;br /&gt;
Perfect — this is actually good news. Nothing is broken.&lt;br /&gt;
&lt;br /&gt;
Your system simply doesn’t have Flatpak installed yet, that’s why:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;fish: Unknown command: flatpak&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You already did the hard part (removing native Discord + OpenAsar). Now let’s finish cleanly.&lt;br /&gt;
&lt;br /&gt;
==== Run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S flatpak&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When it finishes, log out and log back in&lt;br /&gt;
(not a full reboot — just log out)&lt;br /&gt;
&lt;br /&gt;
This is important so Flatpak paths are registered.&lt;br /&gt;
&lt;br /&gt;
==== After logging back in, run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak install flathub com.discordapp.Discord ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Press Y when asked.&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak run com.discordapp.Discord ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Log in → start a stream.&lt;br /&gt;
&lt;br /&gt;
👉 Choose “Window” first, not full screen.&lt;br /&gt;
&lt;br /&gt;
==== Inside Discord: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;Settings → Advanced → Hardware Acceleration → OFF&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Close Discord → reopen → test again.&lt;br /&gt;
&lt;br /&gt;
==== - Flatpak Discord ships newer Electron ====&lt;br /&gt;
* Correct PipeWire + portal permissions&lt;br /&gt;
* No OpenAsar interference&lt;br /&gt;
* Plasma Wayland officially supported&lt;br /&gt;
&lt;br /&gt;
This is the setup most Arch + KDE users end up on.&lt;br /&gt;
&lt;br /&gt;
==== Run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;flatpak override --user --filesystem=host com.discordapp.Discord&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then reopen Discord and try again.&lt;br /&gt;
&lt;br /&gt;
==== Reply with: ====&lt;br /&gt;
# Did Discord launch successfully?&lt;br /&gt;
# Does window streaming work?&lt;br /&gt;
# Does screen streaming work?&lt;br /&gt;
&lt;br /&gt;
Once this is confirmed, I’ll give you:&lt;br /&gt;
* best Plasma Wayland streaming settings&lt;br /&gt;
* how to reduce stream lag&lt;br /&gt;
* optional OBS + Discord combo (if you want)&lt;br /&gt;
&lt;br /&gt;
You’re almost done — this was the correct path 👍&lt;br /&gt;
&lt;br /&gt;
=== User: still isnt working ===&lt;br /&gt;
still isnt working&lt;br /&gt;
&lt;br /&gt;
=== Assistant: Alright. ===&lt;br /&gt;
Alright. If even Flatpak Discord doesn’t stream, then we’re past “Discord being Discord” and into a broken Wayland screencast stack on KDE.&lt;br /&gt;
&lt;br /&gt;
I’m going to be very direct and very precise now.&lt;br /&gt;
&lt;br /&gt;
At this point, there are only two real possibilities left:&lt;br /&gt;
&lt;br /&gt;
==== Your KDE Wayland ScreenCast portal is broken or unreachable. ====&lt;br /&gt;
&lt;br /&gt;
That’s why:&lt;br /&gt;
* Discord native ❌&lt;br /&gt;
* Discord Flatpak ❌&lt;br /&gt;
* Discord Web (Chrome) ✅ (Chrome uses a different capture path)&lt;br /&gt;
&lt;br /&gt;
This is a known KDE Plasma Wayland failure mode.&lt;br /&gt;
&lt;br /&gt;
==== Run this exact command: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;qdbus org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== You’ll see method info / no error. =====&lt;br /&gt;
&lt;br /&gt;
===== You’ll see: =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;Service &amp;#039;org.freedesktop.portal.Desktop&amp;#039; does not exist&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;No such interface org.freedesktop.portal.ScreenCast&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
➡️ Tell me exactly what it outputs.&lt;br /&gt;
&lt;br /&gt;
==== Sometimes Plasma silently falls back to the wrong portal. ====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;echo $XDG_CURRENT_DESKTOP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it says KDE, continue.&lt;br /&gt;
&lt;br /&gt;
Now run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;ls /usr/share/xdg-desktop-portal/portals/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You MUST see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;kde.portal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don’t — streaming will NEVER work.&lt;br /&gt;
&lt;br /&gt;
==== ⚠️ This does not reboot your system. ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user stop xdg-desktop-portal&lt;br /&gt;
systemctl --user stop xdg-desktop-portal-kde&lt;br /&gt;
systemctl --user stop pipewire&lt;br /&gt;
systemctl --user stop wireplumber&lt;br /&gt;
&lt;br /&gt;
rm -rf ~/.cache/xdg-desktop-portal&lt;br /&gt;
rm -rf ~/.config/xdg-desktop-portal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now start everything again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user start pipewire&lt;br /&gt;
systemctl --user start wireplumber&lt;br /&gt;
systemctl --user start xdg-desktop-portal&lt;br /&gt;
systemctl --user start xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait 15 seconds, then try Discord again.&lt;br /&gt;
&lt;br /&gt;
==== I won’t sugarcoat this: ====&lt;br /&gt;
&lt;br /&gt;
===== Even when everything is “correct”. =====&lt;br /&gt;
&lt;br /&gt;
===== Use an X11 Plasma session. =====&lt;br /&gt;
&lt;br /&gt;
==== At the login screen: ====&lt;br /&gt;
# Click Session&lt;br /&gt;
# Choose Plasma (X11) — NOT Wayland&lt;br /&gt;
# Log in&lt;br /&gt;
# Launch Discord (Flatpak or native)&lt;br /&gt;
# Stream → works instantly&lt;br /&gt;
&lt;br /&gt;
No flags. No hacks. No pain.&lt;br /&gt;
&lt;br /&gt;
This is what many KDE users quietly do.&lt;br /&gt;
&lt;br /&gt;
==== - Your hardware is fine ====&lt;br /&gt;
* PipeWire is installed&lt;br /&gt;
* Web Discord works&lt;br /&gt;
* Multiple Discord builds failed&lt;br /&gt;
* This isolates to Wayland screencast portal&lt;br /&gt;
&lt;br /&gt;
==== - 🟡 Want Wayland purity → accept broken Discord ====&lt;br /&gt;
* 🟢 Want working streaming → use Plasma X11&lt;br /&gt;
* 🔵 Want perfect Wayland → GNOME (handles portals better)&lt;br /&gt;
&lt;br /&gt;
===== 1. Output of the qdbus command =====&lt;br /&gt;
# Whether you’re willing to switch to Plasma X11&lt;br /&gt;
&lt;br /&gt;
I’ll guide you cleanly either way.&lt;br /&gt;
&lt;br /&gt;
=== User: qdbus org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast ===&lt;br /&gt;
qdbus org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast&lt;br /&gt;
it shows after i use the command&lt;br /&gt;
fish: Unknown command: qdbus&lt;br /&gt;
&lt;br /&gt;
=== Assistant: Good — this actually explains a LOT. ===&lt;br /&gt;
Good — this actually explains a LOT.&lt;br /&gt;
On KDE Plasma, &amp;lt;code&amp;gt;qdbus&amp;lt;/code&amp;gt; should exist. If it doesn’t, your KDE DBus tools aren’t installed, which strongly correlates with broken screen portals.&lt;br /&gt;
&lt;br /&gt;
We’re going to fix this cleanly.&lt;br /&gt;
&lt;br /&gt;
==== Run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S qt6-tools&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This provides qdbus6 (new KDE uses qdbus6, not qdbus).&lt;br /&gt;
&lt;br /&gt;
==== Now run: ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ## =====&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;pacman -Qs xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see it installed.&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user restart pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-kde ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait 10 seconds, then test Discord again.&lt;br /&gt;
&lt;br /&gt;
==== - Discord uses DBus → xdg-desktop-portal → KDE ScreenCast ====&lt;br /&gt;
* If qdbus/qdbus6 is missing, KDE components are incomplete&lt;br /&gt;
* Incomplete KDE = broken Wayland capture, guaranteed&lt;br /&gt;
&lt;br /&gt;
==== I’ll be blunt in advance so you’re not surprised: ====&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
If Step 2 confirms the portal exists but Discord fails → X11 session is the only reliable fix.&lt;br /&gt;
&lt;br /&gt;
==== 1. Output of the qdbus6 command ====&lt;br /&gt;
# Output of pacman -Qs xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
We’re almost at the finish line now.&lt;br /&gt;
&lt;br /&gt;
=== User: ❯ qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast ===&lt;br /&gt;
❯ qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast&lt;br /&gt;
&lt;br /&gt;
Detected locale &amp;quot;C&amp;quot; with character encoding &amp;quot;ANSI_X3.4-1968&amp;quot;, which is not UTF-8.&lt;br /&gt;
Qt depends on a UTF-8 locale, and has switched to &amp;quot;C.UTF-8&amp;quot; instead.&lt;br /&gt;
If this causes problems, reconfigure your locale. See the locale(1) manual&lt;br /&gt;
for more information.&lt;br /&gt;
Error: org.freedesktop.DBus.Error.UnknownMethod&lt;br /&gt;
No such interface “org.freedesktop.portal” on object at path /org/freedesktop/portal/desktop&lt;br /&gt;
&lt;br /&gt;
=== Assistant: Good — that output is the smoking gun. ===&lt;br /&gt;
Good — that output is the smoking gun. We’re no longer guessing.&lt;br /&gt;
&lt;br /&gt;
: No such interface “org.freedesktop.portal”&lt;br /&gt;
&lt;br /&gt;
This means the ScreenCast portal is NOT registered at all.&lt;br /&gt;
So Discord (native, Flatpak, anything Electron-based) cannot screen share on Wayland on your system right now.&lt;br /&gt;
&lt;br /&gt;
Chrome Web works because Chrome bypasses this interface.&lt;br /&gt;
&lt;br /&gt;
==== 🔴 What this definitively means ====&lt;br /&gt;
* PipeWire is running ✅&lt;br /&gt;
* xdg-desktop-portal service exists ✅&lt;br /&gt;
* KDE ScreenCast portal is NOT exposing the interface ❌&lt;br /&gt;
&lt;br /&gt;
This is a broken Plasma Wayland portal stack, not a Discord problem anymore.&lt;br /&gt;
&lt;br /&gt;
==== ⚠️ Important reality check (no sugarcoating) ====&lt;br /&gt;
&lt;br /&gt;
On KDE Plasma Wayland, when you see this exact error, there are only two real outcomes:&lt;br /&gt;
# Spend hours/days rebuilding KDE + portals (often still flaky)&lt;br /&gt;
# Switch to Plasma X11 and be done in 2 minutes&lt;br /&gt;
&lt;br /&gt;
I’ll give you both, but I strongly recommend option 2.&lt;br /&gt;
&lt;br /&gt;
=== ✅ OPTION A — GUARANTEED FIX (recommended) ===&lt;br /&gt;
&lt;br /&gt;
===== Switch to Plasma X11 =====&lt;br /&gt;
&lt;br /&gt;
This is what many KDE users do quietly.&lt;br /&gt;
&lt;br /&gt;
===== How: =====&lt;br /&gt;
# Log out&lt;br /&gt;
# On the login screen, click Session&lt;br /&gt;
# Choose Plasma (X11) (NOT Wayland)&lt;br /&gt;
# Log in&lt;br /&gt;
# Open Discord (Flatpak or native)&lt;br /&gt;
# Start streaming → works immediately&lt;br /&gt;
&lt;br /&gt;
🎯 No flags&lt;br /&gt;
🎯 No portals&lt;br /&gt;
🎯 No hacks&lt;br /&gt;
&lt;br /&gt;
This will 100% fix your issue.&lt;br /&gt;
&lt;br /&gt;
=== 🧪 OPTION B — TRY to fix Wayland (NOT guaranteed) ===&lt;br /&gt;
&lt;br /&gt;
Only do this if you’re stubborn about Wayland.&lt;br /&gt;
&lt;br /&gt;
===== 1️⃣ Ensure ALL required packages exist =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S \&lt;br /&gt;
xdg-desktop-portal \&lt;br /&gt;
xdg-desktop-portal-kde \&lt;br /&gt;
pipewire \&lt;br /&gt;
wireplumber \&lt;br /&gt;
plasma-wayland-session&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2️⃣ Force KDE portal backend =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;echo &amp;quot;XDG_CURRENT_DESKTOP=KDE&amp;quot; | sudo tee /etc/environment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Log out &amp;amp; log back in (Wayland).&lt;br /&gt;
&lt;br /&gt;
===== 3️⃣ Deep reset (again) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;systemctl --user stop xdg-desktop-portal xdg-desktop-portal-kde pipewire wireplumber&lt;br /&gt;
rm -rf ~/.cache/xdg-desktop-portal ~/.config/xdg-desktop-portal&lt;br /&gt;
systemctl --user start pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-kde&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Re-test:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ScreenCast&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it still errors → Wayland is a dead end here.&lt;br /&gt;
&lt;br /&gt;
==== 🧠 Final, honest verdict ====&lt;br /&gt;
* Your hardware is fine&lt;br /&gt;
* Your OS is fine&lt;br /&gt;
* Your Discord installs are fine&lt;br /&gt;
* KDE Wayland ScreenCast is broken on your system&lt;br /&gt;
* This is a known Plasma weakness, not user error&lt;br /&gt;
&lt;br /&gt;
If your goal is “I just want to stream”, then Plasma X11 is the correct choice right now.&lt;br /&gt;
&lt;br /&gt;
===== Tell me: =====&lt;br /&gt;
* Are you willing to switch to Plasma X11?&lt;br /&gt;
* Or do you want to keep Wayland at all costs?&lt;br /&gt;
&lt;br /&gt;
I’ll guide you cleanly either way — but now you know the truth.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ChatGPT Shares]]&lt;br /&gt;
[[Category:openai]]&lt;/div&gt;</summary>
		<author><name>Lukegao</name></author>
	</entry>
</feed>