Fedora 40 on the Framework Laptop 13

I’m having issues with my Anker 778 Thunderbolt Docking Station and an external display after updating to 6.10.x kernels. The external display is blank. 6.9.12-200 works fine, so I’m just booting to that for now.

I had the same issue with a Lenovo M14T external USB-C monitor.

Sorry for the late response. Your problems seems a bit different to me. I can boot up to the login manager with the dock plugged in and it will only freeze there, not right on when the kernel takes over.
Just now, I attempted to plug the dock in after the login manager, with plasma running. It worked for a few seconds, even found network & usb from the dock, then froze.

Log:

Aug 21 12:20:09 framework kernel: [drm] DMUB HPD IRQ callback: link_index=7
Aug 21 12:20:09 framework kernel: [drm] DMUB HPD IRQ callback: link_index=7
Aug 21 12:20:09 framework kernel: BUG: kernel NULL pointer dereference, address: 0000000000000920
Aug 21 12:20:09 framework kernel: #PF: supervisor read access in kernel mode
Aug 21 12:20:09 framework kernel: #PF: error_code(0x0000) - not-present page
Aug 21 12:20:09 framework kernel: PGD 0 P4D 0 
Aug 21 12:20:09 framework kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
Aug 21 12:20:09 framework kernel: CPU: 15 PID: 2589 Comm: kwin_wayland Not tainted 6.10.4-200.fc40.x86_64 #1
Aug 21 12:20:09 framework kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP07, BIOS 03.05 03/29/2024
Aug 21 12:20:09 framework kernel: RIP: 0010:is_dsc_need_re_compute+0xef/0x3b0 [amdgpu]
Aug 21 12:20:09 framework kernel: Code: 04 dc 48 85 c0 74 dd 48 39 50 08 75 d7 48 8b a8 90 64 00 00 48 85 ed 74 cb 48 83 bd f8 11 00 00 00 74 c1 48 8b 85 e8 07 00 00 <80> b8 20 09 00 00 00 75 10 48 8b 85 f0 07 00 00 f6 80 84 02 00 00
Aug 21 12:20:09 framework kernel: RSP: 0018:ffffb78b0103f698 EFLAGS: 00010286
Aug 21 12:20:09 framework kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff8e535a800000
Aug 21 12:20:09 framework kernel: RDX: ffff8e534d356000 RSI: 0000000000000001 RDI: ffffb78b0103f6e8
Aug 21 12:20:09 framework kernel: RBP: ffff8e55edb68000 R08: ffffb78b0103f6b8 R09: 0000000000000000
Aug 21 12:20:09 framework kernel: R10: ffffb78b0103f75a R11: ffff8e56c2c98000 R12: ffff8e56be640000
Aug 21 12:20:09 framework kernel: R13: ffff8e53f90f1800 R14: 0000000000000000 R15: 0000000000000003
Aug 21 12:20:09 framework kernel: FS:  00007fee22f29b40(0000) GS:ffff8e5a9e980000(0000) knlGS:0000000000000000
Aug 21 12:20:09 framework kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 21 12:20:09 framework kernel: CR2: 0000000000000920 CR3: 0000000107ac6000 CR4: 0000000000f50ef0
Aug 21 12:20:09 framework kernel: PKRU: 55555554
Aug 21 12:20:09 framework kernel: Call Trace:
Aug 21 12:20:09 framework kernel:  <TASK>
Aug 21 12:20:09 framework kernel:  ? __die_body.cold+0x19/0x27
Aug 21 12:20:09 framework kernel:  ? page_fault_oops+0x15a/0x2f0
Aug 21 12:20:09 framework kernel:  ? exc_page_fault+0x7e/0x180
Aug 21 12:20:09 framework kernel:  ? asm_exc_page_fault+0x26/0x30
Aug 21 12:20:09 framework kernel:  ? is_dsc_need_re_compute+0xef/0x3b0 [amdgpu]
Aug 21 12:20:09 framework kernel:  pre_validate_dsc+0x22a/0x730 [amdgpu]
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? dm_update_plane_state+0x582/0x680 [amdgpu]
Aug 21 12:20:09 framework kernel:  amdgpu_dm_atomic_check+0x8f0/0x1570 [amdgpu]
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? __ww_mutex_lock.constprop.0+0x5b/0x9a0
Aug 21 12:20:09 framework kernel:  drm_atomic_check_only+0x633/0xae0
Aug 21 12:20:09 framework kernel:  drm_mode_atomic_ioctl+0x853/0xd20
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
Aug 21 12:20:09 framework kernel:  drm_ioctl_kernel+0xb0/0x100
Aug 21 12:20:09 framework kernel:  drm_ioctl+0x28b/0x540
Aug 21 12:20:09 framework kernel:  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
Aug 21 12:20:09 framework kernel:  amdgpu_drm_ioctl+0x4e/0x90 [amdgpu]
Aug 21 12:20:09 framework kernel:  __x64_sys_ioctl+0x94/0xd0
Aug 21 12:20:09 framework kernel:  do_syscall_64+0x82/0x160
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? drm_modeset_drop_locks+0x52/0x70
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? drm_mode_atomic_ioctl+0x3c7/0xd20
Aug 21 12:20:09 framework kernel:  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? __check_object_size+0x58/0x230
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? drm_ioctl+0x2ba/0x540
Aug 21 12:20:09 framework kernel:  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? __pm_runtime_suspend+0x69/0xc0
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? amdgpu_drm_ioctl+0x71/0x90 [amdgpu]
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? syscall_exit_to_user_mode+0x72/0x220
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? do_syscall_64+0x8e/0x160
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? do_syscall_64+0x8e/0x160
Aug 21 12:20:09 framework kernel:  ? syscall_exit_to_user_mode+0x72/0x220
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? do_syscall_64+0x8e/0x160
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? do_syscall_64+0x8e/0x160
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? do_syscall_64+0x8e/0x160
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  ? do_syscall_64+0x8e/0x160
Aug 21 12:20:09 framework kernel:  ? __irq_exit_rcu+0x4a/0xb0
Aug 21 12:20:09 framework kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
Aug 21 12:20:09 framework kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
Aug 21 12:20:09 framework kernel: RIP: 0033:0x7fee29125f2d
Aug 21 12:20:09 framework kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
Aug 21 12:20:09 framework kernel: RSP: 002b:00007ffdd9bb7a00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 21 12:20:09 framework kernel: RAX: ffffffffffffffda RBX: 00005602535ed420 RCX: 00007fee29125f2d
Aug 21 12:20:09 framework kernel: RDX: 00007ffdd9bb7af0 RSI: 00000000c03864bc RDI: 0000000000000015
Aug 21 12:20:09 framework kernel: RBP: 00007ffdd9bb7a50 R08: 0000560253fa5678 R09: 00000005602535ed
Aug 21 12:20:09 framework kernel: R10: 0000560253fa5600 R11: 0000000000000246 R12: 00007ffdd9bb7af0
Aug 21 12:20:09 framework kernel: R13: 00000000c03864bc R14: 0000000000000015 R15: 0000000000000004
Aug 21 12:20:09 framework kernel:  </TASK>
Aug 21 12:20:09 framework kernel: Modules linked in: snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi mc r8153_ecm cdc_ether usbnet r8152 mii tun overlay uinput rfcomm snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject>
Aug 21 12:20:09 framework kernel:  snd_hda_intel snd_compress edac_mce_amd ac97_bus mt76 snd_intel_dspcfg snd_pcm_dmaengine snd_intel_sdw_acpi snd_rpl_pci_acp6x kvm_amd snd_hda_codec cros_ec_lpcs snd_acp_pci cros_ec snd_acp_legacy_common snd_hda_core mac80211 hid_sensor_als hid_sensor_trigger kvm snd_pci_acp6x sn>
Aug 21 12:20:09 framework kernel:  i2c_hid_acpi i2c_hid serio_raw ip6_tables ip_tables fuse i2c_dev
Aug 21 12:20:09 framework kernel: CR2: 0000000000000920
Aug 21 12:20:09 framework kernel: ---[ end trace 0000000000000000 ]---
Aug 21 12:20:09 framework kernel: RIP: 0010:is_dsc_need_re_compute+0xef/0x3b0 [amdgpu]
Aug 21 12:20:09 framework kernel: Code: 04 dc 48 85 c0 74 dd 48 39 50 08 75 d7 48 8b a8 90 64 00 00 48 85 ed 74 cb 48 83 bd f8 11 00 00 00 74 c1 48 8b 85 e8 07 00 00 <80> b8 20 09 00 00 00 75 10 48 8b 85 f0 07 00 00 f6 80 84 02 00 00
Aug 21 12:20:09 framework kernel: RSP: 0018:ffffb78b0103f698 EFLAGS: 00010286
Aug 21 12:20:09 framework kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff8e535a800000
Aug 21 12:20:09 framework kernel: RDX: ffff8e534d356000 RSI: 0000000000000001 RDI: ffffb78b0103f6e8
Aug 21 12:20:09 framework kernel: RBP: ffff8e55edb68000 R08: ffffb78b0103f6b8 R09: 0000000000000000
Aug 21 12:20:09 framework kernel: R10: ffffb78b0103f75a R11: ffff8e56c2c98000 R12: ffff8e56be640000
Aug 21 12:20:09 framework kernel: R13: ffff8e53f90f1800 R14: 0000000000000000 R15: 0000000000000003
Aug 21 12:20:09 framework kernel: FS:  00007fee22f29b40(0000) GS:ffff8e5a9e980000(0000) knlGS:0000000000000000
Aug 21 12:20:09 framework kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 21 12:20:09 framework kernel: CR2: 0000000000000920 CR3: 0000000107ac6000 CR4: 0000000000f50ef0
Aug 21 12:20:09 framework kernel: PKRU: 55555554
Aug 21 12:20:09 framework kernel: note: kwin_wayland[2589] exited with irqs disabled

