Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snap-store aka App center, showing a blank screen.. #1492

Open
MelchiorGaspar opened this issue Nov 15, 2023 · 21 comments
Open

snap-store aka App center, showing a blank screen.. #1492

MelchiorGaspar opened this issue Nov 15, 2023 · 21 comments

Comments

@MelchiorGaspar
Copy link

MelchiorGaspar commented Nov 15, 2023

I just finished installing Ubuntu v23.10.1 to my old 2008 Toshiba Satellite laptop I had laying around..
and after an update to firmware/software updater..
the app center shows only a blank screen..
I tried to remove it via the command line using Googled article's commands
sudo apt-get remove snap-store
but it gives me a cannot find package
nor install either.

I tried app-center, and software-center but no go..

be gentle lol ;-)
I am new to Linux...
but know my way around the Windows command-line interface a bit.

any help would be appreciated.

@3oris
Copy link

3oris commented Nov 16, 2023

On Ubuntu snap-store itself is a snap package, hence not managed by apt but snap.

sudo snap remove snap-store

If you then install snap-store via snap you will by default get an old version (not the app-center version). If you want the app-center version of snap-store you need to install from a different channel, so you will probably want to

sudo snap install snap-store --channel latest/stable/ubuntu-23.10

or maybe even latest/edge

Be aware that the 23.10 version of snap-store has a bug, as it will try to read certificates from the redhat certificate default location first instead of the correct ubuntu location.

So, if you happen to have certificates in /etc/pki/tls/certs apparmor will prevent snap-store from reading them, resulting in snap-store not being able to render content correctly.

So, you would need to configure apparmor accordingly or just make sure the above directory doesn't exist.

@MelchiorGaspar
Copy link
Author

ok thx for the info..
I tried the correct remove command that and the install worked to do those tasks,
but it didn't fix the problem... :(
I even tried latest/edge, didn't help..
still a blank screen for the app center..

Also I checked for the /etc/pki/tls/certs folder and found only down to pki no /tls/ or certs folder..
I do have the show hidden files enabled so idk...
I noticed two folders in pki folder...
/etc/pki/fwupd/
/etc/pki/fwupd-metadata/

no clue about those folders..

its a fresh install of Ubuntu v23.10.1
"ubuntu-23.10.1-desktop-amd64.iso"

how do I configure the apparmor stuff?

@MelchiorGaspar
Copy link
Author

MelchiorGaspar commented Nov 16, 2023

Be aware that the 23.10 version of snap-store has a bug, as it will try to read certificates from the redhat certificate default location first instead of the correct Ubuntu location.

aah?! interesting...
how soon till it gets fixed?

@MelchiorGaspar
Copy link
Author

I got a functional software center via an article that suggested the following cmdline.

sudo apt install gnome-software

That got me something I could use..

but Firefox is not up to date within it either... Ubuntu v23.10.1 came with v118.0.1 but I need the latest to make use of a profile I copied from my Windows 11 Pro PC...

Firefox v119.0.1 is the latest..

any suggestions?

@ansanggap
Copy link

ansanggap commented Feb 1, 2024

lenovo X201t 에서 테스트

먼저 gnome-software 를 설치(sudo apt install gonoe-software)하여 실행하고 snap-store 검색하여 설치하니 app center 실행 됩니다.

First, install gnome-software (sudo apt install gonoe-software), run it, search for snap-store, install it, and app center will run.

@Recydywa
Copy link

Could you test the latest/edge version now.

If I remember correctly I also had this problem for a period of time but now the snap-store or the App Center (as it figures in menus) works.

@Fallen-Zen
Copy link

When I run snap-store command from Terminal I get those messages below. All suggestion did not fix the problem. The window is still all white.

fallen@fallen-linux:~$ snap-store
Gtk-Message: 13:20:04.804: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(snap-store:9679): Gdk-CRITICAL **: 13:20:05.242: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

** (snap-store:9679): WARNING **: 13:20:05.943: Failed to start Flutter renderer: Unable to create a GL context

