#🖥-vesktop-development

1 messages · Page 24 of 1

next sundial
#

for example, refuse to install or require the user to install X package before installing Vesktop

vernal lintel
#

yes but we don't need any dependencies

next sundial
#

only libunity for the notification badge

#

but not a hard dependency

simple groveBOT
#

Catalina is no longer supported by Apple and Chromium officially dropped support for it now. 1.5.4 updates to the latest chromium version so as a consequence it also drops Catalina support

https://www.electronjs.org/docs/latest/breaking-changes#removed-macos-1015-support

You should really consider updating your system.

For now, you can keep using 1.5.3 or build from source and downgrade electron to v32: Run...

#

This is an issue with Ubuntu 24

You can work around it by running sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0. Or try some of the other solutions in this thread

There is nothing to do from our side except wait til electron-builder releases a fix and make a new release

Blame ubuntu (see how many different apps mention the below electron issue lol)

See also https://github.com/electron/electron/issues/41066

tidal quarry
#

well I'm pretty sure its the last os for some macs and its not really that commonly used anymore

people can just use opencore legacy patcher to upgrade their macs to newer versions anyway

#

Personally I wouldn't really care about support unless its for something like the vencord installer

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
hot juniper
#

oh

simple groveBOT
humble mortar
#

@vernal lintel what's happening with the icon pr 😭😭

simple groveBOT
humble mortar
#

I love not posting logs

simple groveBOT
#

I'd also like to say I have this issue, and I'm running an effectively unmodified Linux Mint Xfce installation. The only thing I could have messed up should be my graphics drivers, but the issue existed before that muck-up.

Using Vesktop without noise suppression, same as Discord, makes my microphone sound terrible to all the people I talk to. Turning on noise suppression brings it close to the original non-suppressed quality of the regular Discord client. Let me know what information I ca...

simple groveBOT
simple groveBOT
#

Better yet, rather than fully disabling this safety feature, it can be toggled only for Vesktop.

In order to do that, one only needs to create a opt.Vektop.vesktop file under /etc/apparmor.d/, include the following:

abi <abi/4.0>,

include <tunables/global>

/opt/Vesktop/vesktop flags=(default_allow) {
  userns,

  include if exists <local/opt.Vesktop.vesktop>
}

A reboot should apply the changes, but also running `apparmor_parser -r /etc/apparmor.d/opt.Vesktop.ves...

simple groveBOT
#

image
Funnily enough, i went to double-check the logs to make sure the issue still persists, but this time they are different, no longer throwing the "Uncaught DOMException", as outlined in the original post on this issue. Anyway here they are, hope this helps somehow

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at VencordDesk...
simple groveBOT
humble mortar
simple groveBOT
simple groveBOT
#

Discord Account

skeletonek

Operating System

Arch Linux

Linux Only ~ Desktop Environment

KDE Plasma 6.2

Package Type

AppImage

What happens when the bug or crash occurs?

Users on official discord client are seing weird color artifacts and a very low stream quality

Screenshot from my friend when I (on Vesktop) was streaming Serious Sam: Siberian Mayhem to him

image

Comparison...

simple groveBOT
#

Discord Account

coroa42

Motivation

I use a couple of programming and modelling related servers, where screen sharing is used to stare together at slides and vscode windows. On those servers, and for me even in general, i don't care about frame rates but always about a high resolution.

Solution

The default discord client (at least on X11) introduced a "Better Text Readability" stream quality setting that is also available without Nitro (see image below). They then use a 5 ...

simple groveBOT
#

Discord Account

sphirye

Operating System

Fedora 41

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

RPM

What happens when the bug or crash occurs?

It doesn't load my previous session, i have to login each time i open Vesktop.

What is the expected behaviour?

I expect Vesktop to remember my discord session and automatically login as usual.

How do you recreate this bug or crash?

  1. Restart or just log out from gnome WHILE having Vesktop open...
simple groveBOT
#

Discord Account

ryleu

Operating System

Fedora Workstation 41

Linux Only ~ Desktop Environment

Sway

Package Type

Flatpak

What happens when the bug or crash occurs?

The crash occurs when I cancel the screen picker with esc after pressing go live.

What is the expected behaviour?

It should gracefully handle not getting an output to go live from.

How do you recreate this bug or crash?

  1. Use sway with slurp as your screen picker
  2. Press the go live butt...
simple groveBOT
#

Discord Account

korbosoft

Operating System

Windows 7

Linux Only ~ Desktop Environment

No response

Package Type

Installer

What happens when the bug or crash occurs?

Despite Vesktop requiring Windows 10+, the installer asks for Windows 7+ instead.

What is the expected behaviour?

Vesktop's installer should probably check for Windows 10 and up, to match with Vesktop's requirements (so you can't install Vesktop on a version too old for it to even run)

How ...

teal stump
#

of course im the one to find this issue

simple groveBOT
#

Same issue on Archlinux with amd GPU on hyprland. doesn't seem to be an issue with my encoding though as im able to stream to the web client, official discord linux client, and vesktop on windows just fine, only the official windows client has artifacting when receiving the stream. probably still upstream but seems to be an issue with the receiving client, not the stream itself

simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

No response

Motivation

I was hoping to type this up real quickly, So. Base chromium has features to use smooth scrolling with any app toggling the flag itself, So I was thinking maybe a toggle in vesktop itself would be possible to add.

Solution

Have electron launch with smooth scrolling enabled for the client! Or make it a toggle that turns on next launch and every launch after.

Alternatives

Just, Not add the change.

But i was really hoping to be ...

simple groveBOT
#

Discord Account

No response

Operating System

Fedora 40

Linux Only ~ Desktop Environment

Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

App just never starts

What is the expected behaviour?

Run

How do you recreate this bug or crash?

  1. flatpak run dev.vencord.Vesktop
  2. crash

Debug Logs

djkato@worktop ~/> flatpak run dev.vencord.Vesktop
Wayland socket is available, running natively on Wayland.
To disable, remov...
simple groveBOT
teal stump
simple groveBOT
simple groveBOT
#

Discord Account

No response

Operating System

Linux

Linux Only ~ Desktop Environment

Sway

Package Type

pipewire wireplumber xdg-desktop-wlr xdg-desktop-portal mesa

What happens when the bug or crash occurs?

Stream is unviewable

What is the expected behaviour?

I expect discord to stream and be viewable for others.

Actual result:
Others see an infinite loading screen, or the stream is garbled mess of black and white with some visible screen elements.

O...

simple groveBOT
simple groveBOT
#

Have the same issue as you but my has been closed (https://github.com/Vencord/Vesktop/issues/997)
I am having the same error in console regarding va-api drivers on my Arch Linux system (Mesa 24.3.1)

I've checked running Vesktop 1.5.4 Appimage through distrobox running Ubuntu Noble with Mesa 24.0.9 and the stream seems to be working properly there. Running natively on arch is causing the stream to be super dark for the viewers of official discord client

simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

thatgreenpie

Operating System

Windows 11

Linux Only ~ Desktop Environment

No response

Package Type

Setup.exe

What happens when the bug or crash occurs?

Everytime I turn on or restart my computer, I get logged out of discord and vesktop then requests a security key/passkey despite never having used or set one.

What is the expected behaviour?

I expect Vesktop to not log me out everytime I boot my PC

How do you recreate this bug or crash?...

hot juniper
# simple grove

omg when will NoDevtoolsWarning just be enabled by default on vesktop

cyan flame
#

There’s also just a few plug-ins that should be enabled by default

hot juniper
#

but it probably does

hot juniper
cyan flame
hot juniper
cyan flame
hot juniper
#

even if it was decided it should not be marked as required, maybe a special "you should enable this" could be shown when trying to add custom CSS

simple groveBOT
#

Discord Account

No response

Operating System

Manjaro Linux

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

After I open the app, I can't resize it anymore, I can only maximize it and umaximize it with the header/title bar.

This issue appeared after updating to the latest version.

See video of the issue:

https://github.com/user-attachments/assets/a71ea32e-df23-4f55-9605-d0fb8b37b056

#...

simple groveBOT
simple groveBOT
worn harness
#

vesktop xdg portals when

#

@grizzled hemlock make it happen

#

i hate gtk file picker so mmuch

humble mortar
#

34 has that change reverted

#

but 34 is still in beta sooo

humble mortar
#

build your vesktop on 34 beta bwaa

grizzled hemlock
simple groveBOT
#

I'm using wayland and the issue is present there so it's not only X11
I'm wondering if this is connected to the mesa driver / va-api version.

Arch

vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 24.3.1-arch1.3 for AMD Radeon RX 6600 (radeonsi, navi23, LLVM 18.1.8, DRM 3.59, 6.12.4-arch1-1)

Ubuntu Noble via Distrobox

vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9-0ubuntu0.3 for AMD...
#

Interesting observation though the 2.22.0 version of libva was released back in July and this issue didn't start until a few days ago for me. (should note that i also use Arch which does line up with the issue being persistent on mostly Arch systems). Either way like I said I tried a different discord client (GoofCord) and screensharing seemed to work fine so maybe that's a clue. Could do more poking around tomorrow with different scenarios if no one has any more clues by then

simple groveBOT
#

@yllekz I don't know the specifics of that package, but I think it only works with the (now deprecated) Unity desktop environment and KDE Plasma.

https://repology.org/project/libunity/information says "Library for integrating with Unity and Plasma".

Linux Mint uses Cinnamon, which is based on GNOME, so it probably doesn't work there.
I don't know if it works on upstream GNOME with libunity installed.

next sundial
#

does libunity work on normal GNOME?

humble mortar
#

yes gnome has badges

next sundial
#

🤔

#

if it works on normal GNOME, it should also work on Linux Mint

#

weird

#

oh

#

they are using the flatpak version

#

hmm

#

probably libunity needs to exist inside the freekdestop platform libraries?

humble mortar
#

the flatpak would need the correct dbus points enabled for it

simple groveBOT
next sundial
#

yep

#

I was reading about that now

#

I've deleted my previous comment

humble mortar
#

libunity doesnt need to be in the flatpak

next sundial
#

to fix the issue the flatpak manifest would have to be changed

humble mortar
#

just the dbus points

#

"--talk-name=com.canonical.AppMenu.Registrar",
"--talk-name=com.canonical.indicator.application",
"--talk-name=com.canonical.Unity",

next sundial
#

hmm, are you sure about that?

humble mortar
#

yes

next sundial
#

fine then

#

I'll create a PR to change the manifest to add that

humble mortar
#

test it before you pr

next sundial
#

sure

humble mortar
#

its pointless anyway

#

since it requires a systemdep of libunity

next sundial
#

we can add the libunity paackage to the flatpak so we guarantee that

humble mortar
#

there is no libunity package on flatpak

#

its a systemdep

next sundial
#

yes, there isn't

#

but we can download the .tar.gz file and extract it

humble mortar
#

that is an insane thing to do for system badges

next sundial
#

💀

#

fair point

humble mortar
#

the proper solution is to emit the dbus signal

next sundial
#

yep I know that

#

Electron team = 💤

#

I will only have a look at the permissions

#

so it satisfies for now

humble mortar
next sundial
#

change of plans, discord won't allow me to create an alt account to test it

#

so I'll let the flatpak explode

simple groveBOT
#

If it's not fixable by Vesktop and it's an issue with something else, it'd be great to know where to post an issue up about it.

I don't know. It could be Chromium, Electron, Discord, your system, etc

It works flawlessly for me (rpm package on Fedora + Gnome (Wayland)) so it's definitely an issue specific to your systems

This is understandable. Thanks for the clarification nonetheless. My only guess is it's VA-API related since that's the error we're seeing popup. But yeah...

simple groveBOT
simple groveBOT
#

From what I checked VaapiVideoEncoder doesn't seem to work when checking chrome://gpu, it keeps saying Video Encode: Software only. Hardware acceleration disabled. But if you use AcceleratedVideoEncoder it does say Video Encode: Hardware accelerated.

I tried verifying if this actually does something, and when using nvtop it does show activity on the ENC section when using AcceleratedVideoEncoder but it doesn't when using VaapiVideoEncoder.

For debugging purposes I leave my...

humble mortar
#

electron 33 is chromium 130

#

they are insane

high sundial
#

but chromium is

humble mortar
#

do you have hardware accel enabled in vesktop settings

high sundial
high sundial
#

for me chromium flags are a black box, its much more easy to find firefox stuff than chromium on stuff about linux

simple groveBOT
high sundial
#

but still enabled

humble mortar
#

is someone actually watching your stream

high sundial
#

Yeah they were

#

I can make a recording, but sadly this is no longer development but support

#

we can move if u want

humble mortar
#

just play with the flags passed to vesktop.

humble mortar
high sundial
#

i agree its a pain

#

the least of chromium's priorities are linux support

#

i have a question, is it possible to open a new webview on vesktop to chrome://gpu? I tried location.href but it didnt like it and it crashed firL

#

its much better than debugging with streams

humble mortar
#

I'm like 90% sure those pages are disabled in electron

high sundial
#

funnily enough, they are not apparently

humble mortar
#

well it says hardware acceleration is working blobcatcozy

high sundial
#

yup

#

so i guess its a me issue or an older chromium issue

#

u said it was 130, right?

#

(well it says right there)

humble mortar
#

130 is relatively new

high sundial
#

i agree

#

there is still a chance that its an issue with my setup but why does it work on chromium then firT

humble mortar
high sundial
#

its 131 and i only did chromium --enable-features=AcceleratedVideoEncoder

#

$ chromium --version Chromium 131.0.6778.85

high sundial
#

my only reason for cam recording was to not make the enc on nvtop show lol

#

i also had to use multi pc setup as decoding shows as ENC also CatMeltTears

simple groveBOT
vernal lintel
#

i was thinking about adding some sort of developer tools to vesktop to open those windows

vernal lintel
#

shrimply mark as draft instead of closing

#

if we'll need it in the future

humble mortar
#

they didnt change the other two flags

simple groveBOT
high sundial
#

idk if the zero copy one fallbacks to simple on x11 environments or if it breaks stuff

hot juniper
#

actually this seems like the kind of thing that could be done relatively easily

simple groveBOT
hot juniper
#

where should the entry point(s) be?

simple groveBOT
hot juniper
#

vesktop settings?
about window?
window menu?
tray icon menu?

simple groveBOT
#

Discord Account

No response

Operating System

Fedora Linux 41 (Workstation Edition)

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

The crash occurs when starting Vesktop

What is the expected behaviour?

Should start Vesktop

How do you recreate this bug or crash?

See this issue also: https://github.com/flathub/dev.vencord.Vesktop/issues/40

  • OS Name: Fedora Linux 41 (Workstation Editi...
simple groveBOT
simple groveBOT
#

I can confirm that it was really due to the system configuration. More precisely, the integrated GPU. My CPU (i7-12700k) contains a graphics unit...

This led to this error. The error message was somewhat misleading.

Specifically, I had to change the following in the UEFI at MSI:

Disable IGD Multi-Monitor!

image
![image](https://github.com/user-attachments/assets/f9d8f7f4-7681-45c5-81a4-c96aa8b...

simple groveBOT
#

Discord Account

schweren.dev

Operating System

NixOS

Linux Only ~ Desktop Environment

KDE Plasma 6.2.4 on Wayland

Package Type

nixpkg, AppImage

What happens when the bug or crash occurs?

When using the ozone-platform-hint=auto command line argument, and having the Rich Presence feature enabled, Vesktop lags/stutters about every 5 seconds.

Here's a video demonstrating this: https://www.youtube.com/watch?v=YRhVis_xId8

What I found out so far:

  • The lags/s...
#

im gonna make a wild guess and say nixos isnt liking a process scanning /proc. arrpc does this every 5 seconds. https://github.com/OpenAsar/arrpc/blob/5aadc307cb9bf4479f0a12364a253b07a77ace22/src/process/index.js#L25

Good catch! I can try recreating this on another OS. If it's NixOS-related, I'll try to find out what exactly is causing this on NixOS.

simple groveBOT
#

im gonna make a wild guess and say nixos isnt liking a process scanning /proc. arrpc does this every 5 seconds. https://github.com/OpenAsar/arrpc/blob/5aadc307cb9bf4479f0a12364a253b07a77ace22/src/process/index.js#L25

I booted up a fresh installation of Fedora Workstation and started the Vesktop AppImage using the mentioned flag and with Rich Presence enabled. I am able to replicate the lag/stutter on the fresh installation.

simple groveBOT
#

I wrote some JavaScript code that can be used to detect the lags. Open up the dev tools using ctrl + shift + i and paste the following JavaScript:

function trackLags() {
  let diff = performance.now() - last;
  if (diff < 40) {
    console.log("<40ms since last frame");
  } else {
    let date = new Date();
    console.log(diff + "ms since last frame at " + date.toLocaleString("en-US"));
  }
  last = performance.now();
  if (measure) {
    window.requestAnimationFr...
simple groveBOT
#

do you have any discord themes / css? if yes, disable them and see if it's fixed

before reporting it anywhere, you should first see if you can reproduce this issue in normal chrome browser visiting discord.com/app

if yes, it's most likely something wrong with your system. you could file an issue in the chromium repo, but I don't really know anyone who has similar issues so it's likely not on their side

its probably not arrpc. if you want to check, you can disable rich presence in ves...

#

Thanks for the recommendations. As stated in my post above, I have already tried that, and yes, it does make a difference. It's arrpc. At this point, it's out of question that it's arrpc-related. And thus, it is not reproducable by just visiting discord.com/app.

I can try out using aarpc externally and disabling Vesktop's internal arrpc. This way, I could find out if it's arrpc or Vesktop's integration of arrpc.

simple groveBOT
#

Discord Account

No response

Operating System

Arch Linux

Linux Only ~ Desktop Environment

KDE Plasma 6.2.4 Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

Vesktop shows a GTK file picker (restricted to the Flatpak sandbox) instead of an XDG Portal file picker.

I believe this is not a system issue because other Flatpak programs show the correct file picker, as do non-Flatpak programs configured to use the portal. Downgrading Vesktop to t...

teal stump
# simple grove

@vernal lintel i might be able to do this myself, (depending if "wontfix" means "i will not fix" or "will not ever be fixed")

sour muralBOT
#

installer.nsh:

!macro preInit
 SetRegView 64
  WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\vesktop"
  WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\vesktop"
 SetRegView 32
  WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\vesktop"
  WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$LocalAppData\vesktop"
!macroend

vernal lintel
#

no one should be using windows 7 anymore

#

it's not supported

simple groveBOT
teal stump
#

im making it more clear it doesn't support it

vernal lintel
#

probably a bad idea

#

some people patch their win7 to support new chromium

#

idk if it would make them unable to install it

#

probably would

#

it's fine in its current state

#

if anything we could just add a note to the readme

teal stump
hot juniper
#

just have soft warning then?

vernal lintel
#

or nothing at all

simple groveBOT
#

will this work ??
const { ipcRenderer } = require('electron');

// When the stream starts
function onStreamStart() {
ipcRenderer.invoke('stream-started').then((id) => {
console.log('Stream started. Power saver blocker active.');
});
}

// When the stream stops
function onStreamStop() {
ipcRenderer.invoke('stream-stopped').then(() => {
console.log('Stream stopped. Power saver blocker deactivated.');
});
}

// Example usage with a video element
const videoElem...

teal stump
simple groveBOT
gentle hatch
humble mortar
# simple grove

once again someone is thinking this is implemented for existing sessions

simple groveBOT
#

This is NOT for an existing instance. At most it focuses the window like youre experiencing. This is for launching Vesktop from a closed state (not to tray!!!). Discord desktop had this identical behaviour.

arRPC handles existing instances via websockets. I'm assuming you have arrpc disabled since vesktop is not handling invites like you implied. I guess because of that case existing session support can be implemented?

humble mortar
#

@vernal lintel what do you think

simple groveBOT
humble mortar
#

did guy not understand what I said

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

.syrent

Operating System

6.12.4-arch1-1

Linux Only ~ Desktop Environment

Hyprland on Wayland

Package Type

installed from aur

What happens when the bug or crash occurs?

vesktop was working fine until i updated some packages. the day after that my friends couldn't see my screenshare anymore. after some troubleshooting, i noticed if i start the screenshare in Prefer Clarity type the screenshare does load, but it takes about 5 minutes to appear. and if...

simple groveBOT
simple groveBOT
#

This doesn't seem to be specific to hyprland, I can reproduce this issue on KDE Plasma and Gnome as well. Both X11 and Wayland.

edit: I'm also on Arch, and only noticed this after doing a system wide upgrade about a week ago, perhaps that is the culprit?

I was having the same problem until i switched to the flatpak version. In a different issue someone said downgrading Vesktop to 1.5.3 also worked. I'm on EndeavourOS + KDE btw, if that helps.

azure verge
#

^ something else to note about screenshares, ppl have been reporting to me at least, that my screenshares often like to "corrupt" or just have all of the colors get really messed up
sometimes the colors show negatives, sometimes it's nearly all black, etc.

simple groveBOT
azure verge
#

o egp_nod

#

jus wanted to make sure incase it was something i didnt know was a known problem or anything :3

#

ty :D

simple groveBOT
simple groveBOT
vernal lintel
#

it really sucks that the majority of issues are something in electron we can't do anything about

#

I love having to tell people I have no clue how to fix it ten times a day

#

it's so much nicer if it's actually something in your codebase so you can actually fix it / tell people how to fix it instead of being as clueless as they are

hot juniper
vernal lintel
#

maybe

#

but reporting bugs to chromium is insane

#

they have such a weird bug tracker

#

so i tell people to report it to electron cause then it's electron's problem and not our problem blobcatcozy

hot juniper
simple groveBOT
#

i’ve tested other programs like OBS, and they seem to work fine. However, when someone tries to watch my screenshare, it takes a few minutes for the stream to appear. if they close and reopen the screenshare, the delay happens again. it’s as if something on their end is preventing them from viewing the stream properly.

initially i thought it was an issue on their side, but i’ve tried it with multiple people, and they all experience the same problem.
not sure if this is helpful, but they a...

vernal lintel
#

yapping instead of reading replies

hot juniper
simple groveBOT
simple groveBOT
#

Discord Account

No response

Operating System

Arch 6.12.4-arch1-1

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

These bugs only seem to occur when the Vencord setting "Disable the window frame" is off (Default) and using the system window frame. I believe it only started happening within the last few days.

  • Can no longer use mouse dragging at window edges to resize the window. The mouse c...
azure verge
#

I mostly even brought up the streaming issues because I was hoping it was something I could fix but NOPE. bcaFedupUghh

simple groveBOT
simple groveBOT
simple groveBOT
#

I spent a lot of time trying to solve this issue and tested many solutions, but nothing worked until now. To save others some time, here's a list of what I tried:

  1. Downgrading the system's Electron from version 33 to 32 – no luck.
  2. Building Vesktop from source with Electron 32 – still didn't work.
  3. Tried every possible combination of xdg-desktop-portal – none of them helped.
  4. Switching Vesktop to Canary or PTB – also failed.
  5. Downgrading PipeWire to 1.2.4 – no impro...
simple groveBOT
#

Discord Account

hypeedev

Operating System

Arch Linux

Linux Only ~ Desktop Environment

Hyprland, Wayland

Package Type

AppImage 1.5.4

What happens when the bug or crash occurs?

The application gets stuck at the "Loading Vesktop..." screen. This occurs only if the module format in $HOME/package.json is set to "module", regardless of whether the app is launched through the app launcher or the terminal.

What is the expected behaviour?

The application starts nor...

simple groveBOT
simple groveBOT
#

Apologies for that screwup. I thought I was just going to quickly file a bug so it wouldn't be a problem that my hands are injured, then I screwed up and needed to re-file, the new github templates are all segmented which means I can't just copypaste the whole thing, and then there was another bug, and I had to re-file that too, it all just turned out to be a way bigger job than I had estimated, and I knew I had to throw in the towel when my right-click finger popped out of its socket :D "I'l...

vernal lintel
#

when my right click finger popped out of its socket
what 😭

#

also omg why didnt they just use voice input haha

hot juniper
#

instead as the audio share is made mono on discords server side anyways
does this occur on stock desktop client

upper pine
#

No, they use a windows only native module for sharing which also handles audio

#

With pipewire screen capture we could try and make a replacement module for it

#

I'm a little sparse on time lately but I might find the time to make such a module eventually

vernal lintel
#

recently

#

linux app now has working audio + wayland support

upper pine
#

Ah nice, does that audio also get mixed down to mono?

vernal lintel
#

idk

#

i didnt try

#

probably doesnt

#

considering their desktop app uses the udp protocol which doesnt have the downmixing

upper pine
#

I'd reckon if they don't use a native module but the chromium thingy

vernal lintel
#

i dont think they do? how would they support audio

upper pine
#

If they use a native module we could include it in vesktop

#

Or I can figure out how it works an make Venmic work with that

vernal lintel
#

copyright infringement

upper pine
#

Make the user copy it :P

vernal lintel
#

unless you wanna like make people install discord and load it from their files

#

but that's insane 😭

upper pine
#

If I find the time to look at it I can check how their module works and just pump venmic audio through it

vernal lintel
#

it's quite complex

#

and has encryption too

#

people have been working on remakes

#

in c++ and rust

#

it definitely wouldn't be worth it to remake imo cause at that point you should just use the normal app

upper pine
vernal lintel
#

but if you want a fun project sure xD

upper pine
#

Yeah fair point

upper pine
#

Will keep it on my to-dos though

simple groveBOT
#

so what do I do? I can't resize Vesktop from any source I install it from, both flatpak and aur packages have this issue

They won't bother replying... I have the same issue for more than a week but hey they'll keep closing issues without proper solutions like always... and flag as duplicate any other.

Good luck that's all... Maybe if discord gets less annoying I'll move back to the official client. I use Vesktop only cause it had better Linux support but seems that it will not be the ...

#

I don't have a solution. It's your system, not mine. Rendering and window management are done by Electron / Chromium and resizing itself is done by your window manager. Vesktop has 0 control over any of this behaviour. I have no clue what is wrong or how to fix it

I really don't know what you expect me to do. Yes, i will keep closing system / upstream issues like this without comment because I simply do not have anything to comment. I know as little as you, do your own research. Look it up...

simple groveBOT
humble mortar
#

LMAO

simple groveBOT
#

so what do I do? I can't resize Vesktop from any source I install it from, both flatpak and aur packages have this issue

They won't bother replying... I have the same issue for more than a week but hey they'll keep closing issues without proper solutions like always... and flag as duplicate any other.

Good luck that's all... Maybe if discord gets less annoying I'll move back to the official client. I use Vesktop only cause it had better Linux support but seems that it will n...

humble mortar
#

the worms in my head making me type a billion words of complaint instead of 4 words into google.com and clicking the top result

simple groveBOT
#

You could have used that time you spent typing that unnecessary comment googling your issue instead. Seriously quit being so entitled and cocky

You know me and him as average users and not developers, we use your app, we see that something is broken in your app and we report the issue, but since we don't know the specifics of what's going on because we are not developers, since we saw the issue on your app we report it the github of your app, it's that simple.

Instead of closing issue...

hot juniper
woeful current
hot juniper
simple groveBOT
simple groveBOT
humble mortar
#

are they even building the branch

simple groveBOT
#

You obviously misunderstand how to test this PR and the URI one.
Firstly this PR has nothing to do with the uri discord:// so I'm confused as to why youre attempting it here. It will NOT do ANYTHING when running a build from this branch.
Secondly pressing open in web will not do anything if you didnt build and run from this branch. I will not be providing support for such things as youre expected to be able to do so yourself when testing in development features.

humble mortar
#

look at this idiot yapping

simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

No response

Motivation

I like everything in an app's UI to be just so, especially if I use the app for hours every day. Discord's official zoom levels are satisfying to me in terms of the list of servers fitting neatly in the available space, such that there are no partial server icons. Discord does this by defining zoom levels. Vesktop doesn't have the zoom levels defined in the settings UI or internally. So when you zoom in or out, it appears to go by 10% every ...

simple groveBOT
simple groveBOT
hot juniper
humble mortar
hot juniper
#

i still don't get why vesktop wants to reimplement a lot of discord settings in its own page though

#

i think i tried to port some of them to stock settings locations at one point

humble mortar
#

less patches that might break

hot juniper
#

good point

simple groveBOT
#

Discord Account

shithad

Operating System

Windows 10

Linux Only ~ Desktop Environment

No response

Package Type

Setup exe

What happens when the bug or crash occurs?

Loading Vesktop just gives a box with a white screen. There is no tray icon either. Have tried restarting PC and reinstalling Vesktop.
image

What is the expected behaviour?

For Vesktop to load and open to my ho...

simple groveBOT
simple groveBOT
#

I spent a lot of time trying to solve this issue and tested many solutions, but nothing worked until now. To save others some time, here's a list of what I tried:

  1. Downgrading the system's Electron from version 33 to 32 – no luck.
  2. Building Vesktop from source with Electron 32 – still didn't work.
  3. Tried every possible combination of xdg-desktop-portal – none of them helped.
  4. Switching Vesktop to Canary or PTB – also failed.
  5. Downgrading PipeWire to 1.2.4 – no...
simple groveBOT
simple groveBOT
#

Discord Account

wxagames

Operating System

Nobara 40

Linux Only ~ Desktop Environment

Plasma on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

When Vesktop starts, it defaults to my primary screen, even though I've moved it to my other monitor. This was not an issue with vanilla Discord, BetterDiscord or Vencord.

What is the expected behaviour?

I expect Vesktop to boot on the same monitor it was closed on.

How do you recreate thi...

simple groveBOT
livid gulch
# simple grove

What a convenience lol. Was gonna ask if I could PR a good temporary fix for this. Could still do it if it is wanted but not required/needed

vernal lintel
#

isnt the problerm that wayland doesnt give u control

livid gulch
#

Oh didnt think about that

livid gulch
#

I mean a temporary somewhat of a fix could be just place it in full screen on the monitor it was closed at the last time

humble mortar
livid gulch
#

How so?

humble mortar
#

forcing spawning as full screen is terrible

#

you want it spawned in a specific location not full screen

livid gulch
#

If the user had it closed as fullscreen on my second monitor I would want it to start it as that. So was thinking of it more as "if the user has specified as fullscreen"

humble mortar
#

that already works?

livid gulch
#

Nope 😔

#

It always starts for me in fullscreen on my primary monitor

humble mortar
#

you can't request the monitor

#

use a window rule for that

livid gulch
#

I am guessing display and monitor is the same

#

Only problem is I can't find any api references for this in the Wayland API

humble mortar
#

oh interesting

#

mpv --player-operation-mode=pseudo-gui --fs --fs-screen=2

#

works

#

so ig it is a thing?

livid gulch
#

That could be used for a solution to have it be on a specific monitor on start up

#

If the API for it can be figured out lol

humble mortar
#

itd be a toolkit thing

#

look at gtk

livid gulch
#

I'll do it tomorrow

livid gulch
humble mortar
#

despair

livid gulch
#

Scuffed for a reason

humble mortar
#

leave it for electron to figure out 😭

livid gulch
#

I have 0 patience :trol:

humble mortar
#

literally just use window rules

#

sooo much simpler

livid gulch
#

the 5 first results on Google: is broken on KDE, great

humble mortar
#

whar

#

im on kde and window rules work just fine

livid gulch
#

I'll check tomorrow and see it. Never heard it before

#

Otherwise I'll do a PR or maintain a fork until electron has figured it out 👍

humble mortar
#

or just run xwayland 💀

livid gulch
#

No fun with that /hj

simple groveBOT
livid gulch
#

@vernal lintel it's a Wayland issue in the way that is "Wayland is not made this way"

#

Wayland was made for windows to only be able to interact with anything inside of itself and nothing outside of itself. So according to a lot of people this will never be resolved as Wayland was simply not made for it or smth along those lines

#

So you can probably p confidentially say it will not be fixed upstream cause it just isn't wayland (tho don't take my words for this)

hot juniper
#

vesktop maintaining its own electron fork when

woeful current
simple groveBOT
#

Can confirm that this issue is occurring (in some form) on Arch with both Hyprland and Xfce (X11), with the aur packages vesktop-bin, vesktop-electron, and the flatpak package.

It seems to manifest as streams taking ages to load for viewers (but thumbnails load with no problem?), and when they do load they are usually just a black screen, or have very strange colours (example below).

image

simple groveBOT
#

Discord Account

ryzm

Operating System

Macos 15.2

Linux Only ~ Desktop Environment

No response

Package Type

DMG

What happens when the bug or crash occurs?

Screenshot 2024-12-23 at 14 38 20

What is the expected behaviour?

It Should just open like normal.

How do you recreate this bug or crash?

I dont really know i just downloaded it and then it wont load so i checked t...

simple groveBOT
simple groveBOT
hot juniper
# woeful current vesktopOS

i mean in the past week i've considered adding a plugin to vencord to show my public transport card balance as a joke

simple groveBOT
#

Hey, I've also built with this since my notification badge doesn't work without this PR. I've also ran into @RealSweetPanda's problem (and I'm on Plasma), in which one of my dbus-broker processes reaches its max file descriptor limit (1024) then it crashes and so does everything on my pc. It seems every single call to dbus.sessionBus() opens a connection that's never closed.

I think I managed to fix it on my machine (didn't test for too long, but seems to work and not leave too many conn...

simple groveBOT
#

Discord Account

No response

Operating System

Arch

Linux Only ~ Desktop Environment

hyprland

Package Type

Flatpak/and i tried yay

What happens when the bug or crash occurs?

when i press on share screen button

What is the expected behaviour?

.

How do you recreate this bug or crash?

  1. open vesktop 2.join voice chat 3.press on "Share Your Screen" 4.crash

Debug Logs

➜ ~ flatpak run dev.vencord.Vesktop
Using NVIDIA on Wayland,...

sudden trout
#

least obvious unconfigured portal moment

simple groveBOT
simple groveBOT
vernal lintel
#

why is that not a dependency of hyprland blbctscrd

sudden trout
#

it should be?

humble mortar
#

its not even optional

#

lmao

simple groveBOT
#

Discord Account

No response

Operating System

Windows 11

Linux Only ~ Desktop Environment

No response

Package Type

exe

What happens when the bug or crash occurs?

no crash, but around 2-3 weeks i have the issue - No one input output devices detecked by the app
sometimes i just wait for some time (devices are randomly detected)

tried official app, there is fine
tried reinstall app completely, reset all settings, nothing work
![Vesktop_CWchJVe4jQ](https://g...

simple groveBOT
#

@Michael-B8 can you lmk if that fixed it.

Yep, doesn't seem to create any extra connections anymore. Thanks :)

If you're curious how I went about checking, I got the pid of the main vesktop process pgrep vestkop -a (or electron), then checked the pid of every dbus-broker pgrep dbus-broker for vesktop opened files sudo lsof -p <pid_dbus> | grep <pid_vesktop>. And when I found the one that has opened files I message my discord account to trigger a notification badge update and che...

gentle hatch
#

vestkop ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

simple groveBOT
sly cairn
#

because the PR author still hasnt tested

#

im not going to keep chasing them up, i asked for a test status and if they havent given a result i cant do anything with it

#

i will chase them up one last time because im aware this is wanted but if i get no response i cant merge it

simple groveBOT
bleak spire
#

I wonder if it would be possible to change it with the option that applies themes to that window

woeful current
#

only thing this does is take background color and save it

#

the theme itself isn’t really applied

humble mortar
#

instead of all that bloat in that pr just have it pull from a css var a URL or file path then load that blobcatcozy

simple groveBOT
sly cairn
#

for transparency i have blocked them for 1 day from the org, many people receive emails for these comments and posting them is useless. they're being hidden because they add nothing to the PR, and the promotion of a fork is not productive. this isn't about being juvenile or hiding things that we don't like, this is us trying to actually work, and we're still waiting for the PR author to confirm things. behave yourselves.

#

you are free to use equibop or any other forks of vencord/vesktop, but please stop bringing them up here and promoting them because we, the developers of the base software, cannot support it

vernal lintel
#

1 day erm

sly cairn
#

you wanna bump it up?

vernal lintel
#

yes. i blocked them permanently

sly cairn
#

ah

vernal lintel
#

why are you being nice to trolls and assholes lol

sly cairn
#

benefit of doubt

#

that maybe they can be good people

vernal lintel
#

it's obvious they're just here to be a cunt and never gonna contribute anything productive

sly cairn
#

fair enough

woeful current
simple groveBOT
cyan flame
#

it makes me mad because no matter how much we say and try to drill it into their heads they still do stuff like this

simple groveBOT
#

Discord Account

mazeymoos0022

Operating System

Windows 11

Linux Only ~ Desktop Environment

No response

Package Type

Setup EXE (Installer)

What happens when the bug or crash occurs?

Title explains it all, I click the app, not opening. Just get this white box. Using version 1.5.4 (latest). Tried reinstalling and also restarting my machine... Still no luck. Been working fine on v1.5.3
![image](https://github.com/user-attachments/assets/bf459a62-74bc-4b52-85f7-1986...

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
hot juniper
#

this channel is hell

#

why it always gotta be

  • people who should go to #🏥-vencord-support-🏥
  • gpu issue (chromium moment)
  • something broke with screenshare (probably chromium if not probably venmic issue instead)
  • i dont like rainbow icon (and it's always because it's rainbow and not because of an actual complaint in which case just edit the desktop file)
simple groveBOT
humble mortar
simple groveBOT
#

Discord Account

No response

Operating System

Arch Linux

Linux Only ~ Desktop Environment

KDE on Wayland

Package Type

AppImage (official) and RPM (from AUR)

What happens when the bug or crash occurs?

When screensharing, the CPU usage of electron increases during the stream
It takes like 8h for me to reach 100% CPU usage but it does exist.

I suspect this to be an electron upstream issue but I can't be sure.

I have an AMD 7800XT and this happens with or with...

simple groveBOT
simple groveBOT
simple groveBOT
vernal lintel
simple groveBOT
humble mortar
#

48000 is the default for pipewire so prob some bad assumption in a library somewhere

sudden trout
upper pine
#

I can't know what sample rate other programs have so I also can't downsample it to the expected rate

#

Just a bad idea to change the sample rate if you don't know that the applications on your systems can handle it

vernal lintel
#

hmm

hybrid fjord
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

lis314

Motivation

Currently you can pass --proxy-server=\ to tell electron to use socks5/http proxy on linux, however this breaks WebRTC, preventing you from joining any voice channels. This prevents using discord in countries where it's blocked, for example Russia.

Solution

There are implementations of passing WebRTC through proxy for windows client of Discord (Pascal/c++, [c++](https://github.com/runetfreedom/disc...

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
grizzled hemlock
woeful current
humble mortar
#

nin0chat has terrible uptime I'm selling all my stock in nin0corp

simple groveBOT
simple groveBOT
#

I just had this issue after restarting my PC from a crash. The only logs I could find were in %appdata%/vesktop/sessionData/Session Storage. The 000003.log file contained this:

namespace-©&f            

And the LOG file contained this:

2024/12/31-11:28:57.897 2134 Reusing MANIFEST C:\Users\Kamil\AppData\Roaming\vesktop\sessionData\Session Storage/MANIFEST-000001

That's it. I renamed the "vesktop" folder to "_vesktop", relaunched Ves...

simple groveBOT
vernal lintel
#

i hate how every new electron version not only improves 5 things but also adds 3 more bugs and linux issues 😭

quasi spear
#

Hi. Does the discord's game sdk's RPC work for you on Vesktop linux?
Upon starting my program on linux, which works on macos with vesktop just fine, it says that f.kio.core: "/var/home/neo/.local/share/flatpak/exports/share/applications/com.discordapp.Discord.desktop" contains supported protocols but doesn't use %u or %U in its Exec line! This is inconsistent.
it works with the official discord client opened, but does not with vesktop.
It was mentioned in another channel that vesktop does not support RPC, tbh I am not sure how does the Discord GameSDK work precisely, but why would it work on macos and not on linux, then?

quasi spear
#

Well the issue could be that since I am using discord's proprietary libraries it tries to indentify whether or not there is discord's official client RPC server listening. There is not, because Vesktop uses arRPC (obviously) and immidiatelly terminates with this error. It is one of the possibilities, but doesn't explain why it works on macos - it could be that the SDK for mac (aarch64) and linux (x86_64) differs in this specific case. Which would be strange, but if it would not terminate the arRPC server would capture even the proprietary discord RPC (I believe)

humble mortar
#

the error is pretty self explanatory

#

idk if flatpak is shipping a broken desktop file or something modified it but yeah

quasi spear
humble mortar
#

the desktop file has an x-scheme-handler defined but doesnf have %u in the exec line

#

%u is a placeholder that would contain the data from the scheme

#

open an issue there

quasi spear
#

The issue happens with Vesktop, though, not discord's client

humble mortar
vernal lintel
humble mortar
quasi spear
humble mortar
#

vesktop supports game rpc

vernal lintel
#

vesktop supports rpc via websocket or unix socket via arrpc

humble mortar
#

your program is calling xdg-open and is exiting cause of that error

vernal lintel
#

but thats different from launching protocol

#

why r u even calling protocl is that even part of discord_rpc

humble mortar
#

nop

quasi spear
sour muralBOT
humble mortar
#

¯_(ツ)_/¯

#

fix the .desktop by adding the %u or remove the scheme handler entry so it silently fails

#

I guess it's calling that so the client automatically opens or something??

vernal lintel
#

vesktop is built on top of [...]
what?

quasi spear
#

It was just a misunderstanding from my side 😅

quasi spear
humble mortar
#

that error log you see is with the discord Flatpak

#

the file path is the flatpak's desktop

#

either way I assume youre doing something wrong initializing the SDK as every other implementation ive seen use it doesnt have this behaviour

quasi spear
hybrid fjord
#

Happy new year guys!!

quasi spear
#

happy new year

simple groveBOT
#

https://github.com/user-attachments/assets/c32c1d14-6f3f-46c4-8cb1-4fb1ec69d64f

As you can see, the first test is from Vesktop (vesktop-bin AUR, 1.5.4-2) and as you can see on my phone (official discord client from play store), it has some weird color artifact.
This issue doesn't seem to happen at all when screensharing from Firefox (133.0.3-2, pacman).

The same issue occur when using a camera.

simple groveBOT
#

Discord Account

No response

Operating System

Debian 12

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

deb

What happens when the bug or crash occurs?

After downloading your app, I noticed something wrong - there is an LGBT flag on the app icon. I hope you'll fix it.

What is the expected behaviour?

Just normal icon

How do you recreate this bug or crash?

  1. Install application

Debug Logs

Replace this text with your crash-log. ...
humble mortar
simple groveBOT
#

please provide logs

Just adding my file from C:\Users\MIKI\AppData\Roaming\vesktop\sessionData\Session Storage (Windows 11)
000004.log

For other logs, can you please verify the location of where these are stored? I can find them, I just need to know where they are saved to. Also to add I have Vencord on the canary branch of Discord if this is somehow interfearing. (extra info, might not be needed but may be useful, idk)

simple groveBOT
simple groveBOT
#

Discord Account

barrsan

Operating System

Arch Linux

Linux Only ~ Desktop Environment

KDE Wayland

Package Type

Flatpak, and AUR (Extracted from RPM)

What happens when the bug or crash occurs?

I noticed this when I turn on my camera and also screen sharing, and one of my friend said why it have those weird color and it's blurry. Then I started to investigate further.

The weird color artifact only occur when screensharing 1440p / 2k resolution with "Prefer Smoothn...

simple groveBOT
#

Discord Account

No response

Motivation

I think it would be useful if changes to the stream settings were persistent. By default, the resolution is 720p, the frame rate is 30fps, and the content type is 'prefer smoothness'. Also the audio stream is set to None. I basically always change these settings and I have to change them everytime a new stream is started. For extra info, I am running the linux client.
![image](https://github.com/user-attachments/assets/0d521e1e-14b0-4066-9d...

simple groveBOT
#

Discord Account

moonteg

Operating System

Windows 11

Linux Only ~ Desktop Environment

No response

Package Type

Not sure to understand what it is, basic one soo Setup.exe ?

What happens when the bug or crash occurs?

When I stream a game, my friends can hear the game correctly but they also hear themselves.

What is the expected behaviour?

It is expected, when streaming a game, to have other people hearing the game's sound but not themselves.

How do you r...

simple groveBOT
humble mortar
#

I'm gonna lose it

simple groveBOT
sudden trout
#

what the fuck

humble mortar
#

literally huhh

humble mortar
sly cairn
#

sec

woeful current
woeful current
sly cairn
#

reported and bannedf

humble mortar
#

I was gonna report but github couldn't figure out mobile formatting 😭

#

you are unsane

carmine drum
#

they did it there too

sly cairn
#

vee needs to do that

carmine drum
#

oh shit yeah not an org

#

one downside of having it separate 😭

sly cairn
#

yeah this is why i really dont like vencord being separate from the org because our org settings dont apply

#

i get why vee wants it like that but its really annoying at times

#
  • we cant cross-transfer issues between main and subrepos
simple groveBOT
simple groveBOT
#

Discord Account

No response

Motivation

Hello!! Well, I noticed that the Arrpc built into the Vesktop stable doesn't detect a vast majority of my games.
So I started using the PR, unfortunately not yet merged in Arrpc, and I disabled the rich presence of vesktop itself and used the Rich presence plugin from vencord and all games are recognized.

Solution

Use Justsnoopy30:linux-detection-fixes and update g...

vernal lintel
#

you can fetch that instead

#

see how the desktop client does it

#

but I think ducko said in the past that they don't want to dynamically fetch it

#

we really should just make our own thing, preferably natively so we can stop with the horrid shell sub processes

humble mortar
humble mortar
#

maybe for now we have a fork with some of the changes we'd prefer

#

could do proper streamer mode stuff with that too

#

I wonder if theres existing native implementations

humble mortar
#

and one in python

#

rust seems so overkill for something like this though

vernal lintel
#

how

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

No response

Operating System

fedora 41

Linux Only ~ Desktop Environment

gnome 45

Package Type

flatpack or RPM

What happens when the bug or crash occurs?

when sharing a screen with sound, pausing a youtube or other video cuts off the sound in the stream when resuming,
the bug also occurs randomly when I haven't opened or used any other software.

What is the expected behaviour?

I'd like to avoid random sound cuts in the stream

How do ...

simple groveBOT
simple groveBOT
#

Discord Account

naczo.

Operating System

Windows 11

Linux Only ~ Desktop Environment

No response

Package Type

Setup exe

What happens when the bug or crash occurs?

If I have 2 accounts logged in in my discord app, when I put my pc to sleep for a while I come back to this screen. When i restart the app I am logged out from one of the accounts, that i was using at that moment.
image...

simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

No response

Operating System

Ultramarine Linux 41

Linux Only ~ Desktop Environment

KDE Plasma 6.2.5 Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

closing vesktop via normal means, like pressing the close window control or using my window manager's close window shortcut, doesn't allow vesktop to reopen at all. running it from the terminal spits out Vesktop is already running. Quitting..., which is not true. there is no ...

#

Alternatively, if you don't want the background behaviour at all, disable it in the Vesktop settings.

which i already did, months ago. i've always had the tray icon disabled. vesktop is completely closed, as i said in the issue. there is no tray icon, no running process, and logging out of my entire system and logging back in still does not allow vesktop to open. this is a bug, and it's only recently started happening.

#

Discord Account

No response

Operating System

Ultramarine Linux 41

Linux Only ~ Desktop Environment

KDE Plasma 6.2.5 Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

i'm making a whole new issue with the same contents as my previous one because the bug was immediately swept under the rug as intentional behaviour, which is incredibly frustrating and offensive because it obviously isn't. i repeat myself, *vesktop is not running in any way sha...

humble mortar
#

what the hell is ultramarine linux

simple groveBOT
#

your error [3:0105/154138.148852:ERROR:process_singleton_posix.cc(1138)] Failed to create socket directory. means Electron failed to create the file:

// Create the socket file somewhere in /tmp which is usually mounted as a
// normal filesystem. Some network filesystems (notably AFS) are screwy and
// do not support Unix domain sockets.
if (!socket_dir_.CreateUniqueTempDir()) {
  LOG(ERROR) << "Failed to create socket directory.";
  return false;
}

https://source.chromi...

humble mortar
#

something is exploding with the intro settings select

vernal lintel
#

works on my machine™️

humble mortar
#

yeah it works for me too (linux)

grizzled hemlock
#

@humble mortar have you ever encountered a vesktop bug where datastore / indexeddb just hangs

humble mortar
#

nup

grizzled hemlock
humble mortar
#

guh only errors that happen are the same

#

except the linux one errors but doesnt implode

#

maybe platform difference guhh

#

am i gonna have to add logging with notepad on windows

#

what if i smb share

humble mortar
#

ok

#

it seems to be a platform implementation difference on how electron figures out conflicting window settings

sour muralBOT
humble mortar
#

removing frame: true or adding transparent: false fixes it

#

SplashProps has frame: false and transparent: true

simple groveBOT
simple groveBOT
hot juniper
#

holy "why isn't NoDevToolsWarning enabled by default" again

simple groveBOT
#

Discord Account

No response

Motivation

I think discord may detect that user have modded client. They sent it in init event in web socket.

The function they use to detect right now:

function i() {
        return false;
        let e = window;
        return null != e.jQuery || null != e.$ || null != e.BetterDiscord || null != e.BdApi || null != e.rambox
}

Solution

use less global variables, logging and etc. make the detection of a mod client less poss...

woeful current
# simple grove

wait until he finds out discord has been detecting client mods since ages

hot juniper
sour muralBOT
#

noTrack.ts: Lines 64-72

        find: ".BetterDiscord||null!=",
        replacement: {
            // Make hasClientMods return false
            match: /(?=let \i=window;)/,
            replace: "return false;"
        }
    }
],

simple groveBOT
#

I've been having issues with screensharing for the last month or two (I'm guessing since the release of v1.5.4?), but rolling back to previous commits, it seems like I need to go all the way back to df05d12fb26a97c63323a7b9fdfb103ec580433c (from April) to get properly working screenshare on Linux. I've been using Vesktop since around September, and I've always had issues with streams being initially low resolution then switching to the correct resolution, but the issues have got particularly ...

simple groveBOT
simple groveBOT
#

It's been a while since I posted on this issue, so here's my update

Screensharing works perfectly for me on Linux. Here's the output from inxi -Fxz as a reference for my system setup

I have a friend on a very similar setup to me, same distro, same DE, same audio setup, etc, except they're using an AMD gpu, and both screensharing and camera feeds are partially broken for them. Specifically, the screenshare or camer...

humble mortar
#

I'm gonna lose it

#

archwiki has a very good chromium hardware accel entry

#

explains everything and how to trouble shoot

#

exploodee

vernal lintel
#

then comment :p

simple groveBOT
#

I just switched from EndeavorOS (arch) to Bazzite (atomic fedora) and came upon this issue myself.
The native Discord flatpak has no problem picking up my mic without cutoffs. Any other client (goofcord as well) has this problem.
Someone recommended putting --disable-features=WebRtcAllowInputVolumeAdjustment into the launch options of the flatpak but that doesn't seem to work for me.

humble mortar
vernal lintel
#

yop

#

they use their own udp based thing

simple groveBOT
#

Discord Account

Szentigrade

Operating System

PikaOS Linux

Linux Only ~ Desktop Environment

KDE on Wayland

Package Type

Deb

What happens when the bug or crash occurs?

i will start to stream and the fps ingame will drop to 1-2fps

What is the expected behaviour?

i expect to stream in full fps

How do you recreate this bug or crash?

start the stream

Debug Logs

loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:425 pw_thread_loop_wait()
[...
humble mortar
# simple grove

ok ive done some testing and it seems as soon as electron starts encoding with gpu the stream explodes

#

perfectly describes the behaviour theyre mentioning

#

is this a chromium regression or something

#

can't stream to older clients with hardware acceleration

#

I can stream hardware accelerated just fine to myself from vesktop to latest chromium

#

but older and it explodes

simple groveBOT
#

My system:
OS: Arch Linux
Kernel version: Linux 6.12.8-zen1-1-zen
Desktop: Gnome (wayland) 47.2
Vesktop Version: 1.5.3 flatpak
CPU: AMD Ryzen 7 6800HS
GPU: AMD Radeon 680M
All the streams I have done are in "720p 30 fps" with "prefer clarity" option enabled.

Regarding the infinite loop loading, I have the same issue on Arch Linux.
I tried doing some testing and found out that if the other user tries to connect to my live stream using an Android device or the web client (for examp...

simple groveBOT
#

Discord Account

tranvlnh

Operating System

fedora 41

Linux Only ~ Desktop Environment

Gnome on wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

rich presence not working

What is the expected behaviour?

rich presence working

How do you recreate this bug or crash?

not crash

Debug Logs

not crash

Request Agreement

  • [X] I have searched the existing issues and found no similar issue
  • [X] I am using the latest Vesktop and...
vernal lintel
#

AYOOOOOO

simple groveBOT
vernal lintel
#

🇷🇴

hot juniper
simple groveBOT
#

I have a friend on a very similar setup to me, same distro, same DE, same audio setup, etc, except they're using an AMD gpu, and both screensharing and camera feeds are partially broken for them. Specifically, the screenshare or camera output often will flash green, then completely freeze and stop updating for many users. For me, I see the green glitching, as well as some tearing, but their screenshare is still fully functional afterwards

I also reported the issue on #1031, but got marke...

floral ledge
#

I also had some auxiliary questions:

  • Why use node-bindgen instead of napi-rs, which is significantly better documented and has a lot more usage? Notably, it would also solve the Electron headache, as support is builtin
  • Is anything blocking https://github.com/tuxinal/venbind/pull/1, which is pretty much the only blocker for good Windows/Linux support after my PR?
simple groveBOT
scenic hollow
# floral ledge I also had some auxiliary questions: - Why use node-bindgen instead of napi-rs, ...

hi thank you for the pr!!
i don't remember exactly why i chose node-bindgen i think it was easier to make the functions on the rust side be async with node-bindgen than napi-rs (although i think i didn't even end up using async because i didn't know how to make the dispatch_proc function yield properly or smth like)
the main issue with xdg rn was that there is basically nowhere we can test things properly cause something is broken either with kde's portal implementation or ashpd's way of handling sessions. otherwise the pr is basically ready to merge

#

quite honestly i completely forgot about this lmao

scenic hollow
simple groveBOT
#

I am using cosmic-os (wayland). I tried either to remove frame: true or to add transparent: false, but it doesn't change situation. After playing for about an hour, I managed to make it render.

After running pnpm start, I got:

APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
(node:61852) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/home/viliusp/.config/vesktop/...
simple groveBOT
#

What is cosmic-os? The cosmic DE by system76? If so that DE is still highly in alpha and is likely the cause of YOUR specific issue.
Everyone else in here is a windows user and I can replicate this in both 10 & 11 vms just fine. The fix I mentioned earlier consistently fixed the white screen issue so I'm just waiting for someone on baremetal windows to replicate.

vernal lintel
#

we love alpha distros

humble mortar
#

bwaa

simple groveBOT
humble mortar
#

i will use github editor to make pr

humble mortar
#

is it not used anywhere

#

the splash seems to use it

vernal lintel
#

if it breaks in first launch tour it would break in splash too

humble mortar
vernal lintel
#

well actually

simple groveBOT
vernal lintel
#

first launch tour overrides frame to true

humble mortar
#

is the splash not its own window

floral ledge
#

it was such a bad idea I swapped to println

vernal lintel
#

anyway trans and frame should work together

#

only resizable doesnt work

#

try adding resizable: false instead

floral ledge
vernal lintel
#

actually it should already be set

humble mortar
humble mortar
#

insaane

floral ledge
vernal lintel
floral ledge
#

arch wiki would have me believe hyprland xdg portal has fine global shortcut support

humble mortar
#

they have their own protocol

floral ledge
#

surely not

humble mortar
#

link me

floral ledge
#

backends

vernal lintel
#

if it's actually the frame causing it

#

then we should report to electron

humble mortar
#

make a comment on the pr and ill test when i have a chance

simple groveBOT
#

Discord Account

voidptr_t

Operating System

Arch Linux. Kernel: 6.12.8-arch1-1 (64-bit). Pipewire

Linux Only ~ Desktop Environment

KDE Plasma 6 (wayland) / Hyprland / Sway

Package Type

AUR/Flatpak/AppImage/Build from source

What happens when the bug or crash occurs?

Audio from bot is in mono

What is the expected behaviour?

Audio from bot should be in stereo

How do you recreate this bug or crash?

  1. Ask any music bot to play music with stereo effects (ht...
#

This is a Discord limitation and not realistically possible to fix.

Their Desktop app uses a different screenshare implementation than their web app (which is what Browser Discord and Vesktop use). Their web app implementation forcefully downmixes everything to mono on their server (so we can't stop it)

The only way to fix it would be to reimplement their desktop implementation from scratch but we're not doing that

It`s not an screenshare issue

