Git Product home page Git Product logo

Comments (9)

SamuelMarks avatar SamuelMarks commented on July 19, 2024 1

Confirmed that --disable-gpu or --no-sandbox --disable-gpu give the same error.

Trying that fiddle:

Selecting previously unselected package electron-fiddle.
(Reading database ... 500800 files and directories currently installed.)
Preparing to unpack .../electron-fiddle_0.36.2_amd64.deb ...
Unpacking electron-fiddle (0.36.2) ...
Setting up electron-fiddle (0.36.2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
samuel@al:~$ electron-fiddle 
Creating main window
🏁 downloading 29.1.5 - 100%
Electron's autoUpdater does not support the 'linux' platform
[187635:0412/230644.966332:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[187635:0412/230648.720802:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[187635:0412/230653.905669:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Content: 29-x-y template loading
Content: 29-x-y downloading template
Content: 29-x-y saving template to "/tmp/electron-fiddle-tCh1xK.zip"
Content: 29-x-y unzipping template
(node:187591) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `electron-fiddle --trace-deprecation ...` to show where the warning was created)
Content: 29-x-y unzipped; removing "/tmp/electron-fiddle-tCh1xK.zip"
Got Fiddle from "/home/samuel/.config/Electron Fiddle/Templates/electron-quick-start-29-x-y". Found: [ 'index.html', 'main.js', 'preload.js', 'renderer.js', 'styles.css' ]
Creating main window

(no errors)

from signal-desktop.

SamuelMarks avatar SamuelMarks commented on July 19, 2024 1

Figured out the solution, from
https://dev1galaxy.org/viewtopic.php?pid=46495#p46495

Turns out I needed to run:

sudo apt remove mesa-va-drivers
# Removes `va-driver-all` also

And now it works. Signal Desktop how I've missed you!

from signal-desktop.

trevor-signal avatar trevor-signal commented on July 19, 2024

@SamuelMarks thanks for this report. Does this only occur in Ubuntu 24? Are other Electron-based apps affected?

from signal-desktop.

SamuelMarks avatar SamuelMarks commented on July 19, 2024

@trevor-signal Just Signal. Opened VSCode and Codium both work fine. Happy to try a different app also just tell me which

from signal-desktop.

trevor-signal avatar trevor-signal commented on July 19, 2024

@SamuelMarks thanks. Can you try starting it with the --disable-gpu flag?

from signal-desktop.

SamuelMarks avatar SamuelMarks commented on July 19, 2024

Both --no-sandbox --no-gpu and --no-gpu gives:

ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[165017:0412/183642.235712:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139
[165017:0412/183642.235729:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

from signal-desktop.

ayumi-signal avatar ayumi-signal commented on July 19, 2024

Sorry it's still happening-- can you confirm the command line flag was --disable-gpu?

If it's still crashing with that, could you try Electron fiddle and set the electron version to ours which is 29.1.0
https://www.electronjs.org/fiddle

Then electron 29.1.5 (newest version we use)

from signal-desktop.

ayumi-signal avatar ayumi-signal commented on July 19, 2024

@SamuelMarks Thank you for checking and testing further, and sorry it's still not working. It might be a GPU driver error, but I'm not sure how to reproduce it locally. I'd suggest trying different versions of the amd gpu driver.

from signal-desktop.

Ismail-Benali avatar Ismail-Benali commented on July 19, 2024

@SamuelMarks It may be necessary to install or update AMD drivers to ensure compatibility with the latest version of Ubuntu.

from signal-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.