#๐ฅ-vesktop-development
1 messages ยท Page 7 of 1
I enjoy macOS, i still use it on my laptop from time to time
see this is why i roped you into this
i would get a mac but i would probably install linux on it after like a week
id buy a mac JUST to test asahi
i think itd be fun
need to use this
true
btw why doesn't electron use this
plus i need a new ARM device
Discord's official client uses this now afaik
Im dualbooting asahi and macOS but the experience is just better on macos for now :(
do you expect good development from a
a javascript program
nuh uh
i have one sitting on my desk
i do NOTHING with it
give me something to do with it
I have one in the living room, its running android tv
arm assembly
This is on my radar though
PiHole local dns server with adblock
Already do this on another pi
so its coming, just ETA 2038
or Moonlight for playing games on TV
and for 300 bucks
Wasted on a pi 5 i think for home use anyways
yes true
youll have to clone the flatpak manifest and alter it to point to the local appimage
I say this but i run 3 pihole instances in my home 
why do you need 3 instances
we should start yapping in another channel
My plan was to just have 2 but i created both of them on the same proxmox host initially
and because my second proxmox host is a different architecture i had to create a new one anyways
So i just made a third one
Instead of deleting and recreating the 2nd one
okay good I was doing it right
ty
we should either remove or amend this https://github.com/flathub/dev.vencord.Vesktop/blob/master/dev.vencord.Vesktop.yml#L26
to add more paths such as ~/.icons
real
also i am so new to flatpak dev oml
i tried running it and WOW it broke instantly
but it seems to be because its not allowed the right permissions even though i gave it the manifest????/
confusing
wait
no
im just a dumbass
vesktop is already running
nvm
it is in fact broken
the fact that it cant find an x server is weird to me
i have xorg-xwayland
nope it was just hating being run like that
it works after installing it
yayy
flatpak seems to work well
Can you build this PR as a Flatpak (https://github.com/flathub/dev.vencord.Vesktop) and validate it works? We have a decent amount of users using it via Flatpak now so it needs to be tested
I also use it as a flatpak, and I just confirmed that I am able to build and run it as a flatpak, with the streaming modifications. I didn't do any sort of rigorous testing, but I did confirm that it works.
After updating Arch to the latest packages, Vesktop stopped working, and just segfaults
To Reproduce
- Open Vesktop
- Wait for it to load
- Watch it crash with a segfault
Expected behavior
Vesktop working
Desktop (please complete the following information):
- OS/Distro: Arch Linux
- Desktop Environment (linux only): Plasma 6
- Version: Rolling rele...
why --disable-gpu flag?
common novideo on linux problems
Same issue,updated to latest electron.,launch then seg fault. Not sure why the bug is already closed?.
after updating my arch setup vesktop doesn't launch anymore.
"Job 1, 'vesktop' terminated by signal SIGSEGV (Address boundary error)"
there was already an bug report posted 20 minutes ago by someone else but it got closed not sure why.
........
@Vendicated reopen that we have all that issue it can be electron too but atleast we need to investigate no?
bash โฏ vesktop [92496:0100/000000.461168:ERROR:broker_posix.cc(41)] Recvmsg error: Connection reset by peer (104) zsh: segmentation fault (core dumped) vesktop
Terminal output? All that I'm getting.
it wasnt the main issue, but i had a similar segfault
change versions in config files
cry and open issues that it segfaults because of 30 electron
REAL
it was closed because this has nothing to do with our code. it's an issue with either your system or the electron version you're using (which is not supported by us). find official supported artifacts in releases. if you install differently, you're on your own.
do not deliberately open duplicate issues or you will be blocked from opening further issues
Hello everyone, I have previously opened an enhancement issue regarding to screenshare audio support for MacOS. https://github.com/Vencord/Vesktop/issues/472
I am uncertain who takes the reign of MacOS development here, however I have implemented a naive solution to support Loopback as a Mic-In input for soundshare audio. I lack the knowledge (and time) to dabble further into making it a customizable audio source selector, but I hope this small demo helps with getting the ball rolling for MacOS soundshare support.
https://github.com/Vencord/Vesktop/compare/4abae9c7082081dcae667916d9608e23adf688a9...EndenDragon:Vesktop:c260e5526729587fdd7c8778377b0d2e9021f65d
Alternatives to Venmic already exists for MacOS such as in the form of Loopback or Blackhole, so I think simply supporting the option to select a Mic-In input would be minimally sufficient.
I am happy as well to help with testing any changes directed for MacOS if you need some additional hands.
@upper pine @vernal lintel
Yeah BlackHole should do it, I'll see if I can add an option to use it as a source in the stream dialog
I have some news (??) about FPS issue
At least they will do something
Thank you.
We can also investigate using the system API later on
Note that the System API is only supported on later version of MacOS. I believe that is MacOS 13+, however I cannot confirm since I am running on 10.15.
i think it would be good to support both maybe
It would be good- as long as there is a conditional that is in place to enable it for OS that supports it. I didn't like it when Discord straight up removed support for older MacOS versions.
big tech companies:
truth
It did not help at all when I contacted support when I first found out the functionality did not work. The support folks was not informed at all and kept trying to assist in futile until the support article was updated. https://support.discord.com/hc/en-us/articles/1500006741102-macOS-Screen-Share-with-Audio
oh my god
then only can say some template phrases and something like "reboot pc"
reboot pc
@vernal lintel
new language to write vesktop in just dropped
yap
Yappacino: https://github.com/face-hh/yappacino
Reddit: https://reddit.com/r/facedevstuff
Patreon: https://patreon.com/FaceDevStuff
Discord server: https://discord.gg/W98yWga6YK
Twitter: https://twitter.com/facedevstuff
MUSIC:
Outro song - https://youtube.com/watch?v=bIr6E1oTzuM
Character art by @JersonEXE
- Twitter: https://twitter.c...
yappachino
kotlin range syntax 
will we use rule "it works == do not touch it"?
probably best to only do this on linux?
} else if (process.platform === "linux") {
don't explain self explanatory things via comments
either remove these logs or use a Logger to be more informative
where i can see example of using logger?
const logger = new Logger("VesktopScreenShare");
// same methods as console
logger.error(...);
thanks)
About setTimeout: we use it because after submit() function work (even using await with then) discord take some time to set their default screenres x 30 fps settings. If we change constraints without timeout, discord just will set up 30 fps for it instead of picked user settings
I really wish we could do this without setTimeout() :c
see where they do it and hook into that
okay without timeout it really broken
I have an idea to find out which function discord uses for setting default fps and overload it with user picked settings
thought about it too
looks like it works but:
- debug menu brakes
- in my current approach it will reoverload function on every stream changing (or maybe even stream strarting), this is bad. Need to move code somewhere else
const originalReplaceTrack = conn.videoTransceiver.sender.replaceTrack; conn.videoTransceiver.sender.replaceTrack = async function () { logger.log("Called overloaded replaceTrack!"); originalReplaceTrack.call(track); };
built vesktop with electron 30 launched to test hardware encoding (it worked) now getting segfaults $ electron30 /usr/share/vesktop/app.asar [arRPC > ipc] listening at /run/user/1000/discord-ipc-0 [arRPC > websocket] listening on 6463 [arRPC > process] started [13536:0416/173856.744586:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [13536:0416/173856.753443:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [13536:0100/000000.281612:ERROR:broker_posix.cc(41)] Recvmsg error: Connection reset by peer (104) Segmentation fault (core dumped)
You could also check if it's overloaded already
prob one of these
i do not really like this approach
all settings we can set if we change MediaTrack constraints directly
We just need to find how to do changes after stream fully submits
Yeah it's not a really clean approach, rather a dirty temporary workaround
setTimeout was temporary too xD
True xd
at least stable working
@azure verge we probably should use user picked width and height for max values too?
there's no fix. Like i said, it's likely due to missing entitlements in the plist which is required when signing your app
i don't have a mac nor do i know anything about mac so i personally can't fix it. contributions welcome
see https://github.com/electron-userland/electron-builder/issues/6948#issuecomment-1169673740
lol plasmashell crashed when changed stream xd
wtf this errors
i receive them when not-stable stream resolution changing works
Kait can you test whether changing stream description and fps works ALWAYS for you?
I noticed it changes with ~80% chance
or maybe i just broke smth with major refactoring ๐
Okay i really believe i didn't broke anythin
At least all in same functionality as before for me
and at least we can revert commit if everything will be bad xd
Describe the bug
When vesktop loses window focus the app crashes.
To Reproduce
- Open Vesktop
- Change window focus
Expected behavior
Vesktop properly loses focus, but does not crash.
Desktop (please complete the following information):
- OS/Distro: EndeavorOS
- Desktop Environment (linux only): KDE6
Command line output
$ vesktop
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
...
Try to install Vesktop from vesktop-bin AUR package. Looks like default package uses system electron and you updated to newly released 30 version on which we have seg faults in unknown yet reason.
Apologies, I only just realized this is now a duplicate of issues opened 6 hours ago (I didn't expect something so new to be closed already). Based on the comments in those threads you have claimed the issue does not lie with Vesktop, but instead an upstream dependency (so Electron?) How can we be certain the issue lies there and not in the implementation? I'm not seeing any issues for other apps having a similar problem. Which means it must be unique to Vesktop's implementation somehow.
Try to install Vesktop from vesktop-bin AUR package. Looks like default package uses system electron and you updated to newly released 30 version on which we have seg faults in unknown yet reason.
Ah, thank you, this indeed solved the issue.
augh
uhhh
sorry im rly busy today but i can try
VM827 react_devtools_backend.js:4026 Vencord Webpack Error: webpack.findByCode found no module
at Jn (webpack.ts:96:17)
at i1 (webpack.ts:324:9)
at webpack.ts:334:28
at [vencord.lazy.get] (lazy.ts:98:38)
at Wa. [as apply] (lazy.ts:56:65)
at index.tsx:78:47
at aS (44076.b5f9426088ebaff2b53a.js:12:899964)
at u (44076.b5f9426088ebaff2b53a.js:12:955175)
at sB (44076.b5f9426088ebaff2b53a.js:12:938190)
at 44076.b5f9426088ebaff2b53a.js:12:938056 ...
You can check new commit, it's quite interesting
fuc sorry I've been rly busy
I'll get back to focusing on this a lot more
in the next few days
but
lemme read that commit rq
okay
so
I like that a lot
it makes sense
why do it twice
so tbh
I really like it
what broke tho
also I love the logger transition
This but maybe this not even regression
Maybe it was on previous commits but we didn't noticed
oh odd
I'll try on an older commit
and on latest
just remind me in like
8-9 hours
xD
I'll probably retest later, but in 5 hours
For me it's 06:37 xd
oml
yeah
lmk and I will gladly test and debug
I've been doing a lot today
most notably I'm working on my NAS :3
I almost thought that was a switch lite 
omg tyty
I would never
it's just a fully reshelled year 1 switch
entirely blocked from Nintendo servers and I refuse to pay for anything
:3
okay, it does looks like regression.
i will try to get connection in screenShareFixes.ts
fixed it. I believe now is the most stable and clean way to do things with screen sharing
did you push it already?
yeap
i tryed many things but it we avoid setTimeout then changing resolution would break
ds will just apply screen res x 30 fps
even if in logs there are NOTHING about 30 fps
Can we not hook into the method that applies the changes?
And just prevent the update
you mean override something like setTrack to do nothing?
most propably it will break discord negotiations on low bitrate
and it breaks debug menu
Just make it depend on where it was called from (inspect the caller) and check the params that were set
ah then see if you can find out anything from the params
if you absolutely need to access the stacktrace, you can
const { stack } = new Error
but there's most likely a better way
ghuhg
Looks like we can do anything
It because Firefox automatically disables DmaBuffers by default on problematic drivers (lwe have many errors because of them)
I asked whether we can somehow disable them in chromium and if so then we may try to put another CLI argument or something like that
Vesktop fails to fetch files from github on startup.
I installed vesktop from the aur repository. I first tried vesktop-bin which gave the error, then tried vencord-desktop-git and even flathub's version gave me the same error.
To Reproduce
Steps to reproduce the behavior:
yay -S vencord-desktop-bin- type
vesktopin the cmd. - get the error while showing "L...
i believe they caused because of this DmaBuffers, because they whether not reproducible in firefox or very small compared to chromium
why people keep creating issues when problems with AUR packages T_T
ahh
REAL
its called the arch USER repository
cry about it
its not always perfect
You actually can do it yourself (at least for the taskbar part), if in windows you can create a link, go to properties, change the link icon and fix the link in the taskbar, if in linux you can go to properties and just change the icon.
Windows 8.1 and below (and even some early windows 10 versions) has already long reached their EOL. For your own safety, do not use softwares after their EOL, especially OSes, as your security may be compromised. Security issues are not solved anymore after them. If windows 10 or above can't run well on your hardware, you may consider some linux distribution, as they are a lot more lightweight.
i can indeed recommend linux
xd
windows 10 hits eol in 2025
windows 11 is getting ads
really looking good to
not use windows
linux gaming ricing, what else do we need xd
i wonder why its called ricing
nono
wait
maybe
true
idk
brain not working
ricing is like
customizing linux
im confused why that's called ricing
but sure
i meant rising
xd
remembered how it is written
is there any way to get discord's connection in console?
windows 10 ltsc:
shitdows shit long term shit casket:
as i hear it
LMAO
A more in-depth guide for /g/ to install, debloat and optimize Windows 10 LTSC for a minimal and responsive operating system with no bloat, no telemetry, no UWP app cancer.
Our goal is to get a Windows 10 system that doesn't connect to remote IPs on its own and only has the useful minimum for a w...
if you dont want answers to your complaints dont complain ๐
Describe the bug
Crashes immediately after fox-girl gif start-up screen, no further graphic output is reached
To Reproduce
Start Vesktop by any means
Expected behavior
Vesktop starting
Screenshots
Desktop (please complete the following information):
- OS/Distro: Arch Linux
- Desktop Environment (linux only): sway
- Version: Vesktop 1.5.1-1, Arch Linux latest
Command line output
[56658:0417/193243.581460:ERROR:obje...
oh......
Duplicate of #508 and #509
I wasn't complaining?
lmao
I was messing around
please stop
what are people thinking opening these issues
you're using an unsupported version then complaining that it doesn't work ๐ญ
what did electron even cook
this isn't even beta, it's a stable release
vesktop-bin package for arch is working tho
yes but the people complaining arent using it, they're just using electron-bin and a portable copy more than likely
yeap
what's that anyway
embeddedAsarIntegrityValidation sounds awful
cause its checked in the plist
but with electron 30 they figured out a way to do it on windows so
uh oh
but you can probably patch it out somehow
or maybe replace smth like discord desktop core instead
We recommend all Electron application executable to be signed after resource modification. A tampered Electron executable will break the existing executable certificate and change the executable checksum, which will trigger Microsoft Defender SmartScreen
damnit
"improvements"
My bad if there's code needs to be ported. I got 0 knowledge I just updated the packages so don't blame me.
ahahaha electron ^30
30 Electron does not work with current Vesktop version :c
You have to commit the lockfile too
im working on it rn
but why
this just seems like contribution farming
This has nothing to do with Vesktop, this is just normal behavior of Discord now if you have xwaylandvideobridge installed on KDE
no i just updated all packages
you dont have to give me the badge or anything
but that would be cool if u merge this tho :3
I cant stream my games in Vesktop and its not my "desktop environment" since it works perfectly fine with stockdiscord and vencord and also other discord mods.
cope (update the pkgbuild to exclude electron30 support)
doesnt affect me any cause i use windows
and if i were to use linux id probably be on void so
but also it makes no sense to install apps you're going to mod through the package manager anyways
dingus
Should be fixed by #489
Wdym should be fixed? Im running the latest version and its not working.
thats for entire system, not individual windows
venmic is still needed
normal webrtc screenshare on browsers does not support individual windows
I do not believe this will be fixed by #489.
Screensharing uses system's xdg-desktop-portal call for capturing the stream. If you can't see your applications in system (portal) picker that means that problems with portal, not with Vesktop.
Maybe you migrated from different DE and not installed right xdg-desktop-portal? For example, for KDE check whether xdg-desktop-portal-kde installed and so on.
according to curve the implementation is terrible
so venmic is likely still needed
guh
also
what every caused this to be magically fixed
its broken again it seems
tested in a clean env
I do not believe this will be fixed by #489. Screensharing uses system's
xdg-desktop-portalcall for capturing the stream. If you can't see your applications in system (portal) picker that means that problems with portal, not with Vesktop. Maybe you migrated from different DE and not installed rightxdg-desktop-portal? For example, for KDE check whetherxdg-desktop-portal-kdeinstalled and so on. Please provide more info about your current DE and system.
Im running vesktop on windo...
please use the proper bug report template
Im running vesktop on windows 10, not linux. Is this an windows issue then? But why should this be broken on windows but got fixed on linux? I think I will just stick to vencord then, thats too much nosebleeding for me LOL
It's anyway not Vesktop issue because we Vesktop use Electron's desktopCapturer.getSources() call, which itselfs uses proper system calls for choosing screen.
its broken in the flatpak build of discord as well
plasma issue most likely
does anyone know any other apps which use the unread indicator
some messengers? telegram-desktop?
@Vendicated The bug report template sucks. But this is one way to ignore not working features I guess, since these features seems to be broken for other users aswell LOL?
@PolisanTheEasyNick It must be Vesktops bug, since it works with stock discord, vencord, betterdiscord without problems. Even with discord portable.
But im not here to argue or smth, its just strange that nobody is fixing this stuff, since its obviously broken lol?
lol fuck off with your entitlement. if you want help, use the proper form
kde5 or kde6
V you can restart test for 489
i have bugs with this unread icons too on KDE 6
its so random, i just restart plasmashell
in general or also xwayland
in general
all apps or just vesktop
noticed on telegram-desktop, maybe somewhere too
telegram-desklop on wayland or xwayland?
edit: wayland
not working in vesktop under wayland
wayland
if you're just a basic individual that uses flat themes, sure
but they changed so much that its so annoying to even begin to port shit like aerothemeplasma
thats not a shitshow of a release
their docs are pretty shit
plus theres still some stock widgets that arent ported yet like that one dock one
i think theres some distros that upgraded it without testing anything and a lot of things broke as well idr
if that did happen thats user error
or packager error
Venmic is still better that the garbage that is in chrome
why cant the chrome devs implement something in a non ass way
upstream venmic rn trol~1
Actually
telegram doesnt use libunity
"feature creep"
i just think they simply dont care because it has a limited usecase outside of electron apps as it is
we're the minority of use cases here
Actually, I thought about that but I'm not sure if they'd want to pull in rohrkabel as a library and I don't want to port all of venmic to stock pipewire
i need someone on plasma 5
xd
we talked about this before
i would but i dont feel like opening my old void vm
nvm just remembered i nuked my system a few days ago
im not bothering with vm stuff rn
I can spin up a VM tomorrow
ill leave a comment with what ive narrowed it down to on the issue
alr ๐
You wanted to test if the notification badges are only broken on plasma6 right?
yea
Alr
specifically libunity notification badges
Are there any reference apps using that?
void should still be on plasma5
I had the most fucked plasma problem the other day
Not sure if it was because of plasma6 or Wayland
I plugged my laptop in at Uni to show something and it just turned my laptop screen black and only showed video on the Beamer, when I plugged the HDMI out I still had no video on my laptop
Couldn't fix it from the tty even when deleting kscreen configs
a post on the discord flathub repo says libindicator is needed
Should be ayatana then
extra/libindicator-gtk3 is its own repo
nope that wasnt it
actually
what about the electron version
i dont remember it ever working on electron29
27 doesnt work
alr its very likely an issue with libunity and plasma 6
2021-04-13 was the last modification to the repo as far as i can tell
unless im horribly confusing how discord determines when to show an unread badge
I've narrowed it down to an issue with what I think is libunity and Plasma 6 (5?) specifically - unable to test 5 at the moment. This affects both the stock Discord and the Flatpak version. Libunity is old and hasn't been touched in ages, so I guess its about time it breaks...
stock discord works fine for me on plasma6
this is screensharing
on my amd igpu
this is what the screenshare looks like on their end
0 encoder usage
looks like explicit sync glitches
weird
the thing thats the most weird is the encoder usage being 0
it was fine yesterday
You actually can do it yourself (at least for the taskbar part), if in windows you can create a link, go to properties, change the link icon and fix the link in the taskbar, if in linux you can go to properties and just change the icon.
Main point of vesktop is to improve linux experience, because of that it should bee implemented in source.
Also, i really like the idea of changing this gay logo to something less political.
ahahahhahahhaha
bruh, like every three weeks something is like is made
Sorry for bumping an old issue, but I did some investigation about how we can get this functionality to work.
Firstly, we need to get connection object from MediaEngineStore:
const conn = [...MediaEngineStore.getMediaEngine().connections][0];
If we can successfully get [0] element from connections array, it means that we are at some VC.
Then we can get property whether we are muted using this:
const isMuted = conn.input.audio._mute;
And we can get whether we are speaking rn like t...
Sorry for bumping an old issue, but I did some investigation about how we can get this functionality to work. Firstly, we need to get connection object from MediaEngineStore:
const conn = [...MediaEngineStore.getMediaEngine().connections][0];If we can successfully get [0] element fromconnectionsarray, it means that we are at some VC. Then we can get property whether we are muted using this:const isMuted = conn.input.audio._mute;And we can get whether we are speaking rn like this:...
Describe the bug
Clicking the "A Vencord update available!" notification makes the whole window blank. Another issue I found while I tried to investigate is that the "Vencord" settings on the left is gone.
To Reproduce
Steps to reproduce the behavior:
- Open Vesktop
- Wait a few seconds before the notification appears
- Click on the notification
- See error
Expected behavior
It should show me the changelog and the option to update.
Screenshots
![...
You actually can do it yourself (at least for the taskbar part), if in windows you can create a link, go to properties, change the link icon and fix the link in the taskbar, if in linux you can go to properties and just change the icon.
Whilst yes this works, it more or a work-around more than an actual fix to the problem.
You actually can do it yourself (at least for the taskbar part), if in windows you can create a link, go to properties, change the link icon and fix the link in the taskbar, if in linux you can go to properties and just change the icon.
Main point of vesktop is to improve linux experience, because of that it should bee implemented in source. Also, i really like the idea of changing this gay logo to something less political.
But I just said it can also be done in linux just as ea...
omg it was so easy T-T
yes, we can get this parameters in more easy and stable way. Thanks ^^
Do you have any ideas how in Vencord plugin receive Tray, which created by Vesktop?
@hybrid fjord
That's how I live)
That's what confusing me
I'll try stock discord in a bit
Just happened to me as well. The plugins I have enabled seem to still be working fine, but all the Vesktop/Vencord-related settings menus are gone.
Right click vesktop tray > update vencord
or rm -rf ~/.config/vesktop/vencordDist
replace: "$& || $self.shouldIgnore($1)"
match: /(\i)\.default\.getState\(\).neverShowModal/,
Object.keys(undefined) throws so this optional chaining makes little sense
return Object.keys(state?.default?.lastDeviceConnected ?? {})?.[0] === "vencord-screen-share";
Here we areee
got some conflicts now with katlyns pr being merged
Thank you all for work and help ^-^
omg
not released for now cause i believe curve also wants his pr in
and maybe some more
but in the next few days
mhm
awesome
if you need me to test anything lmk
I've just been so busy and I'm still struggling with my NAS lmao
aaayggd
no I
I really wanna help here more
I feel bad for last time
I kinda disappeared after audio screensharing
if you check out #326 the most recent commit kinda does that. it exposes a cli that can execute different keybinds by code. though i was thinking this would be used as fallback. plans are being made for better ways to do this but i am really busy with school as of right now and can't really contribute much.
This looks like a great first step! Does this only work for oneshot keybinds or would this work with push to talk too potentially in the future?
stream just doesnt load
if anyone else can u replicate this lmk
I'm going to sleep
LJKHAHKJAHKJAJHKLJHKAAHHAHA
almost everyone can lol
its been a known problem
if you mean the jittering
the older(and now removed) electron api based global shortcut handler didn't at all support push to talk
the current cli doesn't handle pressed and unpressed states tho it should be super easy to add
we are planning better ways to do this. i was thinking the cli could be used as fallback for wayland users. currently the only way to handle keybinds for wayland users is through xdg-desktop-portals which last time i checked didn't really have a mature implentation of this. though it probably has...
It would be nice, if it would auto-update the flatpak with a single click and then restart the app.
oh really?
im not running nvidia though
its also not using hardware encoding at all (viewing via nvtop)
chromium itself can use encoding fine
When will this reach the flathub version?
had to retoggle hardware accel in the settings
guess it was scuffed
jittering doesnt happen under x11
ยฏ_(ใ)_/ยฏ
What's the difference between findByPropsLazy and findByProps not lazy?
guess i have to cope and logout when streaming anything that involves mouse movement ๐
at least switching sessions take like 2 seconds
got some conflicts now with katlyns pr being merged
Fixed :)

I'd say pulse support is something for the release after the next one, I'll have to make sure that's battle-tested before we add it :D
#440 (comment) seems related
yep the same
I'll close this in favor of #440 then :)
The "workaround" described here will no longer work with #509 merged, as selecting venmic as a microphone should have never been possible in the first place
if you mean the jittering
yeah I don't know what causes it
pretty sure it's chromium being chromium
Now tray icon will change icon depending on user current state (not in any VC, muted, full-muted, speaking, idling (not speaking).
Resolves #294.
Any ideas about improving PR structure are welcome ^^
Also, maybe someone have any ideas about how we can change icons or PR's variant is okay?
stock discord works fine for me on plasma 6
How are you testing the badge, perhaps I'm doing something wrong?
chromium and (X)wayland funkiness ๐คง
no jitter with pure X11 session
ofc
I do too
the jitter exists there as well
I do wonder if its a kwin wayland issue though
I'll try another wayland compositor next I have a chance
When will this reach the flathub version?
When a new release is pushed for Vesktop itself, which needs to happen first, you can check the updates on the flathub repo
expect a release some time in the next few days. still want to land a few things in vesktop before making it, and maybe experiment with electron 30
can we include #517 in next release too? if pr is good
same
it genuinely might be kwin
possibly, ill have to see
oki, i will try my best to fix everything based on reviews
perhaps you could update your vencord pr @azure verge
right off the bat I see you accessing stuff via Vencord global
don't do that
you can just import stuff
will do!!
type the name, like Logger and vscode should auto suggest the import
something like "from VesktopNative import { app }"?
^
#355 needs to be merged so I can make it an even more gay startup animation 
guys it's embarrassing now all my factory default friends will know I'm different :((((
work of art imo
every stupid issue
that imports:
import { setTrayIcon } from "main/mainWindow";
and i receive many errors like:
`โ [ERROR] Could not resolve "fs/promises"
src/main/mainWindow.ts:17:19:
17 โ import { rm } from "fs/promises";
โต ~~~~~~~~~~~~~`
bc it looks like trying to import electron (?)
You'd have to set that through IPC
hm, let my try it
i already called IPC events but in VesktopNative.ts
i want to try jsut use invoke directly in tray.ts
wrote like this
and still got same errors :c
i have this issue on flatpak
any left over imports? And are you sure the imports you have are non node ones?
all i have is this:
it only happens sometimes. so maybe it's not exactly the same
typedIpc imports and uses electron
Check the screenshare picker, how does it invoke the IPC?
looks like it only handles
no
it does same approach as i did
VesktopNative.capturer.getLargeThumbnail(source.id))
You're not calling VesktopNative tho
i am in PR
no thats right
i meant new Vencord.Util.Logger
thats bad
import { Logger } from "..."
new Logger
i believe i created it only for temp usage and not removed it
i'll recheck
there was logger but i already removed it some time ago
all ok
How I am testing:
- Join a popular server.
- Check if notification badge is there.
Observation: its there for Discord, but not Vesktop.
I have the same settings for Vesktop and for stock Discord and I get the badge for Discord, but not Vesktop. If you want, I can record a short YT video where I show it happening and stuff.
i believe i can implement it???
just add another icon with red circle
and use Ipc call for changing tray icon if there is new message or smth. I can just use badge logic
discord native uses just another icon
fixed lol
How do i build the flatpak from source
omg i just noticed it was PR not issue T_T
the task icon isnt the same as the tray icon
wait i'm confused
Oh you are talking about the tray indicator. That is different than what this issue is about.
a working badge indicator is awesome tho :p
261 seems like the better linux native solution as it seems to use the system unread indicator which follows accents
theres also windows and mac users to think about
i thought that this is only linux problem about tray icon
this is what i did. I think that will work for mac and windows too
okay so tell anyone
should i revert this changes or keep?
yours implements it into the icon while 261 uses the system indicator
261's system indicator will work on windows and mac?
if no then i believe i must keep it for winows and mac users and do not change icon for linux users so system's notification badge will appear
I dont think so
macos might have their own standard
Oh, sorry. There was a comment about it aswell so I thought we were talking about both. Kind of like the problem is caused by the same thing. Sorry!
Describe the bug
The vesktop-git AUR package will not build the latest version, because ElectronJS 30.0.1 (the latest version) is not in the list of compatible Electron versions.
To Reproduce
- Run
yay -S vesktop-git, or, since I was doing my system updates, justyay. build()will fail with this error:
ERR_PNPM_NO_MATCHING_VERSIONโ No matching version found for electron@30.0.1
Expected behavior
30.0.1 should be a supported ElectronJS version and t...
Use the AUR comments for support as it's not an official package. Try building with _electron_version=29 yay -S vesktop-git
c u s e d
@humble mortar You wanted to test app-indicator with plasma5 right?
yeah
is libunity the only option for electron apps
following the link a KDE contributor said yes
Chromium-based applications need libunity for showing badges though I believe which could explain the distro difference.
Unless something else supports drop in replacements and you want to use the electron api then probably, yeah
How do i build the flatpak from source
@TheRsKing https://github.com/Vencord/Vesktop?tab=readme-ov-file#building-from-source
I use the TTY
Will spin up a VM in ~1hour, still have some other work to get done
i believe we may close #463 and #191
ughhhh my laptop's vesktop install isn't hooking vencord properly
I can't test it tho cuz my flatpaks won't updateeeee
When prompted to update the button will make my screen go blank, I checked settings and I see no vesktop setting, it is as if im using stock discord. My theme is still in place though nd pinned DM's so the plugins still seem active.
I am using the RPM.
Screenshots

rpc works for me with most games and i dont have anything system level
so
id assume it doesnt require system stuff
idk tho
I think thats the RPC which apps themselves integrate
discord also scans open apps to support non native RPC apps
Vesktop stops responding after selecting a screen source and starts loading audio sources.
To Reproduce
Install Linux Mint
Install Vesktop from .deb
Follow steps at the top of this under Ubuntu
See that you need pipewire
Follow this guide
Restart PC
Set audio sources in sound preferences app
Open Vesktop, join a VC
Click "Share your Screen"
Se...
What Vesktop version are you using? Can you please also provide console output + Venmic logs? (See here: https://github.com/Vencord/venmic?tab=readme-ov-file#-debugging)
@mossy torrent is my roommate and owns one afaik :D
I could implement/rewrite it as a node module
When will people actually provide actually useful information in their bug reports 
It's a great feature, but I wanted to say that maybe the colors could be different. I barely see the icon in gnome where the bar is completely black. If I could choose a palette that benefits everyone that would be great. It seems very hidden indeed. for me tray icons always seem of low quality when purchasing with other Apps.

yep
duplicate of multiple other issues
already fixed, but not released yet (will be very soon)
it is
we do not need arrpc plugin then?
yes
that's what confused me all time xd
Yeah I think so
Ah nvm xd
I'm wondering if it's more widespread than that. I just started using vesktop and people were telling me that my microphone quality was bad. I rejoined the voice channel in a couple of other clients and they all said those sounded fine. After self testing in the sound settings, the difference is night and day. I'd rather use Vesktop, but the audio quality for input is very noticeably worse.
Thank you for feedback! I'm not using any black colors, I believe that it was just small border width. Also, I increased whole icon size. Can you please pull and retest?
What state is on your last screenshot? If it is muted or deafened that means that icons too small, and we need to redraw them completely, because I just took discord's original icons and changed colors to Vesktop ones. They are 24x24 pixels, so maybe they have not resized to proper size in Gnome system.
Thank you for feedback! I'm not using any black colors, I believe that it was just small border width. Also, I increased whole icon size. Can you please pull and retest? What state is on your last screenshot? If it is muted or deafened that means that icons too small, and we need to redraw them completely, because I just took discord's original icons and changed colors to Vesktop ones. They are 24x24 pixels, so maybe they have not resized to proper size in Gnome system.
I can confirm tha...
I don't see how this would happen, microphone audio is not tinkered with (afaik) and other clients also just use electron
Agreed. Mine was more of a coincidental observation. Although the version I started with was using Electron29. I just swapped to 30 and it's sorted out... Not sure why. Maybe it was just the reinstall. I'll stop hijacking this post now.
He started vesktop on electron 30????
its kinda inconsistent
sometimes it works sometimes it segfaults
When I tried I received seg faults always after gif splash, so I thought electron 30 not working at all
Describe the bug
After clicking on the update notification for Vencord, Vesktop shows a blank screen (Appimage)
To Reproduce
Steps to reproduce the behavior:
- Start Vesktop appimage
- Click on "Vencord Update Available" notification
- See a blank grey screen
Expected behavior
Vencord update occurs, after a brief refresh/restart Discord is shown again.
Screenshots
 and it wont start screen sharing. I'm told I might be missing something but we cant seem t...
Same happens for me, on windows 11
Update Vencord via the tray icon or the Vencord installer.
Same issue, but I can reopen the sharing window after a few seconds.
KDE 6.0.4, Wayland 1.22.0, Vesktop 1.5.1
The portal is seemingly missing the preview of the desktop, perhaps you are missing xdg-desktop-portal-kde?
If you want to screenshare I suggest building from source as it has massive overhauls to the way Vesktop handles screensharing. If you are unable to do this hold off for the next update (in a few days).
I've narrowed it down to an issue with what I think is libunity and Plasma 6 (5?) specifically - unable to test 5 at the moment. This affects both the stock Discord and the Flatpak version. Libunity is old and hasn't been touched in ages, so I guess its about time it breaks...
Alright, I've tested on Kubuntu 23.10(plasma 5) in a virtual machine- the Snap, Flatpak (snap and flatpak both bundle libunity) and Deb+libunity9 all display the task indicator.
This is most definitely an upstr...
My tray Icon is disabled and it looks like the integration with Discord is broken as I can't access Vencord settings to turn on the tray Icon. Agreed, using the Vencord installer manually is a workaround, I'll try that. But, that is still not the expected behavior, so I believe this can still be considered a bug. I've also tried signing out and downloading a completely new Vesktop Appimage, which gives the same behavior.
duplicate #519 #516. also explained in our announcement channel
stop being lazy and just opening issue without doing any research
what if we made a better announcement channel that doesn't rely on being in this server
like on the website + rss feed + fetch in client and display as banner (with option to disable)
do people still use rss feeds
using the Vencord installer manually is a workaround, I'll try that. But, that is still not the expected behavior, so I believe this can still be considered a bug
since Vencord patches and deeply integrates with Discord, sadly we are at their mercy. if they make changes that break our patches, stuff breaks and you sometimes have to manually update. not much we can do. that's why options like repairing in the installer (only for Discord Desktop) or updating via the vesktop tray icon exist
maybe we could make it so that the installer can also repair vesktop
Can confirm I and my partner see this issue regularly. Usually right after Vencord starts up screen sharing will work, but if it's been more than a few minutes, I often get this infinite loading loop. A working stream will also eventually stop working spontaneously. I didn't know about using "Change Windows" as a workaround, but can confirm this does work. I've also never seen this behavior with the stock client or the browser client, but obviously those don't share sound.
My suspicion is ...
I do ๐คง
yes
Describe the bug
Vesktop opens, displays the discord loading screen briefly, then closes.
To Reproduce
Run Vesktop
Expected behavior
Vesktop functions
Screenshots
Desktop (please complete the following information):
- OS/Distro: Garuda Linux
- Desktop Environment: KDE Plasma 6.0.4 (Wayland)
- Version: N/A (Just updated today)
Command line output
MESA-INTEL: warning: cannot initialize blitter engine
[...
Electron 30 issue use 29. Report this to the Aur maintainer.
You'd think an arch user would be able to figure this out themselves ๐๐
Electron 30 issue use 29. Report this to the Aur maintainer.
I have Electron 29 installed. How do I launch Vesktop with a specific Electron version?
hi ,i have the same issue i get to pick an screen or window then nothing happens. It worked in the past.
Im using latest git pull from this morning and the issue is still there.
issue with your system. we can't help you. make sure you have the necessary portal and pipewire capturer working
duplicate #519 #516. also explained in our announcement channel
stop being lazy and just opening issue without doing any research
Agreed but when issues are closed as soon as they pop people cant see them unless they remove the filter.
same
systemctl restart --user xdg-desktop-portal
if that doesnt work do an reboot.
seems after an while the dialog just doesnt want to show up anymore and i think its related to wayland/kde xdg portal/
someone has one of the weirdest issues ive seen, so i told them to open an issue about it
we should see that one soon
it is wacky
Describe the bug
Trying to stream anything results in having a framerate of about one, maybe less. Switching to a browser, regular discord, or discord with Vencord, the framerate and streams work as expected. Framerate does not fluctuate, it is constantly that.
To Reproduce
- Try streaming anything, in any resolution/fps combo
2) My stream is washed ๐
Expected behavior
Stream framerate to be what i choose it to be
**Desktop (please complete the following in...
Noice
@hybrid fjord did you make these icons? or did u yoink them from discord https://github.com/Vencord/Vesktop/pull/517
speaking and idle are quite large for whats essentially a few circles
svg would be way better
this if, else if, else block is duplicated 4 times. it should be extracted into a function
Describe the bug
I am trying to get VAAPI Video Decoding to work on amdgpu, which needs a bunch of flags and some amount of prayers.
Since Vesktop tries to append it's own enable-features flags this caused it to override the previous (user added) flags. I have no proof of this happening, but in my testing removing this line made it work:
Those flags has good intentions, but i...
whats the point of making all these constants? why not just
const Icons = new Set(["speaking", "muted", "deafened", "idle", "main"]);
// ...
if (!Icons.has(iconName)) {
console.warn("setTrayIcon: Invalid icon name", iconName);
iconName = "main";
}
tray.setImage(join(ICON_DIR, iconName + ".png"));
export async function setTrayIcon(iconName: string) {
Large icons I made myself, 24x24 took from official discord and edited color
svg nice idea, I will remake them
you should figure out which of these flags are necessary for it to work and open a pr that adds them to the source code. this way it can benefit everyone
Thank you for reviews
this circle can be less than 1kb svg
400kb png is bad
unless im missing something its just one circle and one path
Yep, I will remake them
Any ideas what we can do for mic and headphones icons? Maybe there are some open source free repos with icons where we can just take icons and edit them?
There's a gradient on background, propably that's why so many weight
CaseOH ahh icons
Gradient is inside circle
Top is white~ and bottom is purple~
Colors from VC logo
In my testing, all the flags I placed there is necessary, but it will have to know if the driver is amdgpu (because the whole ANGLE Vulkan dance is only needed (probably for now) for AMD only). Besides, this is using mesa-git and not generally available which is why I'm not comfortable with adding it to Vesktop yet.
I'm suggesting a way to passthrough enable-feature flags to Vesktop. I believe that Vesktop is doing great with the flags, but if the user tries to pass something to Electron...
making svgs by hand is hard xd
Yep, confirmed that the last switch will override all previous switches: https://source.chromium.org/chromium/chromium/src/+/main:base/command_line.h;l=9;drc=515737a1eff38ecfffef07d7dbf5717742cab958
Yes, microphone and headphones svgs will be noticable easier
well this is not an appropriate place for tracking this. perhaps it could be part of the BetterSettings plugin, https://github.com/Vencord/plugin-requests
based on your logs this is a gpu issue
I believe I can take icons from here and edit them???
https://github.com/leungwensen/svg-icon/tree/master
As long as it's MIT
check material icons
Are they free for another projects?
Apache License
This PR implements the solution in #526.
I am also looking to adding the flags to Vesktop, unfortunately it is impossible to set the argument in time as app.getGPUInfo() is async and I don't know if Electron has already initialized the GUI backend by then. It might be worth looking into as a toggle in the settings (probably something like "Experimental Video Decode Acceleration on AMD" but this is so specific it's hard to come out with a suitable name).
this is meh. if the user wants to override one switch, it will disable everything else
why not merge our switches into the user switches? could do the same for disable-features
const features = app.commandLine.getSwitchValue("enable-features");
features.push("Feature1", "Feature2");
app.commandLine.appendSwitch("enable-features", [...new Set(features)].filter(Boolean).join(","));
why not use Figma ?
propietary thing for people pretending to be productive
just like macos, adobe programs, literally every office editor you can imagine...
what the.....
It's just a design program
man really said every designer is pretending to be productive
๐ญ
For anyone using Gnome and wants to autostart with the Flatpak version of Vesktop, adding Vesktop to the startup applications in Gnome Tweaks works quite well.
is autostart not even a feature in gnome settings
cant reproduce
idk what should i do
That is exactly what happened... I wrongly assumed any issue might still be open as I just experienced it on the day I submitted the bug report. I'll make sure to search closed issues as well next time.
"since Vencord patches and deeply integrates with Discord, sadly we are at their mercy. if they make changes that break our patches, stuff breaks and you sometimes have to manually update. not much we can do. that's why options like repairing in the installer (only for Discord Desktop) or u...
@upper pine (you dont need to test it yourself)
Ah nice thanks!
should the title be changed to specify plasma 6
also maybe a plasma issue should be opened
idk what their stance on libunity is
Describe the bug
I can stream fine with or w/o Hardware Acceleration enabled until I turn on the audio source for any application, choosing entire audio or specific applications does not matter
To Reproduce
- Start a screenshare
- Add an audio source before or after starting the screenshare
- Video quality breaks completely
Expected behavior
Video quality remains the same when an audio source is selected.
Screenshots
- Streaming output
Those...
i dont even think theres a cross desktop standard for notification badges
well Gnome doesnt have them at all so thats a thing
true
FPS and resolution drops because of insane low bitrate when selected audio source.
I will retest it on my machine in around 3-4 hours.
This is a footage of the actual screenshare output from another computer.
https://github.com/Vencord/Vesktop/assets/7904559/93c8bc18-8370-475c-b1f8-3abe0d90fe9a
Audio was enabled later on. Absolutely perfect before as you can see. Encoding was working fine for 30% of usage, after the audio was enabled, dropped to 0%
interesting
FPS and resolution drops because of insane low bitrate when selected audio source. I will retest it on my machine in around 3-4 hours.
I also have noticed this on the developer console when a stream w audio is started. Doesn't happen otherwise. If that can be useful
(removed some useless info)
Could happen because the screen share picker for audio adds an audio track - maybe the video properties are reset here somehow?
still better than "doesnt work for me"
About stream preview error I think it's okay because I received it even when my bitrate was ok.
About adding audio track to stream it may cause bitrate drops, but we need to retest it. I will try to reproduce issue and investigate it further.
That's interesting tho
30 kbit is something really new
true
Hi,
I also have this issue and I'd like to add one thing.
When streaming and NO ONE is watching my stream, the bitrate target is 8000 kpbs and the actual bitrate hovers around 7k and 8k (1080p 60fps prefer clarity)
As soon as someone joins the stream, the bitrate goes to 28kpbs.
This issue is not present when streaming without and audio source.
It's good actually
Means we can recreate it and do development on local PCs
mhm
awesome
About stream preview error I think it's okay because I received it even when my bitrate was ok. About adding audio track to stream it may cause bitrate drops, but we need to retest it. I will try to reproduce issue and investigate it further. 30 kbit looks like normal bitrate for audio, maybe bitrate for added audio track accidentally set to video too?
That's what I thought as well ^^
Hi, I also have this issue and I'd like to add one thing. When streaming and NO ONE is watching my stream, the bitrate target is 8000 kpbs and the actual bitrate hovers around 7k and 8k (1080p 60fps prefer clarity and with an audio souce)
As soon as someone joins the stream, the bitrate goes to 28kpbs.
This issue is not present when streaming without an audio source.
@PolisanTheEasyNick Maybe that's caused by the same discord call that messes with the video source shortly a...
oh i didnt say it was bad
ooh
essay is good when informative
inb4 Audio stream is like 3 million bitrate and gets preferred over video track
hAHHAHA
8k audio stream
Ahahahahahaha
the video is 30kbps
We can just stream visualized audio waves
that's my guess
interesting, this completely throws out my hypothesis of "webrtc is just shit"
weird
wdym
i was always under the assumption that webrtc screenshare was not hardware accelerated at all or was only cpu encode
oh yeah no like half of the pr was enabling hardware accel
As for your proposal to add that long list of flags to Vesktop, on my machine, it prints that the settings for angle/vulkan are not an allowed combination.
AMD Arch KDE Wayland electron29.
Just my 2c of unsolicited feedback.
This PR breaks stream audio for me on Linux. I compared the latest Vesktop commit to the latest Vesktop commit with this PR reverted.
I also checked that it was not caused by the Venmic version bump from 3.4.1 to 3.4.2. It's only broken with the actual code changes from the PR, and the logs look about the same (just to show, I'll put them both below).
Log before PR:
[arRPC > websocket] listening on 6463
[arRPC > process] star...
This PR breaks stream audio for me on Linux. I compared the latest Vesktop commit to the latest Vesktop commit with this PR reverted.
I also checked that it was not caused by the Venmic version bump from 3.4.1 to 3.4.2. It's only broken with the actual code changes from the PR, and the logs look about the same (just to show, I'll put them both below).
Log before PR:
[arRPC > websocket] listening on 6463 [arRPC > proc...
Bruh I hope I didn't break it with the media devices hook
@vernal lintel I'll def have to debug this before release, I'll see if I can get a fix in tonight in case I can reprod
Can you also share the debug logs (see venmic readme) when an application is shared before and after the commit?
Sure.
Before:
venmic.log
After:
venmic.log
Can you also share the debug logs (see venmic readme) when an application is shared before and after the commit?
Sure.
Before: venmic.log
After: venmic.log
Thanks! It's definitely an issue with the JS-Side, linking works properly. I'll take a look tonight, I probably accidentally broke the lookup of the Venmic node for the screen share
https://github.com/Vencord/Vesktop/issues/454#issuecomment-2067702123
@Vendicated, transferring to https://github.com/Vencord/plugin-requests/issues/new?assignees=&labels=&projects=&template=request.yml consequently.
okay i'm really confused now
audio streaming broken for me at all
but around 15 minutes ago it was working and i didn't do anything
tf with firefox. Site is allowing copying, i can copy using Ctrl+C
Yeah I might've fucked up in my PR, I'll take a look in a few hours
๐
and if bitrate bug will remain then i will take a look for it too
I'll let you know once I've figured out what's wrong
but propably after few hours i will be asleep already)
i think discord broke something
because all logs looks good for me
I think I did it on accident
Although it worked for me locally before I PRd
So it's going to be interesting what's wrong xd
just wondering
is it good that vencord-screen-share just accepting inputs and electron receiving only from some kwin_wayland-1?
Describe the bug
the program segmentation faults after relaunch
the only way to make vesktop work is to delete the folder in ~/.config
To Reproduce
setup Vesktop
Relaunch Vesktop
Expected behavior
Screenshots
Desktop (please complete the following information):
- OS/Distro: Arch Linux
- Desktop Environment (linux only): KDE Plasma 6
- Version: [e.g. 22] Rolling Release
Command line output
Gtk-Message: 18:15:47.356: Failed ...
ohhh
after installing the flatpak version of the app I think this might be a problem with the way the chaotic aur is packaging it in any case I will report if I encounter the same problem with the flatpak version later on
i: *manually did svg icons"
electron:
this is meh. if the user wants to override one switch, it will disable everything else
why not merge our switches into the user switches? could do the same for disable-features
const features = app.commandLine.getSwitchValue("enable-features").split(","); features.push("Feature1", "Feature2"); app.commandLine.appendSwitch("enable-features", [...new Set(features)].filter(Boolean).join(","));
That would be an option. I'm just mainly concerned with co...
As for your proposal to add that long list of flags to Vesktop, on my machine, it prints that the settings for angle/vulkan are not an allowed combination. AMD Arch KDE Wayland electron29. Just my 2c of unsolicited feedback.
- You need mesa-git, specifically 24.1-devel
- Wayland is currently out of the question, you need to at least run it in XWayland, sorry
- You need to use system Electron.
- Make sure you have a Vulkan driver installed.
Now you get the idea why these flags m...
oh oops
it's okay, i converted them to png 128x128
they look cute
added few commits according to reviews for tray PR