I am currently on 3.05. I will check if fwupd lets me downgrade to 3.03 (and hope that doesnt brick anything :wink:

Well, I can confirm, at least, that its not just the firmware version. Exact same crash with 3.03/3.3:

Aug 21 12:45:32 framework kernel: [drm] DMUB HPD IRQ callback: link_index=8
Aug 21 12:45:32 framework kernel: BUG: kernel NULL pointer dereference, address: 0000000000000920
Aug 21 12:45:32 framework kernel: #PF: supervisor read access in kernel mode
Aug 21 12:45:32 framework kernel: #PF: error_code(0x0000) - not-present page
Aug 21 12:45:32 framework kernel: PGD 0 P4D 0 
Aug 21 12:45:32 framework kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
Aug 21 12:45:32 framework kernel: CPU: 15 PID: 2868 Comm: kwin_wayland Not tainted 6.10.4-200.fc40.x86_64 #1
Aug 21 12:45:32 framework kernel: Hardware name: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP07, BIOS 03.03 10/17/2023
Aug 21 12:45:32 framework kernel: RIP: 0010:is_dsc_need_re_compute+0xef/0x3b0 [amdgpu]
Aug 21 12:45:32 framework kernel: Code: 04 dc 48 85 c0 74 dd 48 39 50 08 75 d7 48 8b a8 90 64 00 00 48 85 ed 74 cb 48 83 bd f8 11 00 00 00 74 c1 48 8b 85 e8 07 00 00 <80> b8 20 09 00 00 00 75 10 48 8b 85 f0 07 00 00 f6 80 84 02 00 00
Aug 21 12:45:32 framework kernel: RSP: 0018:ffffafec8661b820 EFLAGS: 00010286
Aug 21 12:45:32 framework kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff9835ddc00000
Aug 21 12:45:32 framework kernel: RDX: ffff9835cce79800 RSI: 0000000000000001 RDI: ffffafec8661b870
Aug 21 12:45:32 framework kernel: RBP: ffff9835c98aa000 R08: ffffafec8661b840 R09: 0000000000000000
Aug 21 12:45:32 framework kernel: R10: ffffafec8661b8e2 R11: ffff98369ac88000 R12: ffff9836a4d00000
Aug 21 12:45:32 framework kernel: R13: ffff9835ce380c00 R14: 0000000000000000 R15: 0000000000000003
Aug 21 12:45:32 framework kernel: FS:  00007fb3540b2b40(0000) GS:ffff983d1e980000(0000) knlGS:0000000000000000
Aug 21 12:45:32 framework kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 21 12:45:32 framework kernel: CR2: 0000000000000920 CR3: 0000000109804000 CR4: 0000000000f50ef0
Aug 21 12:45:32 framework kernel: PKRU: 55555554
Aug 21 12:45:32 framework kernel: Call Trace:

After the downgrade it bootet but did not detect the dock correctly. I had USB, but just USB (getting usb via usb isnt exactly magic…). So after booting to plasma I replugged the dock, it started getting the screens up and frooze. Here again, its not instant, it doesnt crash on the first sight of a dock. I visibly starts to use the peripherals (network, screens) and then amdgpu does an oopsie and takes everything else with it.

I must also add that on recent Fedora Kinoite I experienced dreadful regression that resulted in frequent video freezes, corrupted image decoding and high GPU load
I’m not sure if it was kernel or plasma, but it did go away with ostree rollback, and seems to be fixed in the latest rolling release
Not sure if its your case, just though it worth mentioning

I am currently on Plasma 6.1.4-1.fc40 and Kernel 6.10.4-200.fc40 and can confirm that everything GPU stressing is always scary as I expect a crash. And if it crashes, it crashes badly. But I cannot say that it has gotten worse. Has more or less always been that way.

Just saw that, alongside updates to 6.10.5-200.fc40 and Plasma 6.1.4-2.fc40 there are updates for “amd-gpu-firmware” and “amd-ucode-firmware”. Not expecting much of those kernel & plasma updates, but maybe the firmware ones bring hope? Will test that soonish.

1 Like

This a stable configuration for me, at the moment:

ostree 319076423a90a3de2cd75e9e439359218f3a5bd056dc9bbca6e5d98b8001c679

 amd-gpu-firmware-20240811-2.fc40.noarch
 amd-ucode-firmware-20240811-2.fc40.noarch
plasma-desktop-6.1.4-1.fc40.x86_64
kernel 6.10.5-200.fc40.x86_64

Did you ever fix that function key issue?

Hi, I am using Fedora40 i3 spin for Framework 13 and I have a problem with my microphone.

When I use the pavucontrol, it seems microphone is recognised by device yet it doesn’t get my voice as an input but rather keep getting a whitenoise as an input.

I reinstalled pipewire and alsa-lib by following audio troubleshooting but it doesn’t help. Can anyone help me please?

Do you have the micro and camera switch at the top of the brezel OFF?

Yup i checked the switch is on when I test it, and camera works fine. Just microphone input doesn’t pick up the voice but white noises

1 Like

I am also facing problems with microphone, a lot of white noise and distortion. I have tested on windows and it seems to work fine

I’m still experiencing freezes in Firefox under Fedora 40. E.g. when browsing https://www.openstreetmap.org/ or hovering over game thumbnails on https://gog.com.

sudo dmesg gives me this output:

[ 2214.465529] amdgpu 0000:c1:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:2 pasid:32777)
[ 2214.465537] amdgpu 0000:c1:00.0: amdgpu:  in process firefox pid 10071 thread firefox:cs0 pid 10173)
[ 2214.465541] amdgpu 0000:c1:00.0: amdgpu:   in page starting at address 0x0000000000000000 from client 10
[ 2214.465545] amdgpu 0000:c1:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00201430
[ 2214.465548] amdgpu 0000:c1:00.0: amdgpu: 	 Faulty UTCL2 client ID: SQC (data) (0xa)
[ 2214.465550] amdgpu 0000:c1:00.0: amdgpu: 	 MORE_FAULTS: 0x0
[ 2214.465553] amdgpu 0000:c1:00.0: amdgpu: 	 WALKER_ERROR: 0x0
[ 2214.465555] amdgpu 0000:c1:00.0: amdgpu: 	 PERMISSION_FAULTS: 0x3
[ 2214.465557] amdgpu 0000:c1:00.0: amdgpu: 	 MAPPING_ERROR: 0x0
[ 2214.465559] amdgpu 0000:c1:00.0: amdgpu: 	 RW: 0x0
[ 2224.533286] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered

