Discord and VLC not working but are launched?

I’m not sure how long this problem has been around since I only needed VLC and Discord today after not using them for a while but with an up-to-date EndeavourOS I can launch the pacman versions of Discord and VLC(I get the dialogue of Discord starting and it shows up in my app indicator bar) but I can’t do anything with them.

Like the applications themselves are invisible or not drawn so they’re unusable. The menus in the app indicator work just fine and I can shut them down there.

There also no error messages in the terminal when I launch them there.


A reboot and reinstalling them doesn’t fix it either.

Any idea what the problem could be?

I’m only really familiar with LXQt and KDE, so I don’t recognise the desktop environment. What one is that?

As a simple test, you might try creating a new user account, logging in with that, and seeing if either of these applications start.

I also changed your topic category from “EndeavourOS repo” to “Applications”, which given neither Discord or VLC are in the EndeavourOS repo (they’re in the Arch repo), is more fitting.

2 Likes

run them from the command line and post the output along with DE/WM

2 Likes

I think its Gnome.

@fhireman
Just tested in KDE and vlc appears to be working just fine.

2 Likes

It seemed to have resolved itself, even though the only package update today for me was libgexiv2.

But happy that both work again :slight_smile:

Thanks everyone!

1 Like

Update:

It was a fluke, still apps are launching without being “drawn”.
Now KeepassXC does the same, and sometimes Discord or VLC still don’t get drawn.

I’m on Gnome 48 yes. Running apps in the console don’t give a proper output error that indicates an issue as far as I can see.

I’m trying to figure out if it’s only QT apps for example.

Running Gnome-shell 48.2

Discord launching in command line:

Discord 0.0.95
(electron) 'session.getPreloads' is deprecated and will be removed. Please use 'session.getPreloadScripts' instead.
(electron) 'session.setPreloads' is deprecated and will be removed. Please use 'session.registerPreloadScript' instead.
Starting app.
Starting updater.
6/2/2025, 1:26:26 PM GMT+2 [Modules] Modules initializing
6/2/2025, 1:26:26 PM GMT+2 [Modules] Distribution: remote
6/2/2025, 1:26:26 PM GMT+2 [Modules] Host updates: enabled
6/2/2025, 1:26:26 PM GMT+2 [Modules] Module updates: enabled
6/2/2025, 1:26:26 PM GMT+2 [Modules] Module install path: /home/frank/.config/discord/0.0.95/modules
6/2/2025, 1:26:26 PM GMT+2 [Modules] Module installed file path: /home/frank/.config/discord/0.0.95/modules/installed.json
6/2/2025, 1:26:26 PM GMT+2 [Modules] Module download path: /home/frank/.config/discord/0.0.95/modules/pending
splashScreen.initSplash(false)
CDM component API found
blackbox: 6/2/2025, 1:26:26 PM GMT+2 0 