** (snap-store:9679): WARNING **: 13:20:05.973: gtk.dart: failed to call method: No engine to send to

** (snap-store:9679): WARNING **: 13:20:05.973: gtk.dart: failed to call method: No engine to send to

** (snap-store:9679): WARNING **: 13:20:05.974: gtk.dart: failed to call method: No engine to send to

@Recydywa
Copy link

What is your snapd version snap version, also snap-store version snap info snap-store and the connections snap connections snap-store.

From the error it looks like it can't use OpenGL, that interface should be connected by default. It doesn't unfortunately tell much more.

@Fallen-Zen
Copy link

What is your snapd version snap version, also snap-store version snap info snap-store and the connections snap connections snap-store.

From the error it looks like it can't use OpenGL, that interface should be connected by default. It doesn't unfortunately tell much more.

fallen@fallen-linux:~$ snap version
snap    2.61.3+23.10
snapd   2.61.3+23.10
series  16
ubuntu  23.10
kernel  6.5.0-1014-raspi
  - snap-store
snap-id:      gjf3IPXoRiipCu9K0kVu52f0H56fIksg
tracking:     latest/stable/ubuntu-23.10
refresh-date: today at 13:19 CEST
channels:
  latest/stable:     41.3-77-g7dc86c8 2024-03-06 (1114) 12MB -
  latest/candidate:  41.3-77-g7dc86c8 2024-03-06 (1114) 12MB -
  latest/beta:       ↑                                       
  latest/edge:       0+git.6d98806    2024-04-08 (1127) 10MB -
  preview/stable:    –                                       
  preview/candidate: 0.2.7-alpha      2023-01-24  (848)  9MB -
  preview/beta:      ↑                                       
  preview/edge:      0.3.0-alpha      2023-08-14 (1018) 10MB -
installed:           0+git.3a85550               (1111)  9MB -
fallen@fallen-linux:~$ snap connections snap-store
Interface               Plug                           Slot                            Notes
appstream-metadata      snap-store:appstream-metadata  :appstream-metadata             -
content[gnome-42-2204]  snap-store:gnome-42-2204       gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   snap-store:gtk-3-themes        gtk-common-themes:gtk-3-themes  -
content[icon-themes]    snap-store:icon-themes         gtk-common-themes:icon-themes   -
content[sound-themes]   snap-store:sound-themes        gtk-common-themes:sound-themes  -
dbus                    -                              snap-store:dbus-name            -
dbus                    -                              snap-store:packagekit-svc       -
desktop                 snap-store:desktop             :desktop                        -
desktop-launch          snap-store:desktop-launch      :desktop-launch                 -
desktop-legacy          snap-store:desktop-legacy      :desktop-legacy                 -
gsettings               snap-store:gsettings           :gsettings                      -
network                 snap-store:network             :network                        -
opengl                  snap-store:opengl              :opengl                         -
packagekit-control      snap-store:packagekit-control  :packagekit-control             -
snapd-control           snap-store:snapd-control       :snapd-control                  -
wayland                 snap-store:wayland             :wayland                        -
x11                     snap-store:x11                 :x11

@Recydywa
Copy link

What if you switch to the latest/edge channel.

sudo snap refresh --channel=latest/edge snap-store

The current version you are using is still based on Gnome Software while the version from latest/edge is a new flutter based App Center.

@Fallen-Zen
Copy link

What if you switch to the latest/edge channel.

sudo snap refresh --channel=latest/edge snap-store

The current version you are using is still based on Gnome Software while the version from latest/edge is a new flutter based App Center.

The icon changed but the problem persists.

fallen@fallen-linux:~$ snap-store
Gtk-Message: 15:59:22.320: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

** (snap-store:11123): WARNING **: 15:59:23.444: Failed to start Flutter renderer: Unable to create a GL context

** (snap-store:11123): WARNING **: 15:59:23.473: gtk.dart: failed to call method: No engine to send to

** (snap-store:11123): WARNING **: 15:59:23.474: gtk.dart: failed to call method: No engine to send to

