Closed Noratrieb closed 2 months ago
I still get the same error with that :/
One thing I forgot to mention is that after updating, it works on the first try (both with your PR and the one i tried before). Then, after I close it, subsequent launches fail.
Try a nixpkgs from before the update NIXPKGS_ALLOW_UNFREE=1 nix run "github:nixos/nixpkgs/fd281bd6b7d3e32ddfa399853946f782553163b5#discord" --impure
also try newest canary
That has the same issue of working the first time and crashing the second time... looks it's not the discord update then. Canary has the same issue. Very weird. Spotify and Obsidian (other electron apps) work perfectly fine.. Looks like I need to bisect this whole thing in that case.
I started bisecting and suspiciously, everything was green so I reset to the known-bad commit, rebuilt, restarted my computer and now it seems to work reliably? And your command also works reliably? And canary as well? Weird, maybe some other thing was corrupt.. state, on my system, unbelievable!! :D Gonna leave this issue open for a bit to see whether I get an issue again (or if someone else has the same problem) but will close if it doesn't reappear.
It happened again, no updates :thinking:
Try nuking (or less destructively, renaming) .config/{discord,discordptb,discordcanary}
so it generates the directory from scratch, and see if it still does it. Discord keeps a frustratingly large amount of state,
I'm having the same issue. I tried deleting my .config/discord
folder and it worked, but only the first launch. If i restart discord the issue comes back.
NVIDIA 535 on Hyprland
I am also experiencing this issue. It didn't start until I added nvidia drivers to my configuration.
A better work around to get discord to launch without nuking the .config/discord
folder is to disable Hardware Acceleration in Settings > Advanced
My system is currently using Nvidia 550.67 with Wayland
For me it works fine using X11 Plasma6, but after switching to Wayland I get this error, but disabling hardware accel fixed it for now, hope I can reactivate it later! (also doesnt work on the 555 driver)
@Noratrieb @matt1432 @Daholli Does this issue still persist?
recently no issues, even with hardware accel
I turned on hardware acceleration and it looks like it works again.
Describe the bug
Discord fails to start. The full log when running
$ discord
isSteps To Reproduce
Steps to reproduce the behavior:
discord
I use X11 GNOME with an nvidia card and the proprietary nvidia driver, my full config is https://github.com/Nilstrieb/nixos/tree/483ab6368d4ab659fada94bac8a22729b46a6e96
Expected behavior
Discord starts
Additional context
Add any other context about the problem here.
Notify maintainers
Probably related to #299552, which roughly coincides with when I started encountering this. @JohnRTitor @DontEatOreo
@MP2E @Scrumplex @Artturin @Infinidoge @jopejoe1
Metadata
using nixos-unstable ff0dbd94265ac470dda06a657d5fe49de93b4599
Add a :+1: reaction to issues you find important.