by adonig · 3y ago · 0 comments
EDIT: Oh and the speakers are bad and the mic sometimes doesn't work after waking up from suspend but I read that there's a fix for it.
Great machine overall—if they can fix a few little bugs it will be pretty much perfect.
Panel Self Refresh (PSR) seems to be at least the most common cause:
> @kelnos, have you tried without psr? E.g. add i915.enable_psr=0 into your kernel boot parameters or disable it via debugfs (as a root):
echo 1 > /sys/kernel/debug/dri/0/i915_edp_psr_debug # yes it's '1'
> You can check that psr got really disabled by: sudo cat /sys/kernel/debug/dri/0/i915_edp_psr_status
Sink support: yes [0x03]
PSR mode: disabled
PSR sink not reliable: no
I'm on a Framework 12th Gen running Fedora 37, kernel 6.1.9, with no freezes for several weeks after having loads of them under both GNOME and KDE on Ubuntu and pop_OS. [root@fwk ~]# ls -alF /sys/kernel/debug/dri/1/i915_edp_psr_debug
-rw-r--r--. 1 root root 0 Feb 15 09:09 /sys/kernel/debug/dri/1/i915_edp_psr_debug
[root@fwk ~]# echo 1 > /sys/kernel/debug/dri/1/i915_edp_psr_debug
-bash: /sys/kernel/debug/dri/1/i915_edp_psr_debug: Operation not permitted
I'm not sure why I'm unable to write. Do you have to mount debugfs differently to do writes or something like that?EDIT: debugfs is mounted rw and I tried to disable SELinux temporarily with setenforce 0 but I still can't write.
[root@fwk ~]# mount | grep debugfs
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime,seclabel)
[root@fwk ~]# setenforce 0
[root@fwk ~]# sestatus | grep Current
Current mode: permissive
[root@fwk ~]# echo 1 > /sys/kernel/debug/dri/1/i915_edp_psr_debug
-bash: /sys/kernel/debug/dri/1/i915_edp_psr_debug: Operation not permitted
I also got a kernel update today (6.1.11). According to [the changelog](https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.1...) there are a lot of changes regarding the i915 driver but it still freezes on my system. Feb 15 09:12:53 fwk kernel: Asynchronous wait on fence 0000:00:02.0:gnome-shell[2332]:1252 timed out (hint:intel_atomic_commit_ready [i915])
Feb 15 09:12:57 fwk kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:0:00000000
Feb 15 09:12:57 fwk kernel: i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
Feb 15 09:12:57 fwk kernel: i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
Feb 15 09:12:57 fwk kernel: i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
Feb 15 09:12:57 fwk kernel: i915 0000:00:02.0: [drm] HuC authenticated
Feb 15 09:12:57 fwk kernel: i915 0000:00:02.0: [drm] GuC submission enabledThe Fedora docs cover setting module parameters.[1] This is how setting the kernel module parameter manifests on my system:
$ sudo grep -iR i915.enable_psr /etc/modprobe.d
/etc/modprobe.d/i915.conf:options i915 enable_psr=0
$ sudo cat /etc/modprobe.d/i915.conf
options i915 enable_psr=0
Assuming you use the default GRUB 2 boot loader, the Fedora docs also cover setting the kernel boot parameters.[2]1: https://docs.fedoraproject.org/en-US/fedora/latest/system-ad...
2: https://docs.fedoraproject.org/en-US/fedora/latest/system-ad...