getsolus / packages

Solus Package Monorepo & Issue Tracker
62 stars 78 forks source link

Discord won't open #1720

Open uudruid74 opened 6 months ago

uudruid74 commented 6 months ago

Please confirm there isn't an existing open bug report

Summary

Discord used to work, but recently has stopped. After a system update, the Discord updater appears, I get the Discord icon in the task bar, but it fails to open.

If I run /usr/share/discord/Discord --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto I get this: [3845:0223/213023.430892:ERROR:angle_platform_impl.cc(43)] Display.cpp:1004 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1430. ERR: Display.cpp:1004 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1430. [3845:0223/213023.431307:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1430. [3845:0223/213023.431500:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [3845:0223/213023.431699:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed. [3845:0223/213023.442587:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [3856:0223/213023.495965:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

I am wondering if there is some issue with the radeon graphics driver since I also get chrome rendering errors unless I turn off hardware acceleration, Steam doesn't work, and I get mouse droppings on my screen with custom cursors (very similar to Chrome's issue).

Steps to reproduce

Click Discord icon

Expected result

Expected to be able to open Discord windows

Actual result

Window does not open, but app seems to think it is?

Environment

Repo

Shannon (stable)

Desktop Environment

GNOME

System details

System: Host: taro Kernel: 6.6.17-277.current arch: x86_64 bits: 64 Desktop: GNOME v: 45.4 Distro: Solus 4.5 resilience Machine: Type: Laptop System: Hewlett-Packard product: HP Pavilion TS 15 Notebook PC v: 0974110002405E00000620180 serial: Mobo: Hewlett-Packard model: 216B v: 30.23 serial: UEFI: Insyde v: F.13 date: 11/21/2013 Battery: ID-1: BAT0 charge: 18.5 Wh (100.0%) condition: 18.5/18.5 Wh (100.0%) CPU: Info: quad core AMD A8-4555M APU with Radeon HD Graphics [MT MCP] speed (MHz): avg: 1165 min/max: 1100/1600 Graphics: Device-1: AMD Trinity [Radeon HD 7600G] driver: radeon v: kernel Device-2: Suyin HP Truevision HD driver: uvcvideo type: USB Display: wayland server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4 compositor: gnome-shell driver: X: loaded: radeon unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon resolution: 1366x768~60Hz API: OpenGL v: 4.5 vendor: mesa v: 23.3.6 renderer: AMD ARUBA (DRM 2.50.0 / 6.6.17-277.current LLVM 16.0.6) Network: Device-1: Realtek RTL8188EE Wireless Network Adapter driver: rtl8188ee Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 Drives: Local Storage: total: 55.9 GiB used: 40.09 GiB (71.7%) Info: Memory: total: 8 GiB note: est. available: 6.97 GiB used: 2.43 GiB (34.9%) Processes: 229 Uptime: 12m Shell: Zsh inxi: 3.3.33

Other comments

No response

Staudey commented 6 months ago

Have you tried the suggested workaround Reilly gave you under your forum post?

https://help.getsol.us/docs/user/troubleshooting/#broken-ui-with-chromium-applications

uudruid74 commented 6 months ago

Yes. It had no effect on Chrome, Discord, Steam, or the mouse droppings on my screen

joebonrichie commented 6 months ago

Does downgrading to an older version of mesalib help?

you can see the versions here: https://packages.getsol.us/unstable/m/mesalib/

Can you try 23.2.1, you are currently running 23.3.6, by running: sudo eopkg it https://packages.getsol.us/unstable/m/mesalib/mesalib-23.2.1-206-1-x86_64.eopkg

To get back to the current mesa version you can run sudo eopkg it --reinstall mesalib

If for whatever reason downgrading causes issues and you get no display you can switch to a TTY with Ctrl+Alt+F4, login as normal and run sudo eopkg it --reinstall mesalib to revert.

uudruid74 commented 6 months ago

Some progress, if only minimal. Replacing the mesalib with the older one will make Celluloid and Handbrake open mp4 files. I verified by going back and forth a few times, and the new mesalib is certainly the culprit. Other issues were unaffected.

I have discovered I can get Discord to open by completely destroying it's config directory, but if you minimize or close the window, it won't ever open again until removing the config directory.

The other graphics glitches, chrome problems, steam problems, etc are unaffected.

Think I should try an even older version? Whats the oldest you think I can get away with?

ReillyBrogan commented 6 months ago

I would say start at 23.3.5 and go backwards by one package release number until you find the first one that works correctly.

ermo commented 4 months ago

@uudruid74 Is this still an issue for you? If it isn't, please close.

uudruid74 commented 4 months ago

The issue with Discord has been coming and going. As I said, I think this is all due to a driver bug. I've had mp4 files reboot the system! The mouse still poops on my screen when I move windows. Been meaning to switch distros to see if it fixes it.

uudruid74 commented 4 months ago

Did not mean to close it. Sorry