Glitches and slowdown on AMD Radeon 780M Graphics

Hi all,

Whenever I’m running endeavor os on my razer blade 14 I get these weird graphical issues that look like the gpu is dying however on windows things look fine. As stated in the title I use AMD 780m integrated graphics. My computer does have a separate nvidia 4060 gpu but I’ve disabled it for now.

$ inxi -FGa

System:
  Host: Minerva Kernel: 6.10.6-arch1-1 arch: x86_64 bits: 64 compiler: gcc
    v: 14.2.1 clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=710009a1-a63f-4efe-94d9-9baf2aad0087 rw nowatchdog
    nvme_load=YES loglevel=3
  Desktop: KDE Plasma v: 6.1.4 tk: Qt v: N/A info: frameworks v: 6.5.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Razer product: Blade 14 - RZ09-0482 v: 9.04
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: N/A model: PI490 v: 4 serial: <superuser required>
    part-nu: RZ09-0482VEH3 uuid: <superuser required> UEFI: Razer v: 2.02
    date: 12/12/2023
Battery:
  ID-1: BAT0 charge: 68.7 Wh (99.3%) condition: 69.2/68.1 Wh (101.7%)
    volts: 16.6 min: 15.4 model: Razer Blade type: Unknown
    serial: CNB1RC30-04823CJ00247-A00 status: discharging cycles: 101
