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

Exit after 10 seconds. "ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane." #2842

Open
3 tasks
Francewhoa opened this issue May 5, 2024 · 4 comments
Open
3 tasks
Labels
bug need info Need feedback to proceed

Comments

@Francewhoa
Copy link

Francewhoa commented May 5, 2024

OS/Platform

Debian, Ubuntu, and derivatives

Installed

Flatpak

Version

Version 124.0.6367.118 (Official Build, ungoogled-chromium) (64 bits)

Have you tested that this is not an upstream issue or an issue with your configuration?

  • I have tried reproducing this issue in Chrome and it could not be reproduced there
  • I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
  • I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there
    • We were able to reproduce this challenge with 2 ungoogled-chromium on two different devices

Description

Start with Terminal displays: ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.

How to Reproduce?

  1. Install Ungoogle-Chromium (UC) version 124.0.6367.201-1 from https://flathub.org/apps/details/com.github.Eloston.UngoogledChromium

  2. UC works fine. No challenge.

  3. Install this Mesa OpenCL sudo aptitude install "mesa-opencl-icd"

  4. Wait for the next release of UC. Update UC to the new release 124.0.6367.207-1. This steps is the most important one. Because without an update, this challenge can not be reproduce.

  5. Using GNOME, start UC. It does open. It is important to start UC with GNOME. Otherwise this challenge can not be reproduce with starting UC from Terminal.

  6. After roughly 10 seconds, UC exit. This is the challenge.

    • Notes:

      • After UC exit above. There is an unusual process still open. wrap. Which never exit and uses memory. Each time you repeat the steps above. At this present step, an additional wrap process is added and remains open. And so on.

      • The same challenge can be reproduce many previous releases of UC. Maybe a few weeks back.

Actual behaviour

Find steps to reproduce above

Expected behaviour

Ungoogle-Chromium (UC) starts without error message and does not automatically exit after 10 seconds

Relevant log output

Find steps to reproduce above

Per the steps above, if you start UC from Terminal, this challenge can not be reproduce. But if somehow the Terminal log is useful for your discovery, here is it below.

  1. Using Terminal, start UC /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chromium --file-forwarding io.github.ungoogled_software.ungoogled_chromium @@u %U @@

  2. Terminal display those errors. This is the first challenge.

Gtk-Message: 20:18:01.327: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:18:01.328: Failed to load module "canberra-gtk-module"
[2:2:0515/201801.392909:ERROR:chrome_browser_cloud_management_controller.cc(161)] Cloud management controller initialization aborted as CBCM is not enabled. Please use the --enable-chrome-browser-cloud-management command line flag to enable it if you are not using the official Google Chrome build.
[33:33:0515/201801.537874:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538043:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538190:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538272:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538368:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538448:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538542:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538624:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538701:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538743:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538807:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538847:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538909:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.538948:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539011:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539050:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539112:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539153:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539215:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539254:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539316:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539355:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539418:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539457:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539520:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539558:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539622:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539662:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539723:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539762:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539824:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539862:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539925:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.539968:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540030:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540069:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540131:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540170:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540232:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540272:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540336:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540375:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540437:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540475:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540537:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540575:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540636:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540674:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540737:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540776:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540837:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540876:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540939:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.540977:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541039:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541078:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541140:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541186:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541251:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541290:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541352:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541391:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541452:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541491:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541553:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541601:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541665:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541703:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541765:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541804:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541868:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541908:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.541970:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542009:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542072:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542110:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542173:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542211:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542273:ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.: Aucun fichier ou dossier de ce type (2)
[33:33:0515/201801.542311:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce type (2)
[2:2:0515/201801.746994:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
[2:19:0515/201802.143827:ERROR:ev_root_ca_metadata.cc(162)] Failed to decode OID: 0
[33:33:0515/201806.525379:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[33:33:0515/201806.527935:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[33:33:0515/201809.994185:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Additional context

Debian 10 Bookworm
GNOME 43.9
Wayland

What we tried but did not work

  • Temporarily deactivate graphic acceleration at chrome://settings/system

  • Remove Ungoogled-Chromium (UC). But keep its configuration. Then reinstall UC.

    • flatpak remove io.github.ungoogled_software.ungoogled_chromium
    • flatpak install flathub io.github.ungoogled_software.ungoogled_chromium

IDU

@Francewhoa :) Note to myself IDU_7B9EF9S3

@Francewhoa Francewhoa added the bug label May 5, 2024
@Francewhoa
Copy link
Author

We found a workaround fix for the second challenge

Steps:

  1. Backup valuable Ungoogled-Chromium (UC) configuration

  2. Using Terminal, execute this command to both fully remove UC and its configuration. Removing its configuration is important. Otherwise, this workaround fails.

    1. flatpak remove --delete-data io.github.ungoogled_software.ungoogled_chromium
    2. flatpak install flathub io.github.ungoogled_software.ungoogled_chromium
  3. Reinstall UC. Same version from Flathub at https://flathub.org/apps/io.github.ungoogled_software.ungoogled_chromium

  4. Start UC

  5. This resolved the second challenge only. UC does not exit after 10 seconds. The first challenge is still present. About this ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.

@PF4Public
Copy link
Contributor

@rany2 Could you reproduce this issue?

@rany2
Copy link
Member

rany2 commented May 9, 2024

This resolved the second challenge only. UC does not exit after 10 seconds. The first challenge is still present. About this ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane.

Is that error at all harmful? Does the browser function properly despite it?

Using Terminal, execute this command to both fully remove UC and its configuration. Removing its configuration is important.

At least from the looks of it, it seems like a corrupted Chromium config/cache issue? --delete-data is equivalent to just wiping ~/{config,cache}/chromium.


I'll investigate further to see if I could try to trigger but I probably can't this week.

@PF4Public PF4Public added the need info Need feedback to proceed label May 11, 2024
@Francewhoa
Copy link
Author

I both updated and simplified these steps to reproduce above

The most important updated step is that this challenge can only be reproduced after updating UC

We were able to reproduce this challenge on a total of 4 different ungoogled-chromium (UC). Including 2 freshly installed (vanilla) UC. On 2 different devices.

@Francewhoa Francewhoa changed the title "ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane." Exit after 10 seconds. Exit after 10 seconds. "ERROR:gbm_wrapper.cc(72)] Failed to get fd for plane." May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug need info Need feedback to proceed
Projects
None yet
Development

No branches or pull requests

3 participants