simple groveBOT
simple groveBOT
humble mortar
#

@scenic hollow do u know what the preferred_trigger syntax is

scenic hollow
humble mortar
#

Ah i was doing Ctrl+

#

its CTRL

#

its returned as a string of Ctrl

#

truely the best api ever

#

i have a working demo app in python now

scenic hollow
#

i think it works fine if it's all lowercase also?? pretty sure that's what i did at some point

humble mortar
#

its def ashpd

scenic hollow
humble mortar
#

yep

#

handle_token is what changes

#

but it can be consistent too

#

as long as you dont create new interfaces without closing the previous

#

/org/freedesktop/portal/desktop/request/1_295/demo_1

Session created: /org/freedesktop/portal/desktop/session/1_295/vesktop

/org/freedesktop/portal/desktop/request/1_295/demo_2


dbus.Dictionary({dbus.String('shortcuts'): dbus.Array([dbus.Struct((dbus.String('shortcut2'), dbus.Dictionary({dbus.String('description'): dbus.String('Demo Shortcut 2', variant_level=1), dbus.String('trigger_description'): dbus.String('', variant_level=1)}, signature=dbus.Signature('sv'))), signature=None), dbus.Struct((dbus.String('shortcut1'), dbus.Dictionary({dbus.String('description'): dbus.String('Demo Shortcut 1', variant_level=1), dbus.String('trigger_description'): dbus.String('Ctrl+1', variant_level=1)}, signature=dbus.Signature('sv'))), signature=None)], signature=dbus.Signature('(sa{sv})'), variant_level=1)}, signature=dbus.Signature('sv'))