CPU:
  Info: model: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 gen: 5 level: v4 note: check built: 2022+
    process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x74 (116) stepping: 1
    microcode: 0xA704103
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 699 high: 1397 min/max: 400/5263 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400
    4: 1298 5: 400 6: 1373 7: 400 8: 1333 9: 400 10: 1397 11: 400 12: 400
    13: 400 14: 400 15: 1397 16: 400 bogomips: 127822
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected;
    BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Razer USA
    driver: N/A alternate: nouveau non-free: 550.xx+
    status: current (as of 2024-06) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:28a0 class-ID: 0300
  Device-2: AMD Phoenix1 vendor: Razer USA driver: amdgpu v: kernel
    arch: RDNA-3 code: Phoenix process: TSMC n4 (4nm) built: 2023+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    DP-4, DP-5, DP-6, Writeback-1 bus-ID: 65:00.0 chip-ID: 1002:15bf
    class-ID: 0300 temp: 47.0 C
  Device-3: IMC Networks Integrated RGB Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 13d3:5279
    class-ID: 0e02 serial: 01.00.00
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 res: 1463x914 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 780M (radeonsi
    gfx1103_r1 LLVM 18.1.8 DRM 3.57 6.10.6-arch1-1) device-ID: 1002:15bf
    memory: 500 MiB unified: no display-ID: :1.0
  API: Vulkan v: 1.3.279 layers: N/A device: 0 type: integrated-gpu
    name: AMD Radeon 780M driver: amd v: (LLPC) device-ID: 1002:15bf
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: NVIDIA vendor: Razer USA driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22be
    class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: Razer USA
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 65:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Razer USA
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 65:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Razer USA
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 65:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.10.6-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm QCNFA765 Wireless Network Adapter vendor: Lite-On
    driver: ath11k_pci v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 link-max:
    gen: 3 speed: 8 GT/s bus-ID: 03:00.0 chip-ID: 17cb:1103 class-ID: 0280
  IF: wlan0 state: up mac: d0:39:57:5d:59:7f
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Lite-On driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-5:4 chip-ID: 04ca:3a24 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 953.87 GiB used: 9.67 GiB (1.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 model: NVMe CA6-8D1024 size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4
    tech: SSD serial: 002345500336 fw-rev: ERA0906 temp: 29.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 249.31 GiB size: 244.34 GiB (98.01%) used: 9.67 GiB (4.0%)
    fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 296 KiB (0.0%) fs: vfat dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 50.4 C mobo: N/A gpu: amdgpu temp: 48.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 30.57 GiB used: 3.61 GiB (11.8%)
  Processes: 323 Power: uptime: 19m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 12.22 GiB services: org_kde_powerdevil, power-profiles-daemon,
    upowerd Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1037 libs: 241 tools: yay Compilers:
    gcc: 14.2.1 Shell: Bash v: 5.2.32 running-in: konsole inxi: 3.3.35

I’m also getting this weird error message in dmesg:

[    5.711350] ------------[ cut here ]------------
[    5.711352] WARNING: CPU: 3 PID: 523 at drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/dcn20/dcn20_dsc.c:272 dsc2_disable+0x108/0x180 [amdgpu]
[    5.711629] Modules linked in: nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables libcrc32c snd_ctl_led qrtr ath11k_pci(+) ath11k btusb qmi_helpers btrtl vfat snd_soc_dmic btintel snd_soc_ps_mach snd_ps_pdm_dma fat mac80211 snd_sof_amd_acp63 btbcm snd_sof_amd_vangogh libarc4 btmtk snd_sof_amd_rembrandt bluetooth cfg80211 amd_atl snd_sof_amd_renoir intel_rapl_msr intel_rapl_common snd_sof_amd_acp snd_sof_pci amdgpu(+) snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_pci_ps snd_amd_sdw_acpi snd_hda_codec_realtek soundwire_amd snd_hda_codec_generic soundwire_generic_allocation snd_hda_scodec_component soundwire_bus snd_hda_codec_hdmi uvcvideo snd_soc_core videobuf2_vmalloc snd_hda_intel uvc kvm_amd snd_intel_dspcfg snd_compress videobuf2_memops videobuf2_v4l2 amdxcp ac97_bus snd_intel_sdw_acpi kvm drm_exec snd_pcm_dmaengine videodev snd_hda_codec gpu_sched snd_rpl_pci_acp6x drm_buddy
[    5.711678]  snd_acp_pci videobuf2_common i2c_algo_bit snd_hda_core snd_acp_legacy_common drm_suballoc_helper mc snd_pci_acp6x snd_hwdep drm_ttm_helper rapl wmi_bmof snd_pcm ttm pcspkr snd_pci_acp5x snd_rn_pci_acp3x rfkill snd_timer drm_display_helper snd_acp_config thunderbolt k10temp mhi snd_soc_acpi snd cec snd_pci_acp3x i2c_piix4 joydev soundcore hid_logitech_hidpp mousedev amd_pmc serio mac_hid loop dm_mod nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_logitech_dj usbhid crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 nvme sha1_ssse3 aesni_intel hid_multitouch nvme_core hid_generic xhci_pci crypto_simd cryptd ccp xhci_pci_renesas video sp5100_tco nvme_auth i2c_hid_acpi wmi i2c_hid pkcs8_key_parser i2c_dev crypto_user
[    5.711727] CPU: 3 PID: 523 Comm: (udev-worker) Not tainted 6.10.6-arch1-1 #1 703d152c24f1971e36f16e505405e456fc9e23f8
[    5.711730] Hardware name: Razer Blade 14 - RZ09-0482/PI490, BIOS 2.02 12/12/2023
[    5.711732] RIP: 0010:dsc2_disable+0x108/0x180 [amdgpu]
[    5.711921] Code: 4c 24 0c 44 8b 43 10 48 8b 40 10 48 8b 30 48 85 f6 74 04 48 8b 76 08 48 c7 c1 c8 6b d7 c1 ba 08 00 00 00 31 ff e8 08 9b ab d7 <0f> 0b 48 8b 53 20 48 8b 43 28 45 31 c9 48 8b 7b 08 0f b6 8a b4 00
[    5.711922] RSP: 0018:ffffab4a85882da8 EFLAGS: 00010246
[    5.711924] RAX: 0000000000000000 RBX: ffff9117ca0e0a00 RCX: ffffffffc1d76bc8
[    5.711925] RDX: 0000000000000008 RSI: ffff9117c20240c8 RDI: 0000000000000000
[    5.711925] RBP: ffff9117dc8802d8 R08: 0000000000000000 R09: 0000000000000000
[    5.711926] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9117e0800000
[    5.711927] R13: ffff9117c7ca0000 R14: 0000000000000001 R15: 0000000000000000
[    5.711928] FS:  00007f69aa334880(0000) GS:ffff911ede380000(0000) knlGS:0000000000000000
[    5.711929] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.711930] CR2: 000072e5ba54cba0 CR3: 0000000104dcc000 CR4: 0000000000f50ef0
[    5.711931] PKRU: 55555554
[    5.711932] Call Trace:
[    5.711936]  <TASK>
[    5.711937]  ? dsc2_disable+0x108/0x180 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.712099]  ? __warn.cold+0x8e/0xe8
[    5.712104]  ? dsc2_disable+0x108/0x180 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.712257]  ? report_bug+0xff/0x140
[    5.712260]  ? handle_bug+0x3c/0x80
[    5.712262]  ? exc_invalid_op+0x17/0x70
[    5.712263]  ? asm_exc_invalid_op+0x1a/0x20
[    5.712268]  ? dsc2_disable+0x108/0x180 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.712415]  ? dsc2_disable+0x108/0x180 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.712559]  link_set_dsc_on_stream+0x40f/0x480 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.712725]  ? drm_dp_dpcd_write+0xc3/0xe0 [drm_display_helper cd3cad5ffde6bd2877cfe9647f51c929301ac928]
[    5.712737]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.712739]  ? dm_helpers_dp_write_dsc_enable+0x28a/0x700 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.712950]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.712952]  link_set_dsc_enable+0x83/0x90 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.713169]  link_set_dpms_off+0x1da/0x790 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.713363]  ? dmub_srv_get_fw_boot_status+0x2a/0x50 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.713539]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.713540]  ? dc_dmub_srv_is_restore_required+0x40/0x80 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.713705]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.713707]  ? dm_read_reg_func+0x57/0xe0 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.713902]  dc_commit_state_no_check+0x885/0xec0 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.714086]  dc_commit_streams+0x30f/0x410 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.714253]  amdgpu_dm_atomic_commit_tail+0x67b/0x3db0 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.714425]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.714427]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.714428]  ? dcn314_validate_bandwidth+0x117/0x340 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.714618]  ? dc_validate_global_state+0x343/0x410 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.714801]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.714802]  ? dma_resv_get_fences+0xb2/0x2a0
[    5.714807]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.714808]  ? dma_resv_get_singleton+0x44/0x150
[    5.714810]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.714811]  ? amdgpu_dm_plane_helper_prepare_fb+0x185/0x2a0 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.714984]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.714985]  ? amdgpu_dm_plane_helper_prepare_fb+0x1c8/0x2a0 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.715139]  commit_tail+0x91/0x130
[    5.715144]  drm_atomic_helper_commit+0x11a/0x140
[    5.715146]  drm_atomic_commit+0x9d/0xd0
[    5.715149]  ? __pfx___drm_printfn_info+0x10/0x10
[    5.715153]  drm_client_modeset_commit_atomic+0x203/0x250
[    5.715157]  drm_client_modeset_commit_locked+0x5a/0x160
[    5.715160]  drm_client_modeset_commit+0x25/0x40
[    5.715162]  __drm_fb_helper_restore_fbdev_mode_unlocked+0x85/0xd0
[    5.715166]  drm_fb_helper_set_par+0x30/0x40
[    5.715168]  fbcon_init+0x2e6/0x630
[    5.715171]  visual_init+0xcb/0x130
[    5.715175]  do_bind_con_driver.isra.0+0x1e6/0x310
[    5.715178]  do_take_over_console+0x15e/0x190
[    5.715180]  do_fbcon_takeover+0x66/0xe0
[    5.715183]  fbcon_fb_registered+0x4d/0x70
[    5.715184]  register_framebuffer+0x198/0x2a0
[    5.715188]  __drm_fb_helper_initial_config_and_unlock+0x36f/0x490
[    5.715192]  drm_fbdev_generic_client_hotplug+0x6b/0xa0
[    5.715195]  drm_client_register+0x7a/0xb0
[    5.715197]  amdgpu_pci_probe+0x3f4/0x400 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.715330]  local_pci_probe+0x42/0x90
[    5.715334]  pci_device_probe+0xbd/0x290
[    5.715336]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715337]  ? sysfs_do_create_link_sd+0x6e/0xe0
[    5.715340]  really_probe+0xdb/0x340
[    5.715343]  ? pm_runtime_barrier+0x54/0x90
[    5.715346]  ? __pfx___driver_attach+0x10/0x10
[    5.715348]  __driver_probe_device+0x78/0x110
[    5.715350]  driver_probe_device+0x1f/0xa0
[    5.715352]  __driver_attach+0xba/0x1c0
[    5.715354]  bus_for_each_dev+0x8c/0xe0
[    5.715357]  bus_add_driver+0x112/0x1f0
[    5.715359]  driver_register+0x72/0xd0
[    5.715362]  ? __pfx_amdgpu_init+0x10/0x10 [amdgpu 16e9d602f36697d160fe0ce54615bcf93ecc06cd]
[    5.715491]  do_one_initcall+0x58/0x310
[    5.715497]  do_init_module+0x60/0x220
[    5.715500]  init_module_from_file+0x89/0xe0
[    5.715504]  idempotent_init_module+0x121/0x320
[    5.715508]  __x64_sys_finit_module+0x5e/0xb0
[    5.715510]  do_syscall_64+0x82/0x190
[    5.715514]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715515]  ? __seccomp_filter+0x303/0x520
[    5.715518]  ? do_sys_openat2+0x9c/0xe0
[    5.715522]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715523]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715525]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715526]  ? do_syscall_64+0x8e/0x190
[    5.715528]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715529]  ? do_syscall_64+0x8e/0x190
[    5.715530]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715531]  ? switch_fpu_return+0x4e/0xd0
[    5.715534]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715535]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715537]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715538]  ? do_syscall_64+0x8e/0x190
[    5.715540]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715541]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715542]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715543]  ? do_syscall_64+0x8e/0x190
[    5.715545]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715546]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715547]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715549]  ? do_syscall_64+0x8e/0x190
[    5.715552]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715553]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715554]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715555]  ? do_syscall_64+0x8e/0x190
[    5.715556]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715557]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715558]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715559]  ? do_syscall_64+0x8e/0x190
[    5.715561]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715562]  ? syscall_exit_to_user_mode+0x72/0x200
[    5.715563]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715564]  ? do_syscall_64+0x8e/0x190
[    5.715565]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715566]  ? __irq_exit_rcu+0x4a/0xb0
[    5.715569]  ? srso_alias_return_thunk+0x5/0xfbef5
[    5.715570]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    5.715573] RIP: 0033:0x7f69aa5261fd
[    5.715612] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 fa 0c 00 f7 d8 64 89 01 48
[    5.715613] RSP: 002b:00007ffeaef609c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[    5.715615] RAX: ffffffffffffffda RBX: 00005e90acf1a8b0 RCX: 00007f69aa5261fd
[    5.715616] RDX: 0000000000000004 RSI: 00007f69aa32e05d RDI: 000000000000002c
[    5.715616] RBP: 00007ffeaef60a80 R08: 0000000000000001 R09: 00007ffeaef60a10
[    5.715617] R10: 0000000000000040 R11: 0000000000000246 R12: 00007f69aa32e05d
[    5.715618] R13: 0000000000020000 R14: 00005e90acf0e190 R15: 00005e90acf1d980
[    5.715621]  </TASK>
[    5.715622] ---[ end trace 0000000000000000 ]---

