<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>496507</bug_id>
          
          <creation_ts>2024-11-20 18:35:01 +0000</creation_ts>
          <short_desc>Spectacle is unable to start and aborts with SIGABRT in OpenCV code</short_desc>
          <delta_ts>2025-03-07 14:48:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Spectacle</product>
          <component>General</component>
          <version>24.08.3</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>494067</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Joern">joern.koerner</reporter>
          <assigned_to name="Noah Davis">noahadvs</assigned_to>
          <cc>kde</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2375846</commentid>
    <comment_count>0</comment_count>
    <who name="Joern">joern.koerner</who>
    <bug_when>2024-11-20 18:35:01 +0000</bug_when>
    <thetext>SUMMARY
On Arch Linux spectacle is unable to start and aborts with SIGABRT - at least on this hardware. 
On other Arch installations (hardware) spectacle works as expected.

STEPS TO REPRODUCE
1. run spectacle
2. 
3. 

OBSERVED RESULT
~&gt; spectacle -r
kpipewire_vaapi_logging: VAAPI: Intel iHD driver for Intel(R) Gen Graphics - 24.4.2 () in use for device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 8 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 8 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
terminate called after throwing an instance of &apos;cv::Exception&apos;
  what():  OpenCV(4.10.0) /usr/src/debug/opencv/opencv/modules/core/src/matrix.cpp:808: error: (-215:Assertion failed) 0 &lt;= roi.x &amp;&amp; 0 &lt;= roi.width &amp;&amp; roi.x + roi.width &lt;= m.cols &amp;&amp; 0 &lt;= roi.y &amp;&amp; 0 &lt;= roi.height &amp;&amp; roi.y + roi.height &lt;= m.rows in function &apos;Mat&apos;


EXPECTED RESULT
Taking a screenshot

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31,0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: XPS 15 9520
ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2375878</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-11-20 20:27:47 +0000</bug_when>
    <thetext>What GPU are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2376091</commentid>
    <comment_count>2</comment_count>
    <who name="Joern">joern.koerner</who>
    <bug_when>2024-11-21 17:46:02 +0000</bug_when>
    <thetext>It&apos;s an Intel Iris Xe Graphics eligible, Device-Id: 0x46A6, Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)

The Nvidia GeForce RTX 3050 GPU is completely disabled and unused (too noisy).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2382234</commentid>
    <comment_count>3</comment_count>
    <who name="Joern">joern.koerner</who>
    <bug_when>2024-12-17 17:49:48 +0000</bug_when>
    <thetext>Following situation: 
I&apos;ve two Displays, one Laptop internal 15.6 inch with 3840x2400 and one external 24 inch with 3840x2160 resolution.
Due to the very different display size the external 24in screen has 130% scale and the internal at 220% to match window sizes between displays. Mesa Intel® Iris® Xe Graphics only the Nvidia part is completely disabled via acpi_call.

Now having both displays connected, the internal at 220% scale the external at 130% spectacle crashes with
spectacle
kpipewire_vaapi_logging: VAAPI: Intel iHD driver for Intel(R) Gen Graphics - 24.4.3 () in use for device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 8 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 6 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
kpipewire_vaapi_logging: VAAPI: entrypoint 8 of profile 14 is not supported by the device &quot;/dev/dri/renderD128&quot;
terminate called after throwing an instance of &apos;cv::Exception&apos;
  what():  OpenCV(4.10.0) /usr/src/debug/opencv/opencv/modules/core/src/matrix.cpp:808: error: (-215:Assertion failed) 0 &lt;= roi.x &amp;&amp; 0 &lt;= roi.width &amp;&amp; roi.x + roi.width &lt;= m.cols &amp;&amp; 0 &lt;= roi.y &amp;&amp; 0 &lt;= roi.height &amp;&amp; roi.y + roi.height &lt;= m.rows in function &apos;Mat&apos;

KCrash: Application &apos;spectacle&apos; crashing... crashRecursionCounter = 2


Now when setting the scale factor of the external display to 130% (and only exactly 130% as I can say so far) spectacle crashes with the above message. Any other scale factor seems to work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2405698</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-03-07 14:48:07 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 494067 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>