** (snap-store:11123): WARNING **: 15:59:23.475: gtk.dart: failed to call method: No engine to send to

** (snap-store:11123): WARNING **: 15:59:23.475: gtk.dart: failed to call method: No engine to send to

@Recydywa
Copy link

What about snapd do you have it installed only as .deb package or also snap package.

apt policy snapd

snap info snapd

Also what about other snaps that need OpenGL. You can check which ones need that interface.

snap interface opengl

Do those run or are they also failing.

@d-loose
Copy link
Member

d-loose commented Apr 30, 2024

If this is still an issue, please provide the relevant log files frome $HOME/snap/snap-store/current/.local/share/snap-store. To further diagnose any rendering related issues, the output of glxinfo -B would be helpful.

@Fallen-Zen
Copy link

Last time I checked the store started working. I don't have access to the machine right now but will provide the logs if needed.

@BhasitL
Copy link

BhasitL commented Aug 15, 2024

I just finished installing Ubuntu v23.10.1 to my old 2008 Toshiba Satellite laptop I had laying around.. and after an update to firmware/software updater.. the app center shows only a blank screen.. I tried to remove it via the command line using Googled article's commands sudo apt-get remove snap-store but it gives me a cannot find package nor install either.

I tried app-center, and software-center but no go..

be gentle lol ;-) I am new to Linux... but know my way around the Windows command-line interface a bit.

any help would be appreciated.

I also have the same issue on my Dell Inspiron 1525 from 2008 too running Ubuntu 24.04 LTS. The App Centre used to work on Ubuntu 22.04 (Jammy Jellyfish) which was the first version of Ubuntu that I installed on this machine.
EDIT: Ubuntu versions after 22.04 always show a blank screen when i open app-centre

@BhasitL
Copy link

BhasitL commented Aug 15, 2024

What is your snapd version snap version, also snap-store version snap info snap-store and the connections snap connections snap-store.

From the error it looks like it can't use OpenGL, that interface should be connected by default. It doesn't unfortunately tell much more.

Yeah. I also doubt so. Intel GM945 always had an issue with newer OpenGL applications.

@BhasitL
Copy link

BhasitL commented Aug 15, 2024

On Ubuntu snap-store itself is a snap package, hence not managed by apt but snap.

sudo snap remove snap-store

If you then install snap-store via snap you will by default get an old version (not the app-center version). If you want the app-center version of snap-store you need to install from a different channel, so you will probably want to

sudo snap install snap-store --channel latest/stable/ubuntu-23.10

or maybe even latest/edge

Be aware that the 23.10 version of snap-store has a bug, as it will try to read certificates from the redhat certificate default location first instead of the correct ubuntu location.

So, if you happen to have certificates in /etc/pki/tls/certs apparmor will prevent snap-store from reading them, resulting in snap-store not being able to render content correctly.

So, you would need to configure apparmor accordingly or just make sure the above directory doesn't exist.

I tried installing version preview/candidate: 0.2.7-alpha 2023-02-02 which is the oldest one but still same problem

apt policy 
snapd:
  Installed: 2.63+24.04ubuntu0.1
  Candidate: 2.63+24.04ubuntu0.1
  Version table:
 *** 2.63+24.04ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.62+24.04build1 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
$ snap info snapd
name:      snapd
summary:   Daemon and tooling that enable snap packages
publisher: Canonical✓
store-url: https://snapcraft.io/snapd
contact:   https://github.com/snapcore/snapd/issues
license:   GPL-3.0
description: |
  Install, configure, refresh and remove snap packages. Snaps are
  'universal' packages that work across many different Linux systems,
  enabling secure distribution of the latest apps and utilities for
  cloud, servers, desktops and the internet of things.
  
  Start with 'snap list' to see installed snaps.
type:         snapd
snap-id:      PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
tracking:     latest/stable
refresh-date: 2024-06-15
channels:
  latest/stable:    2.63                 2024-05-23 (21759) 40MB -
  latest/candidate: 2.63                 2024-05-16 (21759) 40MB -
  latest/beta:      2.64                 2024-07-25 (22509) 39MB -
  latest/edge:      2.64+git124.g1bf0b86 2024-08-15 (22687) 45MB -