You say you have the nvidia gpu disabled? How? Is there not settings in the bios for hybrid, integrated and dedicated? I don’t see the nvidia kernel parameter nvidia_drm.modeset=1 in the command line?

Unfortunately the only options in the bios were hybrid or dedicated. I do have nvidia_drm.modeset=1 as a kernel parameter and I also blacklisted the drivers. Not sure if that’s enough but it seems to be disabled.

What is the reason you have the nvidia drivers disabled by blacklisting them? I would be using hybrid setting and use prime to switch to nvidia when needed.

this is temporary to make sure the amd gpu is the only variable, once its working I’ll renable the nvidia gpu.

On a side note, everything works fine when just using the nvidia gpu but I still want integrated graphics for the better battery life.

I just don’t see why you would be getting any issues with amdgpu. Is the UEFI Bios up to date?

it’s on the latest version according to razer. I suspect it may be the mux switch acting up but I’m not sure where to change or hardcode it to the amdgpu.

If it were me i would use hybrid and maybe try only black list nouveau since you have the nvidia drivers installed i assume?

Edit: Then it should run on amdgpu and only switch manually to nvidia gpu using prime? Or does it switch automatically when required?

Edit: You can also add radeon-vulkan and set up hardware acceleration and accelrated video decoding for amdgpu.

https://wiki.archlinux.org/title/AMDGPU#Selecting_the_right_driver

When using the proprietary nvidia drivers, the nvidia gpu runs when DRI_PRIME is set to 1 so most things still run on amdgpu. I tried adding radeon-vulkan but that didn’t fix anything.

Ok, after some trial and error, I seem to have found a solution. Switching to the 6.1 lts kernel seems to fix all the issues. I have no idea why. I have no idea how. But it works and I am fine with that.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.