Open parth-menon opened 1 year ago
It's possible this device uses an amplifier. It's likely we'll need a device in hand to add functionality.
Is there anything i can do to help you guys test it/fix it? Please let me know. Thanks!
Is there anything i can do to help you guys test it/fix it? Please let me know. Thanks!
Can you get me an alsa dump? You'll need to unlock the filesystem and install some packages.
sudo frzr-unlock
sudo pacman -S alsa-tools tree
/usr/bin/alsa-info.sh
Here it is: http://alsa-project.org/db/?f=280c56830a60868346995b41309f663c5fe7510b
Thanks for looking into this.
Here it is: http://alsa-project.org/db/?f=280c56830a60868346995b41309f663c5fe7510b
Thanks for looking into this.
Thanks for the info. Any chance I could get a dmesg as well?
sudo dmesg > oxp2pro-dmesg.log
Ofcourse. oxp2pro-dmesg.log
Please let me know anything you need.
Ofcourse. oxp2pro-dmesg.log
Please let me know anything you need.
Thanks! It looks like we might need a dump from Windows to verify the pins and verbs. Are you able to boot Windows with audio drivers installed and working and run this utility? RtHDDump_V236.zip
Here it is: RtHDDump.txt
Here's one with scan all PCI devices selected
Thanks. I think I got the information I need. I'll need to make a kernel patch for you to try. It's late here now ATM so I'll start working on this tomorrow.
That's amazing!! Thank you so much đđ.
Here we go. I have a patch for you to try. Are you able to build the kernel with a patch on your own or would you like me to compile it?
oxp2-pro-audio-patch-test-patch.txt
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 44fccfb93cff..a4858a6409af 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6501,6 +6501,23 @@ static void alc295_fixup_chromebook(struct hda_codec *codec,
}
}
+static void alc245_fixup_oxp2pro_pins(struct hda_codec *codec,
+ const struct hda_fixup *fix,
+ int action)
+{
+ static const hda_nid_t conn1[] = { 0x02 };
+ static const hda_nid_t conn2[] = { 0x03 };
+
+ if (action != HDA_FIXUP_ACT_PRE_PROBE)
+ return;
+
+ /* It appears as though the OXP2 Pro has 0x17 connected to 0x02
+ * and 0x21 connected to 0x03 on Windows
+ */
+ snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn1), conn1);
+ snd_hda_override_conn_list(codec, 0x21, ARRAY_SIZE(conn2), conn2);
+}
+
static void alc_fixup_disable_mic_vref(struct hda_codec *codec,
const struct hda_fixup *fix, int action)
{
@@ -7219,6 +7236,7 @@ enum {
ALC287_FIXUP_LEGION_16ACHG6,
ALC287_FIXUP_CS35L41_I2C_2,
ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED,
+ ALC245_FIXUP_OXP2PRO,
ALC245_FIXUP_CS35L41_SPI_2,
ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED,
ALC245_FIXUP_CS35L41_SPI_4,
@@ -7580,6 +7598,10 @@ static const struct hda_fixup alc269_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc269_fixup_x101_headset_mic,
},
+ [ALC245_FIXUP_OXP2PRO] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc245_fixup_oxp2pro_pin,
+ },
[ALC269_FIXUP_ASUS_X101_VERB] = {
.type = HDA_FIXUP_VERBS,
.v.verbs = (const struct hda_verb[]) {
@@ -9934,6 +9956,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
+ SND_PCI_QUIRK(0x1f75, 0x1602, "ONEXPLAYER 2 PRO ARP23P", ALC245_FIXUP_OXP2PRO),
SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),
Thank you so much!
Unfortunately, I do not know how to build a kernel with the patch. If you can send me the instructions, I can try it out. If its easier for you to build the patch than telling me how, that would be great too. Anything works.
EDIT: I think I figured out how to build the kernel with makepkg. I will try it out.
Thank you so much!
Unfortunately, I do not know how to build a kernel with the patch. If you can send me the instructions, I can try it out. If its easier for you to build the patch than telling me how, that would be great too. Anything works.
EDIT: I think I figured out how to build the kernel with makepkg. I will try it out.
I have it building on my end as well just in case.
I am getting this error after adding this patch
==> Starting prepare()...
Setting version...
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated .config
Applying patch 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch...
patching file include/linux/user_namespace.h
patching file init/Kconfig
patching file kernel/fork.c
patching file kernel/sysctl.c
patching file kernel/user_namespace.c
Applying patch 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch...
patching file drivers/firmware/sysfb.c
Applying patch 0003-tpm-dont-make-vendor-check-required-for-probe.patch...
Applying patch 0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch...
patching file fs/proc/task_mmu.c
Hunk #1 succeeded at 1079 (offset 47 lines).
Hunk #2 succeeded at 1172 (offset 45 lines).
Hunk #3 succeeded at 1230 (offset 45 lines).
Hunk #4 succeeded at 1257 (offset 45 lines).
Hunk #5 succeeded at 1271 (offset 45 lines).
Hunk #6 succeeded at 1311 (offset 46 lines).
Hunk #7 succeeded at 1422 (offset 45 lines).
Hunk #8 succeeded at 1497 (offset 47 lines).
Hunk #9 succeeded at 1563 (offset -14 lines).
Hunk #10 succeeded at 1587 (offset 68 lines).
Applying patch 0001-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-2.patch...
patching file drivers/gpu/drm/drm_panel_orientation_quirks.c
Applying patch 0002-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-F.patch...
patching file drivers/gpu/drm/drm_panel_orientation_quirks.c
Applying patch 0003-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-G.patch...
patching file drivers/gpu/drm/drm_panel_orientation_quirks.c
Applying patch 0003-asus-ally-asus-hid-6.3-v2.patch...
patching file drivers/hid/hid-asus.c
Hunk #1 succeeded at 911 (offset 1 line).
Hunk #2 succeeded at 1278 (offset 1 line).
patching file drivers/hid/hid-ids.h
Applying patch 0001-hwmon-oxp-sensors-staged-changes-for-v6.5.patch...
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
Applying patch 0001-Cirrus-no-dsdt.patch...
patching file sound/pci/hda/Makefile
Hunk #1 succeeded at 28 with fuzz 1.
patching file sound/pci/hda/cs35l41_hda.c
Hunk #2 succeeded at 1161 (offset -155 lines).
Hunk #3 succeeded at 1215 (offset -155 lines).
Hunk #4 succeeded at 1240 (offset -155 lines).
Hunk #5 succeeded at 1340 (offset -155 lines).
patching file sound/pci/hda/cs35l41_hda.h
patching file sound/pci/hda/cs35l41_hda_property.c
patching file sound/pci/hda/cs35l41_hda_property.h
Applying patch 0001-ALSA-hda-cs35l41-Support-ASUS-2023-laptops-with-miss.patch...
patching file sound/pci/hda/cs35l41_hda_property.c
Applying patch 0001-ayaneo-geek-headset-fix.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #2 succeeded at 7028 (offset -3 lines).
Hunk #3 succeeded at 8452 (offset -3 lines).
Hunk #4 succeeded at 9948 (offset -3 lines).
Applying patch 0002-ayaneo-2-headphone-fix.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 7028 (offset -3 lines).
Hunk #2 succeeded at 8453 (offset -3 lines).
Hunk #3 succeeded at 9953 (offset -3 lines).
Applying patch 0001-GPU-reset.patch...
patching file drivers/gpu/drm/drm_sysfs.c
Hunk #1 succeeded at 435 (offset 1 line).
patching file include/drm/drm_sysfs.h
patching file drivers/gpu/drm/amd/amdgpu/amdgpu.h
Hunk #1 succeeded at 58 (offset -2 lines).
Hunk #2 succeeded at 993 (offset -10 lines).
Hunk #3 succeeded at 1026 (offset -11 lines).
patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
Hunk #1 succeeded at 80 with fuzz 2 (offset 4 lines).
Hunk #2 succeeded at 3465 (offset 109 lines).
Hunk #3 succeeded at 3728 (offset 110 lines).
patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
Hunk #1 succeeded at 5065 (offset 141 lines).
Applying patch 0001-ALSA-cs35l41-Use-mbox-command-to-enable-speaker-outp.patch...
patching file include/sound/cs35l41.h
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 515 (offset 1 line).
Hunk #2 succeeded at 675 (offset 1 line).
patching file sound/soc/codecs/cs35l41-lib.c
patching file sound/soc/codecs/cs35l41.c
Applying patch 0002-ALSA-cs35l41-Poll-for-Power-Up-Down-rather-than-wait.patch...
patching file sound/soc/codecs/cs35l41-lib.c
patching file sound/soc/codecs/cs35l41.c
Applying patch 0003-ALSA-hda-cs35l41-Check-mailbox-status-of-pause-comma.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 782 (offset 1 line).
Applying patch 0004-ALSA-hda-cs35l41-Ensure-we-correctly-re-sync-regmap-.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 575 (offset 1 line).
Applying patch 0005-ALSA-hda-cs35l41-Ensure-we-pass-up-any-errors-during.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 627 (offset 1 line).
Hunk #2 succeeded at 665 (offset 1 line).
Applying patch 0006-ALSA-hda-cs35l41-Move-Play-and-Pause-into-separate-f.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 484 (offset 1 line).
Hunk #2 succeeded at 590 (offset 1 line).
Hunk #3 succeeded at 741 (offset 1 line).
Applying patch 0007-ALSA-hda-hda_component-Add-pre-and-post-playback-hoo.patch...
patching file sound/pci/hda/hda_component.h
patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 6730 (offset 14 lines).
Applying patch 0008-ALSA-hda-cs35l41-Use-pre-and-post-playback-hooks.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 557 (offset 1 line).
Hunk #2 succeeded at 1073 (offset 5 lines).
Applying patch 0009-ALSA-hda-cs35l41-Rework-System-Suspend-to-ensure-cor.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 596 (offset 1 line).
Hunk #2 succeeded at 691 (offset 1 line).
Hunk #3 succeeded at 722 (offset 1 line).
Hunk #4 succeeded at 772 (offset 1 line).
Hunk #5 succeeded at 805 (offset 1 line).
Hunk #6 succeeded at 1639 (offset -31 lines).
Applying patch 0010-ALSA-hda-cs35l41-Add-device_link-between-HDA-and-cs3.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 1068 (offset 5 lines).
Hunk #2 succeeded at 1108 (offset 5 lines).
Hunk #3 succeeded at 1123 (offset 5 lines).
Applying patch 0011-ALSA-hda-cs35l41-Ensure-amp-is-only-unmuted-during-p.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 59 (offset 1 line).
Hunk #2 succeeded at 81 (offset 1 line).
Hunk #3 succeeded at 529 (offset 1 line).
Hunk #4 succeeded at 1598 (offset -31 lines).
Applying patch oxp2-pro-audio-patch-test-patch.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #2 succeeded at 7257 (offset 21 lines).
Hunk #3 succeeded at 7619 (offset 21 lines).
Hunk #4 FAILED at 9956.
1 out of 4 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
==> ERROR: A failure occurred in prepare().
Aborting...
I am getting this error after adding this patch
==> Starting prepare()... Setting version... HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config include/generated .config Applying patch 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch... patching file include/linux/user_namespace.h patching file init/Kconfig patching file kernel/fork.c patching file kernel/sysctl.c patching file kernel/user_namespace.c Applying patch 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch... patching file drivers/firmware/sysfb.c Applying patch 0003-tpm-dont-make-vendor-check-required-for-probe.patch... Applying patch 0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch... patching file fs/proc/task_mmu.c Hunk #1 succeeded at 1079 (offset 47 lines). Hunk #2 succeeded at 1172 (offset 45 lines). Hunk #3 succeeded at 1230 (offset 45 lines). Hunk #4 succeeded at 1257 (offset 45 lines). Hunk #5 succeeded at 1271 (offset 45 lines). Hunk #6 succeeded at 1311 (offset 46 lines). Hunk #7 succeeded at 1422 (offset 45 lines). Hunk #8 succeeded at 1497 (offset 47 lines). Hunk #9 succeeded at 1563 (offset -14 lines). Hunk #10 succeeded at 1587 (offset 68 lines). Applying patch 0001-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-2.patch... patching file drivers/gpu/drm/drm_panel_orientation_quirks.c Applying patch 0002-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-F.patch... patching file drivers/gpu/drm/drm_panel_orientation_quirks.c Applying patch 0003-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-G.patch... patching file drivers/gpu/drm/drm_panel_orientation_quirks.c Applying patch 0003-asus-ally-asus-hid-6.3-v2.patch... patching file drivers/hid/hid-asus.c Hunk #1 succeeded at 911 (offset 1 line). Hunk #2 succeeded at 1278 (offset 1 line). patching file drivers/hid/hid-ids.h Applying patch 0001-hwmon-oxp-sensors-staged-changes-for-v6.5.patch... patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c Applying patch 0001-Cirrus-no-dsdt.patch... patching file sound/pci/hda/Makefile Hunk #1 succeeded at 28 with fuzz 1. patching file sound/pci/hda/cs35l41_hda.c Hunk #2 succeeded at 1161 (offset -155 lines). Hunk #3 succeeded at 1215 (offset -155 lines). Hunk #4 succeeded at 1240 (offset -155 lines). Hunk #5 succeeded at 1340 (offset -155 lines). patching file sound/pci/hda/cs35l41_hda.h patching file sound/pci/hda/cs35l41_hda_property.c patching file sound/pci/hda/cs35l41_hda_property.h Applying patch 0001-ALSA-hda-cs35l41-Support-ASUS-2023-laptops-with-miss.patch... patching file sound/pci/hda/cs35l41_hda_property.c Applying patch 0001-ayaneo-geek-headset-fix.patch... patching file sound/pci/hda/patch_realtek.c Hunk #2 succeeded at 7028 (offset -3 lines). Hunk #3 succeeded at 8452 (offset -3 lines). Hunk #4 succeeded at 9948 (offset -3 lines). Applying patch 0002-ayaneo-2-headphone-fix.patch... patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 7028 (offset -3 lines). Hunk #2 succeeded at 8453 (offset -3 lines). Hunk #3 succeeded at 9953 (offset -3 lines). Applying patch 0001-GPU-reset.patch... patching file drivers/gpu/drm/drm_sysfs.c Hunk #1 succeeded at 435 (offset 1 line). patching file include/drm/drm_sysfs.h patching file drivers/gpu/drm/amd/amdgpu/amdgpu.h Hunk #1 succeeded at 58 (offset -2 lines). Hunk #2 succeeded at 993 (offset -10 lines). Hunk #3 succeeded at 1026 (offset -11 lines). patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c Hunk #1 succeeded at 80 with fuzz 2 (offset 4 lines). Hunk #2 succeeded at 3465 (offset 109 lines). Hunk #3 succeeded at 3728 (offset 110 lines). patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c Hunk #1 succeeded at 5065 (offset 141 lines). Applying patch 0001-ALSA-cs35l41-Use-mbox-command-to-enable-speaker-outp.patch... patching file include/sound/cs35l41.h patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 515 (offset 1 line). Hunk #2 succeeded at 675 (offset 1 line). patching file sound/soc/codecs/cs35l41-lib.c patching file sound/soc/codecs/cs35l41.c Applying patch 0002-ALSA-cs35l41-Poll-for-Power-Up-Down-rather-than-wait.patch... patching file sound/soc/codecs/cs35l41-lib.c patching file sound/soc/codecs/cs35l41.c Applying patch 0003-ALSA-hda-cs35l41-Check-mailbox-status-of-pause-comma.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 782 (offset 1 line). Applying patch 0004-ALSA-hda-cs35l41-Ensure-we-correctly-re-sync-regmap-.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 575 (offset 1 line). Applying patch 0005-ALSA-hda-cs35l41-Ensure-we-pass-up-any-errors-during.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 627 (offset 1 line). Hunk #2 succeeded at 665 (offset 1 line). Applying patch 0006-ALSA-hda-cs35l41-Move-Play-and-Pause-into-separate-f.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 484 (offset 1 line). Hunk #2 succeeded at 590 (offset 1 line). Hunk #3 succeeded at 741 (offset 1 line). Applying patch 0007-ALSA-hda-hda_component-Add-pre-and-post-playback-hoo.patch... patching file sound/pci/hda/hda_component.h patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 6730 (offset 14 lines). Applying patch 0008-ALSA-hda-cs35l41-Use-pre-and-post-playback-hooks.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 557 (offset 1 line). Hunk #2 succeeded at 1073 (offset 5 lines). Applying patch 0009-ALSA-hda-cs35l41-Rework-System-Suspend-to-ensure-cor.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 596 (offset 1 line). Hunk #2 succeeded at 691 (offset 1 line). Hunk #3 succeeded at 722 (offset 1 line). Hunk #4 succeeded at 772 (offset 1 line). Hunk #5 succeeded at 805 (offset 1 line). Hunk #6 succeeded at 1639 (offset -31 lines). Applying patch 0010-ALSA-hda-cs35l41-Add-device_link-between-HDA-and-cs3.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 1068 (offset 5 lines). Hunk #2 succeeded at 1108 (offset 5 lines). Hunk #3 succeeded at 1123 (offset 5 lines). Applying patch 0011-ALSA-hda-cs35l41-Ensure-amp-is-only-unmuted-during-p.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 59 (offset 1 line). Hunk #2 succeeded at 81 (offset 1 line). Hunk #3 succeeded at 529 (offset 1 line). Hunk #4 succeeded at 1598 (offset -31 lines). Applying patch oxp2-pro-audio-patch-test-patch.patch... patching file sound/pci/hda/patch_realtek.c Hunk #2 succeeded at 7257 (offset 21 lines). Hunk #3 succeeded at 7619 (offset 21 lines). Hunk #4 FAILED at 9956. 1 out of 4 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej ==> ERROR: A failure occurred in prepare(). Aborting...
It's conflicting with another patch and I had a typo in the patch as well. I'll have a built kernel here in a bit.
Contributor
Thank you. I'll wait for the built kernel.
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
I installed both using
sudo pacman -U --noconfirm
and after reboot, almost everything stopped working. I don't have network, bluetooth, sound, etc.
Was this the wrong command?
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
I installed both using
sudo pacman -U --noconfirm
and after reboot, almost everything stopped working. I don't have network, bluetooth, sound, etc.
Was this the wrong command?
Did you have DKMS installed? Strangely enough I had this issue with a different kernel the other day myself.
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
I installed both using
sudo pacman -U --noconfirm
and after reboot, almost everything stopped working. I don't have network, bluetooth, sound, etc. Was this the wrong command?Did you have DKMS installed? Strangely enough I had this issue with a different kernel the other day myself.
Ah, It looks like i did not have DKMS installed. I'll reinstall the OS and try again with DKMS installed.
After installing DKMS, the header install gives this error.
[gamer@chimeraos ~]$ sudo pacman -U --noconfirm Downloads/linux-chimeraos-headers-6.5.rc6.chos1-1-x86_64.pkg.tar.zst
loading packages...
warning: linux-chimeraos-headers-6.5.rc6.chos1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-chimeraos-headers-6.5.rc6.chos1-1
Total Installed Size: 123.53 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
(1/1) checking available disk space [#############################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
:: Processing package changes...
(1/1) reinstalling linux-chimeraos-headers [#############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod hid-xpadneo/v0.9.5 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/hid-xpadneo/v0.9.5/build/make.log for more information.
==> WARNING: `dkms install --no-depmod hid-xpadneo/v0.9.5 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod xpad-noone/1.0 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/xpad-noone/1.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod xpad-noone/1.0 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod r8168/8.051.02 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/r8168/8.051.02/build/make.log for more information.
==> WARNING: `dkms install --no-depmod r8168/8.051.02 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtl8812au/5.13.6.r168.gb5f4e6e -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtl8812au/5.13.6.r168.gb5f4e6e/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8812au/5.13.6.r168.gb5f4e6e -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod nvidia/530.41.03 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/nvidia/530.41.03/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/530.41.03 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtl88x2bu/5.13.1.r189.12cfcd8 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.13.1.r189.12cfcd8/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl88x2bu/5.13.1.r189.12cfcd8 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod xone/0.3.r2.gbbf0dcc -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/xone/0.3.r2.gbbf0dcc/build/make.log for more information.
==> WARNING: `dkms install --no-depmod xone/0.3.r2.gbbf0dcc -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtl8814au/5.8.5.1.r170.g8a1908d -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtl8814au/5.8.5.1.r170.g8a1908d/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8814au/5.8.5.1.r170.g8a1908d -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod 8821au/5.12.5.2.r208.g50c3332 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/8821au/5.12.5.2.r208.g50c3332/build/make.log for more information.
==> WARNING: `dkms install --no-depmod 8821au/5.12.5.2.r208.g50c3332 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtw89/r529.8f8efa6 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtw89/r529.8f8efa6/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw89/r529.8f8efa6 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.5.0-chos1-rc6-chimeraos-1
/usr/bin/dkms: line 106: patch: command not found
Error! Application of patch 001-null-pointer-fix.patch failed.
Check /var/lib/dkms/broadcom-wl/6.30.223.271/build for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.5.0-chos1-rc6-chimeraos-1' exited 6
==> dkms install --no-depmod oxp-sensors/v0.9.r0.gf75d844 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/oxp-sensors/v0.9.r0.gf75d844/build/make.log for more information.
==> WARNING: `dkms install --no-depmod oxp-sensors/v0.9.r0.gf75d844 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod r8152/2.16.3.20221209 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/r8152/2.16.3.20221209/build/make.log for more information.
==> WARNING: `dkms install --no-depmod r8152/2.16.3.20221209 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> WARNING: `dkms install --no-depmod r8152/2.16.3.20221209 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
Hmm, I'll try installing it on a Chimera box here.
Works on the Aya Neo Air Plus running ChimeraOS.
Works on the Aya Neo Air Plus running ChimeraOS.
I was going through the log files from the above failures and it looks like I am missing a bunch of dependencies needed for make. I am trying to sort them out and reinstall the kernel.
Works on the Aya Neo Air Plus running ChimeraOS.
I was going through the log files from the above failures and it looks like I am missing a bunch of dependencies needed for make. I am trying to sort them out and reinstall the kernel.
You can try installing the base-devel
package to bring in a lot of those dependencies most likely.
Works on the Aya Neo Air Plus running ChimeraOS.
I was going through the log files from the above failures and it looks like I am missing a bunch of dependencies needed for make. I am trying to sort them out and reinstall the kernel.
You can try installing the
base-devel
package to bring in a lot of those dependencies most likely.
I'm also trying out a fresh install. Just so that I don't miss out on any steps.
Step 1: sudo frzr-unlock Step 2: sudo pacman -S DMKS Step 3: sudo pacman -S base-devel Step 4: sudo pacman -U --noconfirm linux-chimeraos-6.5.rc6.chos1-1-x86_64.pkg.tar.zst Step 5: sudo pacman -U --noconfirm linux-chimeraos-headers-6.5.rc6.chos1-1-x86_64.pkg.tar.zst
Thanks so much!
If you are using chimeraos be sure to update your kernel lines in /boot/loader/entries/frzr.conf
It'll be vmlinuz-linux-chimeraos
and initramfs-linux-chimeraos.img
title chimeraos-44_98e8284
linux /vmlinuz-linux-chimeraos
initrd /amd-ucode.img
initrd /intel-ucode.img
initrd /initramfs-linux-chimeraos.img
I also remove the blacklist for xpad because it'll cause weird issues when switching out the kernel on chimeraos. This config is located at /etc/modprobe.d/xone-blacklist.conf
Apologies for not providing this information. I looked at your dmesg again..I must have been tired when I was looking at it last night, I thought I saw that you was using chimera packages on an Arch Linux install.
When I switched back to 6.4 from the 6.5 kernel I ran into the issue where I have no sound, no wifi, no ethernet, no nothing. I'll look into what's causing this. I had this issue when I went from 6.4 to 6.3.9 and back to 6.4 the other day as well.
Apologies for not providing this information. I looked at your dmesg again..I must have been tired when I was looking at it last night, I thought I saw that you was using chimera packages on an Arch Linux install.
No worries, thank you so much. I'll try the above lines and reinstall.
When I switched back to 6.4 from the 6.5 kernel I ran into the issue where I have no sound, no wifi, no ethernet, no nothing. I'll look into what's causing this. I had this issue when I went from 6.4 to 6.3.9 and back to 6.4 the other day as well.
Awesome, thanks. I though it was just sound that was missing but it turns out all the devices were down. It started working again when I chose "repair" option when reinstalling ChimeraOS
I tried it again with a fresh reinstall. One thing I noticed is that my chimeraOS version in /boot/loader/entries/frzr.conf is chimeraos-43-1_788f4bb. This is the version I got from https://github.com/ChimeraOS/install-media/releases/download/2023-07-06_69ce628/chimeraos-2023.07.06-x86_64.iso
I've uploaded the full steps I took steps.txt
These are the 'cat' outs of each of the error logs from the above run. errorlogs.txt
It looks like a version issue? Is it because I am on v43?
I tried it again with a fresh reinstall. One thing I noticed is that my chimeraOS version in /boot/loader/entries/frzr.conf is chimeraos-43-1_788f4bb. This is the version I got from https://github.com/ChimeraOS/install-media/releases/download/2023-07-06_69ce628/chimeraos-2023.07.06-x86_64.iso
I've uploaded the full steps I took steps.txt
These are the 'cat' outs of each of the error logs from the above run. errorlogs.txt
It looks like a version issue? Is it because I am on v43?
We're looking into the issue caused when switching out the kernel. I'll report back once we get that situation resolved. Previously we've been able to change kernels in this way and it looks like something changed.
I tried it again with a fresh reinstall. One thing I noticed is that my chimeraOS version in /boot/loader/entries/frzr.conf is chimeraos-43-1_788f4bb. This is the version I got from https://github.com/ChimeraOS/install-media/releases/download/2023-07-06_69ce628/chimeraos-2023.07.06-x86_64.iso I've uploaded the full steps I took steps.txt These are the 'cat' outs of each of the error logs from the above run. errorlogs.txt It looks like a version issue? Is it because I am on v43?
We're looking into the issue caused when switching out the kernel. I'll report back once we get that situation resolved. Previously we've been able to change kernels in this way and it looks like something changed.
Sure, thanks again. Please let me know if you need any more info from the device or if you need me to test anything. Cheers!
Hello,
I pulled the linux-chimeraos git and added this patch file onexplayer2pro_audio.patch.txt
Built the kernal and tried install but I kept getting these errors when installing the header file. error.txt
Tried restart but the sound still did not work unfortunately.
what are the contents of
/var/lib/dkms/r8168/8.051.02/build/make.log
/var/lib/dkms/nvidia/530.41.03/build/make.log
/var/lib/dkms/r8152/2.16.3.20221209/build/make.log
/var/lib/dkms/r8168/8.051.02/build/make.log
DKMS make.log for r8168-8.051.02 for kernel 6.4.12-chos1-chimeraos-1 (x86_64)
Sun Aug 27 08:59:41 PM IST 2023
CC [M] /var/lib/dkms/r8168/8.051.02/build/src/r8168_n.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/src/r8168_asf.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/src/rtl_eeprom.o
CC [M] /var/lib/dkms/r8168/8.051.02/build/src/rtltool.o
/var/lib/dkms/r8168/8.051.02/build/src/r8168_n.c: In function âr8168_csum_workaroundâ:
/var/lib/dkms/r8168/8.051.02/build/src/r8168_n.c:29208:24: error: implicit declaration of function âskb_gso_segmentâ; did you mean âskb_gso_resetâ? [-Werror=implicit-function-declaration]
29208 | segs = skb_gso_segment(skb, features);
| ^~~~~~~~~~~~~~~
| skb_gso_reset
/var/lib/dkms/r8168/8.051.02/build/src/r8168_n.c:29208:22: warning: assignment to âstruct sk_buff *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
29208 | segs = skb_gso_segment(skb, features);
| ^
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/r8168/8.051.02/build/src/r8168_n.o] Error 1
make: *** [Makefile:2032: /var/lib/dkms/r8168/8.051.02/build/src] Error 2
/var/lib/dkms/nvidia/530.41.03/build/make.log
[gamer@chimeraos ~]$ cat /var/lib/dkms/nvidia/530.41.03/build/make.log
DKMS make.log for nvidia-530.41.03 for kernel 6.4.12-chos1-chimeraos-1 (x86_64)
Sun Aug 27 09:00:04 PM IST 2023
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 13.1.1 20230429
You are using: cc (GCC) 13.1.1 20230429
SYMLINK /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-kernel.o
SYMLINK /var/lib/dkms/nvidia/530.41.03/build/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: set_memory_uc
CONFTEST: list_is_first
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: pde_data
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_map_page_attrs
CONFTEST: dma_attr_macros
CONFTEST: write_cr4
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_rebar_get_possible_sizes
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write_has_pointer_pos_arg
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_bpmp_send_receive
CONFTEST: tegra_get_platform
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: pgprot_decrypted
CONFTEST: seq_read_iter
CONFTEST: cc_mkdec
CONFTEST: unsafe_follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: add_memory_driver_managed
CONFTEST: device_property_read_u64
CONFTEST: devm_of_platform_populate
CONFTEST: of_dma_configure
CONFTEST: of_property_count_elems_of_size
CONFTEST: of_property_read_variable_u8_array
CONFTEST: of_property_read_variable_u32_array
CONFTEST: i2c_new_client_device
CONFTEST: i2c_unregister_device
CONFTEST: of_get_named_gpio
CONFTEST: devm_gpio_request_one
CONFTEST: gpio_direction_input
CONFTEST: gpio_direction_output
CONFTEST: gpio_get_value
CONFTEST: gpio_set_value
CONFTEST: gpio_to_irq
CONFTEST: icc_get
CONFTEST: icc_put
CONFTEST: icc_set_bw
CONFTEST: dma_buf_export_args
CONFTEST: dma_buf_ops_has_kmap
CONFTEST: dma_buf_ops_has_kmap_atomic
CONFTEST: dma_buf_ops_has_map
CONFTEST: dma_buf_ops_has_map_atomic
CONFTEST: dma_buf_has_dynamic_attachment
CONFTEST: dma_buf_attachment_has_peer2peer
CONFTEST: dma_set_mask_and_coherent
CONFTEST: devm_clk_bulk_get_all
CONFTEST: get_task_ioprio
CONFTEST: mdev_set_iommu_device
CONFTEST: offline_and_remove_memory
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: ioasid_get
CONFTEST: mm_pasid_set
CONFTEST: migrate_vma_setup
CONFTEST: mmget_not_zero
CONFTEST: iommu_sva_bind_device_has_drvdata_arg
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages
CONFTEST: get_user_pages_remote
CONFTEST: pin_user_pages_remote
CONFTEST: pin_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_connector_has_vrr_capable_property
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: nvhost_dma_fence_unpack
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_present_pxm_to_node
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_present_i2c_bus_status
CONFTEST: is_export_symbol_present_tegra_fuse_control_read
CONFTEST: is_export_symbol_present_tegra_get_platform
CONFTEST: is_export_symbol_present_pci_find_host_bridge
CONFTEST: is_export_symbol_present_int_active_memcg
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: sysfs_slab_unlink
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: pci_dev_has_ats_enabled
CONFTEST: remove_memory_has_nid_arg
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
CONFTEST: num_registered_fb
CONFTEST: pci_driver_has_driver_managed_dma
CONFTEST: vm_area_struct_has_const_vm_flags
CONFTEST: mm_context_t
CONFTEST: backing_dev_info
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: migrate_vma_added_flags
CONFTEST: drm_bus_present
CONFTEST: migrate_device_range
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_crtc_state_has_vrr_enabled
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_crtc_state_has_no_vblank
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: drm_has_hdr_output_metadata
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_master_has_leases
CONFTEST: drm_file_get_master
CONFTEST: drm_modeset_lock_all_end
CONFTEST: drm_connector_lookup
CONFTEST: drm_connector_put
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: vfio_pci_core_available
CONFTEST: cmd_uphy_display_port_init
CONFTEST: cmd_uphy_display_port_off
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: ib_peer_memory_symbols
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-pci.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-dmabuf.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-nano-timer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-acpi.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-cray.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-dma.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-i2c.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-mmap.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-p2p.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-pat.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-procfs.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-usermap.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-vm.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-vtophys.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/os-interface.o
/var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-acpi.c: In function ânv_acpi_notifier_call_chain_handlerâ:
/var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-acpi.c:103:17: warning: unused variable ânvâ [-Wunused-variable]
103 | nv_state_t *nv = NV_STATE_PTR(nvl);
| ^~
/var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-acpi.c:101:17: warning: unused variable âspâ [-Wunused-variable]
101 | nv_stack_t *sp = NULL;
| ^~
/var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-mmap.c:303:5: warning: conflicting types for ânv_encode_cachingâ due to enum/integer mismatch; have âint(pgprot_t *, NvU32, nv_memory_type_t)â {aka âint(struct pgprot *, unsigned int, nv_memory_type_t)â} [-Wenum-int-mismatch]
303 | int nv_encode_caching(
| ^~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/530.41.03/build/common/inc/nv-linux.h:1734,
from /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-mmap.c:27:
/var/lib/dkms/nvidia/530.41.03/build/common/inc/nv-proto.h:46:13: note: previous declaration of ânv_encode_cachingâ with type âint(pgprot_t *, NvU32, NvU32)â {aka âint(struct pgprot *, unsigned int, unsigned int)â}
46 | int nv_encode_caching (pgprot_t *, NvU32, NvU32);
| ^~~~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/os-mlock.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/os-pci.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/os-registry.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/os-usermap.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-modeset-interface.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-pci-table.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-kthread-q.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-memdbg.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-ibmnpu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-report-err.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-rsync.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-msi.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-caps.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv-frontend.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nv_uvm_interface.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nvlink_linux.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/nvlink_caps.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/linux_nvswitch.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/procfs_nvswitch.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia/i2c_nvswitch.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_common.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_linux.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/nvstatus.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/nvCpuUuid.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/nv-kthread-q.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/nv-kthread-q-selftest.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_tools.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_global.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu_isr.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_procfs.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_va_space.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_va_space_mm.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu_semaphore.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_mem.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_rm_mem.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_channel.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_lock.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hal.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_range_tree.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_rb_tree.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_range_allocator.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_va_range.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_va_policy.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_va_block.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_range_group.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu_replayable_faults.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu_non_replayable_faults.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu_access_counters.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_events.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_module.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pte_batch.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_tlb_batch.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_push.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pushbuffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_thread_context.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_tracker.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_maxwell.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_maxwell_host.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_maxwell_ce.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_maxwell_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_maxwell_fault_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_maxwell_access_counter_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pascal.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pascal_ce.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pascal_host.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pascal_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pascal_fault_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_volta_ce.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_volta_host.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_volta_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_volta.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_volta_fault_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_volta_access_counter_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_turing.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_turing_access_counter_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_turing_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_turing_host.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_turing_fault_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ampere.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ampere_ce.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ampere_host.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ampere_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hopper.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hopper_fault_buffer.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hopper_ce.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hopper_host.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hopper_mmu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ada.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_policy.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_utils.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_kvmalloc.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pmm_sysmem.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pmm_gpu.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_migrate.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_populate_pageable.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_migrate_pageable.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_map_external.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_user_channel.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_hmm.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_heuristics.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_thrashing.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_prefetch.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ats.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ats_ibm.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ats_faults.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_test_rng.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_range_tree_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_range_allocator_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_gpu_semaphore_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_mem_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_rm_mem_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_page_tree_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_tracker_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_push_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_channel_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_ce_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_host_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_lock_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_utils_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_kvmalloc_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pmm_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_pmm_sysmem_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_events_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_perf_module_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_get_rm_ptes_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_fault_buffer_flush_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_peer_identity_mappings_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_va_block_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_range_group_tree_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_thread_context_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-uvm/uvm_rb_tree_test.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-modeset/nvidia-modeset-linux.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-modeset/nv-kthread-q.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-drv.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-utils.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-crtc.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-encoder.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-connector.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-gem.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-fb.o
CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-modeset.o
/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-drv.c: In function ânv_drm_update_drm_driver_featuresâ:
/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-drv.c:1439:18: error: âstruct drm_driverâ has no member named âdumb_destroyâ
1439 | nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy;
| ^
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-drv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-crtc.c: In function â__nv_drm_plane_atomic_destroy_stateâ:
/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-crtc.c:678:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
678 | struct nv_drm_plane_state *nv_drm_plane_state =
| ^~~~~~
make[1]: *** [Makefile:2032: /var/lib/dkms/nvidia/530.41.03/build] Error 2
make: *** [Makefile:82: modules] Error 2
/var/lib/dkms/r8152/2.16.3.20221209/build/make.log
[gamer@chimeraos ~]$ cat /var/lib/dkms/r8152/2.16.3.20221209/build/make.log
DKMS make.log for r8152-2.16.3.20221209 for kernel 6.4.12-chos1-chimeraos-1 (x86_64)
Sun Aug 27 09:01:07 PM IST 2023
CC [M] /var/lib/dkms/r8152/2.16.3.20221209/build/src/r8152.o
/var/lib/dkms/r8152/2.16.3.20221209/build/src/r8152.c: In function âr8152_csum_workaroundâ:
/var/lib/dkms/r8152/2.16.3.20221209/build/src/r8152.c:2074:24: error: implicit declaration of function âskb_gso_segmentâ; did you mean âskb_gso_resetâ? [-Werror=implicit-function-declaration]
2074 | segs = skb_gso_segment(skb, features);
| ^~~~~~~~~~~~~~~
| skb_gso_reset
/var/lib/dkms/r8152/2.16.3.20221209/build/src/r8152.c:2074:22: warning: assignment to âstruct sk_buff *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
2074 | segs = skb_gso_segment(skb, features);
| ^
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/r8152/2.16.3.20221209/build/src/r8152.o] Error 1
make: *** [Makefile:2032: /var/lib/dkms/r8152/2.16.3.20221209/build/src] Error 2
It didn't make a lot of sense to me.
I checked the r8152.c file and it does have #include
@ruineka is it possible to test the OS image by building it from scratch with this change in it? That way we don't need to try dynamic kernel swapping. I really want to replace my Windows 11 with ChimeraOS. I miss the pause/resume feature for games running on the SteamDeck which Windows doesn't have but ChimeraOS does.
@ruineka is it possible to test the OS image by building it from scratch with this change in it? That way we don't need to try dynamic kernel swapping. I really want to replace my Windows 11 with ChimeraOS. I miss the pause/resume feature for games running on the SteamDeck which Windows doesn't have but ChimeraOS does.
It would be easier to test on another distro like Manjaro most likely. You shouldn't run into the issues created by how ChimeraOS manages the initramfs and kernel. Once the fix is confirmed to work we can get another unstable build going that will include the patch.
I'll try to test the patch in Manjaro. Thanks.
@ruineka I tried the change on Manjaro but it did not work. These are the steps i took:
The audio did not work after restart. I tried it a couple of times.
I also tried hdajackretask but 0x02 and 0x03 pins did not show up on it on any linux distro.
It looks like that patch has the typo. Look at the function where it says ox2pro_pin. I put pin instead of pins so it's not called properly. I'm on my phone ATM so I can't look at it in a clean way.
It looks like that patch has the typo. Look at the function where it says ox2pro_pin. I put pin instead of pins so it's not called properly. I'm on my phone ATM so I can't look at it in a clean way.
I noticed the typo and fixed it in my patch. Its still not working, not sure why. All the patches I've tried so far, i had fixed the "pin" -> "pins" issue.
alc245_fixup_oxp2pro_pin
should be alc245_fixup_oxp2pro_pins
It looks like that patch has the typo. Look at the function where it says ox2pro_pin. I put pin instead of pins so it's not called properly. I'm on my phone ATM so I can't look at it in a clean way.
I noticed the typo and fixed it in my patch. Its still not working, not sure why. All the patches I've tried so far, i had fixed the "pin" -> "pins" issue.
Ah okay thanks. I'll take a look at it again later.
It looks like that patch has the typo. Look at the function where it says ox2pro_pin. I put pin instead of pins so it's not called properly. I'm on my phone ATM so I can't look at it in a clean way.
I noticed the typo and fixed it in my patch. Its still not working, not sure why. All the patches I've tried so far, i had fixed the "pin" -> "pins" issue.
Ah okay thanks. I'll take a look at it again later.
Thanks a mil! Please let me know if you need help to test anything. I have windows, chimeraOS, holoISO and manjaro installed in separate SSDs. I can boot swap to test whenever you need me to. Thanks again
Hi @ruineka, I tried steps from this post i found https://wiki.darkremix.net/en/aokzoe/ChimeraOS-Guide which did not work but while testing, i accidentally booted into Windows then restarted into ChimeraOS and the audio started working. But on fresh boot, it doesn't work again.
Hey team, Any updates on this?
The driver says Family 17/19 HD Audio Controller Pro Wired headphones and bluetooth speakers work but no audio out through internal speakers