Closed SamuelMarks closed 2 months ago
@SamuelMarks thanks for this report. Does this only occur in Ubuntu 24? Are other Electron-based apps affected?
@trevor-signal Just Signal. Opened VSCode and Codium both work fine. Happy to try a different app also just tell me which
@SamuelMarks thanks. Can you try starting it with the --disable-gpu
flag?
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)
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)
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)
@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.
@SamuelMarks It may be necessary to install or update AMD drivers to ensure compatibility with the latest version of Ubuntu.
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!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm using the current signal desktop (as of Oct 24, 2024) and ubuntu 24.04.1. I installed ROCm (the AMD software for doing compute on a GPU) and now signal-desktop won't run. Same error:
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[7953:1024/050136.532432:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
The "sudo apt remove mesa-va-drivers" does not work. I have a radeon 7800 XT.
I found a work around: $ LIBVA_DRIVER_NAME="vdpau" signal-desktop
I found a work around: $ LIBVA_DRIVER_NAME="vdpau" signal-desktop
Thank you!
Confirmed this works on Framework16 (AMD Phoenix1 iGPU) / Ubuntu 24.04 with all FlatPak electron-based apps that were breaking with to the Unable to find target for this triple
error.
Using a supported version?
Overall summary
Tried upgrading to signal-desktop (7.4.0) over (7.3.1); same error. Running latest Ubuntu 24.04 pre-release.
Steps to reproduce
Open Signal
Expected result
Signal opens
Actual result
Trace/breakpoint trap (core dumped)
Screenshots
No response
Signal version
7.4.0
Operating system
Ubuntu 24.04
Version of Signal on your phone
No response
Link to debug log
signal.stdout.txt signal.stderr.txt