#π₯-vesktop-development
1 messages Β· Page 12 of 1
im not adding jq as a makedep
why not
you can also do it with nodejs -e "some thing" but it's more complicated
jq is tiny and any sane person should have it already
im going to fil your room with carbon monoxide @vernal lintel
oh
β’ description is missed in the package.json appPackageFile=/home/nick/.cache/paru/clone/vencord-desktop-git/src/vencord-desktop-git/package.json
fixxx
nick
what is this supposed to mean
It seems that Vendicated/Vencord#2342 can partially solve this problem.
Played around with it under Arch with KDE Plasma, working mighty fine with the exception of a missing edit icon.
Is it possible to allow .svg and .ico files to be chosen? They are far more common for distributing app icons, as far as I'm aware.
Played around with it under Arch with KDE Plasma, working mighty fine with the exception of a missing edit icon. Is it possible to allow
.svgand.icofiles to be chosen? They are far more common for distributing app icons, as far as I'm aware.
I tried doing this earlier, but Electron's NativeImage (which Tray uses) can only create images from .png and .jpg files. (RIP GIF tray icons)
True but the flickering is so bad π
I haven't found a way to use "^" for versioning, and I'm facing errors because my PNPM is up to date. So I decided to submit a PR with the update if necessary.
Does anyone know why it might be the case that the "minimize to tray" setting doesn't apply (if you disable it) after first launch? I thought it was because the first launch form returns value | undefined instead of a boolean, but the arRPC setting does the same thing and works both ways. (Returning a boolean does fix it, but lint gets angry and says it's unnecessary)
Nevermind think I figured it out :)
If the minimize to tray setting was disabled in the first launch window, it would not correctly apply unless it was changed afterwards. Fixed by removing the !== false check as it would incorrectly evaluate if the setting was undefined. Tested on Windows 10 & Fedora 40 KDE.
returning a boolean is correct
Discord Account
No response
Operating System
Arch Linux
Linux Only ~ Desktop Environment
KDE
What happens when the bug or crash occurs?
When attempting to send a screenshot of my entire desktop, it states "Upload Failed... Something went wrong". When checking the networking tab it responds with a 400 Bad Request upon trying to send the message. This only applies when trying to capture an entire window.
What is the expected behaviour?
I expect Vesktop to just...
Thank you for detailed description! Can you try to reproduce it in stock discord web in browser?
enough clowning around
noone is forcing an icon on you, you can just not use the app if you don't like it. i like the icon, so i accepted the pull request that added the icon. it's not being changed, go cope i guess
ps: someone else's identity is not 'politics', you're just a little snowflake that gets mad at a rainbow on their screen
In defence, i can totally understand that you might have project burnout, but doesn't vencord position itself as a solution that is superior ...
not a vesktop issue. all web code including uploads is handled by discord
Then PR itπ
i have an idea for implementing keybinds (mute/deaf for start) on wayland. But only for KDE
two ways:
- In Vesktop start some type of local server which on GET request to this server will do specified action. Then in KDE settings add custom keybind which will send request with needed action to our server.
- In Vesktop add some subscribers (that how they called??) like SIGUSR1 and SIGUSR2 and when we execute killall vesktop -SIGUSR1 then toggle mute, for example. And also in KDE settings add custom keybind which will send needed signal to Vesktop
All this are very bad aproaches which should be avoided but at least it will work for some percentage of people
any further ideas?
On Windows, you can right-click and change the icon, and I believe that applies to the task bar as well.
(Bit of context, I'm the original poster of #505 )
I'm not quite sure what you mean here. Do you mean to right click on the shortcut? If so I think this would work but I personally prefered using the portable version of vesktop and just running the exe. Having an icon changed baked into vesktop would make it easier for all users to change the icon on any platform
Same is happening here. Delay is big and I think gets even bigger after some time and my voice is choppy for other people. I can hear everyone fine though
Control your application's event lifecycle.
eh
maybe not
nvm
We should use a unix local domain socket
and let the vesktop binary be called to send stuff through that socket then exit
managed to handle this signals but i'm not figured yet out how to send IPC message from main process to renderer OR how to use findByProps in main scope
i will back to it later
japanese translation but by editing source code π
so did yall ever get it
i was limited to 720p 30fps on normal discord before
but because of 1 diff i now know why
getGoliveQuality(e) {
return this.goliveSimulcastEnabled && e < 100 ? this.getDefaultGoliveQuality() : this.goliveMaxQuality;
}
if Go Live Simulcast experiment is enabled then it limits you to 720p 30 fps
odf
what does that experiment do
no clue
incredible
This PR adds not bad way for implementing basic keybinding for toggling mute and deaf statuses.
How it works?
This PR adds custom signals SIGPIPE and SIGUSR2 handlers which will toggle mute and toggle deafness respectively.
So with this if anywhere in the system you execute killall -SIGPIPE Vesktop (or PID or smth for vesktop) then it will toggle mute. killall -SIGUSR2 Vesktop will toggle self deafness.
How we can use it?
For example, in KDE systems, we can add custom keybinds ...
After a lot of tries, seems that adding the following while starting Vesktop drastically reduced the number of crashes.
--enable-features=UseOzonePlatform --ozone-platform=waylandThis is obviously only an option if you run Wayland and not X11.
My full options chain, for transparency, is:
`--enable-features=UseOzonePlatform,VaapiIgnoreDriverChecks,VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization,UseMultiPlaneFormatForHardwareVideo --ozone-platform=way...
anyone experiencing this issue, try running vesktop with --disable-renderer-backgrounding and see if it fixes it
this happens with stock discord tooπ
yeah its a chromium thing
pretty sure that flag fixes
but need like confirmation
its been happening in vesktop for a while now but only recently started happening in discord desktop
assuming its something in new chromiums
we should rewrite vesktop
This fixes by adding this: https://github.com/PolisanTheEasyNick/Vesktop/blob/tray-icon/src/main/mainWindow.ts#L392
**mainWindow.ts: **Line 392
backgroundThrottling: false
also try my flag
I can't rn π¦
what do you think about this approach?
removed star webhook
Any update on this?
Every time I screenshare with Vesktop, it somehow makes all my games laggy and in counterpart also uses a lotta ram. This doesn't happen when I stream using OBS, which means having a capture device connected to the virtual cam would probably make this less laggy.
Now I can't bully my friends who bother me for tech support questions that are stupider than #π₯-vencord-support-π₯ in advance by knowing they star the repo and might use the software

YAY
gonna make a new bot that instead sends starts right to your dms
OH GOD HAHAHAHAHHAHAHA
I should make a bot that just dms you every 30s and says hi
:3
lemme repurpose some old bot code I have laying around
const { Client, Events } = require('discord.js');
const Token = process.argv[2] ?? require('./token.json').token;
if(!Token) {
console.error('No token specified.');
process.exit(1);
}
const client = new Client({intents: []});
client.once(Events.ClientReady, async ev => {
console.log(`Logged in as ${ev.user.tag}`);
const channel = await (await client.users.fetch('306158896630988801')).createDM();
setInterval(() => channel.send('hi'), 30 * 1000);
});
client.login(Token);
omfg
vencord users discover selfbots 
selfbots are always the solution to every problem you never had
Discord Account
Playertrip777#4892
Operating System
Fedora Linux 40
Linux Only ~ Desktop Environment
KDE Plasma 6.0.4, Wayland
What happens when the bug or crash occurs?
The bug happens after I login to Vesktop, relaunches it, and it shows a blank window and a tray icon.
What is the expected behaviour?
I expect Vesktop to not show a blank window after reopening it, and open Discord as normal.
How do you recreate this bug or crash?
- Start up Vesktop on firs...
for solutions, see other reports of the same issue, there are some discussions and solutions: https://github.com/search?q=repo%3AVencord%2FVesktop+RGBA_8888&type=issues
tldr: disable hardware acceleration or run with --disable-gpu, or try using appimage/rpm instead of flatpak
Flatpack
@vernal lintel Youuu i just realized something
vesktop always checks for updates on startup which is pretty useless when its managed by an external package manager
could there be some way to detect if its managed externally and skip checking for updates
Me reacting to every message someone has ever sent with π΄
there was a selfbot that joined here that reacted to everything with π
Discord Account
@stawz
Operating System
EndeavourOS
Linux Only ~ Desktop Environment
Plasma on Wayland
What happens when the bug or crash occurs?
The video jutters when moving the mouse around on the screen, causing an unpleasant viewing experience.
What is the expected behaviour?
Smooth video unaffected by mouse movements
How do you recreate this bug or crash?
- Enter a voice channel
- Start streaming
- Select the web browser window or screen in the po...
Will be fixed here: https://issues.chromium.org/issues/333945842
And then we must wait for electron to use this fixed version of chromium and use this electron version in Vesktop.
Thank you @PolisanTheEasyNick. It's good to know that there is a path to solving this issue. I'll close this issue now.
Discord Account
No response
Operating System
Arch Linux
Linux Only ~ Desktop Environment
KDE Plasma 6
What happens when the bug or crash occurs?
I receive a push notification on my phone
What is the expected behaviour?
I should not be getting push notifications when I'm sitting in the fucking chat on my desktop
How do you recreate this bug or crash?
Just use the application
Debug Logs
You don't get logs, fix your shit program.
Reques...
ooo that sounds nice
don't be so rude. this is freely available and free of charge software developed by people in their free time, have some respect to maintainers
you have been blocked and reported to github.
now this is gonna be interesting to see if they get banned or not
ive seen github ban for way less but that was on empty accounts
this one actually has stuff attached to it
Discord Account
hydroponicgardener
Operating System
Fedora 39 workstation
Linux Only ~ Desktop Environment
KDE, Wayland
What happens when the bug or crash occurs?
Uploading (Drag and Drop) any sort of video/image/file completely breaks the UI. I can't interact with anything
Entire user interface freezes, but I can still type and see others type.
Kernel: 6.7.5-200.fc39
Specs, if needed: i7-7820HQ, 32GB RAM Dell Latitude 5480
Currently uncertain if this is a "me...
Yeah like dude you paid nothing to use this
Also has anyone else actually experienced that because I sure haven't
I think I've had the same thing happen yesterday
Why is there no fucking sane way to get page info on linux π
this issue closed as resolved btw
oh thanks
so uh
should we set a minimum resolution
for streams
cuz occasionally for me it will do this
it just decides to use none of the available bitrate
and kill the resolution
wait
this may be a part of gamemode being weird
let me test
nope
it just refuses to go up sometimes
Try clarity mode
yeah but that limits the fps pretty hard
and locks res
Fair
I just noticed that on start it's getting full resolution
yeah fair
i just feel like its kind of crazy that it would drop so far on smoothness mode
and then not go back up
when available
but on clarity it sits at 1080 and almost always can handle 60fps unless there's a lot of motion
i wish it would just drop to like
480 at lowest
and when set to 1080p maybe 720 at lowest
https://github.com/Vencord/Vesktop/blob/main/src%2Frenderer%2Fpatches%2FscreenShareFixes.ts#L40-L41
We already setting this((
src/renderer/patches/screenShareFixes.ts#L40-L: Lines 40-41
width: { min: 640, ideal: width, max: width },
height: { min: 480, ideal: height, max: height },
Probably we can try to write it in advanced
thats my guess
Bc this advanced Field helped setting resolution before
Maybe min max will work here too
maybe
let me check and see if there's anything on the docs
this is what im going to try
i will
In patches and in picker.tsx
well now its not going below 720p 
OH YOU KNOW WHAT
is the backgrounding still an issue?
it may be
that once it goes to the background
it drops
and then it fails to re-increase
stream never dropped for me in backghround
cuz streams start good for me but get bad after a while
i have no idea
i think it is backgrounding
look
i didnt tab in for a while
and the bitrate fell
and as soon as i tabbed in
it jumped
Wtf
Maybe I didn't noticed it because I'm using my icon tree
And I set backgroundThtrottling: false
src/main/mainWindow.ts#L39: Line 392
backgroundThrottling: false
Discord Account
Liarus
Operating System
Fedora 40
Linux Only ~ Desktop Environment
KDE 6.0.4 - Wayland
What happens when the bug or crash occurs?
When uploading a file via Drag & Drop, the files are added to the message, but the client becomes unresponsive to the mouse, it cannot interact with the discord client until it is closed and restarted (ctrl + r does not fix the issue)
What is the expected behaviour?
Ability to upload files without the client becoming unr...
are you using flatpak? If yes, the file you are trying to upload is probably not in a directory that discord can access. Ether add vesktop permissions to access that dir or use the file picker appearing after using plus button
V will close this in 3.. 2...
are you using flatpak? If yes, the file you are trying to upload is probably not in a directory that discord can access. Ether add vesktop permissions to access that dir or use the file picker appearing after using plus button
Yes i am, i did think of that and the issue happens no matter where the file is.
As for the file picker, it works just fine, the bug report is only for drag and drop.
begging people to stop being lazy and start actually searching for existing issues :/
this is like the 5th duplicate
and second by today
Content
When i trying to start translation on Linux Mint - Cinnamone... after choosing the source monitor or window, that's just freeze next opened window and i can't doing anything. but it's not just freeze, UI is standing indicate new information, but you can't doing anything.
why can't we just give vesktop access to entire user home directory?
Why is the cursor blue in the screenshare π£οΈ
i also noticed slightly color changes for cursor
yellow was turned to blue wow thanks Chromium
?
it has full access to your system unless you use flatpak
flatpaks should have the least privilege required to run
if you want it to give full access, you can just manually give it to it
personally i gave vesktop flatpak full system access xd
you can do it with flatseal
yep
yeah same thing on KDE/wayland here with the cursor, weird
I mean in the manifest, so it applies by default to everyone and does not require manual changing
"disable renderer backgrounding to prevent the app from unloading when in the background"
does this fix Discording "pausing" when it is not focused?
maybe. try it and see
this honestly wasn't supposed to be pushed with this commit :p
it's always best practice to give the lowest amount of privilege needed and then escalate as required
as opposed to giving software more than needed from the start
yep
it didn't throttle for me with that
it stayed smooth and higher rea
res*
but also having the minimum in advanced made it not drop much
i never saw it go lower than 720p
@vernal lintel do you know if there's a difference between doing this
why not do both
and this

lmao true
should i remove this from voice tray icon PR? #517
for like
adding that in another commit
yeah probably
although maybe i will rewrite vesktop history to remove that change from the random commit and make a proper dedicated commit
so we can better track it
okay but i need that setting from windows users
because tray icon will not be updated when vesktop minimized without it
removed
also #517 ready for review/mergeπ
yes, but DnD is an important feature for many users, and without the permission client hangs when they attempt to use it, so imo this permission can count as required
DnD hangs without permission to the whole home folder???
without access to the dragged file
most users will probably send files from their home folder
oh that's what you mean
Tbh this should be better handled by a portal that's capable of allowing dnd
Thought that DnD stood for Do Not Disturb here hehe
if vesktop hangs when discord actually tries to read file contents and not before the event fires it might be possible to intercept the event, check if we aactually can read it (probably from native side), and either upload it or show a dialog about lack of permissions
the browser handles dnd so I don't think it's discord itself that causes the hang
probably an electron issue
this is an electron bug
we aren't going to weaken the security to fix it
if you want to do that yourself you can use something like flatseal
I thought about Dungeons and Dragons and did not understand what it was all about π
Where are we at so I can use vencord without a furry?
Where are we at so I can use vencord without a furry?
You can technically build ading2210's repository from source by following the same steps as Vencord's repository but changing the URL for cloning to match:
`git clone https://github.com/ading2210/Vesktop
cd Vesktop
Install Dependencies
pnpm i
Either run it without packaging
pnpm start
Or package
pnpm package
Or only build the pacman target
pnpm package --linux pacman
Or package to a directory only
pnpm pa...
Adding
XDG_CURRENT_DESKTOP=KDE5tovesktop.desktopalong with installing libunity has this working on Plasma 6 for me! Some things to note though:1. Enabling `settings>Notifications>Enable Unread Message Badge` adds a useless dot to the window title when there is no unread notification. (Option should be hidden and off as Vesktop has its own setting which actually toggles the badge under `settings>Vesktop>Notification Badge`) 
Cannot give logs, but can say the following
- Vesktop is the latest stable Flatpak version
- Mint was close to a fresh install
- Pipewire is already installed and running by default, same was the case with the Xfce install on my laptop. Unsure why, given no session manager is installed with it, could possibly be related to choosing additional codecs in Mint installer? Unsure, but could be a cause of the issue. This isn't my doing as I've observed this on totally fresh installs of Mint, bot...
And how is it
So far it seems pretty stable but I didn't do proper testing yet
Discord and VMWare don't flicker anymore though (so far) :)
Glad to hear)
@cunning crane Did you install multimedia codecs?
Currently reinstalling the VM to test again
yeah
Alright, I'll install them as well then
if it's installed like mine, you should find systemctl --user status pipewire should show it to be running, but pulse should also be installed and running
pulse would be doing the work in that case
Yeah that's the default on mint
yep
i have a feeling the error relates to it attempting to get audio from pipewire despite pipewire actually doing a total of nothing
that shouldn't matter, pipewire should still be available and just return no sources, that's actually how it was when I tested in in the VM
I don't query audio from pipewire I just query the currently available nodes, which should be none when pipewire is just sitting there not doing anything
Not in arch repo yet :c
wait i meant 21.3 i am stuck in the past
It will not break everything?
how did i even get this wrong
no just allows you to select the version
I'm building kwin-explicit-sync for now)
I'm using 21.3 no worries
Then try
ah alright good
Is that even required?
Dunno, maybe
Does anyone know how if its possible to overwrite the files of a flatpak package without rebuilding it?
Just want to swap a file real quick
Is venmic in some resource file or is it also just on the disk?
resources/app.asar
pnpx @electron/asar e app.asar app-extracted
cd app-extracted/static/dist
pnpx @electron/asar p app-extracted app.asar
π
https://www.rozbrajacz.futbol/
Unable to communicate securely with peer: requested domain name does not match the serverβs certificate.
HTTP Strict Transport Security: false
HTTP Public Key Pinning: false
Certificate chain: ...
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.22.1
< Date: Tue, 21 May 2024 18:50:09 GMT
< Content-Type: text/html
< Content-Length: 169
< Connection: keep-alive
< Location: https://rozbrajacz.futbol/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.22.1</center>
</body>
</html>
idk works for me Β―_(γ)_/Β―
in curl yes, but in ff not
from what i see the cert is only for rozbrajacz.futbol, and not for www.rozbrajacz.futbol, and firefox does not like it
Β―_(γ)_/Β―
ignore the cert error
or just manually redirect yourself to without www.
not worth fixing
ok wtf
it wont go up but this time its the bitrate being glinkus π
its not locked
it just doesnt wanna go up
@hybrid fjord it seems using min and max in the advanced is a little buggy
maybe its because i didn't include ideal?
π¦
Ok so it seems like pw_core_sync never calls done or error on mint
I believe today I streamed without all these patches and it worked good
At least no one complained
nEVERMIND ITS JUST BAD EITHER WAY
new stream
instant bitrate floor
its not capped
it just doesn't go very high
and the resolution goes down to like 360x180
at 60fps
I will retest tomorrow, I today didn't have electricity π¦
aw oki
At least this 100% not for me
@cunning crane Found the issue, when pipewire-media-session / wireplumber is not installed / started the done event will never fire, thus the client will wait indefinelty for the server - This is unfortunate, I'll see if I can fix this somehow
that makes sense, only fix i could think of rn is to give it a timeout before giving up and falling back to pulse
I'm able to receive some info before, I might be able to figure out if there is a pipewire server running
Timeout is sadly not an option
shame
could you check whether pulse is running (maybe specifically under the current user but idk if thats needed) before attempting pipewire? then if pulse is running it's pointless to try pipe
I do that already, however I'd like some hybrid setups to work as well, i.e. people that have only some apps running in pipewire
only thing i could then think for is to see if pipe is managed
There's also a pop-up that warns you if you're running pulse instead, but you can choose to ignore that
Yeah I'll have to figure out some way to see if a media server is active, if not I could also fallback to the pulse check...
Seems like there's no pretty way to do it, timeout it is then
For reference, would you mind sharing where is the original rainbow Vesktop icon used for the Mac, Linux and Vesktop GitHub repo? @Vendicated
Still waiting for the day where some random pipewire function I need will
a. get documented properly
b. fucking work as I expected
its so unstable for me
oh guh
is this tracked somewhere
don't think so
idk what i did now it doesnt error
https://aur.archlinux.org/packages/vencord-desktop-git im trying to figure out this latest comment
@azure verge i can't reproduce stream issue
also in 555 driver i noticed that some animations on 144 hz display feels like 60 fps π¦
and in games something like that too
which?
like scrolling for example
opening/closing menu and so on
i have dual monitor setup, 144hz+60hz
and no one complained too, so that's something for my system only
tried both but now on that kwin branch
hmm
i have to reboot
nvtop wont load my gpu either
might have updated a driver without realizing or something
and nothing is working right
lmao
really must be an arch moment
works fine now π
I just had the most insane brain blast
Will fix the venmic pulse issue in a sec
wtf vm big broken
By the by, are you looking for any contributions for this? I can take a look at the auto-update and volume stuff potentially.
Discord Account
No response
Operating System
MacOS Sonoma 14.5
Linux Only ~ Desktop Environment
No response
What happens when the bug or crash occurs?
There is a blinding white light on pop ups and texts.
What is the expected behaviour?
Should be dark mode normally.
How do you recreate this bug or crash?
- Have MacOS
- Open Vesktop
- Open a server and find a message and hover over it.
Debug Logs
Replace this text with your crash...
By the by, are you looking for any contributions for this? I can take a look at the auto-update and volume stuff potentially.
We're always happy to see contributions :)
without the nitro theme applied (i.e. on clean dark mode) it also doesn't happen
/shrug
never had that happen and never seen anyone report that happening to them
<img width="1136" alt="Screenshot 2024-05-22 at 10 50 13" src="https://github.com/Vencord/Vesktop/assets/81376423/9af35da2-81b0-468e-bea2-de500789fd44">
When I put on light mode this happens, I think there is something messed up with the themes code
are you sure you don't have any quickcss or themes on?
I just fully reinstalled and left settings sync off, and it seems to be working fine now, any ideas because I would like to have settings sync on.
probably some theme / quickcss you have on?
Will close this since its "me only" issue and check on my main pc when I get home, thank you for your help :)
Cannot give logs, but can say the following
* Vesktop is the latest stable Flatpak version * Mint was close to a fresh install * Pipewire is already installed and running by default, same was the case with the Xfce install on my laptop. Unsure why, given no session manager is installed with it, could possibly be related to choosing additional codecs in Mint installer? Unsure, but could be a cause of the issue. This isn't my doing as I've observed this on tot...
@hybrid fjord The explicit sync kwin branch is border line unusable for me
Same
I'm few days using vesktop on electron 30
Perhaps we can safely update it?
oh @vernal lintel your webhook thing u wanted for the flatpak repo
if u ask on matrix very nicely they might give u it
Interesting, considering I was facing the crash after updates. Anyway, glad it's solved
i maked update, and problem is still going. i'm on mint cinamon and after updating vesktop nothing changes.
vesktop hasnt updated with the patch yet. we will do so next update or you can build from source by following instructions in readme
To the author of this PR: could you test if this also changes the icon when pressing alt+tab? (In KDE, there is the Vencord icon when you press alt+tab.)
want me to build with 30.0.6 and test that too?
if you want but i do not have any issues at all
awesome
all works good just like at 29
its just probably good to test on multiple setups
i'm on 30.0.6
yep
it is
at least we stopped receiving bug reports about this
and there MUST be users who uses AUR version of vesktop and which uses electron 30 version by default and even didnt notice it
definitely
i want new chromium version bumped at electron so badπ
easiest way to test: make a new release and see if anyone complains
and remove about 20 same issues per day π
To the author of this PR: could you test if this also changes the icon when pressing alt+tab? (In KDE, there is the Vencord icon when you press alt+tab.)
On KDE I can override the icon used in the task switcher by:
- First change the icon for Vesktop in your app menu to your preferred icon, then
- Right-click on the Vesktop titlebar and go to More Actions > Configure Special Application Settings
- Click the Detect Window Properties button
- Select the Vesktop window with the crossh...
@rootiest Thank you very much! I knew KDE had these special properties, but I didn't know it reached this level of customization!
And, in fact, it's pretty straightforward to do this (just like you said).
Have a wonderful day, my friend!
rookie numbers
as soon as this weekend is over (Sunday is my graduation) my schedule opens up a lot
I'm gonna try and get back into working on stuff here
I'd like to have this feature. Maybe having the option to change it to the original Discord icon, or at least something similar, but also having the option to upload a custom one.
What could go wrong
What is wrong with pnpm π
reinstall fixed it
what ever lol
congrats 
tanks
f232cfc Spellcheck: add language changer & swap positio... - Vendicated
6b94866 make package manager check warn instead of erro... - Vendicated
@worn harness love?
yop

