https://bugs.kde.org/show_bug.cgi?id=464784

            Bug ID: 464784
           Summary: Spectacle captures random images in a NVIDIA Prime
                    offset rendering setup
    Classification: Applications
           Product: Spectacle
           Version: 22.12.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: mathias.hom...@opensuse.org
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY

I'm using spectacle in a setup with the intel driver as primary, and a nvidia
card through prime render offsetting. I have spectacle bound to the printscreen
key. When I try capturing a screenshot of an "offloaded" openGL app (any game
or the likes) spectacle sometimes (about half of the time) captures not the
game but some other window that is also on screen.

STEPS TO REPRODUCE
1. Set up a laptop with intel and nvidia prime offset redering
2. run any openGL app / game
3. try catching a screenshot of the game.


OBSERVED RESULT
spectacle catches a screenshot of one of the running windows but not
necessarily the one running in foreground

EXPECTED RESULT
spectacle should take a screenshot of what is on my screen, not of what other
windows would look like if they were still running in the foreground

ADDITIONAL INFO


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
mathias@mio:~> inxi -G
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia
    v: 525.85.05
  Device-3: Acer HD Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: intel,modesetting unloaded: nvidia dri: i965 gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: Mesa Intel Xe Graphics (TGL GT2)
mathias@mio:~> gamemoderun inxi -G
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia
    v: 525.85.05
  Device-3: Acer HD Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: intel,modesetting unloaded: nvidia dri: i965 gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 525.85.05 renderer: NVIDIA GeForce GTX 1650
    Ti with Max-Q Design/PCIe/SSE2
mathias@mio:~> 

Operating System: openSUSE Tumbleweed 20230123
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.7-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Prestige 14 A11SCS
System Version: REV:1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to