Nixos fresh install - graphic issues

Hello,

trying to install nixos 21.05 (like done before with 20.04, 20.09 …) doesn’t work

  • P340 (with or without nvidia GPU), intel i7

using

  • plasma5
  • sddm

graphic is failing badly

  • different issues per restart (nothing at all reproducible)

Does some has done/tested it and it was working?

  • what was the iso name?

do you have any logs,

dmesg, journalctl -b

they might shed some light on the situation.

Could be kernel issues too, what kernel version were you using, and what are you using now?

is a p340 a thinkpad model?

  • system: "x86_64-linux"
  • host os: Linux 5.10.48, NixOS, 21.05.1510.a165aeceda9 (Okapi)
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.3.12
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

dmesg | grep -i ‘warning|error|critical|failed|not recognized’

[    0.227991] ERROR: Unable to locate IOAPIC for GSI -1
[   13.187333] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   13.187335] cfg80211: failed to load regulatory.db

journalctl -f

-- Journal begins at Fri 2021-07-23 11:59:58 UTC. --
Jul 23 12:07:13 nixos xsession[1644]: kf.sonnet.core: No language dictionaries for the language: "en_US"
Jul 23 12:07:16 nixos systemd[1546]: Started Opera - Web browser.
Jul 23 12:07:16 nixos xsession[1624]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 64957, resource id: 39846147, major code: 18 (ChangeProperty), minor code: 0
Jul 23 12:07:17 nixos xsession[2287]: [2287:2287:0723/120717.010911:ERROR:gl_implementation.cc(285)] Failed to load /nix/store/9spkm4xdh3wwq4rgj74dlilz7hx51g9c-opera-76.0.4017.94/lib/x86_64-linux-gnu/opera/libGLESv2.so: /nix
/store/9spkm4xdh3wwq4rgj74dlilz7hx51g9c-opera-76.0.4017.94/lib/x86_64-linux-gnu/opera/libGLESv2.so: cannot open shared object file: No such file or directory
Jul 23 12:07:17 nixos xsession[2287]: [2287:2287:0723/120717.014873:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
Jul 23 12:07:17 nixos xsession[2299]: [2299:2299:0723/120717.026564:ERROR:gpu_init.cc(427)] Passthrough is not supported, GL is egl
Jul 23 12:09:08 nixos xsession[1624]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18545, resource id: 54525963, major code: 18 (ChangeProperty), minor code: 0
Jul 23 12:09:13 nixos xsession[1624]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 19191, resource id: 58720267, major code: 18 (ChangeProperty), minor code: 0
Jul 23 12:09:29 nixos xsession[1879]: kf.sonnet.core: No language dictionaries for the language: "en_US" trying to load en_US as default
Jul 23 12:09:29 nixos xsession[1879]: kf.sonnet.core: No language dictionaries for the language: "en_US"

looks like
mv ~/.kde ~/.kde.old
mv ~/.cache ~/.cache.old
mv ~/.local ~/.local.old
mv ~/.config ~/.config.old

made at least some progress → so that the icons of the applications and the task bar symbols are visible again



still e.g.

  • black screen after boot instead of login
  • menu does not react / new opened application do exist on the task bar but are not visible
  • buttons in application like vscode are not working (or only without visible effect) e.g. left side buttons “Search” …