unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Getting a few errors with Sway and Icecat
@ 2024-03-20  0:05 Oleander via
  0 siblings, 0 replies; only message in thread
From: Oleander via @ 2024-03-20  0:05 UTC (permalink / raw)
  To: help-guix

Hello,
is anyone getting any of these errors with Sway and Icecat? They show
up when shutting down my laptop with `loginctl poweroff`:

```
[warning] Waybar has been built without rfkill support

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server

[wlr] [xwayland/xwm.c:1143] Failed to get window property

Crash Annotation GraphicsCriticalError [0] [GFX-]: vaapitest: ERROR
(t=0.631902) [GFX1-]: vaapitest: ERROR

Crash Annotation GraphicsCriticalError [0] [GFX-]: vaapitest: ERROR
(t=0.631902) [1][GFX1-]: vaapitest: VA-API test failed: libva-drm.so.2
is missing (t=0.631968) vaapitest: VA-API test failed: libva-drm.so.2 is
missing

[wlr] [xwayland/xwm.c:1599] xcb error: op ChangeWindowAttributes (no
minor), code Window (no extension), sequence 187, value 4194364

console.error: ({})

JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60:
Error: Can't find profile directory

console.error: (new SyntaxError("The URI is malformed.", (void 0), 133))

console error: "Could not parse ASRouter preference. Try resetting
browser.newtabpage.activity-stream.asrouter.providers.snippets in about:config"

[wlr] [libseat] [libseat/backend/logind.c:199] Could not close device:
Connection reset by peer

[wlr] [backend/session/session.c:356] Failed to close device 40: Success
```
My .bash_profile

```
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

# Set environment variable for scripts
export PATH="$PATH:/home/oleander/bin/"

# Start Sway automatically on tty1 and enable Wayland for Firefox/Icecat
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
#export MOZ_ENABLE_WAYLAND=1
exec dbus-launch sway
fi
```
Another weird bug I'm experiencing is Icecat not recognizing my cursor
theme when running under Wayland with MOZ_ENABLE_WAYLAND=1 configured in
my `.bash_profile`. This was also reported by some Nix users here:
https://github.com/NixOS/nixpkgs/issues/207339

My Guix config:

```
;; Guix config with swaywm, encrypted with LUKS and compatible
;; with Coreboot SeaBIOS

(use-modules
(gnu) (gnu system nss))
(use-service-modules
dbus desktop networking sddm sound ssh xorg)
(use-package-modules
admin certs disk emacs finance fonts fontutils freedesktop glib games gnome
gnupg gnuzilla gtk haskell-xyz image image-viewers libreoffice linux
man package-management password-utils pdf pulseaudio rsync screen ssh
terminals tex texinfo texlive tor-browsers version-control video wm xdisorg xorg)

(operating-system
(host-name "laptop")
(timezone "Europe/Rome")
(locale "en_US.utf8")

;; Keyboard layout.
(keyboard-layout (keyboard-layout "us"))

;; Bootloader
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(terminal-outputs '(console))
(targets (list "/dev/sda"))
(keyboard-layout keyboard-layout)))

;; Specify a mapped device for the encrypted root partition.
;; The UUID is that returned by 'cryptsetup luksUUID'.
(mapped-devices
(list (mapped-device
(source (uuid "8022876e-e0cc-4ec5-8363-0f07c590cdbc"))
(targets (list "guix-root"))
(type luks-device-mapping))))

(file-systems
(append
(list (file-system
(device (file-system-label "guix-root"))
(mount-point "/")
(type "ext4")
(dependencies mapped-devices)))
%base-file-systems))

(swap-devices (list
(swap-space (target "/swapfile"))))

;; Define users and groups.
(users
(cons (user-account
(name "oleander")
(comment "")
(group "users")
(home-directory "/home/oleander")
(supplementary-groups '("wheel" "netdev"
"audio" "video" "input")))
%base-user-accounts))

;; This is where we specify system-wide packages.
(packages
(append
(list
adwaita-icon-theme alacritty dbus emacs font-awesome fontconfig
font-cormorant font-gnu-unifont font-latin-modern font-libertinus
fzf git gnupg grim gtk gtypist icecat imv keepassxc
ledger libreoffice gnu-make man-db mpv net-tools nss-certs openssh-sans-x pandoc
parted pass-otp password-store pavucontrol pinentry pulseaudio rsync screen
slurp stow sway swayidle swaylock-effects testdisk
texlive-babel-english texlive-babel-italian texlive-etoolbox
texlive-garamond-libre texlive-latex-uni8 texlive-latexmk
texlive-libertinus-fonts texlive-lm texlive-scheme-basic
torbrowser waybar wofi wpa-supplicant xdg-utils xwininfo zathura zathura-pdf-mupdf)
%base-packages))

;; Services
(services
(cons*
(service alsa-service-type
(alsa-configuration
(pulseaudio? #t)))
(service dbus-root-service-type)
(service elogind-service-type)
(service openssh-service-type
(openssh-configuration
(openssh openssh-sans-x)
(port-number 22)
(password-authentication? #f)
(permit-root-login 'prohibit-password)
(authorized-keys
`(("oleander" ,(local-file "/home/oleander/.ssh/authorized_keys"))))))
(service ntp-service-type
(ntp-configuration
(servers (map (lambda (server)
(ntp-server (address server)))
'("0.europe.pool.ntp.org"
"1.europe.pool.ntp.org"
"2.europe.pool.ntp.org"
"3.europe.pool.ntp.org")))))
(service polkit-service-type)
(service screen-locker-service-type
(screen-locker-configuration
(name "swaylock")
(program (file-append swaylock-effects "/bin/swaylock"))
(using-pam? #t)
(using-setuid? #f)))
(service static-networking-service-type
(list (static-networking
(addresses
(list (network-address
(device "wlp1s0")
(value "192.168.1.200/24"))))
(routes
(list (network-route
(destination "default")
(gateway "192.168.1.1"))))
(name-servers '("1.1.1.1" "1.0.0.1")))))
(service wpa-supplicant-service-type
(wpa-supplicant-configuration
(config-file (local-file "/home/oleander/src/guix/wpa_supplicant.conf"))
(interface "wlp1s0")))
%base-services))

;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
```

Thanks in advance

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-20  0:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20  0:05 Getting a few errors with Sway and Icecat Oleander via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).