Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface Laptop 6 Shutdown Issue in Ubuntu - Not Shutting Down Properly #1698

Open
Robolandio opened this issue Feb 24, 2025 · 1 comment
Open

Comments

@Robolandio
Copy link

Surface Laptop 6 Shutdown Issue in Ubuntu - Not Shutting Down Properly

Problem:
My Surface Laptop 6 running Ubuntu does not shut down completely. When I attempt to shut down the system, the screen turns off, but the machine remains running. During the shutdown process, the device heats up dramatically – it gets extremely hot, to the point of "burning" – which is concerning and indicates a potential hardware or power management fault.

Steps Taken and Tests Performed:

  1. Checked Logs:

    • Reviewed shutdown-related logs using "journalctl -xe".
    • Observed errors related to AppArmor and power management.
  2. Disabled AppArmor:

    • Executed:
      sudo systemctl stop apparmor
      sudo systemctl disable apparmor
    • Observation: The boot time increased significantly (about 5 minutes), but the shutdown issue persisted. Additionally, the shutdown process resulted in the device heating up excessively.
  3. Re-enabled and Rebuilt AppArmor Profiles:

    • Booted via recovery mode and re-enabled AppArmor.
    • Rebuilt profiles with:
      sudo apparmor_parser -r /etc/apparmor.d/*
    • Observation: The shutdown issue, along with the severe heating, remained despite re-enabling AppArmor.
  4. Tested ACPI Settings:

    • Added the "acpi=force" kernel parameter (and later removed it) to force ACPI support.
    • Observation: No improvement in shutdown behavior was observed, and the overheating persisted.
  5. Tested Shutdown Commands:

    • Attempted shutdown through the GUI and via terminal using:
      sudo shutdown -h now
    • Observation: Neither method resulted in a complete shutdown; the system remains partially active while overheating.

System Details:

  • Device: Surface Laptop 6 (Business model)
  • Ubuntu Version: Ubuntu 20.04.2 LTS
  • Kernel Version: 6.12.3-surface-2
  • BIOS Version: 19.104.143
  • AppArmor: Tested both with AppArmor disabled and re-enabled.

Additional Information:

  • The logs show various AppArmor parser errors and power management messages around shutdown.
  • The shutdown process not only fails to complete but also causes the device to heat up dangerously, which may indicate an underlying power management or hardware fault.

Conclusion:
Despite extensive troubleshooting—including disabling AppArmor, modifying ACPI settings, and stopping additional services—the system still fails to shut down properly and exhibits severe overheating during the shutdown process. Any insights, suggestions, or fixes from the community or maintainers would be greatly appreciated.

@Tripater
Copy link

I can confirm the same exact issue on a Surface Pro 9 with Fedora 41 and kernel 6.13.6-1.surface.fc41, so it's likely not strictly related to the specific distro and hardware.

This has been going on since the very first version of this kernel I have tried, which I think was 6.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants