[go: nahoru, domu]

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

chromium x11 105.0.5195.102 cannot be started on stm32 #671

Open
nandra opened this issue Oct 25, 2022 · 7 comments
Open

chromium x11 105.0.5195.102 cannot be started on stm32 #671

nandra opened this issue Oct 25, 2022 · 7 comments

Comments

@nandra
Copy link
nandra commented Oct 25, 2022

Hi,

I'm building chromium-x11 and when run on target platform I'm getting:
root@stm32mp1:~# chromium /usr/bin/chromium: error while loading shared libraries: libgbm.so: cannot open shared object file: No such file or directory
also to be able to build I need to add to bbappend file:

DEPENDS:append = " libxshmfence"

Any ideas please? Thanks.

@rakuco
Copy link
Collaborator
rakuco commented Oct 25, 2022

@msivov do you know if the dependencies have changed recently? Do we need to pull in something that installs libgbm.so?

@nandra
Copy link
Author
nandra commented Oct 26, 2022

FYI: tried chromium-ozone-wayland with weston manager and chromium can be started fine.

@nandra
Copy link
Author
nandra commented Nov 2, 2022

@rakuco seems to be related to stm32 layers only (build and run fine on sunxi though). Any ideas what can be checked and how libgbm is added or so? Thanks.

@rakuco
Copy link
Collaborator
rakuco commented Nov 2, 2022

AFAICS libgbm.so is supposed to be provided by the platform's GLES implementation. On desktop Linux you'd get it from Mesa, for example.

@msisov does the above make sense? You know more about this part of the code base than I do.

@msisov
Copy link
Collaborator
msisov commented Nov 2, 2022

yes, on desktop it's provided by mesa for example

@nandra
Copy link
Author
nandra commented Nov 2, 2022

@msisov so I should check if mesa provide such files? Files exists in final rootfs but looks like chromium is expecting something else. Any ideas what else can I check psl? Thanks.

@msisov
Copy link
Collaborator
msisov commented Nov 2, 2022

I've no idea what driver stm32 uses, but you can try to add virtual/libgbm to DEPENDS. Maybe, that helps (shrug).

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

No branches or pull requests

3 participants