And to help you Fix these ISSUES for not me but ALL Ubuntu enthusiasts,
especially for newbies, as these workarounds are really only for those like
me who try very hard to solve problems!

Ubuntu will never get to mainstream unless it is (IDIOT Proof)

So here is my workaround which INDEED, suggests a bigger problem (I believe)
------------------------------------------------------------------------------------------------------------------------
Hibernate/Suspend

   -
      -
         -
            - However, if I manually disable the audio output output "sudo
            tee /proc/acpi/nvhda <<< OFF" I'm then able to get it to sleep.
            I then have to turn it on again on resume with "sudo tee
            /proc/acpi/nvhda <<< ON


   -
      -
         -
            -
               -
                  -
                     - $ sudo tee /proc/acpi/nvhda <<< OFF (*before*
                     Hibernation/Suspend or Sleep)


   -
      -
         -
            -
               -
                  -
                     - $ sudo tee /proc/acpi/nvhda <<< ON (*After* Resume)


On Fri, 26 Oct 2018 at 03:12, Mark Ackerman <markackerm...@gmail.com> wrote:

> Sure
> Nvidia NVHDA Sound works only with a PATCH!
> NVHDA does not persist after Suspend or Hibernating (my System Fully
> Supports BOTH)
>
> I have workarounds
>
> and WOW Good News My Myriad of acpi 3400 errors are gone !
> but this all seems ACPI related to HDMI and NVHDA
>
> logs show a LOT LESS errors than ever (6 weeks with this new Computer) so
> things are getting better fast awesome
> Here are some new bugs
> 16 times
> ACPI Error: Method parse/execution failed \_SB.WMID.WMAA,
> AE_AML_BUFFER_LIMIT (20180531/psparse-516)
> 162 !!! Times
> ACPI Error: Skip parsing opcode Method (20180531/psloop-542)
>
>
>
> On Fri, 26 Oct 2018 at 03:00, Daniel van Vugt <
> daniel.van.v...@canonical.com> wrote:
>
>> Can you please describe the problem in a sentence or two?
>>
>> ** Package changed: alsa-driver (Ubuntu) => linux (Ubuntu)
>>
>> ** Also affects: pulseaudio (Ubuntu)
>>    Importance: Undecided
>>        Status: New
>>
>> ** Changed in: linux (Ubuntu)
>>        Status: New => Incomplete
>>
>> ** Changed in: pulseaudio (Ubuntu)
>>        Status: New => Incomplete
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1800118
>>
>> Title:
>>   [OMEN X by HP Laptop 17-ap0xx, Nvidia GPU 83 HDMI/DP, Digital Out,
>>   HDMI] Playback problem
>>
>> Status in linux package in Ubuntu:
>>   Incomplete
>> Status in pulseaudio package in Ubuntu:
>>   Incomplete
>>
>> Bug description:
>>   Below is a Cut and paste of a recent Ubuntu Forum Page where I posted
>> the issues
>>   https://ubuntuforums.org/showthread.php?t=2404566
>>   Note that though it says "Solved" it is just workarounds of Bigger ACPI
>> Issues!
>>
>>   ubuntu 18.10
>>
>>   OK,
>>
>>   This is a new thread, and I will make it HUGE!
>>   Edit Solution/ Work Around for the "2/" Problem
>>   see Post # 4, Thanks PeterSaints
>>
>>   Ubuntu, Please Listen!
>>
>>   Nvidia, HDA WOES in the Title ... HDA stands for High Definition Audio,
>> or HDMI Audio, or Surround Sound 5.1-7.1 etc. ...
>>   NVHDA stands for Nvidia HDA. Just for anyone who does not know the
>> Jargon!
>>
>>   What does Work ... (and I will post ALL my Notes and Links for others
>> below!)
>>   1/ Everything AFTER STUPIDLY!, I need to install a Kernel PATCH! and
>>   2/ A STUPIDLY Necessary Restart after ANY Hibernation or Suspend!
>>
>>   First my System, and most importantly is it is a NEW Cutting Edge Hp
>> Omen X Laptop with a Nvidia GTX 1080m GPU, and the latest Linux 3.18 Kernel!
>>   -Computer-
>>   Processor     : Intel(R) Core(TM) i7-7820HK CPU @ 2.90GHz
>>   Memory        : 16245MB (3330MB used)
>>   Machine Type  : Notebook
>>   Operating System      : Ubuntu 18.10
>>   -Display-
>>   Resolution    : 1920x1080 pixels
>>   OpenGL Renderer       : GeForce GTX 1080/PCIe/SSE2
>>   X11 Vendor    : The X.Org Foundation
>>
>>   -Audio Devices-
>>   Audio Adapter : HDA-Intel - HDA Intel PCH
>>   Audio Adapter : HDA-Intel - HDA NVidia
>>   -Input Devices-
>>
>>   Video Bus
>>   ST LIS3LV02DL Accelerometer
>>   HDA Intel PCH Mic
>>   HDA Intel PCH Mic
>>   HDA Intel PCH Headphone
>>   HP WMI hotkeys
>>   HDA NVidia HDMI/DP,pcm:3
>>   HDA NVidia HDMI/DP,pcm:7
>>   HDA NVidia HDMI/DP,pcm:8
>>   So the LATEST 2 Problems I am looking for a SOLUTION that would indeed
>> help THOUSANDS and/or MILLIONS of people Now and/or in the near future!
>>   1/ Why SHOULD I need to apply a PATCH to a YEAR old KNOWN problem!
>>   and MORE IMPORTANTLY!
>>
>>   2/ Why is the fixed Patch System NOT working after a Suspend or
>> Hibernation
>>   (Yes I am reiterating my issue once again!)
>>   After EITHER a Suspend or Hibernation, the HDA Sound is EITHER,
>>   1/ Not VISIBLE AGAIN! ANYWHERE! Trust me, or
>>   2/ Visible but in a Dysfunctional State, ... Showing 3 version of the
>> NVHDA 0,1&2 ...
>>   and NONE of the 3 (three) WORK! to be clear NO SOUND AT ALL! when
>> testing them.
>>
>>   So I will leave it here, and to show my continued Good Faith and
>>   Obvious Continued Support For Ubuntu, below are ALL my Solutions to
>>   Date!
>>
>>   1st Solution -
>>   Install the patch to get the INVISIBLE and/or Unloaded HDA Visible
>> and/or Loaded
>>   ∘ I can confirm that kernel module, posted by
>>   ‣ Maik Freudenberg (
>> https://bugs.freedesktop.org/show_bug.cgi?id=75985#c27),
>>   • Kernel module to toggle audio function
>>   ∘ is working fine on my system. Thank you for the fix. The HDMI audio
>> device now works as it should (now detected).
>>   ∘ The steps I did to enable HDMI audio device:
>>   • 1. Download and extract the file nvhda.tar.xz. (from above link)
>>   • 2. Run these commands in Terminal, in the location of the extracted
>> folder
>>   Code:
>>   • $ make
>>   • $ sudo make install
>>   • $ echo nvhda | sudo tee -a /etc/initramfs-tools/modules
>>   • $ echo "options nvhda load_state=1" | sudo tee
>> /etc/modprobe.d/nvhda.conf
>>   • $ sudo update-initramfs -u
>>   ‣ 3. Reboot.
>>   ## SOLVED ##################################################
>> ###############
>>
>>   2nd Solution
>>   Hibernation/Suspend Working (Not HDA Sound of Course)
>>
>>   Troubleshooting
>>   ‣ Prerequisites - does your kernel support suspend-to-disk?
>>   • Kernel supports whatever is listed in /sys/power/state, so:
>>   Code:
>>   cat /sys/power/state
>>   ∘ Allowed (to my knowledge) entries there include: mem, standby,
>> freeze, disk. Explanation:
>>   ‣ mem - has several meanings, which one exactly on your system you'll
>> find out via cat /sys/power/mem_sleep. I have: s2idle [deep]
>>   ‣ standby - Power-On Suspend (if supported)
>>   ‣ freeze - Suspend To Idle (STI)
>>   ‣ disk - Hibernate - Suspend To Disk (STD), This - you want.
>>   ∘ mine says : freeze mem disk - PERFECT!
>>
>>   • Then we need to check
>>   Code:
>>   $ cat /sys/power/disk
>>   ‣ If (good) shows ...
>>   ‣ [platform] shutdown reboot suspend test_resume
>>
>>   • if : (Bad)
>>   • [disabled]
>>   • (not very good)
>>   ‣ Enable Hibernate and put it in menu - Easy-Peasy
>>
>>   • Software Prerequisites
>>   Code:
>>   sudo apt install pm-utils  cpufrequtils
>>   1. Edit a specific file with this command.
>>   Code:
>>    sudo gedit
>> /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
>>   ∘ 2. Scroll down the Text Document and find the below sections:
>>   [Disable hibernate by default in upower]
>>   [Disable hibernate by default in logind]
>>   ‣ Change both the values from no to yes in:
>>   ResultActive=no
>>   (change this to yes)
>>
>>   • Save, Exit & Reboot - Done!
>>
>>   • To test if hibernate works in your computer by running command:
>>   Code:
>>    sudo pm-hibernate
>>   • After you computer turns off, switch it back on.
>>   ‣ Did your open applications re-open? If so it works, if not then
>> hibernate does not work. You can check if your Swappiness partition is at
>> least as large as your available RAM, as it may solve the problem.
>>
>>   3rd Solution
>>   ACPI Woes Bandaid FIX,
>>   ACPI stands for Advance Configuration and Power Interface (Thunderbolt)
>>   If you are getting a ZILLION ACPI Errors of any kind
>>   ex. Error:
>>   ACPI:3400 Unsupported Event
>>   ‣ Here is a surprisingly simple solution that solved both problems
>> (fast startup and normal background)
>>   ‣ Try disabling acpi in /etc/default/grub change this variable so it
>> looks like this:
>>   Code:
>>    sudo gedit /etc/default/grub
>>   GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=strict",
>>   • Just add acpi=off (caused problems), "acpi=strict" Did NOT cause
>> these problems
>>   • (used for acpi INT34000 Errors but resulted in 800x600 resolution
>> PROBLEM)
>>
>>   • Make sure to
>>   Code:
>>   sudo update-grub2
>>   , after modifying the file and before rebooting
>>   • and reboot
>>   Problems Controlled if not Solved
>>
>>   ProblemType: Bug
>>   DistroRelease: Ubuntu 18.10
>>   Package: alsa-base 1.0.25+dfsg-0ubuntu5
>>   ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
>>   Uname: Linux 4.18.0-10-generic x86_64
>>   NonfreeKernelModules: nvidia_modeset nvidia
>>   ApportVersion: 2.20.10-0ubuntu13
>>   Architecture: amd64
>>   AudioDevicesInUse:
>>    USER        PID ACCESS COMMAND
>>    /dev/snd/controlC1:  ack        5442 F.... pulseaudio
>>    /dev/snd/controlC0:  ack        5442 F.... pulseaudio
>>    /dev/snd/pcmC0D0c:   ack        5442 F...m pulseaudio
>>   CurrentDesktop: GNOME
>>   Date: Fri Oct 26 02:31:41 2018
>>   InstallationDate: Installed on 2018-10-20 (5 days ago)
>>   InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64
>> (20181017.3)
>>   PackageArchitecture: all
>>   SourcePackage: alsa-driver
>>   Symptom: audio
>>   Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia
>> failed
>>   Symptom_Card: GP104 High Definition Audio Controller - HDA NVidia
>>   Symptom_Jack: Digital Out, HDMI
>>   Symptom_Type: None of the above
>>   Title: [OMEN X by HP Laptop 17-ap0xx, Nvidia GPU 83 HDMI/DP, Digital
>> Out, HDMI] Playback problem
>>   UpgradeStatus: No upgrade log present (probably fresh install)
>>   dmi.bios.date: 06/14/2018
>>   dmi.bios.vendor: American Megatrends Inc.
>>   dmi.bios.version: F.18
>>   dmi.board.asset.tag: Base Board Asset Tag
>>   dmi.board.name: 83A5
>>   dmi.board.vendor: HP
>>   dmi.board.version: 54.32
>>   dmi.chassis.type: 10
>>   dmi.chassis.vendor: HP
>>   dmi.chassis.version: Chassis Version
>>   dmi.modalias:
>> dmi:bvnAmericanMegatrendsInc.:bvrF.18:bd06/14/2018:svnHP:pnOMENXbyHPLaptop17-ap0xx:pvr:rvnHP:rn83A5:rvr54.32:cvnHP:ct10:cvrChassisVersion:
>>   dmi.product.family: 103C_5335KV HP OMEN X
>>   dmi.product.name: OMEN X by HP Laptop 17-ap0xx
>>   dmi.product.sku: 2LV60UA#ABA
>>   dmi.sys.vendor: HP
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1800118/+subscriptions
>>
>
>
> --
> Mark Ackerman <http://www.ubuntubut.com>
>


-- 
Mark Ackerman <http://www.ubuntubut.com>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800118

Title:
  [OMEN X by HP Laptop 17-ap0xx, Nvidia GPU 83 HDMI/DP, Digital Out,
  HDMI] Playback problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1800118/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to