installed:          2.63                            (21759) 40MB snapd
~$ snap interface opengl
name:    opengl
summary: allows access to OpenGL stack
plugs:
  - firefox
  - firmware-updater
  - snap-store
  - snapd-desktop-integration
  - thunderbird
  - vlc
slots:
  - snapd

firmware-updater also shows a blank screen when opened. Firefox opens normally.

@BhasitL
Copy link

BhasitL commented Aug 15, 2024

If this is still an issue, please provide the relevant log files frome $HOME/snap/snap-store/current/.local/share/snap-store. To further diagnose any rendering related issues, the output of glxinfo -B would be helpful.

There are no log files under this directory: $HOME/snap/snap-store/current/.local/share/snap-store
Here is the output of the glxinfo -B command:

~$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) 965GM (CL) (0x2a02)
    Version: 24.0.9
    Accelerated: yes
    Video memory: 384MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) 965GM (CL)
OpenGL version string: 2.1 Mesa 24.0.9-0ubuntu0.1
OpenGL shading language version string: 1.20

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 24.0.9-0ubuntu0.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

@BhasitL
Copy link

BhasitL commented Aug 15, 2024

Running snap-store through terminal gives the following:

$ snap-store
Gtk-Message: 16:16:40.048: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

** (snap-store:28827): WARNING **: 16:16:40.573: Failed to start Flutter renderer: Unable to create a GL context

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.598: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.599: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.599: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:40.599: gtk.dart: failed to call method: No engine to send to

** (snap-store:28827): WARNING **: 16:16:43.133: Unable to retrieve framework response: No engine to send to

** (snap-store:28827): WARNING **: 16:16:47.374: Unable to retrieve framework response: No engine to send to

(snap-store:28827): GLib-GObject-CRITICAL **: 16:16:47.688: ../src/gobject/gsignal.c:2777: instance '0x625296e6e640' has no handler with id '166'

gnome-software gives the following error when ran through terminal but still runs fine:

$ gnome-software
12:23:19:000 Gsk Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': OpenGL ES 3.0 is not supported by this renderer.

12:23:42:842 Gs  Only 0 apps for recent list, hiding
12:24:41:365 Gtk GtkLabel 0x5c85e831eb50 (label) reported min width 15 and natural width 14 in measure() with for_size=51; natural size must be >= min size
12:24:41:384 Gtk GtkLabel 0x5c85e85859a0 (label) reported min width 15 and natural width 14 in measure() with for_size=51; natural size must be >= min size
12:24:41:418 Gtk GtkLabel 0x5c85e8202bf0 (label) reported min width 15 and natural width 14 in measure() with for_size=51; natural size must be >= min size
12:24:41:476 Gtk GtkLabel 0x5c85e8451fc0 (label) reported min width 15 and natural width 13 in measure() with for_size=51; natural size must be >= min size
12:24:41:479 Gtk GtkLabel 0x5c85e81eae30 (label) reported min width 15 and natural width 14 in measure() with for_size=51; natural size must be >= min size
12:24:57:032 Gsk Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': OpenGL ES 3.0 is not supported by this renderer.

12:28:01:704 Gsk Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': OpenGL ES 3.0 is not supported by this renderer.

@BhasitL
Copy link

BhasitL commented Aug 15, 2024

From what i have understood, maybe snap-store is trying to forcefully use OpenGL ES 3.0 which is not supported by my graphic adapter as the Max GLES[23] profile version for my Intel 945 is 2.0 according to glxinfo -B and this results in a blank screen. That's what I presume.

gnome-software on the other hand does complain about OpenGL ES 3.0 not supported but still displays normally and works fine.

@MelchiorGaspar
Copy link
Author

aah ok so my Intel integrated gfx hardware is just too old to do anything with this
I guess my only laptop with a DVD drive is too old make Linux run right.. so giving up with it for now...
so I will close this ticket maybe?

@BhasitL ty for you comments..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants