-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to capture screen on Ubuntu 21.04 #1622
Comments
I'm having exactly the same issue when the nouveau driver is installed for my Nvidia GeForce GTX 950. With proprietary drivers, it works well.
|
@wizardion can you confirm that you also are using Wayland? |
not sure how to check it, it's ubuntu 21.04 with default configurations. |
@wizardion please read this page: https://flameshot.org/guide/issue-reporting/ Easiest way is: inxi --width 80 --system --graphics |
@mmahmoudian |
I've just checked this again with the same nouveau driver but with X11 (switched to this) - and with X11 it's working. So the reason for this issue is Wayland. |
The workaround is to use |
@ampaiva Of course the workaround you mentioned will work, but Wayland is the future and more and more distros are adopting it in their stable releases. Wayland has many rough edges and issues but we are trying to make Flameshot to also support Wayland. There are three layers to this though:
And we can only and only address the 3rd one. |
Doesn't work on KDE plasma 5.22.1 on Wayland (distro KDE neon). I can provide debug info, if you need. Just let me know |
@websitevirtuoso for the time being the output of the following would be sufficient: inxi --width 80 --system --graphics |
@mmahmoudian sure. let me know if you need more System: |
Same issue
|
@zlobme you are the first one in this thread that is not using Nvidia which is interesting considering that @wizardion mentioned that the issue does not exist on proprietary Nvidia driver, and @websitevirtuoso is also using nouveau. Anyhow, would you all kindly do:
then send post here the output of the first terminal when it fails. |
@mmahmoudian sure, here it's:
|
@zlobme I can't believe I didn't suspected this earlier for this thread! You are using Snap. I wonder if others (@aryzing @wizardion @websitevirtuoso) have also installed Flameshot with Snap (or Flatpak). These solutions are sort of "sandbox"ing the software as well, therefore certain permissions should be granted to them, as also pointed out in: @zlobme As explained in Snap documentation, would you please provide me the output of |
@mahmoudian here's connection output:
|
@zlobme I'm not personally very experienced with snaps but considering the AppArmor error you got and the dbus connection of your snap, I suspect that this is because of dbus connection. Perhaps @borgmanJeremy can provide more insight regarding this error you and this config and the Wayland. |
I just try
|
Hmmm, I think the snap is correct. It works for me on Arch + KDE + X11, I am not running AppArmor. |
@borgmanJeremy there are many moving parts in play. The setup @zlobme has is as different as it can get from our setup. He has Ubuntu+Unity+Wayland+AppArmor and I think AppArmor is by default shipped with Ubuntu. I'll try to create a VM with similar setup (no Unity) and see if I can reproduce this. |
@mmahmoudian viktord@blade: In the second terminal I did command |
Still doesn't work, |
@websitevirtuoso how have you installed Flameshot on you KDE Neon? |
I build it by instruction on github. To use latest version |
Build mkdir build |
I even tried to remove it and install via apt-get install flameshot. but the same error |
Hi, same issue, follow all information
|
Exactly the same problem, Ubuntu 21.04 Wayland. Tried snap and flatpak versions. Apt and deb working properly. |
I had the same issue, uninstalled and installed it like this on my Ubunutu 21.04
|
I had the same issue, with Gnome 41 on Wayland, Arch Linux, flameshot r1522.dabc5965-1, or flameshot 0.10.1. |
Same issue on Fedora 35 with Gnome 41.1 on Wayland:
|
same issue on arch linux with Gnome |
Same issue too on Fedora 35 with Gnome 41 Wayland session |
Same issue with archlinux: flameshot -v flameshot loginctl show-session inxi --width 80 --system --graphics |
This is a duplicate of #1910 |
Hello. $ inxi --width 80 --system --graphics
$ flameshot
$flameshot --version
|
If I switch to X11, Flameshot works. $ inxi --width 80 --system --graphics
Sorry for my bad english. |
@hristo-chavez We have put together a quick fix for this and we released v0.10.2 to handle Gnome 41 Wayland issue. Pleasr either upgrade to Flameshot v0.10.2 or use our AUR flameshot-git |
Hi, seeing the same issue on v0.10.2. Manjaro
flameshot
flameshot --version
|
Try running
```flameshot gui```
…On Fri, Dec 3, 2021 at 9:11 AM Dmytro Hakman ***@***.***> wrote:
Hi, seeing the same issue on v0.10.2. Manjaro
inxi
System:
Host: dsydll Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 Desktop: GNOME 41.1
Distro: Manjaro Linux
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo
Display: wayland server: X.org 1.21.1.1 driver: loaded: i915
note: n/a (using device driver) - try sudo/root
resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.2.5
flameshot
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSettings::value: Empty key passed
QSettings::value: Empty key passed
QSettings::setValue: Empty key passed
QSettings::value: Empty key passed
QSettings::setValue: Empty key passed
flameshot --version
Flameshot v0.10.2
Compiled with Qt 5.15.2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1622 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF27QJBDR7PBCZXSW4RW3GLUPAKMLANCNFSM444B6IKA>
.
|
It launches gnome screenshot tool |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
I'd like to mention that I had similar problem on Archlinux and Wayland using Sway. I managed to make it work by installing I guess this is an Archlinux problem at packaging level, I will suggest the arch maintainer to add Update: this seems to be addressed via #3018, but the build-option is not used in Archlinux official build, nor in AUR yet. I'm wondering if it's worthy to add the |
Way late to the game, but I was just having this issue in Fedora, I think related to Wayland, but not sure. I had created a quick key to launch "flameshot gui" but that would result in a failure notice. I assume it was only executing on the first word "flameshot" and not adding the "gui" instruction. I created a simple script that I now call with the quick key instead.
|
Flameshot version
Describe the bug
The app can not capture the screen, and silently fails. There's a popup notification that alerts to its inability to capture screen,
To Reproduce
Simply open the app using the via "Take Screenshot" or "Open Launcher" menu items
Expected behavior
Should capture screen
System Information
The text was updated successfully, but these errors were encountered: