I3wm Issues with installing/running apps, frozen or flickering on launch

Hi, I recently started using Linux and I’ve been trying to get EOS to work for a couple days, but I’ve been unable to properly run any apps I’ve installed. I’ve tried Discord, Spotify, Notion and Chrome and each one has seemed to install properly, but when launched from the app launcher or terminal all of them either immediately froze on a blank screen or flicker and lag.

I’m using a brand new XPS 13 plus (9320), which came with Windows 11 installed, and I tried out Manjaro first but it was suuuper buggy and installing EOS fixed almost all of the issues.
Thank you for any help given!! :two_hearts:

Logs

Output of inxi -Fxxc0z --no-host | eos-sendlog is https://clbin.com/EcFey
Output of journalctl -b -0 | eos-sendlog is https://clbin.com/EPpNP
.xsession-errors

/bin/sh: line 1: /home/gwenyth/.screenlayout/monitor.sh: No such file or directory
amixer: Unable to find simple control 'Master',0

amixer: Unable to find simple control 'Master',0

Welcome app is disabled. To start it anyway, use option --enable (temporarily: --once).
ATTENTION: default value of option mesa_glthread overridden by environment.
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs

(process:2805): GLib-CRITICAL **: 09:26:53.148: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
ATTENTION: default value of option mesa_glthread overridden by environment.
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

(process:37136): GLib-CRITICAL **: 09:52:04.108: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
xdg-settings: $BROWSER is set and can't be changed with xdg-settings
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
[../i3-4.20.1/i3bar/src/xcb.c:863] ERROR: Error getting _XEMBED_INFO property: error_code 3
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

(process:87506): GLib-CRITICAL **: 10:29:19.562: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
10:29:19.914 › Error: Error: ENOENT: no such file or directory, open '/opt/Notion/resources/app-update.yml'
(node:87766) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
(node:87766) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
(node:87766) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information

(process:88361): GLib-CRITICAL **: 10:29:35.178: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
10:29:35.500 › Error: Error: ENOENT: no such file or directory, open '/opt/Notion/resources/app-update.yml'
(node:88424) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
(node:88424) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
(node:88424) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
ATTENTION: default value of option mesa_glthread overridden by environment.
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Sandbox: Unexpected EOF, op 0 flags 00 path /proc/cpuinfo
ATTENTION: default value of option mesa_glthread overridden by environment.
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

** (xed:120586): WARNING **: 10:58:08.200: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.201: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.201: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.201: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.202: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.202: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.202: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.202: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.202: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

** (xed:120586): WARNING **: 10:58:08.202: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

** (xed:121235): WARNING **: 10:58:38.406: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.851: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.851: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.851: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

** (xed:122227): WARNING **: 10:59:25.852: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

Launching Chrome from terminal:

[gwenyth@endeavour-xps9320 ~]$ google-chrome-stable
[45747:45747:0706/095838.375838:ERROR:interface_endpoint_client.cc(665)] Message 1 rejected by interface blink.mojom.WidgetHost

Discord:

[gwenyth@endeavour-xps9320 ~]$ discord
Discord 0.0.18
Starting app.
[75714:0706/102158.912961:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/gwenyth/.config/discord/0.0.18/modules
[Modules] Module installed file path: /home/gwenyth/.config/discord/0.0.18/modules/installed.json
[Modules] Module download path: /home/gwenyth/.config/discord/0.0.18/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.
Module ./ElectronTestRpc was not included.
[75657:0706/102159.696904:ERROR:browser_main_loop.cc(269)] Gdk: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

Notion:

[gwenyth@endeavour-xps9320 ~]$ notion-app
(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
10:30:27.430 › { level: 'info', from: 'AssetCache', type: 'checkingForAppUpdate' }
10:30:27.445 › Checking for update
10:30:27.620 › {
  level: 'info',
  from: 'AssetCache',
  type: 'latestVersionPath',
  data: {
    message: 'latestVersion.json path /home/gwenyth/.config/notion-app/notionAssetCache-v2/latestVersion.json'
  }
}
10:30:27.621 › Error: Error: ENOENT: no such file or directory, open '/opt/Notion/resources/app-update.yml'
10:30:27.621 › {
  level: 'info',
  from: 'autoUpdater',
  type: 'unsupportedLinuxApp',
  error: {
    name: 'Error',
    message: "ENOENT: no such file or directory, open '/opt/Notion/resources/app-update.yml'",
    stack: "Error: ENOENT: no such file or directory, open '/opt/Notion/resources/app-update.yml'"
  }
}
10:30:27.630 › {
  level: 'info',
  from: 'AssetCache',
  type: 'currentVersionLoaded',
  data: { version: '23.10.25.48', hash: '654926f32f51dc27a850b4c4b2b179da' }
}
10:30:27.631 › {
  level: 'info',
  from: 'AssetCache',
  type: 'syncVersions',
  data: {
    message: 'Sync versions: assets.json path /home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets.json headers.json path /home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/headers.json'
  }
}
10:30:27.635 › {
  level: 'info',
  from: 'AssetCache',
  type: 'currentSyncedAssetsJson',
  data: { version: '23.10.25.48' }
}
(node:90509) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
10:30:27.723 › Websocket listening on 42485...
10:30:27.725 › Set up server listeners with auth (e954c26605b6cbe9bace96685779914a7dfcecbf)...
10:30:27.750 › { level: 'info', from: 'AssetCache', type: 'noAppUpdateAvailable2' }
(node:90509) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
(node:90509) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
10:30:27.844 › {
  level: 'info',
  from: 'AssetCache',
  type: 'syncVersionSameSkippingSync'
}
10:30:27.845 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest2',
  data: {
    message: 'Performing file request: /, abs path /home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/index-en-US-4a26ce41d52200cdd3d4.html'
  }
}
10:30:27.891 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest',
  data: {
    absolutePath: '/home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/629-533e8a3d60f7c9cb0688.js',
    url: '/629-533e8a3d60f7c9cb0688.js'
  }
}
10:30:27.892 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest',
  data: {
    absolutePath: '/home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/app-b09461990e8b8fab6bfe.js',
    url: '/app-b09461990e8b8fab6bfe.js'
  }
}
10:30:27.893 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest',
  data: {
    absolutePath: '/home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/app-6cb7cd1dced475bbd416.css',
    url: '/app-6cb7cd1dced475bbd416.css'
  }
}
10:30:27.894 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest',
  data: {
    absolutePath: '/home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/print.b31f28aa.css',
    url: '/print.b31f28aa.css'
  }
}
10:30:28.351 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest',
  data: {
    absolutePath: '/home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/markdown-linkify-it-de6de0a7cf56f508e657.js',
    url: '/markdown-linkify-it-de6de0a7cf56f508e657.js'
  }
}
10:30:28.636 › {
  level: 'info',
  from: 'AssetCache',
  type: 'performingFileRequest',
  data: {
    absolutePath: '/home/gwenyth/.config/notion-app/notionAssetCache-v2/23.10.25.48/assets/analytics-amplitude-3c68b6ff07d238a40a08.js',
    url: '/analytics-amplitude-3c68b6ff07d238a40a08.js'
  }
}

