JaKooLit / Arch-Hyprland

For automated installation of Hyprland on Arch or any arch based distros
GNU General Public License v3.0
1.35k stars 109 forks source link

[Bug]: discord #44

Closed blutub closed 6 months ago

blutub commented 6 months ago

after fresh install. I tried to install discord from official pacman repo. But somehow it can't open the app. Here i'll attach the crash log. As i'm not sure what happen . 2024_03_11T21_57_00_112Z-0-events.log

JaKooLit commented 6 months ago

try to launch discord through tty with --disable-gpu and then once started, disable hardware acceleration through settings

blutub commented 6 months ago

How do i do this exactly?

blutub commented 6 months ago

i've tried to open tty 3 using ctrl+alt+f3 and then on there i try opening discord using discord --disable-gpu. But it says missing X server of $Display

JaKooLit commented 6 months ago

why did you use ctrl alt f3? Just launch kitty (super enter) ... when I say tty just a short term for terminal

blutub commented 6 months ago

ah alright i've tried to run it but it seems it still didnt work

blutub commented 6 months ago
 blubub@arch  ~  discord --disable-gpu 
Discord 0.0.44
Starting app.
Starting updater.
2024-03-12T12:03:15.878Z [Modules] Modules initializing
2024-03-12T12:03:15.878Z [Modules] Distribution: remote
2024-03-12T12:03:15.879Z [Modules] Host updates: enabled
2024-03-12T12:03:15.879Z [Modules] Module updates: enabled
2024-03-12T12:03:15.879Z [Modules] Module install path: /home/blubub/.config/discord/0.0.44/modules
2024-03-12T12:03:15.879Z [Modules] Module installed file path: /home/blubub/.config/discord/0.0.44/modules/installed.json
2024-03-12T12:03:15.879Z [Modules] Module download path: /home/blubub/.config/discord/0.0.44/modules/pending
splashScreen.initSplash(false)
blackbox: 2024-03-12T12:03:15.897Z 0 

----------------------------------------------
blackbox: 2024-03-12T12:03:15.910Z 1 Discord starting: {"releaseChannel":"stable","version":"0.0.44"}, modulepath: /home/blubub/.config/discord/0.0.44/modules
blackbox: 2024-03-12T12:03:15.927Z 2 ✅ webContents.created web1 ""
blackbox: 2024-03-12T12:03:15.934Z 3 ✅ window.created win1 "discord"
splashScreen: SPLASH_SCREEN_READY
2024-03-12T12:03:16.035Z [Modules] No updates to install
splashScreen: no-pending-updates
2024-03-12T12:03:16.036Z [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' } ]
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

blackbox: 2024-03-12T12:03:16.244Z 4 ✅ webContents.did-finish-load web1
2024-03-12T12:03:16.253Z [Modules] Host is up to date.
2024-03-12T12:03:16.253Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2024-03-12T12:03:16.288Z [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: 2024-03-12T12:03:16.356Z 5 ✅ webContents.created web2 ""
blackbox: 2024-03-12T12:03:16.358Z 6 ✅ window.created win2 "Discord"
legacyModuleUpdater: installed-module discord_krisp 1 1 true
legacyModuleUpdater: installed-module discord_game_utils 1 1 true
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
mainScreen.on(did-finish-load) false false
splashScreen.pageReady
blackbox: 2024-03-12T12:03:17.781Z 7 ✅ webContents.did-finish-load web2
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
blackbox: 2024-03-12T12:03:17.880Z 8 window.close win1
blackbox: 2024-03-12T12:03:17.889Z 9 webContents.destroyed web1
blackbox: 2024-03-12T12:03:17.891Z 10 window.closed win1
mainScreen.UpdaterEvents: CHECK_FOR_UPDATES UPDATE_NOT_AVAILABLE
2024-03-12T12:03:18.065Z [Modules] Checking for host updates.
legacyModuleUpdater: installed-module discord_rpc 1 1 true
mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
2024-03-12T12:03:18.348Z [Modules] Host is up to date.
2024-03-12T12:03:18.349Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2024-03-12T12:03:18.352Z [Modules] No module updates available.
legacyModuleUpdater: update-check-finished

it got stuck at the exact same spot, same as when i only open using discord and discord --diable-gpu-sandbox and i've already tried to disable the hardware acceleration ( i've achieved this by installing plasma and login to my plasma and from there i've managed to open my discord and set the hardware acceleration off), But still no luck when i try to open the discord on my hyprland it still give the same logs

blutub commented 6 months ago

It was opened it's just on some tab taht is not listed on the first 5 windows. I've tried to use Super+tab and i found it on accident