Earlier quoted context omitted.
> It's because a) people want high resolution, This cannot be any serious part of the reason, since literally playing 3D video games fullscreen at full resolution can use less power than Discord. [EDIT] For that matter, any streaming video platform. They're ~all extremely battery-efficient even when pushing 4k.
Video playback is low power primarily because GPUs (even embedded ones) have dedicated hardware for video decoding. Video chat requires also encoding video, which not all gpus provide hardware for. CPU encoding video is a very energy intensive task especially as the resolution increases.
When Discord is open in the background, NVIDIA card will not reach full speed
91–100 of 241 posts
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#92Earlier quoted context omitted.
Video games have optimized rendering pipelines and assets. Discord is showing emojis, images that are 10MB+ each, and all kinds of user generated crap at high res that it doesn't have control over. Personally I'd prefer to go back to just text.
Of course they have control over it, it’s literally their own platform. There’s no reason that Discord can’t benefit from the same optimizations that video games use. If a AAA title can figure out how to render 100000+ polygons UV wrapped with several 4K resolution textures in the span of 16 ms, then a $15B valued company can certainly figure out to display emojis and large images without turning your notebook into a…
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#93There are many problems with discord, and GPU is not the worst one. Discord Snap has to block many unusual activities, but I still see these: * attempt to `ptrace` processes all the time; * using 99% CPU; * to work Discord needs some non-standard interfaces to be connected; * Discord tries to track which other programs you run by default and shares it. * too frequently restarting desktop integration snap until the lo…
>> blocking other programs using desktop integration for file dialogs: latency of several minutes, sometimes dialogs never appear. I think HN may have solved one of my most annoying technology mysteries... Definitely taking discord out of automatic startup. Moving back to teamspeak or some other system is quickly becoming a thing for me. I used to run a TS3 server for years.
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#94Discord can definitely do some strange things to your machine. I can't play DayZ when it's open, the game will not connect to any servers and errors out with this "player auth login state" message. I thought it was my internet connection but running a server locally also resulted in the same error. It took me a few months of on-and-off searching, but I eventually found a comment on a message board where someone had e…
Sounds like a port issue. I imagine the first thing most people did was list the ports in use when either app was running. Did the investigation end at finding the culprit or did they figure out the actual cause?
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#95Earlier quoted context omitted.
They ran fine on machines a hell of a lot weaker than that. If you had an actually-good desktop OS (uh, BeOS is the only example I know of—Linux, at the time, couldn't do this, even with minimalist window managers) you could even browse the web, have chat open, and be playing mp3s, and not hear so much as a pop or skip on the music, on a 166MHz Pentium (that's a single core, kiddos) with 128MB (luxury!) of memory.
I used to be able to do that on my 25MHz Amiga with 10MB of RAM. Static absolute task priority scheduling is actually a very good way to ensure your MP3 will play without stuttering.
... but, point is, a chat app ought to be able to run smoothly using perhaps 10% of a single efficiency-core on an M1, when actively being used, and about 0% when inactive. These programs acting like they're mining Bitcoin just to let you chat, which we used to do on hardware far weaker than many modern thermostats have (hell, maybe even some lightbulbs), are absolute jokes.
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#96I exclusively use Discord in a browser tab. I simply won't use a dedicated app for anything that can be done in a web browser.
I’m the opposite. If there is a well written app on iOS or iPadOS, I’ll use it for the increased privacy protections, lower battery and CPU usage and (sometimes) lower bandwidth consumption. IMHO, mobile operating systems have gotten better than legacy desktop operating systems in a bunch of key areas. But of all the platforms, the web is the worst one. The web has tracking everywhere and often uses a lot of CPU, mem…
I bet iOS electron based apps are tracking significantly more than FF + uBlock. It's also why I strongly dislike Electron. It's basically Chrome without uBlock.
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#97Earlier quoted context omitted.
That seems like the exception that proves the rule to me. If every electron application is a bloated CPU/memory hog that ignores the OS conventions, save the one with major corporate resources backing it, that tells me that making electron apps not suck is out of the reach of most developers, and such a thing is probably inherent to the framework.
Also it's important to note that MS makes bit only the best performing electron app (VSCode) but also the worst (Teams). So even with MS' billions it's not guaranteed to become a quality product. Strange enough they're now touting the move to Edge WebView as the solution (since they finally acknowledge how bad Teams is) but never explained how this will solve the problem as it's just the same tech (chromium) undernea…
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#98Earlier quoted context omitted.
I yarn for the simpler days of IRC, Pidgin and Skype where these apps ran fine on a 1GHz Pentium 3 chip with 256MB of RAM. Now you need a quad core 3GHz chip and 8GB RAM just to run a chat app reliably. Where did we go wrong?
I will never miss skype. that application was a buggy ass POS near the end.
It used p-2-p over port 80 so it would always reach its destination no matter the firewall rules on your network, and it allowed file transfers up to 2GB(!) in size, in 2005(!).
Can present day Discord do that?
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#99Earlier quoted context omitted.
So then I guess the advice is, if you have to use Discord, stick to the web version?
One sticking point for people might be the way push-to-talk works for the in-browser version; the shortcut to trigger it will only work when you have the browser window focused (I think due to limitations in how browsers can capture inputs when not focused, which is a pretty reasonable policy in general). Not only does this mean you'd need to alt-tab over whenever you want to push to talk (which isn't super easy for…
xdotool search --name 'Discord.*— Mozilla Firefox' keydown F9
xdotool search --name 'Discord.*— Mozilla Firefox' keyup F9
I configured web Discord to use F9 as the push to talk button since it seemingly doesn't conflict with anything in Firefox, but you can then bind it to any key or mouse button on your global keyboard shortcut settings.According to some people on StackExchange (I didn't test myself) this doesn't work if you're using Discord on Chromium-based browsers, which seem to reject xdotool events unless the window is focused (which xdotool can do for you, but doesn't work for the PTT usecase). Of course, this doesn't work on Firefox when running native Wayland windows because xdotool is X-only, and ydotool doesn't work either because it emulates a virtual device which would mean you still need to focus the window.
Re: When Discord is open in the background, NVIDIA card will not reach full speed
#100Earlier quoted context omitted.
Video playback is low power primarily because GPUs (even embedded ones) have dedicated hardware for video decoding. Video chat requires also encoding video, which not all gpus provide hardware for. CPU encoding video is a very energy intensive task especially as the resolution increases.
Doesn't every consumer AMD/nVidia GPU and every consumer Intel CPU (as long as it has integrated graphics) made in the last 10 years have hardware accelerated H.264 encoding?