Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Chromium and Chrome won't open (Read 3211 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Chromium and Chrome won't open

Code: [Select]
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 extra is up to date
 community is up to date
 universe is up to date
 omniverse is up to date
error: failed retrieving file 'omniverse.db' from eu-mirror.artixlinux.org : Failed to connect to eu-mirror.artixlinux.org port 443 after 235 ms: Couldn't connect to server
:: Starting full system upgrade...
 there is nothing to do

Code: [Select]
[4094:4094:0825/145810.532028:ERROR:browser_main_loop.cc(274)] GLib-GObject: cannot register existing type 'GtkWidget'
[4094:4094:0825/145810.532092:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[4094:4094:0825/145810.532125:ERROR:browser_main_loop.cc(274)] GLib-GObject: cannot register existing type 'GtkBuildable'
[4094:4094:0825/145810.532147:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
[4094:4094:0825/145810.532389:ERROR:browser_main_loop.cc(274)] GLib: g_once_init_leave: assertion 'result != 0' failed
[4094:4094:0825/145810.532412:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[4094:4094:0825/145810.532434:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_register_static: assertion 'parent_type > 0' failed

Code: [Select]
Chromium 116.0.5845.110 Arch Linux
Google Chrome 116.0.5845.110

Code: [Select]
qmake -v
QMake version 3.1
Using Qt version 5.15.10 in /usr/lib

Both show the same error when trying to open via terminal, they are up to date, I have tried downgrading and it continues.
I searched for similar problems, found them but was unable to solve them with the possible solutions presented.

Re: Chromium and Chrome won't open

Reply #1
What happens if you install and run ungoogled-chromium for our Universe repo?

artist
On a bended knee, or systemd, you will never live free

Re: Chromium and Chrome won't open

Reply #2
You are using LXQT?
I get the same error when using LXQT Desktop, with xfce its working without errors..
Seems like an update from LXQT causes it but not sure.. dont get much time to look for it

Im using ungoogled-chromium from universe but tried different from aur too (ungoogled-chromium-bin, ungoogled-chromium-xdg-bin) .. same error with LXQT


Re: Chromium and Chrome won't open

Reply #3
What happens if you install and run ungoogled-chromium for our Universe repo?

artist

Code: [Select]
[3530:3530:0826/002856.551507:ERROR:browser_main_loop.cc(274)] GLib-GObject: cannot register existing type 'GtkWidget'
[3530:3530:0826/002856.551568:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[3530:3530:0826/002856.551601:ERROR:browser_main_loop.cc(274)] GLib-GObject: cannot register existing type 'GtkBuildable'
[3530:3530:0826/002856.551624:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
[3530:3530:0826/002856.551654:ERROR:browser_main_loop.cc(274)] GLib: g_once_init_leave: assertion 'result != 0' failed
[3530:3530:0826/002856.551683:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[3530:3530:0826/002856.551711:ERROR:browser_main_loop.cc(274)] GLib-GObject: g_type_register_static: assertion 'parent_type > 0' failed

Still the same problem, I think it's a bug in plasma, I installed xfce to test it, it worked without any problems.

Re: Chromium and Chrome won't open

Reply #4
You are using LXQT?
I get the same error when using LXQT Desktop, with xfce its working without errors..
Seems like an update from LXQT causes it but not sure.. dont get much time to look for it

Im using ungoogled-chromium from universe but tried different from aur too (ungoogled-chromium-bin, ungoogled-chromium-xdg-bin) .. same error with LXQT


No, using kde, but when testing with xfce no problem occurs, I believe it is some bug in the plasma.

Re: Chromium and Chrome won't open

Reply #5
You are using LXQT?
I get the same error when using LXQT Desktop, with xfce its working without errors..
Seems like an update from LXQT causes it but not sure.. dont get much time to look for it

Im using ungoogled-chromium from universe but tried different from aur too (ungoogled-chromium-bin, ungoogled-chromium-xdg-bin) .. same error with LXQT



FYI: I'm using ungoogled-chromium on LXQT without issues.

I expect the issue to be in between gtk2/gtk3 and theming. Do you have both gtk2 and gtk3 installed? Also, try with a new user, without any theme setup.

artist
On a bended knee, or systemd, you will never live free

Re: Chromium and Chrome won't open

Reply #6
I wanted to try ungoogled-chromium on XFCE but it crashes after few seconds>
Code: [Select]
chromium
[9278:9278:0826/181759.616424:ERROR:chrome_browser_cloud_management_controller.cc(163)] Cloud management controller initialization aborted as CBCM is not enabled.

(chromium:9278): Gtk-WARNING **: 18:17:59.785: Theme directory apps/24 of theme breeze-extended-gnome has no size field


(chromium:9278): Gtk-WARNING **: 18:17:59.813: Theme directory apps/24@2x of theme breeze-extended-gnome has no size field


(chromium:9278): Gtk-WARNING **: 18:17:59.813: Theme directory apps/24@3x of theme breeze-extended-gnome has no size field

[9278:9278:0826/181759.886290:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
Segmentation fault




Any idea howto fix this?

Thanks

Re: Chromium and Chrome won't open

Reply #7
chromium works for many users, so this must be related to some specific settup or package
pls check the previous question and suggestion:

Quote
I expect the issue to be in between gtk2/gtk3 and theming. Do you have both gtk2 and gtk3 installed? Also, try with a new user, without any theme setup.

artist
On a bended knee, or systemd, you will never live free

Re: Chromium and Chrome won't open

Reply #8
I'm having this issue on two different installations. Starting chrome, chromium or opera in kde (using a fresh user) I see the same exact error.

When using gnome as DE, the issue is not present.

I have both gtk3 and gtk2 installed.

Code: [Select]
$> yay -Ss gtk | grep Installed
aur/gitg-git 3.30.1.r171.gd3855352-1 (+23 0.00) (Installed: 3.30.1.r311.gf1f37044-1)
aur/pygtk 2.24.0-12 (+75 0.29) (Installed)
extra/zbar 0.23.90-3 (249.8 KiB 779.9 KiB) (Installed)
extra/xsane 0.999-6 (1.6 MiB 4.8 MiB) (Installed)
extra/xarchiver 0.5.4.21-1 (501.3 KiB 1.5 MiB) (Installed)
extra/wxwidgets-gtk3 3.2.2.1-2 (4.6 MiB 17.6 MiB) (Installed)
extra/webkit2gtk-4.1 2.40.5-1 (26.7 MiB 91.2 MiB) (Installed)
extra/webkit2gtk 2.40.5-1 (26.6 MiB 91.2 MiB) (Installed)
extra/python-gobject 3.44.1-4 (302.1 KiB 1.5 MiB) (Installed)
extra/osm-gps-map 1.2.0-1 (93.2 KiB 638.1 KiB) (Installed: 1.2.0-1.1)
extra/libpeas 1.36.0-2 (139.9 KiB 676.7 KiB) (Installed)
extra/libindicator-gtk3 12.10.1-10 (28.5 KiB 97.3 KiB) (Installed)
extra/libhandy 1.8.2-1 (478.0 KiB 2.5 MiB) (Installed)
extra/libdbusmenu-gtk3 16.04.0.r498-1 (48.5 KiB 233.4 KiB) (Installed)
extra/libcheese 44.1-1 (206.5 KiB 658.3 KiB) (Installed)
extra/libcanberra 1:0.30+r2+gc0620e4-3 (91.6 KiB 438.9 KiB) (Installed)
extra/libappindicator-gtk3 12.10.0.r298-2 (51.4 KiB 347.5 KiB) (Installed)
extra/kde-gtk-config 5.27.7-1 (69.2 KiB 297.9 KiB) [plasma] (Installed)
extra/gtksourceview4 4.8.4-1 (985.9 KiB 7.4 MiB) (Installed)
extra/gtkmm3 3.24.8-1 (1.4 MiB 9.4 MiB) (Installed)
extra/gtkmm 1:2.24.5-4 (1.2 MiB 7.8 MiB) (Installed: 1:2.24.5-4.1)
extra/gtkimageview 1.6.4-7 (36.6 KiB 113.8 KiB) (Installed)
extra/gtk3 1:3.24.38-1 (7.7 MiB 48.9 MiB) (Installed)
extra/gtk2 2.24.33-3 (5.7 MiB 36.6 MiB) (Installed)
extra/gtk-update-icon-cache 1:4.12.1-1 (17.3 KiB 40.0 KiB) (Installed)
extra/gtk-doc 1.33.2-3 (289.4 KiB 2.4 MiB) (Installed)
extra/gspell 1.12.2-1 (122.0 KiB 735.4 KiB) (Installed)
extra/gnome-desktop 1:44.0-1 (114.3 KiB 557.1 KiB) (Installed: 1:44.0-1.1)
extra/colord-gtk-common 0.3.0-2 (26.7 KiB 119.0 KiB) (Installed)
extra/colord-gtk 0.3.0-2 (15.8 KiB 48.0 KiB) (Installed)
extra/clutter-gtk 1.8.4-3 (48.9 KiB 259.1 KiB) (Installed)
extra/breeze-gtk 5.27.7-1 (200.9 KiB 1.2 MiB) [plasma] (Installed)
extra/avahi 1:0.8+r22+gfd482a7-1 (428.9 KiB 1.8 MiB) (Installed: 1:0.8+r22+gfd482a74-1)
galaxy/artix-gtk-presets 20230425-1 (28.7 KiB 102.4 KiB) [artix-branding] (Installed: 20230710-1)
galaxy/artix-dark-theme 20201126-3 (3.4 MiB 4.3 MiB) [artix-branding] (Installed)
world/zbar 0.23.90-3 (249.5 KiB 779.2 KiB) (Installed)
world/xarchiver 0.5.4.21-1 (501.4 KiB 1.5 MiB) (Installed)
world/wxwidgets-gtk3 3.2.2.1-2 (4.6 MiB 17.6 MiB) (Installed)
world/webkit2gtk-4.1 2.40.5-1 (26.4 MiB 90.2 MiB) (Installed)
world/webkit2gtk 2.40.5-1 (26.4 MiB 90.2 MiB) (Installed)
world/python-gobject 3.44.1-4 (302.1 KiB 1.5 MiB) (Installed)
world/osm-gps-map 1.2.0-1.1 (93.1 KiB 638.1 KiB) (Installed)
world/libpeas 1.36.0-2 (139.6 KiB 676.7 KiB) (Installed)
world/libindicator-gtk3 12.10.1-10 (28.4 KiB 97.3 KiB) (Installed)
world/libhandy 1.8.2-1 (477.8 KiB 2.5 MiB) (Installed)
world/libdbusmenu-gtk3 16.04.0.r498-1 (48.3 KiB 233.3 KiB) (Installed)
world/libcheese 44.1-1 (206.4 KiB 658.3 KiB) (Installed)
world/libcanberra 1:0.30+r2+gc0620e4-3 (88.4 KiB 418.5 KiB) (Installed)
world/libappindicator-gtk3 12.10.0.r298-2 (51.2 KiB 347.6 KiB) (Installed)
world/kde-gtk-config 5.27.7-1 (69.0 KiB 297.2 KiB) [plasma] (Installed)
world/gtksourceview4 4.8.4-1 (985.6 KiB 7.4 MiB) (Installed)
world/gtkmm3 3.24.8-1 (1.4 MiB 9.4 MiB) (Installed)
world/gtkmm 1:2.24.5-4.1 (1.2 MiB 7.8 MiB) (Installed)
world/gtk3 1:3.24.38-1 (7.7 MiB 48.9 MiB) (Installed)
world/gtk2 2.24.33-3 (5.7 MiB 36.6 MiB) (Installed)
world/gtk-update-icon-cache 1:4.12.1-1 (17.2 KiB 39.9 KiB) (Installed)
world/gtk-doc 1.33.2-3 (289.2 KiB 2.4 MiB) (Installed)
world/gspell 1.12.2-1 (121.6 KiB 735.2 KiB) (Installed)
world/gnome-desktop 1:44.0-1.1 (112.0 KiB 549.1 KiB) (Installed)
world/colord-gtk-common 0.3.0-2 (26.6 KiB 119.0 KiB) (Installed)
world/colord-gtk 0.3.0-2 (15.7 KiB 48.0 KiB) (Installed)
world/clutter-gtk 1.8.4-3 (48.8 KiB 259.1 KiB) (Installed)
world/breeze-gtk 5.27.7-1 (201.0 KiB 1.2 MiB) [plasma] (Installed)
world/avahi 1:0.8+r22+gfd482a74-1 (427.7 KiB 1.8 MiB) (Installed)
world/artix-gtk-presets 20230710-1 (28.7 KiB 102.4 KiB) [artix-branding] (Installed)

I have an older version of google-chrome-beta installed that is still working
Code: [Select]
$> yay -Ss google-chrome-beta | grep Installed
aur/google-chrome-beta 117.0.5938.22-1 (+355 0.87) (Installed: 115.0.5790.75-1)

Hope this helps

Re: Chromium and Chrome won't open

Reply #9
It's messy, but I've tested it with another theme and user and the problem is still there. I'll stick with xfce until I get an update for kde.

Re: Chromium and Chrome won't open

Reply #10
Hi,

Chrome works without a issue, but ungoogled-chromium crashes. I have reinstalled both to confirm.
I do not use any special theming on my Xfce.
 

Re: Chromium and Chrome won't open

Reply #11
So for most the differentiator is the DE, for one ungoogled-chromium.

There is a - slightly - newer version now, built with only the 'standard' patches.
It can be installed using pacman -U https://universe.artixlinux.org/x86_64/ungoogled-chromium-116.0.5845.97-1-x86_64.pkg.tar.zst

I don't expect this to solve the problem, but only testing can confirm.
Then the only option is to report this problem upstream - if not done already - by someone who can reproduce it.

Same reports are here:
https://support.google.com/chrome/thread/231067690/ubuntu-22-04-chrome-st%C3%BCrzt-nach-update-19-8-23-beim-start-ab?hl=de
https://forums.opera.com/topic/65566/opera-stable-102-0-4880-16-gets-stuck-on-launch

artist
On a bended knee, or systemd, you will never live free

Re: Chromium and Chrome won't open

Reply #12
Quote
There is a - slightly - newer version now, built with only the 'standard' patches.
It can be installed using pacman -U https://universe.artixlinux.org/x86_64/ungoogled-chromium-116.0.5845.97-1-x86_64.pkg.tar.zst

Tested.. same error..

What i found is that you can start chromium in the commandline with
Code: [Select]
--disable-features=AllowQt
..
Or put it in chromium-flags.conf ..
This worked for me in LXQT, dont know if this helps..
Maybe something new with QT5?

Re: Chromium and Chrome won't open

Reply #13
What i found is that you can start chromium in the commandline with
Code: [Select]
--disable-features=AllowQt
..
Or put it in chromium-flags.conf ..
This worked for me in LXQT, dont know if this helps..
Maybe something new with QT5?

I've been having this problem and had to revert back to ungoogled-chromium 115.xx.171 before ungoogled-chromium would launch. I recently decided to upgrade the system (I apply updates almost daily before this) and see if it got fixed. Sadly, as of now it has not been, HOWEVER, using full KDE the above commandline option allowed ungoogled-chromium 116.xx.96 to launch successfully.

THANK YOU MOOKiii

Re: Chromium and Chrome won't open

Reply #14
Quote
Maybe something new with QT5?

I also use qt5. On boxes updated days ago up to a box updated fully a minute ago, all ungoogled-chromium versions run fine, without any flags.

I'll put newly built ungoogled-chromium-116.0.5845.110 in universe, though there is no indication this will fix the startup issue.

artist
On a bended knee, or systemd, you will never live free