IASL Error when recompiling dsdt.dsl (in order to resolve ACPI Error: Aborting method _SB.WMID.WQBE due to previous error (AE_AML_BUFFER_LIMIT) ) https://askubuntu.com/questions/1568337/iasl-error-when-recompiling-dsdt-dsl-in-order-to-resolve-acpi-error-aborting-m

I am encountering the following error

ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Index (0x000000032) is beyond end of object (length 0x32) (20250807/exoparg2-393)

Jul 11 15:03:18 localhost kernel: ACPI Error: Aborting method _SB.WMID.WQBE due to previous error (AE_AML_BUFFER_LIMIT) (20250807/psparse-529)

on an HP Spectre X360. A perfectly working solution to resolve that problem is given by Luiz Agamez in Full system freeze on boot with charger connected — ACPI BIOS Error (AE_AML_BUFFER_LIMIT) on HP Victus 15-fb3xxx

When I follow the steps described:

Steps:

  1. sudo acpidump -b and confirmed WQBZ lives in dsdt.dat.

  2. iasl -d dsdt.dat to decompile.

  3. In the WQBZ method, inserted an early Return (DerefOf (N012 [Arg0])) right after the local variable initialization, before the loops that overflow the buffer — effectively neutralizing the method (I don't need the HP WMI feature it feeds on Linux).

  4. Recompiled with iasl -tc dsdt.dsl.

  5. Packed into a cpio at kernel/firmware/acpi/dsdt.aml and loaded it via GRUB_EARLY_INITRD_LINUX_CUSTOM in /etc/default/grub.

Key gotcha: the first attempt didn't apply — the kernel found the table in initrd but kept using the original. The fix was incrementing the OEM Revision in the DefinitionBlock (from 0x01072009 to 0x01072010). The kernel silently ignores a DSDT override whose revision isn't higher than the firmware's. After bumping it, the override applied.

recompilation with iasl in step 4 gives several remarks, warnings and also, unfortunately, 8 errors.

Here is the output of step 2

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20251212
Copyright (c) 2000 - 2025 Intel Corporation

File appears to be binary: found 73192 non-ASCII characters, disassembling
Binary file appears to be a valid ACPI table, disassembling
Input file dsdt.dat, Length 0x33DD2 (212434) bytes
ACPI: DSDT 0x0000000000000000 033DD2 (v02 HPQOEM 827F     01072009 ACPI 20160422)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
 Warning - Emitting ASL code "External (BNUM)"
           This is a conflicting declaration with some other declaration within the ASL code.
           This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output:    dsdt.dsl - 1572703 bytes

In the file dsdt.dsl I have removed the line External (BNUM) and added the line mentioned in step 3 above. I get the following error output: https://drive.google.com/file/d/1VH26vi5cdDM-DdoHrgJpCS2mcF_HjDm1/view?usp=drive_link. Here is the dsdt.dsl file I am trying to recompile with iasl: https://drive.google.com/file/d/1i3mBBsEl2JrX5-kEBM0llZH7kVcO-1xw/view?usp=drive_link

Any help is greatly appreciated as the ACPI BIOS error is impactful! This is very well described in the abovementioned post of Luiz Agamez. In my specific case, the fan is not working properly, causing the battery to continuously overheat. Also, the system reboots after the set 10' of idle time, although the action set on idle time is sleep. And lastly, when shutting down, the system automatically restarts. The only way I can shut down the system is with the power on/off button. All of these I have lived with for the past three months, since my last kernel upgrade from 6.8.1 to 6.19.10.1, but especially the fan not working is an issue! And if there is a solution at hand, I find it a shame not to be able to implement it. Thanks again!

I will definitely also need help with Step 5 and incrementing the OEM revision, but I'll take the steps one by one :-)

Midnight Commander - Print last working directory https://askubuntu.com/questions/1568336/midnight-commander-print-last-working-directory

In Ubuntu 26.04 there is a new version 4.8.33 and parameter -P Print last working directory does not work any more.

This is very inconvenient because when you exit Midnight Commander, you end up in the directory you were in when you started it. The expected behavior is that you should end up in the directory you were in most recently before exiting.

USB Headphones recognized but no sound coming from them https://askubuntu.com/questions/1568335/usb-headphones-recognized-but-no-sound-coming-from-them

After a little bit of tweaking I managed to get my headphones recognized by the system.

Problem is that neither from apps nor from the testing I'm able to hear sounds.

I've tried every solution found online but they don't work.

The problem was happening indeed on Debian. On Windows 11 they just worked fine.

Thanks in advance for anyone who can help me.

Can only logine via remote ssh https://askubuntu.com/questions/1568334/can-only-logine-via-remote-ssh

so my

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 26.04 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 LTS (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo

Has been running just fine, I did try using the pi it's HDD is connected to for other purpose recenly now when I try to open Ubuntu I get the desktop login When I click my username and put in my passwork after checking it is correct, goes away as if it right but then a black screen and comes back to the login again.

I did try CTRL+ALT+F4 goes into a terminal login but comes back and says incorrect password.

From a remote terminal I am able to ssh to the machine and login correctly.

Suggestions please.

My Ardour is not seeing my Scarlette 2i2 and it seems to be because of a broken ALSA file https://askubuntu.com/questions/1568333/my-ardour-is-not-seeing-my-scarlette-2i2-and-it-seems-to-be-because-of-a-broken

Ardour is not seeing my Scarlette 2i2 in the input, so I am unable to record. A certain error message pops up when I open the app manually through the terminal (I run it on Linux).

Ardour: [ERROR]: AudioEngine: cannot load module "/snap/ardour-snap/33/usr/lib/ardour9/backends/libalsa_audiobackend.so" (libOSSlib.so: cannot open shared object file: No such file or directory)

I've copied the message into Gemini, and it told me that a certain file was broken. Gemini is telling me to download the "native binary version", but that version is older (5.0), and my files were created in a newer Ardour version. I also used to have the binary version, and it kept crashing on me, which is why I switched to the current one. I appreciate any help with this problem, and I apologize in advance if any of the technical wording is bad (I have little experience with Linux software)

Fresh install alongside Mint yeilds blank screen [duplicate] https://askubuntu.com/questions/1568332/fresh-install-alongside-mint-yeilds-blank-screen

I hate to ask but I've tried what seems like everything with no luck. I installed Ubuntu alongside my wife's Mint 19 but get blank screen unless it's in recovery mode. It doesn't seem to recognize my monitor but works fine when booting Mint. I've tried updating, installing drivers, cleaning files, dpkg repair, in root installed Nvidia driver 550, tried "sudo ubuntu-drivers install"(said all drivers installed already), looked for additional drivers in software updater and said there wasn't any, made sure secure boot is off, and just about everything I could find online. Just tried a reinstall and still nothing. I've been using Linux for 15 years with very few problems. I'm too old to be real techy but have been able to figure most things out eventually. Feel free to talk down to me. Any help would be appreciated. Lenovo ideacentre 310S Ubuntu 24.04.4 LTS Proccessor AMD A9-9425 RADEON R3, 5 COMPUTE CORES 2C+3G X 2 Firmware O2HKT64A Kernel: Linux 6.17.0-35-generic Let me know what else I'd need to show here. Thanks!

Connect Digial8 Camcorder to Linux PC https://askubuntu.com/questions/1568331/connect-digial8-camcorder-to-linux-pc

I am trying to connect a Sony DCR-TRV120 Digital8 camcorder (from ~2000) via its FireWire iLink DV In/Out interface to an Ubuntu PC to transfer old Digital8 / video Hi8 tape recorded video to my PC. I am receiving an Error: no camera exits message with each dvgrab attempt. I have be following several of the Ask Ubuntu Q&As, but have not been successful.

Here is some information on my setup:

  • Sony DCR-TRV120 Digital8 camcorder, using digital tape

  • Intel based desktop PC

  • IEEE-1394 PCI (plug-in) card (Installed after Linux installation)

  • Cable connections: FireWire 400 4-pin into camcorder; FireWire 400 6-pin into IEEE-1394 PCI card, installed in PC

  • Ubuntu 24.04.4 LTS

Results of lspci | grep -E -i "firewire":

03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 \[Fire II(M)\] IEEE 1394 OHCI Controller (rev 80)

Results of lsmod | grep firewire:

firewire_ohci          65536  0
firewire_core         229376  1 firewire_ohci
crc_itu_t              12288  1 firewire_core

Results of sudo dvgrab -i card=0:

  • NOTE: Tried card 0 & card 1
rom1394_0 warning: read failed: 0x0000fffff0000414
error reading config rom directory for node 0
Error: no camera exists
HDMI External monitor NOT working, Nvidia https://askubuntu.com/questions/1568330/hdmi-external-monitor-not-working-nvidia

I have HP z book fury 15 G8, I installed Ubuntu 26.04 and updated the software, disabled secure boot, Nvidia graphics driver installed, Nvidia-smi gives me my card correctly, when I connect the HDMI the system shows me in the settings that I have a second monitor, and showing all it's info's but the external monitor not working and gives no HDMI connected..

I tried to install latest drivers and also tried to update the firmware, but did not fix my issue.

fsck is taking days after SSD corruption https://askubuntu.com/questions/1568325/fsck-is-taking-days-after-ssd-corruption

I have a corrupted SSD, and my lvm volume is not booting.

I am running:

Ubuntu Server 24.04
2 SSDs in a lvm, 1 TB teamGroup, 2 TB patriot 220
64 GB RAM

It started with:

input/output errors on all commands, most running processes halted.

I checked online and got the info that this can be a disk issue.

I rebooted to initramfs because one of the disks in the lvm volume was not found. the disk is the Patriot 2 TB. The disk appears fine in BIOS, and smart values when checking with live USB.

I used a live USB to check the volume, try to activate it, check the disks, and event mount it and explore it's contents. All worked fine!

I tried to boot again, results in the sata6 (the Patriot SSD) not responding and being downgraded to 3.0 Gbps, then dropped, which resulted in it not being found as part of the llvm.

I changed the SSD cable from one port to another and adjusted its placement and rebooted, but a fsck from initramfs failed.

I booted from live USB and tried to do the fsck from there after mounting the volume. This has not completed, it has been 2 days and it is connecting inodes to /lost+found

Is this normal? Should I wait for fsck to finish?

Why can't I use GParted and get the error cannot open display https://askubuntu.com/questions/1568324/why-cant-i-use-gparted-and-get-the-error-cannot-open-display

I'm using Ubuntu 24.04 LTS server and needed to increase the used space to install Ubuntu 22.04. The VM runs on Oracle VirtualBox for testing purposes

After installing GParted and wanted to use it, I got errors like these.

Gtk-WARNING **: 16:49:28.714: cannot open display: appears
Checking the installed software:
x11-common is already the newest version (1:7.7+23ubuntu3).
xauth is already the newest version (1:1.1.2-1build1).

Then why can't GParted open the graphic environment to display the program? I don't use the desktop version. I tried many proposed solutions, without any success.

Can't go to either the boot menu or BIOS https://askubuntu.com/questions/1568318/cant-go-to-either-the-boot-menu-or-bios

I installed Lubuntu on an Acer laptop a while ago. It is not dual booted, though it had Windows on it before Lubuntu. It is also encrypted if that matters.

I am unable to access any boot functions other than grub. I have tried every button, even the combination to factory reset the computer, but it does not work. Grub and Lubuntu boot fine.

Using grub to access Recovery mode I tried systemctl reboot --firmware-setup to which I got the response: Cannot indicate to EFI to boot into setup mode: Firmware does not support boot into firmware.

I searched online for a while, and the only forum I found with something I could try had this command: [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS to which I got the response BIOS, which is likely my problem, but as the OP of that forum did not get that response, I am unsure of what to do from here.

Signing VirtualBox 7.2.6 kernels on Ubuntu 26.04 https://askubuntu.com/questions/1568315/signing-virtualbox-7-2-6-kernels-on-ubuntu-26-04

I am trying to run a Windows 10 VM through VirtualBox. When I try to run it, I get an error message telling me the kernel driver is not set up or installed, and to run modprobe vboxdrv as root. Doing so gives me an error message saying that

'vboxdrv' could not be inserted because the key was rejected by the service.

Unfortunately, I can't seem to find any info on how to sign the keys on Ubuntu 26.04, so any help is appreciated.

The VM starts and runs just fine if I disable Secure Boot, but I'm not proficient enough with computers to know if leaving that off is safe for my system.

EDIT: I downloaded VirtualBox from the App Center as a Debian package, and the Windows 10 ISO from Microsoft's website.

Ubuntu try is not loading on a mini PC https://askubuntu.com/questions/1568314/ubuntu-try-is-not-loading-on-a-mini-pc

I downloaded a bootable Ubuntu for my HP ProDesk 600 G3, however it doesn't load. It keeps getting stuck during package get 5. Can someone please let me know which version will work with my mini PC? I am not installing Ubuntu. I'm using it to install Home Assistant on a bare storage drive.

24.04 all three browsers are fubarred https://askubuntu.com/questions/1568312/24-04-all-three-browsers-are-fubarred

Upgraded from 20.04 -> 22.04 -> 24.04
All browsers are SNAFU
Chrome and Opera display is a totally cocked. They're flickering or all pixeled out randomly. It barely works. I try typing anything into the search field, and I barely can type anything.

Firefox works mostly except a few times a day the entire display goes black and then acts as if I'm logged out and I log back in. Or it just stay black for over 5 minutes, so I unplug the power and battery and wait another 5 minutes to turn the entire laptop back on.

I did this:

whereis firefox

firefox: /usr/bin/firefox /snap/bin/firefox

firefox removes

whereis firefox 
/usr/bin/firefox

sudo snap remove --purge firefox
snap "firefox" is not installed

sudo apt install firefox
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firefox is already the newest version (1:1snap1-0ubuntu5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt clean

snap install firefox  
firefox 152.0.5-1 from Mozilla✓ installed  

I guess I just have to put up with the display blanking out daily. At least now can read a window and type.

Full system freeze on boot with charger connected — ACPI BIOS Error (AE_AML_BUFFER_LIMIT) on HP Victus 15-fb3xxx https://askubuntu.com/questions/1568308/full-system-freeze-on-boot-with-charger-connected-acpi-bios-error-ae-aml-buff

I have an HP Victus 15-fb3xxx (Ryzen 7 7445HS, RTX 3050 laptop, BIOS F.14) running Ubuntu 26.04 (kernel 7.0.0-27-generic). The system freezes completely (hard freeze, requires forced shutdown) consistently when booting with the charger connected, even without any heavy workload.

In journalctl -b -1 -p err from the boot right before the freeze, I consistently see this:

kernel: No irq handler for 1.55
kernel: No irq handler for 2.55
[...]
kernel: ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Index (0x000000032) is beyond end of object (length 0x32) (20251212/exoparg2-393)
kernel: ACPI Error: Aborting method \_SB.WMID.WQBZ due to previous error (AE_AML_BUFFER_LIMIT) (20251212/psparse-529)
kernel: ACPI Error: Aborting method \_SB.WMID.WQBE due to previous error (AE_AML_BUFFER_LIMIT) (20251212/psparse-529)

WQBZ/WQBE appear to be HP-proprietary WMI methods related to temperature/power-mode reporting (also queried by the NVIDIA driver via PlatformRequestHandler, which in a separate log reports failed to get target temp from SBIOS).

I've already ruled out the WiFi driver (RTL8852BE-VT, rtw89_8852bte module) as the cause of this specific freeze — it had a separate, unrelated power-save-mode bug that I already fixed with rtw89_core.disable_ps_mode=1 via GRUB, and it no longer shows up in recent logs.

Concrete questions:

  • Has anyone with an HP laptop (Victus, Omen, or similar) seen this exact AE_AML_BUFFER_LIMIT error on the WQBZ/WQBE methods, and correlated it with freezes specifically when the charger is connected/detected?
  • Is there a kernel parameter or a way to blacklist the hp_wmi module that mitigates this without losing critical functionality (fan control, function keys)?
  • Has HP fixed this ACPI table bug in any BIOS version newer than F.14 for this laptop line?

Happy to attach a full acpidump if that helps diagnose it further.


Update (July 10):

Some important corrections and new findings since posting:

  • The charger is NOT the trigger. I initially correlated the freeze with the charger, but it also happens on battery, with no charger connected, after ~40 minutes of normal uptime. So the charger connection was a red herring — please disregard that part of the title.

  • NVIDIA D3 power-state failure found. On one freeze I caught this on screen: nvidia 0000:01:00.0: Unable to change power state from D3hot to D0, device inaccessible (plus the same for snd_hda_intel and an nvidia-modeset HDMI-0 pixel clock error). I mitigated it with nvidia.NVreg_DynamicPowerManagement=0x00 in GRUB (confirmed Runtime D3 status: Disabled), but the freeze still occurs, so this was a symptom, not the root cause.

  • The freeze leaves no trace in the local journal. journalctl -b -1 simply cuts off mid-activity with no error, oops, or panic — a silent hard hang. To capture it, I've set up netconsole / live journal streaming to a second machine over the network. Still waiting to catch a freeze with usable output.

  • The ACPI AE_AML_BUFFER_LIMIT errors on WQBZ/WQBE remain present in every boot regardless of the mitigations above.

Current GRUB cmdline: rtw89_core.disable_ps_mode=1 rtw89_pci.disable_aspm_l1=1 rtw89_pci.disable_aspm_l1ss=1 pcie_aspm=off nvidia.NVreg_DynamicPowerManagement=0x00

Will update again once I capture the hang over netconsole and/or after testing noapic and a BIOS update to F.15.


Update 2 (July 10, later):

Caught a hard freeze with actual output on screen this time (previously it was a silent hang with nothing in the local journal). The screen showed:

kernel: nvidia 0000:01:00.0: Unable to change power state from D3hot to D0, device inaccessible kernel: snd_hda_intel 0000:01:00.1: Unable to change power state from D3hot to D0, device inaccessible nvidia-modeset: ERROR: GPU:0: Failure reading maximum pixel clock value for display device HDMI-0. kernel: BUG: unable to handle page fault for address: ffffcb14037700d0

So the D3hot→D0 resume failure I mentioned in Update 1 isn't just a cosmetic error — it culminates in a real kernel page fault (likely nvidia-modeset dereferencing an invalid pointer after the device dropped off the PCI bus), which is what causes the full hang.

Root cause of the gap: nvidia.NVreg_DynamicPowerManagement=0x00 (which I'd already set) only disables NVIDIA's own internal power management — it does NOT disable the kernel's generic PCI runtime power management, which is a separate control. Checking:

cat /sys/bus/pci/devices/0000:01:00.0/power/control

returned auto, meaning the kernel could still autosuspend the GPU independently of the NVIDIA driver setting.

Fix applied: forced it to on and made it persistent via udev:

echo on | sudo tee /sys/bus/pci/devices/0000:01:00.0/power/control

/etc/udev/rules.d/99-nvidia-no-pm.rules: SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{power/control}="on"

Currently monitoring to see if this closes the gap. Also using netconsole/live journal streaming to a second machine to catch any future freeze with full context, since local journalctl doesn't survive a hang this violent.


Update 3 (July 11):

Progress and new findings:

The freeze produces a real kernel page fault. After disabling runtime PM at the PCI level (echo on > /sys/bus/pci/devices/0000:01:00.0/power/control, made persistent via udev rule + systemd service), the freeze still occurred, and I caught this on screen before the black-screen hang:

nvidia 0000:01:00.0: Unable to change power state from D3hot to D0, device inaccessible snd_hda_intel 0000:01:00.1: Unable to change power state from D3hot to D0, device inaccessible nvidia-modeset: ERROR: GPU:0: Failure reading maximum pixel clock value for display device HDMI-0. BUG: unable to handle page fault for address: ffffcb14037700d0

So the failed D3hot->D0 transition leads to a kernel page fault. power/control was confirmed on at freeze time, so standard runtime PM wasn't the trigger — something else is still driving the GPU into D3.

Already in hybrid mode. prime-select query returns on-demand, so the hybrid configuration by itself does not prevent the freezes. HP Support has confirmed on their forums that Victus laptops aren't officially validated for Linux (GPU/audio/thermal only validated for Windows 11), consistent with the ACPI firmware bug being the root cause.

Currently testing noapic (boot logs show repeated No irq handler for X.55 messages, so interrupt routing via the broken ACPI tables seemed worth ruling out). Current cmdline:

rtw89_core.disable_ps_mode=1 rtw89_pci.disable_aspm_l1=1 rtw89_pci.disable_aspm_l1ss=1 pcie_aspm=off nvidia.NVreg_DynamicPowerManagement=0x00 noapic

Next isolated test, only if noapic proves insufficient, is fully disabling the dGPU via prime-select intel. The AE_AML_BUFFER_LIMIT / WQBZ/WQBE ACPI errors remain constant across every boot regardless of any mitigation.


Update (July 11) — root cause pinpointed in the ACPI method:

Captured the full AML failure via dmesg. The WQBZ method aborts on an off-by-one buffer access:

ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Index (0x32) is beyond end of object (length 0x32) (20251212/exoparg2-393) Initialized Local Variables for Method [WQBZ]: Local1: Integer 0x32 Local5: Integer 0x32 ACPI Error: Aborting method _SB.WMID.WQBZ due to previous error (AE_AML_BUFFER_LIMIT) ACPI Error: Aborting method _SB.WMID.WQBE due to previous error (AE_AML_BUFFER_LIMIT) hp_bioscfg: Returned error 0x3, "Invalid command value/Feature not supported"

The object length is 0x32 (50) and the method tries to index element 0x32 — one past the last valid index (0–49). A classic off-by-one in HP's AML bytecode. This is a firmware bug, not fixable via kernel parameters.

Things I've now ruled out as the freeze cause:

  • WiFi driver (rtw89) — mitigated, no longer in logs.
  • NVIDIA dGPU — freeze still happens with prime-select intel (dGPU fully off, nvidia-smi reports no device).
  • External mouse/keyboard — they enumerate cleanly (Dell KB216, generic USB optical mouse), no i2c/usb errors tied to them.
  • noapic — tested and removed; it introduced new amd_gpio / atkbd / i2c_designware controller timed out errors without fixing the hang.
  • PCI runtime PM forced to on — freeze persists regardless.

Also note amdgpu 0000:06:00.0: Runtime PM not available — even the integrated AMD GPU can't do runtime PM here, consistent with the ACPI power subsystem being broken at the firmware level.

Current plan: attempt a BIOS update to F.15 (via HP's USB flash mechanism if supported, to avoid needing Windows), since the root cause is in firmware. If HP hasn't fixed the WQBZ off-by-one in F.15, the fallback is an ACPI table override (acpidump + iasl) patching the method. Will report back.


Update (July 11) — WORKAROUND APPLIED (pending real-world confirmation):

Since HP doesn't provide a Linux BIOS update path for this model (and BIOS updates on Victus laptops have a documented brick risk), I patched the broken method directly via a DSDT override loaded from initrd. No firmware flashing, fully reversible.

Steps:

  1. sudo acpidump -b and confirmed WQBZ lives in dsdt.dat.
  2. iasl -d dsdt.dat to decompile.
  3. In the WQBZ method, inserted an early Return (DerefOf (N012 [Arg0])) right after the local variable initialization, before the loops that overflow the buffer — effectively neutralizing the method (I don't need the HP WMI feature it feeds on Linux).
  4. Recompiled with iasl -tc dsdt.dsl.
  5. Packed into a cpio at kernel/firmware/acpi/dsdt.aml and loaded it via GRUB_EARLY_INITRD_LINUX_CUSTOM in /etc/default/grub.

Key gotcha: the first attempt didn't apply — the kernel found the table in initrd but kept using the original. The fix was incrementing the OEM Revision in the DefinitionBlock (from 0x01072009 to 0x01072010). The kernel silently ignores a DSDT override whose revision isn't higher than the firmware's. After bumping it, the override applied.

Result: dmesg | grep AE_AML_BUFFER_LIMIT is now empty. WQBZ/WQBE no longer abort. Confirmed the patch survives initramfs regeneration (e.g. after prime-select), since the cpio is prepended independently.

NVIDIA is back in on-demand mode with the patch active. Now testing under the conditions that previously triggered the freeze (4K video, charging, sleep/resume) to confirm this actually eliminates the hangs and not just the log error. Will report back after a few days of uptime.


Update (July 11) — additional trigger found + note on HP Linux support:

After the DSDT patch eliminated the WQBZ freeze, the system was stable for general use. However, I hit a separate, more specific hang: it froze once while playing HD video on the external HDMI monitor. Notably, journalctl -b -1 was completely clean afterwards (silent hard hang, no ACPI error, no D3hot trace) — so this is a different mechanism from the WQBZ firmware bug, which remains fixed (AE_AML_BUFFER_LIMIT stays absent).

Since the HDMI port on this Victus is wired to the NVIDIA dGPU, HD video decode + HDMI output stresses the NVIDIA path specifically. Disabling Chrome's hardware acceleration (chrome://settings/system -> turn off "Use graphics acceleration when available") appears to prevent it — several HD videos have played without a freeze so far. This forces video decode off the NVIDIA GPU. Still confirming with longer uptime.

I also disabled system suspend entirely (systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target), because the NVIDIA D3hot->D0 resume failure would kill the external display on wake. On a hybrid NVIDIA laptop with this firmware, avoiding suspend proved more reliable than fighting the resume path.

Note for others considering this hardware on Linux: the root cause here is a firmware-level off-by-one in HP's own ACPI/WMI bytecode (WQBZ/WQBE), present verbatim across multiple HP models (another user confirmed the identical index on a Spectre X360). HP's official position is that Victus laptops are only validated for Windows, and there is no Linux BIOS update path — so fixing this requires decompiling and patching the DSDT by hand, which is out of reach for most users. The workarounds above make the machine fully usable on Linux, but it's worth being aware going in that this class of HP gaming laptop needs manual firmware-level intervention to run Linux reliably. Hopefully documenting the full fix here spares the next person the multi-hour debugging session.

Fixed resolution after updating https://askubuntu.com/questions/1568300/fixed-resolution-after-updating

My screen resolution has defaulted to 800 x 600 after an update and I cannot change it. I have an Nvidia 3060 GPU. I am running Ubuntu 26.04. Kernel is Linux 7.0.0-27 Generic. In the Systems Details it shows "Software Rendering" under "Graphics". Should it not show the graphics card installed?

GNOME app grid duplicating icons endlessly (Steam, custom .desktop files) — survives full OS reinstall — Framework 13 AMD, Ubuntu 26.04 https://askubuntu.com/questions/1568286/gnome-app-grid-duplicating-icons-endlessly-steam-custom-desktop-files-surv

System info:

  • Framework 13 AMD (Ryzen), Wayland session (GNOME on Ubuntu 26.04 "resolute")
  • Fresh Ubuntu install, ~1 week old
  • Issue previously occurred on Ubuntu 24.04 on the same laptop and was "fixed" only by a full OS reinstall — it has now returned identically on the fresh install

Symptoms:

  • Icons in the GNOME app grid duplicate themselves repeatedly (seen 20-40+ copies of the same app)
  • Confirmed NOT caused by duplicate .desktop files on disk — checked both ~/.local/share/applications/ and /usr/share/applications/, only one file exists per affected app
  • Happens specifically after (re)installing/launching certain apps — most recently reproduced by installing Steam via the official .deb (steam-installer package), which caused ~24 duplicate Steam icons to appear immediately after first launch
  • Previous occurrence (on the old install) affected a custom GNOME extension I built, plus two other apps installed via .desktop files in ~/.local/share/applications/

What I've tried:

  • Confirmed dpkg --print-foreign-architectures / apt install completed with no errors
  • Checked for duplicate .desktop files (none found)
  • About to try: dconf reset -f /org/gnome/shell/app-picker-layout (have not yet confirmed if this fixes it or just temporarily clears it)

Question: Is there a known root cause for org/gnome/shell/app-picker-layout duplicating entries on re-registration of an app, rather than just deduplicating? And is there a way to prevent this from recurring, since a full OS wipe did NOT permanently fix it (it returned after restoring my home folder from backup) — I suspect the corrupted dconf database itself got carried over in the restore rather than being regenerated fresh. Is app-picker-layout stored anywhere outside ~/.config/dconf/user that I should be excluding from backups?

Any pointers to the relevant GNOME Shell bug tracker issue (if this is already known) would also help.


EDIT: Confirmed OS version via lsb_release -a:

Distributor ID: Ubuntu
Description:    Ubuntu 26.04 LTS
Release:        26.04
Codename:       resolute

(Tag corrected from 25.10 — my mistake, posted without verifying first.)

Regarding backup contents (per @guiverc's question): the restore was a full, unfiltered copy of my home folder — specifically ~/.local/share — from an external SSD onto a fresh Ubuntu install. The symlink had been created (accidentally, exact cause unknown) on the old install and was carried over as-is by the restore. This is why it survived what I thought was a clean OS reinstall.

Ubuntu 24.04 forgets wifi credentials after plugging in second SSD https://askubuntu.com/questions/1568285/ubuntu-24-04-forgets-wifi-credentials-after-plugging-in-second-ssd

I have been running Ubuntu 24.04 for about a year on my laptop and connections to several wifi hotspots are saved under the network settings applet. I just tried installing an additional SSD and now the system prompts me for passwords when I try to connect to any of my wifi hotspots which were already save earlier.

Possibly relevant...

  1. I have not yet tried to mount or formatted the new SSD.

  2. I noticed that after just plugging in the new SSD and booting up / is now pointing to the new SSD.

  3. When I unplug the new drive and bootup, the wifi works fine without prompting for the credentials and I can find the credentials under /etc/netplan

Now it is possible that /etc/netplan gets mapped elsewere when adding the new SSD though I think it is unlikely. (Not able to verify it now to avoid wear and tear from opening the laptop... opened thrice already). The YAML files under /etc/netplan are named with GUID/UUIDs is it possible the file name is computed by the system at retrieval time and adding the new SSD changes the computed GUID/UUID?

Synergy package broken - Sub-process /usr/bin/dpkg returned an error code (1) [closed] https://askubuntu.com/questions/1568100/synergy-package-broken-sub-process-usr-bin-dpkg-returned-an-error-code-1

Something went wrong when updating Synergy app and now it's impossible to do anything with the package: the dreaded (at least for me)

Sub-process /usr/bin/dpkg returned an error code (1)

I copy the log when trying to purge it:

(Reading database… 250720 files and directories currently installed.)
Removing synergy (3.6.1)…
production build
[dotenv@17.2.4] injecting env (0) from root/.config/Synergy/.env -- tip: 🛠️  run anywhere with `dotenvx run -- yourcommand`
loaded .env from: /root/.config/Synergy/.env
.env file parsed:  {}
[env] SYNERGY_LOGGER: not set
[env] SYNERGY_FORCE_CORE_LOG_LEVEL: not set
[env] SYNERGY_FORCE_SERVICE_LOG_LEVEL: not set
using log level: INFO
using logger: /root/.local/state/Synergy/synergy.log
skipping node version check in production (current: v22.22.2)
exiting process with code: 1
dpkg: error processing package synergy (--remove):
 old synergy package prerm maintainer script subprocess failed with exit status 1
dpkg: too many errors, stopping
production build
[dotenv@17.2.4] injecting env (0) from root/.config/Synergy/.env -- tip: ⚙️  write to custom object with { processEnv: myObject }
loaded .env from: /root/.config/Synergy/.env
.env file parsed:  {}
[env] SYNERGY_LOGGER: not set
[env] SYNERGY_FORCE_CORE_LOG_LEVEL: not set
[env] SYNERGY_FORCE_SERVICE_LOG_LEVEL: not set
using log level: INFO
using logger: /root/.local/state/Synergy/synergy.log
skipping node version check in production (current: v22.22.2)
exiting process with code: 1
Errors were encountered while processing:
 synergy
Processing was halted because there were too many errors.
Error: Sub-process /usr/bin/dpkg returned an error code (1)

I tried all the basic troubleshooting stuff like dpkg --configure -a, sudo apt -f install, apt-clean and several forms of deletion without success.

EDIT:
Sorry for the delay. I ended up leaving the city for several days.
I got this:

~$ export SYNERGY_LOGGER=DEBUG
~$ cat /var/lib/dpkg/info/synergy.prerm
#!/usr/bin/env sh

sudo ./opt/Synergy/synergy-service --uninstall

I don't know if this is of help.

(Ubuntu 24.04.4 Desktop [Wayland]/Gnome 46.0/Linux 6.17.0) How do I rotate login screen portrait left? https://askubuntu.com/questions/1568079/ubuntu-24-04-4-desktop-wayland-gnome-46-0-linux-6-17-0-how-do-i-rotate-login

I have turned my monitor physically in portrait position. I adjusted Settings -> Displays so that the layout for my desktop is okay, but the login screen is still landscape.

I read that this problem could be fixed with following instructions:

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/
sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml
sudo systemctl restart gdm3

But to no avail, it just does not work. No matter if I reboot or even completely turn off and back on computer. The login screen remains in landscape position.

According to mutter documentation monitors.xml is read from /etc/xdg. Copied file there but it did not work either. This is clearly an issue that cannot be fixed with blind workarounds.

I edited /etc/xdg/monitors.xml so that there were different settings than in ~/.config/monitors.xml. After that some things happens in gdm process login screen, but not the rotation, that change had effects only in user process desktop. Is it so that mutter under gdm does not have same capabilities than under user process desktop? If so, this is just banging head on the wall.

Could someone please explain the architecture behind all this gdm/mutter/gnome-shell mess?

Unable to run AppImage bundles on Ubuntu 22.04 LTS https://askubuntu.com/questions/1499096/unable-to-run-appimage-bundles-on-ubuntu-22-04-lts

This is a recent issue. It worked previously. I find that I cannot run any AppImage bundle on 22.04 LTS. I confirmed that libfuse2 is installed. But to ensure that is was installed correctly, I uninstalled and reinstalled it via apt-get.

When I attempt to execute the AppImage in Gnome, absolutely nothing happens and I get no error. But when I attempt to execute it via the command line, I get:

dlopen(): error loading libfuse.so.2

Has anyone else encountered and resolved this issue?

As a workaround, I did find that I could download the app (Balena Etcher) in .deb format. I did that, installed it and it worked fine. I still have no idea why the Etcher AppImage bundle is no longer running correctly. I found that Ubuntu has both fuse2 and fuse 3 installed on the machine and running the AppImage bundle for Balena Etcher results in the error above.

Installing a Gnome-Shell extension (Ubuntu) https://askubuntu.com/questions/1462798/installing-a-gnome-shell-extension-ubuntu

I've an extension composed by the following files:

enter image description here

and I'm wondering how can I install it. I'm using Ubuntu 20.04.


EDIT: I tried to install it by copying and pasting the js file into the terminal. Then I tried to search some tutorial about how to install js file extension, but all the results I got are about node.js.

Failed to start Snap Daemon https://askubuntu.com/questions/1418003/failed-to-start-snap-daemon

I am trying to install Lubuntu on a machine that has Ubuntu on it (BOTH LATEST VERSION)

When I boot with ISO disk it says loading Lubuntu for a long then it says: OK Finished Plymouth boot OK Finished Set Console scheme FAILED Failed to start Snap Daemon

Then the machine is locked up and I must turn it off to reboot

I used another Lununtu DVD but same result

Can you help me??????

Ubuntu 20.04 "Oh No! Something has gone wrong and the system can't recover" error on login https://askubuntu.com/questions/1268860/ubuntu-20-04-oh-no-something-has-gone-wrong-and-the-system-cant-recover-erro

I've been using Ubuntu 20.04 for several days and then at one point when I tried to login I was met with a "Oh No! Something has gone wrong and the system can't recover. Please log out and try again." message and if I clicked it, it sent me back to the login screen. In addition to this screen I also had access to my terminal, I think because I have it setup to open on login. Rebooting did not help.

I'm a noob to linux so I'm going to list everything I tried even if some of it isn't relevant. Sorry for the long post.

The only "big" thing I remember doing before I logged out/ shutdown my computer before I started getting these messages was I installed this vim plugin to enable opencl syntax highlighting by git cloning it in ~/.vim/pack/plugins/start the syntax highlighting was working fine before I logged out. I was able to remove the ~/.vim/ and ~/.vimrc files from my home directory but it did not help.

Then I tried this solution by doing

sudo apt update && sudo apt dist-upgrade
sudo apt clean && sudo apt autoremove && sudo reboot

It worked without any problems but I still could not login.

I had installed rocm opencl previously by following this installation guide, and it was working fine, but I thought maybe this could be causing some problems for some reason, so I uninstalled it from the same guide. Some of the directories weren't removed because they had stuff in them so i manually removed the last few directories in /opt/rocm so now my /opt directory is empty. This still did not fix my problem.

From this post I found out that maybe logging in as a different user could work. So I created a new test user and logged in and it worked! I think this means that my problem is with my main user configuration and not with my system but idk. From this test user I su - main to my main account and tried to reinstall gnome following this post, because I read somewhere that this might help so first I did:

sudo dpkg-reconfigure gnome-shell

which still gave me the error message on my main user account when I tried logging in, so then I tried:

sudo apt remove gnome-shell
sudo apt install gnome-shell

This still did not fix my issue when I tried logging in with my main account but now when I log in with my test account the dock on the left side is hidden by default, and I can only access it with the windows key or by pressing activities in the top left. I made a test2 account to see what would happen and again the dock was hidden. I am currently writing this from my test2 account.

The next thing I was going to try was to remove configuration files in my main account and see what happens but I'm not sure what I should remove and how to do this safely and if this is even a good idea at all.

I am not opposed to backing up my files and reinstalling ubuntu because I have only been using it for a few days and I need to reinstall rocm opencl again either way. However, I would still like to know what happened and if there is a way to fix it so that this doesn't happen again (and if it does so I know how to fix it) when I would be more opposed to reinstalling ubuntu in the future.

Sorry for the long post, I really appreciate you taking the time to read it.

Edit: I decided to just create a new admin account and remove my old one and reconfigure everything. So far there have been no login issues or anything. I was also able to get the dock to appear again by doing: sudo apt install gnome-shell-extension-ubuntu-dock Thanks for all your help everyone I couldn't have done it without you!

ssh: connect to host stopped working and port 22: connection timed out https://askubuntu.com/questions/1034838/ssh-connect-to-host-stopped-working-and-port-22-connection-timed-out

I can not access to remote computer using ssh username@host anymore, it worked before then it stopped and I always get:

ssh: connect to host  port 22: Connection timed out

I checked firewall rules, nothing interrupting. I re-installed ssh server and made sure it is working but still the same problem. I ping to the IP address and it is responding properly.


I checked also ssh config and it is listening to port 22

Any help?

Windows folder accessed from Ubuntu; now missing https://askubuntu.com/questions/641114/windows-folder-accessed-from-ubuntu-now-missing

I have Ubuntu 14.04 dual boot with Windows 7 HB. I had (had since it's no visible in the Windows directory) a folder in Windows whose path was D:/Edu/MS/Semester 3 Summer. I have Windows 7 partitioned into 2 drives: C and Drive.

I accessed the Semester 3 Summer folder from Ubuntu by clicking the 316 OS Volume(which I believe is the D Drive of my Windows). Now, when I logged back into the Windows, I can no longer see the folder. It has (or had) all my assignments.

How do I get the folder back?

How to create a new category in the GNOME menu? https://askubuntu.com/questions/435806/how-to-create-a-new-category-in-the-gnome-menu

I want to create a custom category menu. How can I do that?

For example, I want to create a category menu named "Halogen" like Accessories, Games, Graphics, Internet..etc

Set "older" kernel as default grub entry https://askubuntu.com/questions/216398/set-older-kernel-as-default-grub-entry

I installed a mainline kernel for testing purposes. I would like to set grub to boot from the older kernel by default.

I know I can set the GRUB_DEFAULT=0 setting for the first page of grub but how do I set it to boot by default from one kernel in the second page (Advanced page)?

I would prefer doing this without installing other software (ex. grub-customizer).

Related Questions:
How do I set Windows to boot as the default in the boot loader?
How do I change the grub boot order?

How to turn off screen (DPMS) together with locking session in KDE? https://askubuntu.com/questions/189677/how-to-turn-off-screen-dpms-together-with-locking-session-in-kde

First of all, I'm aware a similar question for GNOME is asked here: "Switch off laptop backlight when locking screen".

Objective

I would like to turn off my screen on locking the session for power saving reasons.

Actual problem

Locking the screen on Kubuntu (KDE) inevitably triggers the screensaver as far as I can see. There's no screensaver option other than 'Blank screen' together with its background colour set to black that comes just close to my goal. It blanks the screen, but doesn't turn off the screen. Screen's backlight will still be on and not saving any power.

Current workaround

A workaround via a script + shortcut key is possible, however, it's just a workaround since it doesn't trigger on all ways to lock the session. Therefore, I think it should be possible to have it done more elegantly, for example by providing this option in KDE's configuration dialog of the screensaver.

The workaround I am now using is the following. A script that locks the screen and turns off the screen:

#!/bin/bash

qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock
xset dpms force standby

and let it run with a shortcut key via a custom menu entry. It works.

Here's why I consider it to be a workaround rather than a solution. It doesn't work for other ways to trigger the locking of the session.

My actual question(s)

Do I need to touching/patching KDE's source?

  • If not what are my options?
  • If so,
    • could someone point me to where I can get started?
    • what do you think is the recommended place in the GUI for configuration?

I'm using Kubuntu 12.04 and willing to upgrade to KDE 4.9 or waiting for the 12.10 release.

Is it possible to make writing to .bash_history immediate? https://askubuntu.com/questions/67283/is-it-possible-to-make-writing-to-bash-history-immediate

I often open lots and lots of terminals (right now, I have seven open on this workspace) and I often search history with grep to find a command I've just written recently, but I don't want to hunt down the terminal and then scroll up and hunt for it.

Sometimes my terminals close without exit, and everything I've written in them is lost. Sometimes, I needed something I'd written in a terminal that was killed.

Is there a way to make it so that each terminal writes to .bash_history immediately? Or at least once a minute, or something like that?