not needed anymore right?
the bug doesnt happen for me anymore so i guess not
looks good for the most part but i dislike moving the screenshots down
screenshots should usually be on the top
this is a bit hacky. scanning discord's code it looks like they have a function isMac that they use in various locations
would probably be better to instead patch that to cover everything including future ui
onMarkerRender={v => (v === 1 ? "100" : String(Math.round(v * 100)))}
this constant seems duplicated across multiple files. for better maintainability, it should be moved to the shared/ folder
you don't need this ipc call. you can register a settings change listener in the native process, look at the initSettingsListener function in mainWindow.ts
wouldn't this make a lot more sense in State than in Settings?
it works very much the same. did you maybe forget to remove the default zoom handlers? they might take priority over your accelerators
it works very much the same. did you maybe forget to remove the default zoom handlers? they might take priority over your accelerators
Current screenshots are too large to be on top, making them a nuisance when trying to scroll down to read about Vesktop's features.
Resizing them doesn't help because they aren't the same size, so it looks a little out-of-place. That's why I put them at the bottom.
What do you think about screenshots on top but with something like "Click to expand"?
using signals is very cursed. why not use a named pipe / fifo in XDG_RUNTIME_DIR/vesktop-ipc?
const VoiceActions = findByPropsLazy("toggleSelfMute");
VesktopNative.voice.onToggleSelfMute(() => {
VoiceActions.toggleSelfMute();
});
VesktopNative.voice.onToggleSelfDeaf(() => {
VoiceActions.toggleSelfDeaf();
});
Anyone else?
Lmao
The Github Status page being down is probably enough evidence
What the fuck is up with GitHub lately
It has never been so fucking unstable
Back up now
@hybrid fjord Firerfox still seems to have issues when one of its windows is minimized on v555, does that happen to you to?
I don't think so
Did you set nvidia. kernel parameter?
Let me find it
nvidia.NVreg_EnableGpuFirmware=0
It fixed all issues with frame rate on animations and firefox crashes without MOZ_ENABLE_WAYLAND=0 env variable
Wtf
Never heard that
Will enable, thanks!
Also looks like Transparency broke with v555
Hello, There seems to have been some changes in driver 555 which have resulted in the same issue as reported in my github for open source to also affect the proprietary driver now: EDIT: The solution was to add NVreg_EnableGpuFirmware=0 to the kernel load and all issues were fixed! P.S. Firstly, sorry for the ping but would like to thank to...
also i'm using nvidia-beta from aur, not nvidia-all
but do not think that there is diff
Did it helped for you?
didn't reboot yet :D
Let's test)
I'm secret aperture worker
Will do in a sec :D
xddd
Discord Account
duckydee
Operating System
Windows 10
Linux Only ~ Desktop Environment
No response
What happens when the bug or crash occurs?
I attempt to screenshare, and nothing happens when I confirm in the menus.
What is the expected behaviour?
It should start sharing my screen.
How do you recreate this bug or crash?
- click screenshare button
- select window to screenshare
- quality and framerate doesnt matter
- click go live
- menu closes, bu...
I also am experiencing the exact same bug and explained in the original post. I am also getting this issue with discord web client however. Outside of discord, my system does recognize the OBS Camera
to be able to look into this issue, we need more info
try screensharing in your web browser by visiting discord.com/app. if that also doesn't work, then it's an issue with your system so you'll have to figure it out yourself (e.g. update gpu drivers)
other than that, any more info you could share that you think might be relevant might be useful! a screen recording of you going through this process and running into the issue would also help
for example [screenshare] audio will always be mono
@ebon sequoia yeah, i tried to fix this a while ago and made sure i was sending stereo audio, but it ended up mono... i think discord downmixes it on their server or something
it's very frustrating
Yeah I also tried that on getDesktopMedia
I verified that it was stereo by saving the video to a file
but upon sending it to discord the users receive it downmixed to mono
when doing it on the client it's stereo so there's definately a way
well if you really were to reimplement discord-voice from scratch, we would use their non webrtc vc api and it should support stereo
It's still webrtc, just forked
I don't think it's a system issue, since I can use the actual discord app (even with vencord installed on it) and screenshares will work just fine.
demo vid: Left is vesktop, right is discord
https://github.com/Vencord/Vesktop/assets/31322692/62a255ff-b4a8-4e93-96b6-9487db11f42e
Besides this, what can I provide to give more info? Running from a command prompt really doesn't give me that much information, as no info gets printed specifically when i click screenshare, the debug logs I p...
I think the bots work the same way
it's pretty simple to make it use the discord custom "protocol", but the client will error cause obviously it doesn't support it
were you also looking into it?
by client you mean chromium?
this?
actually i think he was looking into it to document it for https://docs.discord.sex/topics/voice-connections
Voice connections operate in a similar fashion to the Gateway connection. However, they use a different set of payloads and a separate UDP-based connection for voice data transmission. Because UDP is...
he was looking into the encryption modes recently
no something else
i never read this but it might be helpful to you
arhsm also had interest in this project but he's unavailable right now, taking an indefinite break
indefinite? F
ah i found the project https://git.kaydax.xyz/w/algos
welp I only searched github
i don't know how finished / good it is, but have a look
who is the dev
idk if they're here, but you can email them at worthywilliam@proton.me 
but first check how the implementation status is, maybe you think it's bad or smth
in any case you'll probably find some people interested in this project in this channel as well
yeah big thx
check errors inside the chrome console (ctrl shift i)
if discord-voice was implemented
it'd make user volume infinitely easier
but I'm still digging for a way to solve it with pure web stuff
did you find a way to get access to streams of individual users?
maybe see what the default per volume option does
how it works
user volume?
once you got access to the stream you can put gain on it
per user mic volume
we want to port the option to use higher than 100% from discord desktop
vesktop yes
discord desktop already has it as a native feature, up to 200%. and there's a vencord plugin to make it go even higher than 200%
but vesktop (& web discord) are stuck at 100% which is meh
I see
this needs js then
@azure verge have you found how the volume works on the web version?
like which function gets called
not entirely
it seems that it combines all users into one audio track
so whatever we do we have to do somewhere earlier in the chain
nothing yet
this is a good idea
I've been stuck and kinda forgot my options
no it's not
it's udp sockets
i think they MAY also support tcp sockets but these have never been documented or supported to my knowledge
idk maybe some ancient client used them
yes it is
discord_voice.node has a lot of chromium webrtc code
they use webrtc in the backend (and for browsers)
but the protocol used to communicate on desktop clients isn't compatible with webrtc to my knowledge
The blogpost seems to indicate that it is
Our desktop, iOS, and Android applications, however, make use of a single C++ media engine built on top of the WebRTC native libraryβββspecifically tailored to the needs of our users.
keep reading
The SFU also acts as a bridge between native and browser applications. It implements a transport and encryption for both browser and standalone applications and translates between the two as it forwards media packets.
wait this explains what voice server ping is for
omg
TIL
tf2 pfp 
i do not quite understand how to work with this
I should somehow when vesktop started create this vesktop-ipc and then inapp read from this?
also question how it will work on windows then
Instead of having too much customization, I would go with a simple: Turn off cuteness option that changes the icon and the loading gif to a rigid alternative.
it won't
but approach with signals will work on windows too??
so prob better to use this or not?
there's no need for this outside of wayland
in anything else you can easily create proper keybinds
only in wayland it's not that easy
okay so i need to create own pipe vesktop-ipc or just somehow use discord-ipc-*'s one?
const xdgRuntimeDir = process.env.XDG_RUNTIME_DIR || process.env.TMP || "/tmp";
const socketFile = path.join(xdgRuntimeDir, "vesktop-ipc")
child_process.spawnSync("mkfifo", [socketFile]);
fs.open(socketFile, fs.constants.O_RDONLY | fs.constants.O_NONBLOCK, (err, fd) => {
if (err) {};
const pipe = new net.Socket({ fd });
pipe.on("data", (data) => {
console.log(data.toString())
});
});
thanks!
refactored, you can check now
also i moved
process.title = "Vesktop"
into mainWindow.ts. This is non needed in this PR but with this title setting Vesktop is properly displaying in System Monitor, for example (without this it would be something like "node ." without Vesktop icon and name)
just in development tho no?
once you package it'll show up as vesktop
Discord Account
apostle_of_floof
Motivation
When selecting an audio source for a screen share, you can only select "Entire System" or individual apps.
Entire Audio obviously isn't exactly the greatest choice when using sinks, as it even connects the sinks discord is piped into (meaning viewers will hear themselves in the stream).
The second option of selecting individual ...
creating checklist of sources is not bad idea
Entire Audio obviously isn't exactly the greatest choice when using sinks, as it even connects the sinks discord is piped into (meaning viewers will hear themselves in the stream).
Not entirely sure what you mean. The entire desktop audio option explicitly excludes vesktop.
and some other games take ALL nodes related to the game, including input/microphone nodes.
We explicitly only select nodes that are not input nodes afaicr
Enable selecting audio sinks and/or indidivual dev...
and lol does discord native support a few sources by once?
Venmic supports more than native does
Not sure what he's on about
Lol what
I have no idea what his setup is
Or what the problem is lmao
What the fuck
Ryzen > AMD
@vernal lintel Maybe we should have a settings page for "Additional Properties to exclude for Screenshare in A. Mixed Mode (Normal App-Share), B. Exclusion Mode (Whole Desktop Audio)
DockerHub borked?
lol
Alright, to elaborate:
For various reasons, I have Created 4 virtual sinks:
System, Applications, Communications and Games.
Each sink's output is directly attached to my audio device. Any sound that is being played is then assigned to one of these 4 sinks, but no audio source is ever directly connected to my hardware output.
This gives me much more control on how to handle sound streams in stuff like video recording, as I can easily setup each sink as it's own audio track.
Naturally,...
Thanks for the dumps and clarification!
This is really a rather unusual setup, I think simply adding some sort of "export" mode would be best here.
However, I'll see if I can find a way to fix the Helldivers Issue or if Helldivers simply does bad audio managing (same for Rabbit and Steel)
Nodes would be so much more appropiate here, why does everyone use sinks :'(
@vernal lintel Would you rather have an option to explicitly blacklist nodes that receive any input from the default microphone or from any kind of microphone / source?
Not sure which one I should go with
idk
Actually
I don't think that should even be an option
I'll just add an option to ignore nodes that have media.class Input
Instead of blacklisting Nodes that receive input from a source
Because this is:
- A lot more effort
- Actually kind of dumb, imagine wanting to share something like FLStudio
Why was I even thinking lmao
I should stop working on three things simulatenously
Discord Account
No response
Operating System
Nobara Linux
Linux Only ~ Desktop Environment
KDE Plasma on Wayland
What happens when the bug or crash occurs?
I try launching Vesktop through bottom bar, the "Launching Vesktop" screen appears for a short moment and then nothing.
When launching the app through terminal (without --no-gpu), same thing happens.
Last time i launched it, everything went fine. I switches from official Discord app to Vesktop, because same thing...
gpu issue. run with --disable-gpu or disable hardware acceleration
Fuck I had a good idea for a C++ paper
Turns out it was already submitted one fucking year ago
But is only destined to release in C++26
:(

Wasn't too bad
I had the update in the wrong place
And that caused the first List-Request to return nothing
@vernal lintel Regarding the export mode (see https://github.com/Vencord/Vesktop/issues/619), do you think it would suffice if we add a QuickCSS-Like Code editor in the Settings where you can define additional key/value pairs passed to venmic to include/exclude?
Or should we add a proper UI?
A proper UI would probably be a little harder since we'd have to come up with a way to give the user granular control over which properties he wants
Personally I think that it must be defined in UI, not in some css classes π¦
Problem is that we already have ~ complicated UI for screenshare
Problem is that we already have ~ complicated UI for screenshare
Exactly, and an expert mode would apply to virtually no one except this one guy
So we could also just not make it too overengineered and allow people that already know what they're doing anyways to just define additional node-properties to exclude
What if we list all devices from where we can take sound and just check what user want?
Btw, I'm not talking about a proper UI which allows you to select specific nodes and so on, I just want something where you can add additional properties to be passed to exclude since that should absolutely suffice I'd say
Problem with that is that they can be recreated and their ID can change
Which would make it absolutely useless, since then they could also use qpwgraph
It's important for us to have some way of tracking a node even when it's recreated
And we should also add more fine grained options to exclude certain stuff, which I think would just be too massive for any UI
The exclusion stuff definetly settings not picker
Not sure about the more fine grained include stuff
This is the weird game he want's to share
This node has literllay zero useful informations for us
I'm not even sure how we'd display that in a dropdown
Like the only thing we could use is the binary
But that sucks ass as well
or the object id
which is subject to change
or we simply don't give a fuck about apps that don't implement their audio properly
Omg it so sucks
Binary name then is the best way here
Or create some dict with binary -> full name but actually that out of vesktop and venmic scope
wdym with binary -> full name?
Like game.exe is "Game"
we wouldn't even be able to identify which wine preloader runs it
so we have no way of getting the exe name actually
This is just fucking retarded what game developer implements their audio as lack luster as this lmao
iirc we can fetch pid and probably from pid get full path?
no
there could be multiple wine preloaders
which one would it be
we don't know the pid
ohhh
nvm the pid is also stored in pw
(this is not always the case)
afaicr it can be omitted as well
Can we get a list of all preloaders which output sound?
Maybe just print them all and let user pick π
It's sound like not our problem that these apps can't normally print who they are
So letting just preloaders is prob not worst way
Probably
Yeah I guess
That could work
I guess I'll add a setting for that and also add some sort of key-value pair UI where you can additionally exclude certain node properties
Thank you for your work ^^
Client Mods are also for like 5% of users
It always nice to be able to fine tune stuff to the most absurd detail xd
Better to not calculate actual percent of users xd
hahaha
Starting from Linux vs windows vs mac percentage
venlytics β’οΈ
.rocks
oh true lmao
Rabbit of Steel:
We currently only list nodes that have both"application.name"and"node.name"set to non empty values, which the game does not fullfill (application.name = "",node.name = ""). This simply makes it impossible for us to display any sort of identifiable information for the game, thus it is not displayed. I'd argue this is the fault of the game then, there are no other properties that we could use to identify it by.
I mean look at this:
 to Vesktop soon :)
Thanks for the quick work!
Yeah, that sounds like an option to "show applications without names" or simply show the pids after the app name (and have everything else called "Unknown") would be an easy way to get it working.
Back in my old days on Windows, I do remember seeing a couple of apps not having real names or using placeholder names in the sound options. Not very common, but definitely not the unthinkable.
Regarding the Helldivers problem and loosely related to my initial issue...
Maybe have an advanced mode toggle that lets you choose multiple sound inputs individually. This would work as a quick workaround for similar issues when there are unwanted sources or a lack thereof. This would also give more options to the user, like streaming a game AND their music player.
I would actually prefer to go the other way and exclude them in that moment instead of selecting them more fine grained - This would make more sense on a technical level - However I may add the optio...
@vernal lintel Do you approve to allow multiple apps to be selected in screenshare?
Actually
Is there even a Component for this atm?
sure
uhh
I could
But that would be so cursed
I'd rather keep it this way
I could also make a workflow that just bumps it in the cmake/package.json when one version changes
When GitHub Arm runner π’
MutliSelect is not a separate component right?
Multi select is actually a pretty useful feature
Like Spotify+some game is very good streaming setting
dont sayt hat
spotify is currently launching nukes at ur house
What to use then π
I think he meant because of "piracy" concerns when sharing spotify
But:
YTMusic is goated
do u not know that spotify auto pauses if u have mic on for 3 or more minutes xD
they are so paranoid that you will share via discord
Lmao what
I didn't noticed it xd
@hybrid fjord Btw the nvidia setting didn't fix firefox for me
:c
Very strange actually how for some people it work for some no
This is a draft
- [ ] Bump Venmic
- [x] Granular Selection (partially done)
- [ ] Additional Exclusion Options
Will finish this next week :)
Nvidia
Β―_(γ)_/Β―
At least the flickering is gone
So that's a win
maybe aur version fixes it?
jemand hat mir das gesendet und ich musste direkt an deine reply denken xd
i have never had this
on linux or windows
and my mic doesnt have good noise suppression so it doesn't stop sending audio

