torvic9 / plasmafox

Plasmafox web browser
Other
47 stars 4 forks source link

System freeze when trying to minimize on Wayland #24

Closed TheHooly closed 3 years ago

TheHooly commented 3 years ago

https://github.com/chaotic-aur/packages/issues/398

torvic9 commented 3 years ago

I will update to 85.0 shortly.

Does it happen with vanilla Firefox? Does it happen with vanilla Kernel? Do you have any logs?

TheHooly commented 3 years ago

It doesn't occur with vanilla Firefox. It does occur with both vanilla and LTS Arch kernel.

I've also tried disabling all Firefox extensions, didn't make a difference.

I couldn't find any meaningful logs, if you know of a way to get one, please let me know.

torvic9 commented 3 years ago

85.0 is up. Please try again with this new untested release.

TheHooly commented 3 years ago

I've just updated manually, it still freezes the system. For clarification, this happens only on Wayland which I currently use, not on X11.

torvic9 commented 3 years ago

I will test this tomorrow and check whether I can reproduce it. Anything in your journal? See journalctl and dmesg.

TheHooly commented 3 years ago

sudo journalctl -b -1

Jan 31 09:44:09 arch systemd[1078]: Started plasmafox - Webbrowser.
Jan 31 09:44:10 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.42' (uid=1000 pid=1671 comm="/usr/lib/plasmafox/plasmafox ")
Jan 31 09:44:10 arch systemd[1078]: Starting Accessibility services bus...
Jan 31 09:44:10 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.a11y.Bus'
Jan 31 09:44:10 arch systemd[1078]: Started Accessibility services bus.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 3 threads of 1 processes of 1 users.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 3 threads of 1 processes of 1 users.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 3 threads of 1 processes of 1 users.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 3 threads of 1 processes of 1 users.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 3 threads of 1 processes of 1 users.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 3 threads of 1 processes of 1 users.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Successfully made thread 1869 of process 1671 owned by '1000' RT at priority 10.
Jan 31 09:44:10 arch rtkit-daemon[1491]: Supervising 4 threads of 2 processes of 1 users.
Jan 31 09:44:11 arch rtkit-daemon[1491]: Supervising 4 threads of 2 processes of 1 users.
Jan 31 09:44:11 arch rtkit-daemon[1491]: Supervising 4 threads of 2 processes of 1 users.
Jan 31 09:44:11 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating via systemd: service name='org.freedesktop.Flatpak' unit='flatpak-session-helper.service' requested by ':1.45' (uid=1000 pid=1998 comm="/usr/bin/flatpak run --branch>
Jan 31 09:44:11 arch systemd[1078]: Starting flatpak session helper...
Jan 31 09:44:11 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.Flatpak'
Jan 31 09:44:11 arch systemd[1078]: Started flatpak session helper.
Jan 31 09:44:11 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating via systemd: service name='org.freedesktop.portal.Documents' unit='xdg-document-portal.service' requested by ':1.45' (uid=1000 pid=1998 comm="/usr/bin/flatpak run -->
Jan 31 09:44:11 arch systemd[1078]: Starting flatpak document portal service...
Jan 31 09:44:11 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating via systemd: service name='org.freedesktop.impl.portal.PermissionStore' unit='xdg-permission-store.service' requested by ':1.47' (uid=1000 pid=2007 comm="/usr/lib/xd>
Jan 31 09:44:11 arch systemd[1078]: Starting sandboxed app permission store...
Jan 31 09:44:11 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
Jan 31 09:44:11 arch systemd[1078]: Started sandboxed app permission store.
Jan 31 09:44:11 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.portal.Documents'
Jan 31 09:44:11 arch systemd[1078]: Started flatpak document portal service.
Jan 31 09:44:11 arch systemd[1078]: Started app-flatpak-org.keepassxc.KeePassXC-1998.scope.
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.49' (uid=1000 pid=2024 comm="xdg-dbus-proxy --args=72 ")
Jan 31 09:44:12 arch systemd[1078]: Starting Portal service...
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.50' (uid=1000 pid=2040 comm="/usr/lib/xdg-desktop-portal ")
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.impl.portal.desktop.kde'
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde: Desktop portal registered successfully
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration: Registry initialized
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration: Adding output:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration:     manufacturer:  "Samsung Electric Company"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration:     model:  "DP-1-U28E590/HTPK310684"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration:     resolution:  QSize(3840, 2160)
Jan 31 09:44:12 arch systemd[1078]: Started Multimedia Service.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2055 of process 2055 owned by '1000' high priority at nice level -11.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2056 of process 2055 owned by '1000' RT at priority 20.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 6 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.portal.Desktop'
Jan 31 09:44:12 arch systemd[1078]: Started Portal service.
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: ReadAll called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     groups:  ("org.kde.kdeglobals.*")
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2057 of process 2057 owned by '1000' high priority at nice level -11.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 7 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 7 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 7 threads of 4 processes of 1 users.
Jan 31 09:44:11 arch systemd[1078]: Started flatpak document portal service.
Jan 31 09:44:11 arch systemd[1078]: Started app-flatpak-org.keepassxc.KeePassXC-1998.scope.
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.49' (uid=1000 pid=2024 comm="xdg-dbus-proxy --args=72 ")
Jan 31 09:44:12 arch systemd[1078]: Starting Portal service...
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.50' (uid=1000 pid=2040 comm="/usr/lib/xdg-desktop-portal ")
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.impl.portal.desktop.kde'
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde: Desktop portal registered successfully
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration: Registry initialized
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration: Adding output:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration:     manufacturer:  "Samsung Electric Company"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration:     model:  "DP-1-U28E590/HTPK310684"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-wayland-integration:     resolution:  QSize(3840, 2160)
Jan 31 09:44:12 arch systemd[1078]: Started Multimedia Service.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2055 of process 2055 owned by '1000' high priority at nice level -11.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2056 of process 2055 owned by '1000' RT at priority 20.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 6 threads of 3 processes of 1 users.
Jan 31 09:44:12 arch dbus-daemon[1123]: [session uid=1000 pid=1123] Successfully activated service 'org.freedesktop.portal.Desktop'
Jan 31 09:44:12 arch systemd[1078]: Started Portal service.
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: ReadAll called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     groups:  ("org.kde.kdeglobals.*")
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2057 of process 2057 owned by '1000' high priority at nice level -11.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 7 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 7 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 7 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Successfully made thread 2059 of process 2057 owned by '1000' RT at priority 20.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Read called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     group:  "org.kde.kdeglobals.General"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     key:  "menuFont"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Key  "menuFont"  doesn't exist
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Read called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     group:  "org.kde.kdeglobals.General"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     key:  "font"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Key  "font"  doesn't exist
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Read called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     group:  "org.kde.kdeglobals.WM"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     key:  "activeFont"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Key  "activeFont"  doesn't exist
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Read called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     group:  "org.kde.kdeglobals.General"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     key:  "toolBarFont"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Key  "toolBarFont"  doesn't exist
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Read called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     group:  "org.kde.kdeglobals.General"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     key:  "smallestReadableFont"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Key  "smallestReadableFont"  doesn't exist
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Read called with parameters:
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     group:  "org.kde.kdeglobals.General"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings:     key:  "fixed"
Jan 31 09:44:12 arch xdg-desktop-portal-kde[2050]: xdp-kde-settings: Key  "fixed"  doesn't exist
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:12 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:13 arch kded5[1258]: Registering ":1.54/StatusNotifierItem" to system tray
Jan 31 09:44:13 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:13 arch rtkit-daemon[1491]: Supervising 8 threads of 4 processes of 1 users.
Jan 31 09:44:17 arch audit[1154]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=2 pid=1154 comm="Xwayland" exe="/usr/bin/Xwayland" sig=11 res=1
Jan 31 09:44:17 arch kernel: audit: type=1701 audit(1612082657.857:176): auid=1000 uid=1000 gid=985 ses=2 pid=1154 comm="Xwayland" exe="/usr/bin/Xwayland" sig=11 res=1
Jan 31 09:44:17 arch kaccess[1308]: The X11 connection broke (error 1). Did the X11 server die?
Jan 31 09:44:17 arch ksmserver[1302]: The X11 connection broke (error 1). Did the X11 server die?
Jan 31 09:44:17 arch pulseaudio[1393]: X connection to :1 broken (explicit kill or server shutdown).
Jan 31 09:44:17 arch gmenudbusmenuproxy[1377]: The X11 connection broke (error 1). Did the X11 server die?
Jan 31 09:44:17 arch xembedsniproxy[1306]: The X11 connection broke (error 1). Did the X11 server die?
Jan 31 09:44:17 arch kdeinit5[1219]: kdeinit5: Fatal IO error: client killed
Jan 31 09:44:17 arch kdeinit5[1219]: kdeinit5: sending SIGHUP to children.
Jan 31 09:44:17 arch plasmashell[1320]: org.kde.plasma.pulseaudio: context kaput
Jan 31 09:44:17 arch plasmashell[1320]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-ROCCAT_ROCCAT_Khan_AIMO-00.iec958-stereo"
Jan 31 09:44:17 arch kmix[1419]: org.kde.kmix: Connection to PulseAudio daemon closed. Attempting reconnection.
Jan 31 09:44:17 arch kded5[1258]: org.kde.kmix: Connection to PulseAudio daemon closed. Attempting reconnection.
Jan 31 09:44:17 arch kdeinit5[1219]: kdeinit5: sending SIGTERM to children.
Jan 31 09:44:17 arch kdeinit5[1219]: kdeinit5: Exit.
Jan 31 09:44:17 arch plasmashell[1320]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-ROCCAT_ROCCAT_Khan_AIMO-00.iec958-stereo"
Jan 31 09:44:17 arch plasmashell[1320]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-ROCCAT_ROCCAT_Khan_AIMO-00.iec958-stereo"
Jan 31 09:44:17 arch systemd[1078]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jan 31 09:44:17 arch systemd[1078]: pulseaudio.service: Failed with result 'exit-code'.
Jan 31 09:44:18 arch systemd[1078]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Jan 31 09:44:18 arch systemd[1078]: Stopped Sound Service.
Jan 31 09:44:18 arch systemd[1078]: Starting Sound Service...
Jan 31 09:44:18 arch rtkit-daemon[1491]: Successfully made thread 2199 of process 2199 owned by '1000' high priority at nice level -11.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:18 arch pulseaudio[2199]: Stale PID file, overwriting.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Supervising 5 threads of 3 processes of 1 users.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Successfully made thread 2200 of process 2199 owned by '1000' RT at priority 5.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Supervising 6 threads of 3 processes of 1 users.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Supervising 6 threads of 3 processes of 1 users.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Successfully made thread 2201 of process 2199 owned by '1000' RT at priority 5.
Jan 31 09:44:18 arch rtkit-daemon[1491]: Supervising 7 threads of 3 processes of 1 users.
Jan 31 09:44:19 arch systemd[1078]: Started Sound Service.
Jan 31 09:44:19 arch plasmashell[1320]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-ROCCAT_ROCCAT_Khan_AIMO-00.iec958-stereo"
torvic9 commented 3 years ago

I can confirm this problem. Xwayland dumps core. Unfortunately, I currently have no idea what causes this.

Ideas are welcome.

torvic9 commented 3 years ago

I was able to prevent the crash by explicitly starting plasmafox with MOZ_ENABLE_WAYLAND=1. If that's not enough, you could also try enabling WebRender in about:config.

TheHooly commented 3 years ago

I've set MOZ_ENABLE_WAYLAND=1 plasmafox %u as my launch command, and can confirm that it no longer freezes my system.

As a nice side effect, it also fixed the icons and image quality, since I'm at 150% fractional scaling (4k monitor.)

You have my thanks, and keep up the good work ^.^