Re: [Kernel-packages] [Bug 1800118] Re: [OMEN X by HP Laptop 17-ap0xx, Nvidia GPU 83 HDMI/DP, Digital Out, HDMI] Playback problem

2018-10-26 Thread markackerm...@gmail.com
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  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 ...
>>   

[Kernel-packages] [Bug 1800118] Re: [OMEN X by HP Laptop 17-ap0xx, Nvidia GPU 83 HDMI/DP, Digital Out, HDMI] Playback problem

2018-10-26 Thread markackerm...@gmail.com
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 
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 

[Kernel-packages] [Bug 1800118] Re: [OMEN X by HP Laptop 17-ap0xx, Nvidia GPU 83 HDMI/DP, Digital Out, HDMI] Playback problem

2018-10-26 Thread Daniel van Vugt
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 a member of Kernel
Packages, which is subscribed to linux in 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

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