You are not logged in.
Last week, I bought a new HP victus laptop, and although everything seems to be working, I cannot resume from suspending the system when I reopen the lid after closing it or when I press the blinking power button.
cat /sys/power/mem_sleep
returns [s2idle]
cat /sys/power/state
returns freeze mem disk
My sleep.conf file is currently set as
[Sleep]
AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=freeze mem standby
SuspendState=freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=120min
When the computer gets stuck during resume, it either loads a black screen with a blinking underscore in the top left corner, or sddm but frozen at the time i started the suspend. during this i cannot switch to a different TTY
Output of journalctl during suspend:
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0063] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0064] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0075] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.1044] device (wlan0): set-hw-addr: reset MAC address to 34:6F:24:C7:8C:8B (unmanage)
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0063] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0064] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0075] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.1044] device (wlan0): set-hw-addr: reset MAC address to 34:6F:24:C7:8C:8B (unmanage)
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0063] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0064] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0075] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.1044] device (wlan0): set-hw-addr: reset MAC address to 34:6F:24:C7:8C:8B (unmanage)
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0063] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0064] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0075] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.1044] device (wlan0): set-hw-addr: reset MAC address to 34:6F:24:C7:8C:8B (unmanage)
Feb 14 17:52:15 Laptop1337 systemd[1]: Reached target Sleep.
Feb 14 17:52:15 Laptop1337 wpa_supplicant[1033]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 14 17:52:15 Laptop1337 systemd[1]: Starting NVIDIA system suspend actions...
Feb 14 17:52:15 Laptop1337 suspend[18290]: nvidia-suspend.service
Feb 14 17:52:15 Laptop1337 logger[18290]: <13>Feb 14 17:52:15 suspend: nvidia-suspend.service
Feb 14 17:52:15 Laptop1337 wpa_supplicant[1033]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 14 17:52:15 Laptop1337 wpa_supplicant[1033]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Feb 14 17:52:15 Laptop1337 tlp[18295]: Warning: systemd-rfkill.service is not masked, radio device switching may not work as configured.
Feb 14 17:52:15 Laptop1337 tlp[18295]: >>> Invoke 'systemctl mask systemd-rfkill.service' to correct this.
Feb 14 17:52:15 Laptop1337 tlp[18295]: Warning: systemd-rfkill.socket is not masked, radio device switching may not work as configured.
Feb 14 17:52:15 Laptop1337 tlp[18295]: >>> Invoke 'systemctl mask systemd-rfkill.socket' to correct this.
Feb 14 17:52:15 Laptop1337 systemd[1]: nvidia-suspend.service: Deactivated successfully.
Feb 14 17:52:15 Laptop1337 systemd[1]: Finished NVIDIA system suspend actions.
Feb 14 17:52:15 Laptop1337 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 kernel: audit: type=1130 audit(1676393535.859:115): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 kernel: audit: type=1131 audit(1676393535.859:116): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 systemd[1]: Starting System Suspend...
Feb 14 17:52:15 Laptop1337 systemd-sleep[18333]: Entering sleep state 'suspend'...
Feb 14 17:52:15 Laptop1337 kernel: PM: suspend entry (s2idle)
Feb 14 17:52:15 Laptop1337 kernel: Filesystems sync: 0.005 seconds
Feb 14 17:53:35 Laptop1337 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Feb 14 17:53:35 Laptop1337 kernel: OOM killer disabled.
Feb 14 17:53:35 Laptop1337 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Feb 14 17:53:35 Laptop1337 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Feb 14 17:53:35 Laptop1337 kernel: queueing ieee80211 work while going to suspend
Feb 14 17:53:35 Laptop1337 kernel: ACPI: EC: interrupt blocked
Feb 14 17:53:36 Laptop1337 wireplumber[2022]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Feb 14 17:53:36 Laptop1337 wireplumber[2022]: <WpPortalPermissionStorePlugin:0x564a186f0a10> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not pro>
-- Boot 03f7592d8f40449ab70373b4b6ec0218 --
Feb 14 17:54:20 Laptop1337 kernel: microcode: microcode updated early to revision 0x424, date = 2022-09-19
Feb 14 17:54:20 Laptop1337 kernel: Linux version 6.1.11-arch1-1 (linux@archlinux) (gcc (GCC) 12.2.1 20230201, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Thu, 09 Feb 2023 20:06:08 +0000
Feb 14 17:54:20 Laptop1337 kernel: Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=bd12c869-23aa-4421-b1bc-7ce89ae9fe11 zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs
Feb 14 17:54:20 Laptop1337 kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Enabled xstate features 0x207, context size is 840 bytes, using 'compacted' format.
Feb 14 17:54:20 Laptop1337 kernel: signal: max sigframe size: 3632
Feb 14 17:54:20 Laptop1337 kernel: BIOS-provided physical RAM map:
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000000009e000-0x000000000009efff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] usable
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x0000000000100000-0x000000006b8effff] usable
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000006b8f0000-0x000000006e9effff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000006e9f0000-0x000000006eaf8fff] ACPI data
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000006eaf9000-0x000000006ec65fff] ACPI NVS
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000006ec66000-0x0000000073efefff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x0000000073eff000-0x0000000073efffff] usable
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0063] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0064] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.0075] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 14 17:52:15 Laptop1337 NetworkManager[898]: <info> [1676393535.1044] device (wlan0): set-hw-addr: reset MAC address to 34:6F:24:C7:8C:8B (unmanage)
Feb 14 17:52:15 Laptop1337 systemd[1]: Reached target Sleep.
Feb 14 17:52:15 Laptop1337 wpa_supplicant[1033]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 14 17:52:15 Laptop1337 systemd[1]: Starting NVIDIA system suspend actions...
Feb 14 17:52:15 Laptop1337 suspend[18290]: nvidia-suspend.service
Feb 14 17:52:15 Laptop1337 logger[18290]: <13>Feb 14 17:52:15 suspend: nvidia-suspend.service
Feb 14 17:52:15 Laptop1337 wpa_supplicant[1033]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 14 17:52:15 Laptop1337 wpa_supplicant[1033]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Feb 14 17:52:15 Laptop1337 tlp[18295]: Warning: systemd-rfkill.service is not masked, radio device switching may not work as configured.
Feb 14 17:52:15 Laptop1337 tlp[18295]: >>> Invoke 'systemctl mask systemd-rfkill.service' to correct this.
Feb 14 17:52:15 Laptop1337 tlp[18295]: Warning: systemd-rfkill.socket is not masked, radio device switching may not work as configured.
Feb 14 17:52:15 Laptop1337 tlp[18295]: >>> Invoke 'systemctl mask systemd-rfkill.socket' to correct this.
Feb 14 17:52:15 Laptop1337 systemd[1]: nvidia-suspend.service: Deactivated successfully.
Feb 14 17:52:15 Laptop1337 systemd[1]: Finished NVIDIA system suspend actions.
Feb 14 17:52:15 Laptop1337 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 kernel: audit: type=1130 audit(1676393535.859:115): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 kernel: audit: type=1131 audit(1676393535.859:116): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 14 17:52:15 Laptop1337 systemd[1]: Starting System Suspend...
Feb 14 17:52:15 Laptop1337 systemd-sleep[18333]: Entering sleep state 'suspend'...
Feb 14 17:52:15 Laptop1337 kernel: PM: suspend entry (s2idle)
Feb 14 17:52:15 Laptop1337 kernel: Filesystems sync: 0.005 seconds
Feb 14 17:53:35 Laptop1337 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Feb 14 17:53:35 Laptop1337 kernel: OOM killer disabled.
Feb 14 17:53:35 Laptop1337 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Feb 14 17:53:35 Laptop1337 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Feb 14 17:53:35 Laptop1337 kernel: queueing ieee80211 work while going to suspend
Feb 14 17:53:35 Laptop1337 kernel: ACPI: EC: interrupt blocked
Feb 14 17:53:36 Laptop1337 wireplumber[2022]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Feb 14 17:53:36 Laptop1337 wireplumber[2022]: <WpPortalPermissionStorePlugin:0x564a186f0a10> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not pro>
-- Boot 03f7592d8f40449ab70373b4b6ec0218 --
Feb 14 17:54:20 Laptop1337 kernel: microcode: microcode updated early to revision 0x424, date = 2022-09-19
Feb 14 17:54:20 Laptop1337 kernel: Linux version 6.1.11-arch1-1 (linux@archlinux) (gcc (GCC) 12.2.1 20230201, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Thu, 09 Feb 2023 20:06:08 +0000
Feb 14 17:54:20 Laptop1337 kernel: Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=bd12c869-23aa-4421-b1bc-7ce89ae9fe11 zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs
Feb 14 17:54:20 Laptop1337 kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8
Feb 14 17:54:20 Laptop1337 kernel: x86/fpu: Enabled xstate features 0x207, context size is 840 bytes, using 'compacted' format.
Feb 14 17:54:20 Laptop1337 kernel: signal: max sigframe size: 3632
Feb 14 17:54:20 Laptop1337 kernel: BIOS-provided physical RAM map:
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000000009e000-0x000000000009efff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] usable
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x0000000000100000-0x000000006b8effff] usable
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000006b8f0000-0x000000006e9effff] reserved
Feb 14 17:54:20 Laptop1337 kernel: BIOS-e820: [mem 0x000000006e9f0000-0x000000006eaf8fff] ACPI data
Lastly for additional context, i installed the system using the built in archinstall, as during a regular installation i continuously ran into a problem with SOF-firmware
Last edited by MxIzzy (2023-02-28 13:59:07)
Offline
Excuse me for my bad English. This problem is a known problem of Alder Lake-P cpu in linux. in https://wiki.archlinux.org/title/intel_graphics described about this problem and had a patch for fix this problem. I have victus 15 with manjaro os and I had this problem. I patch and compile linux kernel and now wake up from sleep work correctly.
Last edited by mojtaba82 (2023-02-22 13:01:27)
Offline
Excuse me for my bad English. This problem is a known problem of Alder Lake-P cpu in linux. in https://wiki.archlinux.org/title/intel_graphics described about this problem and had a patch for fix this problem. I have victus 15 with manjaro os and I had this problem. I patch and compile linux kernel and now wake up from sleep work correctly.
Thanks, I'll update the post once i figure out how to recompile to kernel and stuff, as this is kinda new to me
Offline
So i've been trying to compile a custom kernel now, but im running into thgis problem when i run "makepkg -s" as instructed in https://wiki.archlinux.org/title/Kernel … ild_System
Prepared linux-custom version 6.2.1-arch1-1-custom
patch: **** Can't change to directory linux-custom : No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
my PKGBUILD up to prepare(), where the error is, currently looks like this
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgbase=linux-custom
pkgver=6.2.1.arch1
pkgrel=1
pkgdesc='Linux'
_srctag=v${pkgver%.*}-${pkgver##*.}
url="https://github.com/archlinux/linux/commits/$_srctag"
arch=(x86_64)
license=(GPL2)
makedepends=(
bc libelf pahole cpio perl tar xz gettext
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick texlive-latexextra
git
)
options=('!strip')
_srcname=archlinux-linux
source=(
"$_srcname::git+https://github.com/archlinux/linux?signed#tag=$_srctag"
config # the main kernel config file
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
)
sha256sums=('SKIP'
'f35bb39db7324a45e78e6c75c1a60f117fea3f7d0df9f4a32bed411751d6ffea')
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
cd $_srcname
echo "Setting version..."
scripts/setlocalversion --save-scmversion
echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
echo "Setting config..."
cp ../config .config
make olddefconfig
diff -u ../config .config || :
make -s kernelrelease > version
echo "Prepared $pkgbase version $(<version)"
patch --directory="$pkgname" --forward --strip=1 --input="${srcdir}/intel_display.c.patch"
}
Offline
Drop the patch line
patch --directory="$pkgname" --forward --strip=1 --input="${srcdir}/intel_display.c.patch"
source array entries with the .patch extension are automatically applied by
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
Edit:
You need to add intel_display.c.patch to the source array and its checksum to sha256sums.
Edit2:
The patch on the wiki is rejected as somehow its tabs have been converted to spaces. Corrected patch:
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 6c2686ecb62a..49664dabf9cb 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -7896,7 +7896,7 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv)
intel_ddi_init(dev_priv, PORT_TC1);
} else if (IS_ALDERLAKE_P(dev_priv)) {
intel_ddi_init(dev_priv, PORT_A);
- intel_ddi_init(dev_priv, PORT_B);
+ // intel_ddi_init(dev_priv, PORT_B);
intel_ddi_init(dev_priv, PORT_TC1);
intel_ddi_init(dev_priv, PORT_TC2);
intel_ddi_init(dev_priv, PORT_TC3);
git diff of changes
$ git diff
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 1a06788..180684b 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -17,6 +17,7 @@ options=('!strip')
_srcname=archlinux-linux
source=(
"$_srcname::git+https://github.com/archlinux/linux?signed#tag=$_srctag"
+ intel_display.c.patch
config # the main kernel config file
)
validpgpkeys=(
@@ -26,6 +27,7 @@ validpgpkeys=(
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
)
sha256sums=('SKIP'
+ '442b65a671fbe6191c062a29d8a2c54ce1d431504d10b4a1e3fc7e52ffd03cdb'
'f35bb39db7324a45e78e6c75c1a60f117fea3f7d0df9f4a32bed411751d6ffea')
export KBUILD_BUILD_HOST=archlinux
With additional change to avoid building documentation
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 1a06788..cc5c672 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
-pkgbase=linux
+pkgbase=linux-custom
pkgver=6.2.1.arch1
pkgrel=1
pkgdesc='Linux'
@@ -10,13 +10,13 @@ arch=(x86_64)
license=(GPL2)
makedepends=(
bc libelf pahole cpio perl tar xz gettext
- xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick texlive-latexextra
git
)
options=('!strip')
_srcname=archlinux-linux
source=(
"$_srcname::git+https://github.com/archlinux/linux?signed#tag=$_srctag"
+ intel_display.c.patch
config # the main kernel config file
)
validpgpkeys=(
@@ -26,6 +26,7 @@ validpgpkeys=(
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
)
sha256sums=('SKIP'
+ '442b65a671fbe6191c062a29d8a2c54ce1d431504d10b4a1e3fc7e52ffd03cdb'
'f35bb39db7324a45e78e6c75c1a60f117fea3f7d0df9f4a32bed411751d6ffea')
export KBUILD_BUILD_HOST=archlinux
@@ -60,7 +61,7 @@ prepare() {
build() {
cd $_srcname
- make htmldocs all
+ make all
}
_package() {
@@ -173,26 +174,7 @@ _package-headers() {
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}
-_package-docs() {
- pkgdesc="Documentation for the $pkgdesc kernel"
-
- cd $_srcname
- local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
-
- echo "Installing documentation..."
- local src dst
- while read -rd '' src; do
- dst="${src#Documentation/}"
- dst="$builddir/Documentation/${dst#output/}"
- install -Dm644 "$src" "$dst"
- done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
-
- echo "Adding symlink..."
- mkdir -p "$pkgdir/usr/share/doc"
- ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
-}
-
-pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
+pkgname=("$pkgbase" "$pkgbase-headers")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
$(declare -f "_package${_p#$pkgbase}")
Last edited by loqs (2023-02-27 23:41:16)
Offline
Thank you both so much! It compiled and works perfectly, marking as solved! ^_^
Offline