pulsar-edit / pulsar

A Community-led Hyper-Hackable Text Editor
https://pulsar-edit.dev
Other
3.33k stars 140 forks source link

Ubuntu 22.04 and Nvidia performance mode causing not start pulsar from shortcut :gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye #1012

Open dansanti opened 5 months ago

dansanti commented 5 months ago

Thanks in advance for your bug report!

What happened?

SInce update 1.116.0 can't start pulsar from applications icon

Pulsar version

1.116.0 and 1.117.0

Which OS does this happen on?

🐧 Debian based (Linux Mint, Ubuntu, etc.)

OS details

22.04

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

1.- if you have nvidia, chose priority to nvidia (performance mode) 2.- in dock, click on pulsar icon (can't open) 3.- if you try in terminal with only command pulsar, works

using the shortcut exec for debug: 1.- open a terminal 2.- execute: /opt/Pulsar/pulsar %U 3.- gets: :gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye

Additional Information:

Nvidia gtx3060TI

confused-Techie commented 5 months ago

Thanks a ton for reporting this issue.

We've seen similar GPU issues on various Linux platforms, but could you try launching Pulsar with the flag --in-process-gpu or --no-sandbox. That usually seems to sort them out.

But since you say it works anyway via the terminal, maybe if it's possible to add these flags to when it's launched via the dock could help test?

dansanti commented 5 months ago

Hello, yes, with both options seems to works fine

added to file /usr/share/applications/pulsar.desktop :

Exec=/opt/Pulsar/pulsar %U --in-process-gpu