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

ARM64 Linux Does not work on CEF 102+ #3565

Closed
theofficialgman opened this issue Sep 8, 2023 · 4 comments
Closed

ARM64 Linux Does not work on CEF 102+ #3565

theofficialgman opened this issue Sep 8, 2023 · 4 comments
Labels
bug Bug report linux Linux platform

Comments

@theofficialgman
Copy link

theofficialgman commented Sep 8, 2023

Describe the bug
When attempting to start an application that embeds CEF (https://github.com/obsproject/obs-browser) built with CEF 102 and newer on ARM64 Linux, only a black screen is rendered (eg: CEF 103 used https://github.com/Pi-Apps-Coders/files/releases/download/large-files/obs-studio-29.1.3-1-arm64-jammy.deb) . Not an issue on 101 and earlier versions (eg: CEF 98 used https://github.com/Pi-Apps-Coders/files/releases/download/large-files/obs-studio-29.1.3-2-arm64-jammy.deb) .

To Reproduce
Steps to reproduce the behavior:

  1. Download CEF ARM64 Linux 102 or newer from https://cef-builds.spotifycdn.com/index.html#linuxarm64
  2. Run with any test application
  3. See that the screen in black or not rendered

Expected behavior
CEF 102+ functions like it did on earlier versions.

Versions (please complete the following information):

  • OS: Ubuntu 22.04
  • CEF Version: 102+

Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
not tested currently with the sample application

Does the problem reproduce with Google Chrome at the same version?
no. all versions of chromium (102 - 116 tested) do not have this issue.

@theofficialgman theofficialgman added the bug Bug report label Sep 8, 2023
theofficialgman added a commit to Botspot/pi-apps that referenced this issue Sep 8, 2023
bisected to this being the latest version that works and not affected by CEF upstream bug chromiumembedded/cef#3565
@magreenblatt
Copy link
Collaborator

not tested currently with the sample application

Please test with the "Sample Application" available from https://cef-builds.spotifycdn.com/index.html#linuxarm64

See that the screen in black or not rendered

Any relevant console or debug.log messages? See here for GPU-related debugging tips.

@magreenblatt magreenblatt added needs user feedback Additional feedback required linux Linux platform labels Sep 13, 2023
@theofficialgman
Copy link
Author

sample application does not have the issue.

this is the relevant logs from the application (OBS) in question

info:     - source: 'Browser' (browser_source)
info: ------------------------------------------------
[0907/212639.455611:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.500557:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.521691:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.554989:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.588316:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.621561:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.654894:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.669747:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.673215:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.688224:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.690212:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.721714:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.754876:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.788221:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.822322:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.854945:WARNING:task_impl.cc(31)] No task runner for threadId 0
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
[0907/212639.904718:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.937970:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.954779:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212639.988246:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.021765:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.054890:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.088225:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.091993:VERBOSE1:cdm_registration.cc(232)] Widevine enabled but no library found
[0907/212640.091992:VERBOSE1:cdm_registration.cc(232)] Widevine enabled but no library found
[0907/212640.092374:INFO:cpu_info.cc(53)] Available number of cores: 4
[0907/212640.092374:INFO:cpu_info.cc(53)] Available number of cores: 4
[0907/212640.092466:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates
[0907/212640.092464:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates
[0907/212640.121564:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.144479:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.154872:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.188252:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.221521:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.254860:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.288257:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.321550:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.355817:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.388391:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.421620:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.454853:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.488203:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.521518:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.554853:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.588214:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.619415:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.621488:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.654842:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.688202:WARNING:task_impl.cc(31)] No task runner for threadId 0
[0907/212640.787048:VERBOSE1:proxy_config_service_linux.cc(504)] All gsettings tests OK. Will get proxy config from gsettings.
[0907/212640.787534:VERBOSE1:proxy_config_service_linux.cc(1269)] Obtained proxy settings from annotation hash code 11258689
[0907/212640.787646:VERBOSE1:pref_proxy_config_tracker_impl.cc(186)] 0x7f48092700: set chrome proxy config service to 0x7f480d9670
[0907/212640.869626:VERBOSE1:cdm_registration.cc(232)] Widevine enabled but no library found
[0907/212640.915374:VERBOSE1:webrtc_internals.cc(117)] Could not get the download directory.
[0907/212640.916037:VERBOSE1:media_stream_manager.cc(873)] MSM::InitializeMaybeAsync([this=0x7f480f44b0])
[0907/212640.916099:VERBOSE1:media_stream_manager.cc(873)] MDM::MediaDevicesManager()
[0907/212640.916169:VERBOSE1:media_stream_manager.cc(873)] MSM::MediaStreamManager([this=0x7f480f44b0]))
[0907/212641.058017:VERBOSE1:proxy_config_service_linux.cc(504)] All gsettings tests OK. Will get proxy config from gsettings.
[0907/212641.059115:VERBOSE1:proxy_config_service_linux.cc(1269)] Obtained proxy settings from annotation hash code 11258689
[0907/212641.059281:VERBOSE1:pref_proxy_config_tracker_impl.cc(186)] 0x7f481db340: set chrome proxy config service to 0x7f481dd3f0
[0907/212641.136817:VERBOSE1:proxy_config_service_linux.cc(1376)] Detected no-op change to proxy settings. Doing nothing.
[0907/212641.620943:VERBOSE1:proxy_config_service_linux.cc(1376)] Detected no-op change to proxy settings. Doing nothing.
[0907/212641.634268:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://obsproject.com/browser-source
[0907/212641.638817:VERBOSE1:network_delegate.cc(34)] NetworkDelegate::NotifyBeforeURLRequest: https://github.com/

x86_64 builds on a system with mesa drivers (thats all I have to compare) don't have the issue at all

@magreenblatt magreenblatt removed the needs user feedback Additional feedback required label Oct 4, 2023
@magreenblatt
Copy link
Collaborator

Thanks for the update. Based on your feedback this sounds like a system configuration or app-specific issue since it only reproduces with Linux ARM64 and the OBS application. Happy to reopen this issue if your debugging identifies a fix in CEF.

@magreenblatt magreenblatt closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2023
@theofficialgman
Copy link
Author

theofficialgman commented Oct 10, 2023

@WizardCM any thoughts on this CEF issue? I reported/documented in the discord https://discord.com/channels/348973006581923840/374636084883095554/1149548064160358450 and seemed to be a CEF issue since it only happens in 102+ yet here they don't want to classify as a CEF issue since it doesn't occur in the sample application.

Do you know of any significant differences between obs-browser and the sample application that would case one to show a black screen with logs as above and the other to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report linux Linux platform
Projects
None yet
Development

No branches or pull requests

2 participants