Shortcuts bound successfully:
  shortcut2:
    Description: Demo Shortcut 2
    Trigger: 
  shortcut1:
    Description: Demo Shortcut 1
    Trigger: Ctrl+1```
#

demo_1 registers everything and creates the session which has the app name

#

demo_2 listens for the shortcuts and changes

scenic hollow
scenic hollow
#

oh those are different woozy

humble mortar
#

session_handle_token is the app id

#

vesktop or dev.vencord.Vesktop (dev_vencord_Vesktop)

scenic hollow
#

wdym it's the app id? you mean it gets appended to the app id?

#

cause that's not what i'm seeing

#

we went over this at some point didn't we

humble mortar
#

its what kde uses for the name and app icon in the settings menu

#

OHH

#

i see yeah

#

thats a flawed implementation yeah

#

it pulls the icon from the desktop file of the same name

#

but since you need to replace . with _ it doesnt find a demo_app.desktop when it should be looking for demo.app.desktop

#

so thats a bug but other than that it works

#

also it returns the bound trigger as the preferred trigger irregardless if it conflicts with an existing bind

#

i guess calling listshortcuts intsead of relying on what it returns would fix that

scenic hollow
humble mortar
#

yeah let me clean it up

scenic hollow
#

@humble mortar can i also have your .desktop file

scenic hollow
simple groveBOT
#

https://github.com/Vencord/Vesktop/issues/500#issuecomment-2094367152

This actually helped me and resolved for both appimage and flatpak installations. Can flatpak recipe be possibly changed to fix host somehow? Or leave notices in this repository about sound server? Because I have PulseAudio on Debian by default. It took some time to research and reading logs like

[2025-01-08 22:14:51.456] [venmic] [warning] [patchbay] (get) pipewire was not detected as main audio server
[2025-0...
humble mortar
#

@scenic hollow sorry i got pulled away by family

humble mortar
#

theres nothing specific about it

#

anyway since its def a client implementation issue not KDE maybe close that issue

#

the icon thing tho def needs an issue

#

all flatpak apps won't have an icon

#

:p

#

also in an actual implementation make sure shortcut ids are prefixed and overly specific to prevent any sort of clash

simple groveBOT
floral ledge
#

i am keenly interested in getting this into vesktop and have free time

scenic hollow
#

i don't think there is anything else to be done on the xdg pr itself

scenic hollow
# humble mortar anyway since its def a client implementation issue not KDE maybe close that issu...

i still doubt that. i think you are using the session handle token wrongly. even if it is consistent it definitely isn't supposed to be the app id.
the app id is supposed to be inferred from elsewhere (i assumed it would be the .desktop file but idk about that anymore) and then used in this componentName function: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/session.h?ref_type=heads#L188 which is used for figuring out the name used in KCM. and here you'll see it's the session handle token appended to the appId. the way you have it set up there is no appId and the session handle token alone just happens to match the .desktop file and so it even fetches the correct icon.
i think we should figure out where the app id is supposed to come from and make a pr to the kde portal

sour muralBOT
scenic hollow
floral ledge
#

whats the issue though

scenic hollow
floral ledge
#

cant i just go test it on my hyprland on my framework laptop

#

lmaoo

#

surely xdg-desktop-portal-hyprland is fine

scenic hollow
#

yeah you could try that

floral ledge
scenic hollow
#

yeah that's what i'm assuming but cowokie says that it's supposed to be that the session is consistent so kde doesn't make a new item for every run

#

the rust library we use doesn't really support setting the session directly tho

floral ledge
#

how is a consistent session possible

#

you're not supposed to keep a consistent session across several runs no?

#

thats why its a "session"

scenic hollow
#

yeah that would make sense too idk

floral ledge
#

wait i dont get it

#

your bug report seems like perfectly expected behavior

scenic hollow
#

the kde one or the ashpd one?

floral ledge
#

if i have 2 instances of a program open then I would think the shortcuts would conflict

#

kde one

scenic hollow
#

except sessions aren't instances. i wouldn't really want it to reset my shortcuts after i restart vesktop

floral ledge
#

You save the shortcuts in the discord settings

#

they get reregistered

#

If you want to edit the shortcut keys from kde control panel then the changes wont be reflected in discord settings without special work and you'll have a conflict

#

Unless the issue is that it stays there even after the session is closed

#

which looking at your bug report it seems like you close the session

scenic hollow
floral ledge
#

You're going to have to add IPC for key changes right

#

so that discord settings change to match

#

(thats another issue)

#

looks like receive_shortcuts_changed exists in ashpd

scenic hollow
#

oh yeah maybe that's another issue tho not too concerned about that rn

floral ledge
#

or just a control panel display issue

scenic hollow
#

yeah they are conflicting they don't fully register

floral ledge
#

Does literally no one use this api how has this never popped up before

scenic hollow
#

YEAH I GENUINELY DON'T KNOW

#

maybe no one has used it through ashpd and everyone just keeps supplying a static session token

floral ledge
#

I guess REALLY no one does because kde devs have let the bug report sit there for 4 months

#

Either that or no one uses ashpd global shortcuts

scenic hollow
#

probably that

floral ledge
scenic hollow
floral ledge
#

Not even true

#

Part of it is yeah

#

the TOKEN bit

#

where is the SENDER unique name from

scenic hollow
#

dbus stuff

#

idk exactly where but dbus handles that

#

still tho i think it's more of a kde issue than an ashpd issue

floral ledge
#

ashpd zero fault here

#

Spec conforming!!

#

Now i really don't know how this hasn't been reported before you

scenic hollow
#

again people probably just used a consistent session handle token to get around it

scenic hollow
scenic hollow
#

YEAH TOOK ONLY LIKE 4 MONTHS

floral ledge
#

I wonder if no one follows the spec and thats why its gone unnoticed

#

Because its clear as day

#

Unique and unguessable

#

Literally put a random number in there

#

That is what the spec says

scenic hollow
#

ok but idk if it's supposed to be random per session maybe just a random number for one time is enough

floral ledge
#

That is dumb and makes no sense

scenic hollow
#

which is the same as having it be static i guess

floral ledge
#

The SENDER unique name should be the thing that is static

#

That's what identifies the app

#

The TOKEN is a session identifier per-session

#

Why should client apps have to save a random token number somewhere to be able to run dbus sessions properly

#

Or hardcode one

#

which the spec says not to do

scenic hollow
floral ledge
#

I wonder if that's in the spec for security reasons given the "unguessable" bit

floral ledge
scenic hollow
#

by appId

floral ledge
#

does dbus give the app id over

scenic hollow
#

idk something related to .desktop files maybe

#

it's not this that's for sure

floral ledge
#

not sure why the xdg spec is so unclear

sour muralBOT
floral ledge
#

libportal does the same thing

#

token is just random

#

so is session_handle_token

scenic hollow
#

ok then why has no one reported this!!!!

floral ledge
#

its definitely a kde issue

sour muralBOT
floral ledge
#

Used for handle_token and session_handle_token

#

Every single xdg dbus implementation uses a random string

#

Just like the spec says

#

Either every implementation is wrong or kde is broken

#

I am not inclined to believe the former

sour muralBOT
floral ledge
#

ashpd is similarly correct

scenic hollow
sour muralBOT
scenic hollow
#

HE IS HARD CODING IT

#

that's probably why it's gone unnoticed

floral ledge
#

Okay well not only that I am staring at the hyprland implementation and I am thinking it probably also wont work correctly

#

I havent tested it yet but

#

m_vSessions.emplace_back(std::make_unique<SSession>(appID, requestHandle, sessionHandle)).get();

#

I figure nothing removes it from m_vSessions whenever the session is closed

#

The stuff inside the SSession is freed at least

#

But the SSession lives forever in this vector

scenic hollow
#

i don't think it's supposed to be removed it should just reuse the old one and not make a new one every time

floral ledge
#

It doesnt reuse the old one

#

is the issue

#

it just emplaces back a new one every time

#

even if it has the same app id

#

So this would cause same issue as KDE

#

You can't even circumvent with the same session handle

#

because any new session with the same app id would do it

#

you'd have to change the app id every time

#

which you can't do

scenic hollow
#

guhh could you perhaps test that and make sure

floral ledge
#

actually it wont getShortcutById will find a dead shortcut

#

Very unfortunate

#

I can give it a shot ig

#

This API is such a mess and it has been a part of the xdg spec since September 2022

#

linux desktop development actually doomed

floral ledge
#

even better part hes using a const string where the spec explicitly says it should be random

floral ledge
#

and it refuses to login by fingerprint

#

True peak

#

Time to fix allat

scenic hollow
#

and that's why i use nixos SunglassesFluent (i am miserable)

floral ledge
#

from when I had another monitor plugged in

#

Apparently that managed to fry sddm to the point of fully hanging at shutdown and forcing power off

#

gg

#

I for one am impressed

floral ledge
#

aka double the speed

#

and 2 more cores

#

I am now very sad that I was not working on venbind on it instead of the main pc because it compiled all of the dependencies in 6 seconds

scenic hollow
floral ledge
#

whoops

floral ledge
#

let me compare with main pc

floral ledge
#

Which i find hilarious

#

Oh

#

The appid is fucking empty

#

no wonder its breaking

#

i need a .desktop file for this or whatever

#

it comes with one!

#

the app id is still empty

#

unless gtk-launch doesnt work with this

floral ledge
#

This is one of the worst documented apis i've ever worked with

#

Have to just go dig through the c files to figure out whats going on

scenic hollow