To give some context, I have taken the following steps to set up hardware video acceleration in Firefox:

  1. Run the steps from Howto/Multimedia - RPM Fusion, that is the steps as listed under (a) switch to full ffmpeg, (b) install additional codec and (c) Hardware codecs with AMD (mesa).
  2. Set media.ffmpeg.vaapi.enabled to true in about:config.

Some more output:

$ vainfo
Trying display: wayland
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.0)
vainfo: Driver version: Mesa Gallium driver 24.1.7 for AMD Radeon 760M (radeonsi, gfx1103_r1, LLVM 18.1.6, DRM 3.57, 6.10.11-200.fc40.x86_64)
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointEncSlice
      VAProfileNone                   :	VAEntrypointVideoProc

What am I doing wrong here? How can I troubleshoot this further? Or should I revert to Fedora mesa instead of using the RPMFusion one (I can live without the hardware acceleration) and, if so, what would be the best way to do it?

I am sad to say that I have no real updates so far, I am still under discussion with the support team concerning this issue. During the process, I was able to reproduce the issue on a live USB with both last versions of Fedora & Ubuntu. Performed RAM & SSD checks. Also on a “true” fresh install of Fedora 40 on a 125GB SSD stick.

Once the conclusion comes with the support discussion, I will ask if I should share the whole diagnostic process had to follow (~30 emails so far).

Just a quick hot take in case you haven’t tried this: The mic gain should be set quite low with this hardware to avoid noise/heavy distortion:


THis is my sound settings. I use i3wm with Fedora. The input bar is keep shaking even with or without any voice input. I think that is the white noise. Yet, I am not sure what is wrong…

That seems pretty high, try much closer to the “Base” mark.

This helps to reduce the white noise but microphone doesn’t recognise any input. It doesn’t change with my voice

At this point in your shoes I’d replicate this with a vanilla (i.e. GNOME) live image of F40 Workstation, to rule out the small possibility it’s something in the software audio stack or particular user config. If it persists then I’d call it a hardware issue and contact support.