And Spotify doesn’t give any kind of logs when launched, it’s just broken :frowning:

After doing a bit more digging and looking up the errors I was getting when launching the apps, I figured out that adding --disable-gpu in the terminal makes the app work, but only if it’s launched that way. If I close the app and launch it normally it goes back to being broken, however disabling hardware acceleration in Discord and Chrome seems to have fixed it.

Spotify still isn’t fixed as I couldn’t find a hardware acceleration option in the settings, so the only way to use it is by launching from terminal. Notion is the same, no hardware acceleration I can turn off, but I’m also still getting an error and pretty much the same logs as I posted above.

Is there any way to make --disable-gpu run on launch for the apps that I can’t turn off hardware acceleration?

You could try editing the .desktop file for the app and add --disable-gpu to the Exec line.
You’ll find the .desktop files in /usr/share/applications. Copy the one you want to ~/.local/share/applications and edit them there.

could this be the reason also?
https://wiki.archlinux.org/title/Dell_XPS_13_(9310)#Random_Hangs_on_i915_with_kernel

And xps are known to be problematic on arch.

How exactly do I edit the .desktop file once I’ve used cd to enter the file? I’ve tried more and cat but I’m not able to edit, sorry if this is a bit of a silly question I’m incredibly new to this :smiling_face_with_tear:

First copy the desktop file as described above and put it in the location mentioned in my previous post. Then open it as a you would open a text file. Right click on it and choose the text editor installed in your system to open the file. Edit and save. If the changes won’t take effect immediately, try to log out and log back in again.

cd is Change Directory command. You can use it to move from your current directory to any other in the filesystem. EX:

cd /usr/share/applications

These are not editing programs.
Have a look at:

man more
man cat

to see what are these fore and how to use them.

However, if you want to use a terminal-based editor, you could try nano.
See:

nano --help
man nano

Edit: correcting the typo :wink:

1 Like

I wish I had done a bit more research about which laptops are good for Arch before I bought this xps :sob: I don’t think that’s the same problem I’m having though, it’s not my whole system that’s having issues, it’s just any apps I’ve tried to download so far launch but then flicker/freeze, and disabling the hardware acceleration seems to be the only thing to work so far

--nano is not a valid option for the man command. The correct way to show manpages for nano is:

man nano

I have, by now, a some years old XPS 13 9380.
I haven’t regret once since I bought it.
It came with Ubuntu preinstalled which worked flawlessly.
Since then, it has seen quite a few Linux system and currently runs Arch just fine.

Meaning I had typo in my post :wink: :rofl:

You’re welcome.

I was trying to do it totally wrong, thank you for clarifying, that fixed it!! I’m not sure how permanent or solid of a fix it is since I might have to add --disable-gpu for every app I install, but I’m glad to have some progress :smiling_face_with_three_hearts:

Ahh that’s reassuring! Unfortunately, I had mine preinstalled with Windows 11 and I first tried installing Manjaro, which was SUPER buggy and broken, so I’ve had some pretty bad luck with Linux so far :sweat_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.