<?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>470474</bug_id>
          
          <creation_ts>2023-05-31 00:32:17 +0000</creation_ts>
          <short_desc>new nvidia beta driver (535 series) not showing statistics</short_desc>
          <delta_ts>2023-08-19 05:49:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>plasma-systemmonitor</product>
          <component>general</component>
          <version>5.27.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcelo Bossoni">mmbossoni</reporter>
          <assigned_to name="KSysGuard Developers">ksysguard-bugs</assigned_to>
          <cc>ahiemstra</cc>
    
    <cc>jon9097</cc>
    
    <cc>julien.dlq</cc>
    
    <cc>kde</cc>
    
    <cc>kelvie</cc>
    
    <cc>kx</cc>
    
    <cc>MrRessiPiyent125</cc>
    
    <cc>nate</cc>
    
    <cc>pasjoweb</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>sampingu02</cc>
    
    <cc>ser.sto12</cc>
    
    <cc>stephen.greenham</cc>
    
    <cc>theattish</cc>
    
    <cc>wildreiser</cc>
    
    <cc>yizel7</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/ksystemstats/-/commit/4f7213e6e742b993feeaf300181a67923e60c0f4</cf_commitlink>
          <cf_versionfixedin>5.27.7</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2233900</commentid>
    <comment_count>0</comment_count>
    <who name="Marcelo Bossoni">mmbossoni</who>
    <bug_when>2023-05-31 00:32:17 +0000</bug_when>
    <thetext>SUMMARY
I&apos;ve installed new nvidia drivers and card stats reporting seems to be broken again :(

STEPS TO REPRODUCE
1.  Install new nvidia 535 driver

OBSERVED RESULT
All stats showing 0 as result (temp, usage, frequency...)

EXPECTED RESULT
All statistics properly shown

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.4-zen3-xanmod1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A37
System Version: 1.0

ADDITIONAL INFORMATION
nvidia-smi dmon -s pucm
# gpu    pwr  gtemp  mtemp     sm    mem    enc    dec    jpg    ofa   mclk   pclk     fb   bar1   ccpm 
# Idx      W      C      C      %      %      %      %      %      %    MHz    MHz     MB     MB     MB 
    0     11     48      -     0      5      0      0      -     -   405    139    512     15      0 
    0     11     48      -     0      5      0      0      -     -   405    139    512     15      0 
    0     11     48      -     0      5      0      0      -     -   405    139    504     15      0 
    0     11     48      -     0      5      0      0      -     -   405    139    504     15      0 
    0     11     48      -     0      5      0      0      -     -   405    139    504     15      0 
    0     11     48      -     0      5      0      0      -     -   405    139    504     15      0 
    0     11     48      -     0      5      0      0      -     -   405    139    496     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    496     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    496     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    488     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    488     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    488     15      0 
    0     11     47      -     0      6      0      0      -     -   405    139    480     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    480     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    480     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    480     15      0 
    0     11     47      -     0      5      0      0      -     -   405    139    472     15      0 
    0     11     47      -     7     11      0      0      -     -   405    139    586     15      0 
    0     13     47      -     1      6      0      0      -     -   405    139    586     15      0 
    0     12     47      -     0      6      0      0      -     -   405    139    586     15      0 
    0     12     47      -     0      5      0      0      -     -   405    139    578     15      0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2235147</commentid>
    <comment_count>1</comment_count>
    <who name="David Redondo">kde</who>
    <bug_when>2023-06-07 07:40:05 +0000</bug_when>
    <thetext>I don&apos;t have the driver yet but it looks like they added new fields

I think we should look for the index of the fields in the header  that we are interested in instead of bailing when encountering a new one</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2236602</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2023-06-15 12:34:12 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/ksystemstats/-/merge_requests/57</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2236851</commentid>
    <comment_count>3</comment_count>
    <who name="HeathenHacks">MrRessiPiyent125</who>
    <bug_when>2023-06-17 02:26:15 +0000</bug_when>
    <thetext>Yep. Same issue here.(In reply to Marcelo Bossoni from comment #0)
&gt; SUMMARY
&gt; I&apos;ve installed new nvidia drivers and card stats reporting seems to be
&gt; broken again :(
&gt; 
&gt; STEPS TO REPRODUCE
&gt; 1.  Install new nvidia 535 driver
&gt; 
&gt; OBSERVED RESULT
&gt; All stats showing 0 as result (temp, usage, frequency...)
&gt; 
&gt; EXPECTED RESULT
&gt; All statistics properly shown
&gt; 
&gt; SOFTWARE/OS VERSIONS
&gt; Operating System: Arch Linux 
&gt; KDE Plasma Version: 5.27.5
&gt; KDE Frameworks Version: 5.106.0
&gt; Qt Version: 5.15.9
&gt; Kernel Version: 6.3.4-zen3-xanmod1-1 (64-bit)
&gt; Graphics Platform: Wayland
&gt; Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
&gt; Memory: 15.5 GiB of RAM
&gt; Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
&gt; Manufacturer: Micro-Star International Co., Ltd.
&gt; Product Name: MS-7A37
&gt; System Version: 1.0
&gt; 
&gt; ADDITIONAL INFORMATION
&gt; nvidia-smi dmon -s pucm
&gt; # gpu    pwr  gtemp  mtemp     sm    mem    enc    dec    jpg    ofa   mclk 
&gt; pclk     fb   bar1   ccpm 
&gt; # Idx      W      C      C      %      %      %      %      %      %    MHz 
&gt; MHz     MB     MB     MB 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    512     15      0 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    512     15      0 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    504     15      0 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    504     15      0 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    504     15      0 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    504     15      0 
&gt;     0     11     48      -     0      5      0      0      -     -   405   
&gt; 139    496     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    496     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    496     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    488     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    488     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    488     15      0 
&gt;     0     11     47      -     0      6      0      0      -     -   405   
&gt; 139    480     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    480     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    480     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    480     15      0 
&gt;     0     11     47      -     0      5      0      0      -     -   405   
&gt; 139    472     15      0 
&gt;     0     11     47      -     7     11      0      0      -     -   405   
&gt; 139    586     15      0 
&gt;     0     13     47      -     1      6      0      0      -     -   405   
&gt; 139    586     15      0 
&gt;     0     12     47      -     0      6      0      0      -     -   405   
&gt; 139    586     15      0 
&gt;     0     12     47      -     0      5      0      0      -     -   405   
&gt; 139    578     15      0

Yep. Same issue here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237040</commentid>
    <comment_count>4</comment_count>
    <who name="Arjen Hiemstra">ahiemstra</who>
    <bug_when>2023-06-18 15:02:45 +0000</bug_when>
    <thetext>*** Bug 471097 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237042</commentid>
    <comment_count>5</comment_count>
    <who name="Arjen Hiemstra">ahiemstra</who>
    <bug_when>2023-06-18 15:03:15 +0000</bug_when>
    <thetext>*** Bug 471178 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237044</commentid>
    <comment_count>6</comment_count>
    <who name="Arjen Hiemstra">ahiemstra</who>
    <bug_when>2023-06-18 15:03:32 +0000</bug_when>
    <thetext>*** Bug 471193 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237258</commentid>
    <comment_count>7</comment_count>
    <who name="">kx</who>
    <bug_when>2023-06-20 07:22:10 +0000</bug_when>
    <thetext>Same issue here too. RTX 3060, and +1 for another user in an external report, also on 3060

nvidia-smi dmon -s pucm
# gpu    pwr  gtemp  mtemp     sm    mem    enc    dec    jpg    ofa   mclk   pclk     fb   bar1   ccpm 
# Idx      W      C      C      %      %      %      %      %      %    MHz    MHz     MB     MB     MB 
    0     41     45      -     0      1      0      0      0      0   7500   1867    882     28      0 
    0     51     46      -     0      1      0      0      0      0   7500   1867    882     28      0 
    0     37     44      -     2      6      0      0      0      0    810    330    881     28      0 
    0     30     44      -     2      7      0      0      0      0    810    217    877     28      0 
    0     29     44      -    26     22      0      0      0      0    405    210    874     28      0 
    0     29     44      -    21     21      0      0      0      0    405    345    874     28      0 
    0     28     44      -     4     13      0      0      0      0    405    345    874     28      0 
    0     28     45      -     4     13      0      0      0      0    405    210    873     28      0 
    0     28     44      -     5     13      0      0      0      0    405    210    873     28      0 
    0     28     44      -     6     13      0      0      0      0    405    210    873     28      0 
    0     28     44      -     5     14      0      0      0      0    405    210    857     28      0 
    0     28     44      -     4     13      0      0      0      0    405    210    857     28      0 
    0     28     44      -     5     13      0      0      0      0    405    210    857     28      0 
    0     28     44      -     5     13      0      0      0      0    405    210    857     28      0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237267</commentid>
    <comment_count>8</comment_count>
    <who name="Stephen Greenham">stephen.greenham</who>
    <bug_when>2023-06-20 08:33:29 +0000</bug_when>
    <thetext>Observed yesterday this is affecting more than just Plasma System Monitor.

The built-in in-game overlay in Overwatch 2 used to be able to display GPU temperature but now displays 0C.

So I guess the way NVIDIA provides the data has fundamentally changed. Nice of them to tell anyone...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237269</commentid>
    <comment_count>9</comment_count>
    <who name="Altamush Nayyer Khan">theattish</who>
    <bug_when>2023-06-20 08:35:53 +0000</bug_when>
    <thetext>I haven&apos;t tested MangoHud yet. This is a sad thing. Nvidia should have informed people about this.

Probably MangoHud won&apos;t work well either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237342</commentid>
    <comment_count>10</comment_count>
    <who name="">kx</who>
    <bug_when>2023-06-20 19:24:56 +0000</bug_when>
    <thetext>(In reply to Altamush Nayyer Khan from comment #9)
&gt; I haven&apos;t tested MangoHud yet. This is a sad thing. Nvidia should have
&gt; informed people about this.
&gt; 
&gt; Probably MangoHud won&apos;t work well either.

https://j.gifs.com/mlbqYX.gif

That&apos;s I guess what happens with proprietary software and companies that don&apos;t care for anything but money.

Did anyone report this to NVIDIA / is in contact with them? Is there no documentation about this anywhere?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238523</commentid>
    <comment_count>11</comment_count>
    <who name="Pascal">pasjoweb</who>
    <bug_when>2023-06-27 23:22:35 +0000</bug_when>
    <thetext>NVIDIA Driver Version (out of beta now): 535.54.03 on 2080 Super. Kubuntu. KDE Plasma: 5.27.4. KDE Frameworks Version: 5.104.0

Same problem here but it seems that Mangohud is unaffected and can read the info just fine, like it did with the previous 530 driver and there wasn&apos;t an update to Mangohud in between.

It also doesn&apos;t help to change sensor definitions to &quot;all GPUs&quot; for testing since the data fields (I&apos;m mainly monitoring temperatures and VRAM usage) remain at zero all the time no matter what.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238525</commentid>
    <comment_count>12</comment_count>
    <who name="">kx</who>
    <bug_when>2023-06-28 00:28:23 +0000</bug_when>
    <thetext>I checked it myself, and I&apos;m pretty certain that https://invent.kde.org/plasma/ksystemstats/-/merge_requests/57 should already fix this.

It seems that NVIDIA added columns to the output.

Was: gpu   pwr gtemp mtemp    sm   mem   enc   dec  mclk  pclk  fb  bar1
Is:     gpu   pwr gtemp mtemp    sm   mem   enc   dec   jpg    ofa   mclk   pclk     fb   bar1   ccpm

 and because the old parser implemented the following using index based splitting:

if (parts.count() != 12) {
            continue;
}

that might&apos;ve caused all the fields to be 0. #57 filters the headers not by index of a split, so this should fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238553</commentid>
    <comment_count>13</comment_count>
    <who name="Ananaserio">ser.sto12</who>
    <bug_when>2023-06-28 09:25:26 +0000</bug_when>
    <thetext>(In reply to kx from comment #12)
&gt; I checked it myself, and I&apos;m pretty certain that
&gt; https://invent.kde.org/plasma/ksystemstats/-/merge_requests/57 should already fix this.

I&apos;m not really familiar with the process here so I apologize for asking the obvious. Am I understanding correctly that now we&apos;re just waiting for it to be merged, so (a future) update will fix it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238570</commentid>
    <comment_count>14</comment_count>
    <who name="">kx</who>
    <bug_when>2023-06-28 10:54:02 +0000</bug_when>
    <thetext>&gt; I&apos;m not really familiar with the process here so I apologize for asking the
&gt; obvious. Am I understanding correctly that now we&apos;re just waiting for it to
&gt; be merged, so (a future) update will fix it?

No worries, you&apos;re not doing wrong for asking.

You&apos;re pretty much right. You can imagine it as if there is the releases or versions, (5.27.1, 5.27.2...... etc.) and those are a combined effort to fix bugs, add features or clean up the code and so on. What goes into these versions is dependent on what&apos;s relevant at that time, it&apos;s just a continuous development process in which a lot of people and the community in general are involved.

A fix for this bug has been developed and proposed as an addition to the next possible version. When that will be, I actually don&apos;t know myself. Someone has to approve the request first to make sure it&apos;s nothing malicious, has proper code style, quality and so on.

One thing you could do, if you want to use the fix earlier than officially released, is build it yourself (from the branch the merge request, that I linked, resides on) after making sure it&apos;s nothing malicious. That&apos;s why open source is so helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238589</commentid>
    <comment_count>15</comment_count>
    <who name="Pascal">pasjoweb</who>
    <bug_when>2023-06-28 13:25:06 +0000</bug_when>
    <thetext>In the name of us newbies, thanks for that explanation and work. Always fun to learn new things. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238591</commentid>
    <comment_count>16</comment_count>
    <who name="Ananaserio">ser.sto12</who>
    <bug_when>2023-06-28 13:45:49 +0000</bug_when>
    <thetext>Indeed, thanks a lot for the explanation!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238667</commentid>
    <comment_count>17</comment_count>
    <who name="">wildreiser</who>
    <bug_when>2023-06-29 04:18:30 +0000</bug_when>
    <thetext>Also, i confirm that my lastes nvidia driver not show info to.
Arch-Linux witch lastest updates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2238682</commentid>
    <comment_count>18</comment_count>
    <who name="David Redondo">kde</who>
    <bug_when>2023-06-29 07:40:56 +0000</bug_when>
    <thetext>Git commit 7f9ead6bddfdf6f13a1ea48791f8f5d5c80c6980 by David Redondo.
Committed on 28/06/2023 at 12:24.
Pushed by davidre into branch &apos;master&apos;.

gpu/nvidia: Discover data fields based on headers

This guards us against the appearance of new fields or if they
ever appear in a different order.
FIXED-IN:5.27.7

M  +34   -16   plugins/gpu/NvidiaSmiProcess.cpp
M  +14   -0    plugins/gpu/NvidiaSmiProcess.h

https://invent.kde.org/plasma/ksystemstats/-/commit/7f9ead6bddfdf6f13a1ea48791f8f5d5c80c6980</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2239055</commentid>
    <comment_count>19</comment_count>
    <who name="David Redondo">kde</who>
    <bug_when>2023-06-30 13:55:44 +0000</bug_when>
    <thetext>Git commit 4f7213e6e742b993feeaf300181a67923e60c0f4 by David Redondo.
Committed on 29/06/2023 at 08:38.
Pushed by davidedmundson into branch &apos;Plasma/5.27&apos;.

gpu/nvidia: Discover data fields based on headers

This guards us against the appearance of new fields or if they
ever appear in a different order.
FIXED-IN:5.27.7

(cherry picked from commit 7f9ead6bddfdf6f13a1ea48791f8f5d5c80c6980)
Because in Qt5 QVector&lt;T&gt;::indexOf only takes T&apos;s we have to provide
our own indexOf here.

M  +39   -17   plugins/gpu/NvidiaSmiProcess.cpp
M  +14   -0    plugins/gpu/NvidiaSmiProcess.h

https://invent.kde.org/plasma/ksystemstats/-/commit/4f7213e6e742b993feeaf300181a67923e60c0f4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247306</commentid>
    <comment_count>20</comment_count>
    <who name="">yizel7</who>
    <bug_when>2023-08-18 22:32:01 +0000</bug_when>
    <thetext>(In reply to David Redondo from comment #19)
&gt; Git commit 4f7213e6e742b993feeaf300181a67923e60c0f4 by David Redondo.
&gt; Committed on 29/06/2023 at 08:38.
&gt; Pushed by davidedmundson into branch &apos;Plasma/5.27&apos;.
&gt; 
&gt; gpu/nvidia: Discover data fields based on headers
&gt; 
&gt; This guards us against the appearance of new fields or if they
&gt; ever appear in a different order.
&gt; FIXED-IN:5.27.7
&gt; 
&gt; (cherry picked from commit 7f9ead6bddfdf6f13a1ea48791f8f5d5c80c6980)
&gt; Because in Qt5 QVector&lt;T&gt;::indexOf only takes T&apos;s we have to provide
&gt; our own indexOf here.
&gt; 
&gt; M  +39   -17   plugins/gpu/NvidiaSmiProcess.cpp
&gt; M  +14   -0    plugins/gpu/NvidiaSmiProcess.h
&gt; 
&gt; https://invent.kde.org/plasma/ksystemstats/-/commit/
&gt; 4f7213e6e742b993feeaf300181a67923e60c0f4

did this fix for anyone else? i updated to 5.27.7 and not work still</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247307</commentid>
    <comment_count>21</comment_count>
    <who name="Ananaserio">ser.sto12</who>
    <bug_when>2023-08-18 22:35:34 +0000</bug_when>
    <thetext>It works for me now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247308</commentid>
    <comment_count>22</comment_count>
    <who name="">yizel7</who>
    <bug_when>2023-08-18 22:38:03 +0000</bug_when>
    <thetext>(In reply to Ananaserio from comment #21)
&gt; It works for me now.

thanks you. it works for me now too had to reboot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247342</commentid>
    <comment_count>23</comment_count>
    <who name="Altamush Nayyer Khan">theattish</who>
    <bug_when>2023-08-19 05:49:11 +0000</bug_when>
    <thetext>The latest update seems to have fixed the issue. I am marking this as fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>