----------------------------------------------
CDM completed with status: cdm-ready-success
blackbox: 6/2/2025, 1:26:26 PM GMT+2 1 Discord starting: {"releaseChannel":"stable","version":"0.0.95"}, modulepath: /home/frank/.config/discord/0.0.95/modules
blackbox: 6/2/2025, 1:26:26 PM GMT+2 2 ✅ webContents.created web1 ""
blackbox: 6/2/2025, 1:26:26 PM GMT+2 3 ✅ window.created win1 "discord"
(electron) 'console-message' arguments are deprecated and will be removed. Please use Event<WebContentsConsoleMessageEventParams> object instead.
13:26:26.270 › DiscordSplash.signalReady
splashScreen: SPLASH_SCREEN_READY
splashScreen.webContentsSend: SPLASH_SCREEN_QUOTE SPLASH_SCREEN_QUOTE [ 'Hold Tight — Loading Discord' ]
6/2/2025, 1:26:26 PM GMT+2 [Modules] No updates to install
splashScreen: no-pending-updates
6/2/2025, 1:26:26 PM GMT+2 [Modules] Checking for host updates.
splashScreen: checking-for-updates
splashScreen.updateSplashState checking-for-updates checking-for-updates {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'checking-for-updates' } ]
13:26:26.315 › DiscordSplash.onStateUpdate: {"status":"checking-for-updates"}
13:26:26.315 › Splash.onStateUpdate: {"status":"checking-for-updates"}
blackbox: 6/2/2025, 1:26:26 PM GMT+2 4 ✅ webContents.did-finish-load web1
6/2/2025, 1:26:26 PM GMT+2 [Modules] Host is up to date.
6/2/2025, 1:26:26 PM GMT+2 [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
6/2/2025, 1:26:26 PM GMT+2 [Modules] No module updates available.
splashScreen: update-check-finished true 0 false
splashScreen.launchMainWindow: false
Optional module ./ElectronTestRpc was not included.
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
blackbox: 6/2/2025, 1:26:26 PM GMT+2 5 ✅ webContents.created web2 ""
13:26:26.675 › DiscordSplash.onStateUpdate: {"status":"launching"}
13:26:26.676 › Splash.onStateUpdate: {"status":"launching"}
blackbox: 6/2/2025, 1:26:26 PM GMT+2 6 ✅ window.created win2 "Discord"
13:26:27.270 › Splash.updateCountdownSeconds: undefined
13:26:27.819 › [FAST CONNECT] wss://gateway.discord.gg/?encoding=etf&v=9&compress=zstd-stream, encoding: etf, version: 9
13:26:28.017 › [FAST CONNECT] connected in 197ms
13:26:28.269 › Splash.updateCountdownSeconds: undefined
mainScreen.on(did-finish-load) false false
splashScreen.pageReady
blackbox: 6/2/2025, 1:26:28 PM GMT+2 7 ✅ webContents.did-finish-load web2
[22680:0602/132628.365063:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
13:26:28.378 › [libdiscore] [experiment_manager] Loaded experiments from cache
13:26:28.378 › [libdiscore] [BlockedDomainsStore] Deserialized 38418 hashes, revision 1364
13:26:28.450 › Initializing voice engine with audio subsystem: standard
blackbox: 6/2/2025, 1:26:28 PM GMT+2 8 window.close win1
blackbox: 6/2/2025, 1:26:28 PM GMT+2 9 webContents.destroyed web1
blackbox: 6/2/2025, 1:26:28 PM GMT+2 10 window.closed win1
13:26:28.525 › [DatabaseManager] active user changed (now: 340258111724060674, was: null, was: undefined)
legacyModuleUpdater: installed-module discord_krisp 1 1 true
13:26:28.546 › [default] [BUILD INFO] Release Channel: stable, Build Number: 404269, Version Hash: 57688b9cddec0ed83c512d6d6e961c4cfcbc9abd
legacyModuleUpdater: installed-module discord_game_utils 1 1 true
13:26:28.602 › [NoteStore] libdiscore enabled: false
13:26:28.605 › [default] [NATIVE INFO] host 0.0.95, modules: discord_desktop_core: 1, discord_erlpack: 1, discord_spellcheck: 1, discord_utils: 1, discord_voice: 1, discord_zstd: 1, discord_krisp: 1, discord_game_utils: 1, discord_rpc: 1, build: null
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
13:26:28.606 › [libdiscore] The answer for life the universe and everything is: 42
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
13:26:29.063 › [Spellchecker] sh is not a valid locale.
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
13:26:29.078 › [Spellchecker] Switching to en-GB (available)
13:26:29.341 › [CloudSyncUtils] CloudSync is not supported on this platform
legacyModuleUpdater: installed-module discord_rpc 1 1 true
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
13:26:29.464 › [RPCServer:WSS] Starting on 6463
13:26:29.466 › [RPCServer:IPC] Starting on /run/user/1000/discord-ipc-0
13:26:29.520 › [ConnectionStore] Socket is reconnecting because of starting new session
13:26:29.521 › [GatewaySocket] .connect() called, new state is WILL_RECONNECT
13:26:29.521 › [GatewaySocket] Setting connection state to WILL_RECONNECT
13:26:29.522 › [GatewaySocket] Setting connection state to CONNECTING
13:26:29.522 › [GatewaySocket] [CONNECT] wss://gateway.discord.gg, encoding: etf, version: 9, compression: zstd-stream
13:26:29.522 › [GatewaySocket] [FAST CONNECT] successfully took over websocket, state: [object Object]
13:26:29.522 › [GatewaySocket] [CONNECTED] wss://gateway.discord.gg/?encoding=etf&v=9&compress=zstd-stream in 0 ms
13:26:29.522 › [ConnectionStore] handleIdentify called [object Object]
13:26:29.522 › [GatewaySocket] Setting connection state to IDENTIFYING
13:26:29.523 › [GatewaySocket] [HELLO] via 
gateway-prd-us-east1-d-0bf1: 0, heartbeat interval: 41250, took 2 ms
13:26:29.531 › [GatewaySocket] [IDENTIFY]
13:26:30.298 › [GatewaySocket] [READY] took 777ms, as 3898adc0131b923f0ebc8df35c055394
13:26:30.299 › [GatewaySocket] 
gateway-prd-us-east1-d-0bf1: 532.367
|  id_created: 0.403
|  session_lookup_time: 0.295
|  session_lookup_finished: 0.019
|  discord-sessions-prd-2-120: 529.78
|  |  start_session: 133.581
|  |  |  discord-api-rpc-67db4945bc-xq28p: 107.83
|  |  |  |  get_user: 11.202
|  |  |  |  get_guilds: 33.465
|  |  |  |  user_settings_proto: 0.058
|  |  |  |  relationships: 12.614
|  |  |  |  game_relationships: 0.006
|  |  |  |  friend_suggestion: 0.069
|  |  |  |  connections: 0.016
|  |  |  |  serialized_read_states: 0.005
|  |  |  |  send_scheduled_deletion_message: 0.002
|  |  |  |  sanitize_premium_perks: 0.002
|  |  |  |  guild_join_requests: 0.002
|  |  |  |  user_guild_settings: 10.793
|  |  |  |  serialized_private_channels: 0.004
|  |  |  |  user_segments: 7.162
|  |  |  |  game_invites: 0.005
|  |  |  |  blocker_ids: 0.002
|  |  |  |  affine_user_ids: 0.013
|  |  |  |  experiments: 18.672
|  |  |  |  required_action: 0.016
|  |  |  |  authorized_ip_coro: 0.003
|  |  |  |  pending_payments: 1.25
|  |  |  |  apex_user_experiments: 0.006
|  |  |  |  user_activities: 0.002
|  |  starting_guild_connect: 0.041
|  |  presence_started: 7.747
|  |  guilds_started: 0.164
|  |  lobbies_started: 0.001
|  |  guilds_connect: 387.23
|  |  presence_connect: 0.001
|  |  connect_finished: 387.497
|  |  build_ready: 0.624
|  |  clean_ready: 0.002
|  |  optimize_ready: 0.111
|  |  split_ready: 0.01
13:26:30.299 › [GatewaySocket] Setting connection state to SESSION_ESTABLISHED
13:26:30.299 › [GatewaySocket] Updating resume url to wss://gateway-us-east1-d.discord.gg
13:26:30.309 › [Flux] Dispatching CONNECTION_OPEN
13:26:30.310 › [AuthenticationStore] handleConnectionOpen called [object Object]
13:26:30.312 › [DatabaseManager] removing database (user: 340258111724060674, database: undefined)
13:26:30.312 › [DatabaseManager] added database (340258111724060674 → null)
13:26:30.317 › [NativeDispatchUtils] Tried getting Dispatch instance before instantiated
13:26:30.330 › [OverlayRenderStore] setOverlayEnabled: not supported
13:26:30.343 › [OverlayStoreV3] Maybe Enable Overlay
13:26:30.522 › [GatewaySocket] [READY_SUPPLEMENTAL] took 1000ms
13:26:30.522 › [GatewaySocket] Setting connection state to SESSION_ESTABLISHED
[22680:0602/132632.490654:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[22680:0602/132632.492946:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
mainScreen.UpdaterEvents: CHECK_FOR_UPDATES UPDATE_NOT_AVAILABLE
6/2/2025, 1:26:32 PM GMT+2 [Modules] Checking for host updates.
13:26:32.672 › [libdiscore] [Cache] Set cache for key: experiments_snapshot
6/2/2025, 1:26:32 PM GMT+2 [Modules] Host is up to date.
6/2/2025, 1:26:32 PM GMT+2 [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
6/2/2025, 1:26:32 PM GMT+2 [Modules] No module updates available.
legacyModuleUpdater: update-check-finished
13:26:32.828 › [Flux] Slow dispatch on GAMES_DATABASE_UPDATE: 128.30000000074506ms
13:26:36.310 › The resource https://discord.com/assets/189422196a4f8b53.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:36.311 › The resource https://discord.com/assets/ce3b8055f5114434.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:36.311 › The resource https://discord.com/assets/cb2006dbced0e246.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:36.327 › The resource https://discord.com/assets/7a6a566c2e88a35d.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:36.328 › The resource https://discord.com/assets/e52f0cba712e2fb4.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:36.328 › The resource https://discord.com/assets/dd24010f3cf7def7.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:40.329 › [ReadStateStore] Deleting ReadState 1132562383538245652 0 [object Object]
13:26:40.430 › [ReadStateStore] Deleting ReadState 1367762480465707011 0 [object Object]
13:26:42.600 › [libdiscore] [NETWORK] Sending GET request to https://cdn.discordapp.com/bad-domains/current_revision.txt
13:26:42.643 › [libdiscore] [NETWORK] Completed GET request to https://cdn.discordapp.com/bad-domains/current_revision.txt with status: 200
13:26:42.643 › [libdiscore] [BlockedDomainsStore] Fetching delta between revisions 1364 -> 1375
13:26:42.643 › [libdiscore] [NETWORK] Sending GET request to https://discord.com/bad-hash-delta
13:26:42.678 › [libdiscore] [NETWORK] Completed GET request to https://discord.com/bad-hash-delta with status: 200
13:26:42.679 › [libdiscore] [BlockedDomainsStore] Adding 21 hashes, removing 0 hashes
13:26:42.682 › [libdiscore] [Cache] Set cache for key: blocked_domains_state
13:26:42.682 › [libdiscore] [BlockedDomainsStore] Successfully fetched blocked domains
13:26:45.678 › The resource https://discord.com/assets/189422196a4f8b53.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:45.679 › The resource https://discord.com/assets/ce3b8055f5114434.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:45.679 › The resource https://discord.com/assets/cb2006dbced0e246.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:45.679 › The resource https://discord.com/assets/7a6a566c2e88a35d.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:45.679 › The resource https://discord.com/assets/e52f0cba712e2fb4.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:45.679 › The resource https://discord.com/assets/dd24010f3cf7def7.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:51.047 › The resource https://discord.com/assets/189422196a4f8b53.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:51.047 › The resource https://discord.com/assets/ce3b8055f5114434.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:51.047 › The resource https://discord.com/assets/cb2006dbced0e246.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:51.048 › The resource https://discord.com/assets/7a6a566c2e88a35d.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:51.048 › The resource https://discord.com/assets/e52f0cba712e2fb4.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:51.048 › The resource https://discord.com/assets/dd24010f3cf7def7.woff2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
13:26:53.053 › [RTCLatencyTestManager] RTC region latency test completed, ranked regions are:  rotterdam,frankfurt,milan,london,paris

And running vlc in the command line:

VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000562b148785b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[0000562b1490da30] main playlist: playlist is empty

Setting QT_QPA_PLATFORM=wayland doesn’t work either. It still launches the app but shows no GUI.

I’m wondering if it’s because qt6-base recently hit 6.9.0 (it’s on 6.9.0-2 now but doesn’t work still) and introduced issues with qt apps.

I have yet to run any wayland I guess I need to prepare myself to do so. Hopefully someone who does can chime in and offer some useful suggestions.