You are not logged in.

#1 2023-07-05 22:46:17

saladuit
Member
Registered: 2022-09-27
Posts: 1

[SOLVED] Intermittent Charger Disconnection/Reconnection

Hello everyone,

My first real problem post so please give me some pointers if I make any mistakes.

The problem
When I start a game, like warhammer III via steam-native-runtime a few things happen:

  • As soon as the game starts the fans start spinning on max,

  • my charger keeps disconnecting and reconnecting,

  • Often the charger stays disconnected,

  • Audio stutters incredibly,

  • FPS shifts between 8 and 120,

  • Closing the game doesn't stop the fans to spin

I'm really helping someone has some pointers in how I should further debug the problem.
I've added some extra data, and I'd really appreciate some help!

Things I've tried

lspci -v | grep vga

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])

Journalctl -b -p 3

Jul 05 21:36:27 omega-arch kernel: 
Jul 05 21:36:30 omega-arch kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Jul 05 21:36:32 omega-arch kernel: irq 48: nobody cared (try booting with the "irqpoll" option)
Jul 05 21:36:32 omega-arch kernel: handlers:
Jul 05 21:36:32 omega-arch kernel: [<00000000954fe98d>] irq_default_primary_handler threaded [<00000000b01577e2>] tis_int_handler
Jul 05 21:36:32 omega-arch kernel: Disabling IRQ #48
Jul 05 21:36:47 omega-arch gdm-password][1124]: gkr-pam: unable to locate daemon control file
Jul 05 21:36:48 omega-arch systemd[1145]: Failed to start Application launched by gnome-session-binary.

Installed audio servers
jack2
pipewire
audiopulse

Neofetch output

                   -`                    saladuit@omega-arch 
                  .o+`                   ------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: PCx0Dx 
               `+oooooo:                 Kernel: 6.4.1-arch2-1 
               -+oooooo+:                Uptime: 11 mins 
             `/:-:++oooo+:               Packages: 843 (pacman) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: GNOME 44.2 
         ./ooosssso++osssssso+`          WM: Mutter 
        .oossssso-````/ossssss+`         WM Theme: Adwaita 
       -osssssso.      :ssssssso.        Theme: Adwaita [GTK2/3] 
      :osssssss/        osssso+++.       Icons: Adwaita [GTK2/3] 
     /ossssssss/        +ssssooo/-       Terminal: gnome-terminal 
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel i7-10870H (16) @ 5.000GHz 
  `+sso+:-`                 `.-/+oso:    GPU: Intel CometLake-H GT2 [UHD Graphics] 
 `++:.                           `-/+/   GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q 
 .`                                 `/   Memory: 1742MiB / 15687MiB 

EDIT
After changing to linux-zen, nvidia-dkms and altering my pulseaudio settings,
I already got a lot more performance.
However, the charger keeps disconnecting and that one apparantly gives the most problems.
When the power gets unpluggged the gpu performance changes from p0 to p8.
I'm not able to change that with TLP.
Are there other packages that can prevent this?
I'm now trying gwe, but I haven't got it to work yet.

Without charger

omega-arch% nvidia-smi
Thu Jul  6 18:20:29 2023      
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03              Driver Version: 535.54.03    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   46C    P8              18W /  20W |   2956MiB /  6144MiB |    100%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1485      G   /usr/lib/Xorg                                44MiB |
|    0   N/A  N/A      6549    C+G   ...al War WARHAMMER III\Warhammer3.exe     2895MiB |
+---------------------------------------------------------------------------------------+

With charger

omega-arch% nvidia-smi
Thu Jul  6 18:21:02 2023      
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03              Driver Version: 535.54.03    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   54C    P0              59W /  80W |   2956MiB /  6144MiB |     69%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1485      G   /usr/lib/Xorg                                44MiB |
|    0   N/A  N/A      6549    C+G   ...al War WARHAMMER III\Warhammer3.exe     2895MiB |
+---------------------------------------------------------------------------------------+

Fix:
I used the incorrect charger

Last edited by saladuit (2023-07-17 11:01:19)

Offline

Board footer

Powered by FluxBB