HAHAHAHAHAHAHHAHAHAHHAHAHAHAHA
Vee
This is literally
The most funny shit
I've seen in a long while holy fuck hahahahaha
Im crying
Vee I love this image so much
For Nix users I wrote this to include the patch with your build.
It also extends the patch to disable echo cancellation.
(vesktop.overrideAttrs (previousAttrs: {
patches = previousAttrs.patches ++ [
(fetchpatch {
name = "micfix-b0730e139805c4eea0d610be8fac28c1ed75aced.patch";
url = "https://gist.githubusercontent.com/jvyden/4aa114a1118a06f3be96710df95f311c/raw/b0730e139805c4eea0d610be8fac28c1ed75aced/micfix.patch";
h...
xdddddd just read this now
Can I get a 50x50 print out of this
I have some space left on my wall
Ok I need 30x40
i shamelessly stole it from @mortal relic (she probably stole it too
)
It's 4β¬
This is so worth it
I just had
The most amazing idea
Fuck a poster I'll get a shirt

Ahahahahahaha we need T-shirt with this print
Absolutely
What's that site that often sells shirts with custom prints
There's like that one page that everyone uses
BORN TO SAY "FUCK OFF"
Forced to say [solution to my friend's problems]
merch.vencord.rocks
Can we please make this a thing lmao
just tell me where to point the domain and gimme 10% of the returns
and merch.vencord.rocks is all yours
xdd
someone probably already has a vps
(or I have a server but I'm too stupid/lazy to deal with anything else than hosting)
Delivery to Ukraine would be more expensive that t shirtπ

are you from ukraine?
Yes
I paid β¬158 in shipping+import on a β¬540 item from Hungary 
not worth
If you want something very strong we can probably deal with it more cheaper
I have friends in Germany who can ship something to you
And to my friend I can ship using private buses who periodically rides in two sides xd
naaah not worth the trouble for 16 bucks xd but thank you
i might just bite the bullet and buy it anyway
Hi folks π
Overlayed seems like a good middle ground for this but I'm unsure if Overlayed will work ith Vesktop.
@aqtoo opened https://github.com/Hacksore/overlayed/issues/78 which is asking to support Vesktop. However, I'm unsure of if it supports the RPC API via websockets so if we can clarify that would be awesome!
Otherwise if it's a missing feature do we need to open a feature request?
Hi! it does support RPC via the arRPC project, but it's limited to rich presence. any more advanced functionality is not supported, so it will likely not be sufficient for Overlayed
See also https://github.com/OpenAsar/arrpc/issues/18
the best way to go about this would be to fork arrpc and make it integrate it more deeply with vesktop / other custom clients like armcord, but that would be considerable effort
whyπ
Discord Account
robotta_cherry
Operating System
Fedora 40
Linux Only ~ Desktop Environment
Wayland
What happens when the bug or crash occurs?
The behavior occurs when screensharing with audio (I haven't checked without audio)
The stream constantly stutters as long as I'm moving my cursor.
What is the expected behaviour?
I expect the stream to perform as usual, despite if the cursor is moving or not.
How do you recreate this bug or crash?
- Launch Vesk...
It is a known bug of Chromium WebRTC streaming, for which i already created bug report.
Actually it is fixed but we need to wait for Chromium devs to finally merge it, wait for new Chromium release, then wait for Electron to bump this new Chromium release and then we can use this Chromium without slutters on mouse move in Vesktop.
Discord Account
sudo
Operating System
Windows 11
Linux Only ~ Desktop Environment
No response
What happens when the bug or crash occurs?
When any of the Transparency Options are enabled under Vesktop Settings, you are no longer able to use the maximize window button, nor are you able to snap the Vesktop window to any of the snap layouts, as seen below:


