Re: nouveau preventing shutdown after suspend-resume

2017-02-17 Thread João Paulo Rechi Vita
Hello Ilia,

On 17 February 2017 at 11:14, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Fri, Feb 17, 2017 at 10:54 AM, João Paulo Rechi Vita
> <jprv...@gmail.com> wrote:
>> I'm happy to file
>> a bugzilla entry and provide any other needed information or help with
>> testing. Are nouveau bugs tracked on bugs.kernel.org or the fdo
>> bugzilla?
>
> Nouveau bugs are tracked on the fdo bugzilla. It would appear that
> you're using a 4.8 kernel. Do issues persist with a 4.10 kernel? I'm
> thinking of upstream commit cae9ff036ee, but it's likely that there
> have also been others I'm not thinking of.
>

Yes, although the logs I have pasted were indeed collected using a 4.8
kernel, the problem persists with a recent Linus' tree (v4.10-rc8 + a
couple of commits) which contains cae9ff036ee.

Thanks,

--
João Paulo Rechi Vita
http://about.me/jprvita
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


nouveau preventing shutdown after suspend-resume

2017-02-17 Thread João Paulo Rechi Vita
 supported
[0.863472] VGA switcheroo: detected Optimus DSM method
\_SB_.PCI0.RP01.PEGP handle
[0.863473] nouveau: detected PR support, will not use DSM
[0.863494] nouveau :01:00.0: enabling device (0006 -> 0007)
[0.863691] nouveau :01:00.0: NVIDIA GM107 (1171c0a2)

Is this a known problem? I couldn't find any similar reports. Right
now we are shipping a DMI-based quirk to disable rpm as a work-around,
but I would like to support finding a real solution. I'm happy to file
a bugzilla entry and provide any other needed information or help with
testing. Are nouveau bugs tracked on bugs.kernel.org or the fdo
bugzilla?

Thanks and regards,

--
João Paulo Rechi Vita
http://about.me/jprvita
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


AMD Carrizo HDMI audio

2016-06-10 Thread João Paulo Rechi Vita
On 9 June 2016 at 15:32, João Paulo Rechi Vita  wrote:
> On 9 June 2016 at 15:26, Deucher, Alexander  
> wrote:
>>> -Original Message-
>>> From: João Paulo Rechi Vita [mailto:jprvita at gmail.com]
>>> Sent: Thursday, June 09, 2016 3:14 PM
>>> To: Alex Deucher; maruthi.srinivas.b at gmail.com
>>> Cc: dri-devel at lists.freedesktop.org; alsa-devel at alsa-project.org; 
>>> Deucher,
>>> Alexander; Bayyavarapu, Maruthi; João Paulo Rechi Vita;
>>> linux at endlessm.com
>>> Subject: AMD Carrizo HDMI audio
>>>
>>> Hello Alex and Maruthi,
>>>
>>> I'm trying to get HDMI audio working on a AMD CARRIZO laptop, which I
>>> believe need the ACP changes which got merged into Linux 4.6. But
>>> testing the v4.6 tag, amd_acp_hw_init() returns -ENODEV, because it
>>> succeeds the "if (acp_mode != ACP_MODE_I2S)" test in acp_hw.c. Does
>>> this mean this chip does not uses ACP, or is there anything else
>>> missing?
>>
>> Your system does not use ACP.  It uses HDA audio.  You'll need to use the 
>> new DAL display code which is not yet upstream for HDMI or DP audio support. 
>>  You can find dal support on my freedesktop tree.  E.g.,
>> https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.7-wip-dal
>>
>
> Thanks for such a quick answer! So that means no audio over HDMI/DP
> without DAL, right? Isn't any legacy code that can take care of that?
> I'll give it a try on your branch and report back if I have any
> problems.
>

Still no sound with the branch you've pointed. Logs can be found here
in case you're interested:
https://gist.github.com/jprvita/7966532c7a4b67c74621c9374e20a418

--
João Paulo Rechi Vita
http://about.me/jprvita


AMD Carrizo HDMI audio

2016-06-09 Thread João Paulo Rechi Vita
On 9 June 2016 at 15:26, Deucher, Alexander  
wrote:
>> -Original Message-
>> From: João Paulo Rechi Vita [mailto:jprvita at gmail.com]
>> Sent: Thursday, June 09, 2016 3:14 PM
>> To: Alex Deucher; maruthi.srinivas.b at gmail.com
>> Cc: dri-devel at lists.freedesktop.org; alsa-devel at alsa-project.org; 
>> Deucher,
>> Alexander; Bayyavarapu, Maruthi; João Paulo Rechi Vita;
>> linux at endlessm.com
>> Subject: AMD Carrizo HDMI audio
>>
>> Hello Alex and Maruthi,
>>
>> I'm trying to get HDMI audio working on a AMD CARRIZO laptop, which I
>> believe need the ACP changes which got merged into Linux 4.6. But
>> testing the v4.6 tag, amd_acp_hw_init() returns -ENODEV, because it
>> succeeds the "if (acp_mode != ACP_MODE_I2S)" test in acp_hw.c. Does
>> this mean this chip does not uses ACP, or is there anything else
>> missing?
>
> Your system does not use ACP.  It uses HDA audio.  You'll need to use the new 
> DAL display code which is not yet upstream for HDMI or DP audio support.  You 
> can find dal support on my freedesktop tree.  E.g.,
> https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.7-wip-dal
>

Thanks for such a quick answer! So that means no audio over HDMI/DP
without DAL, right? Isn't any legacy code that can take care of that?
I'll give it a try on your branch and report back if I have any
problems.

Best regards,

--
João Paulo Rechi Vita
http://about.me/jprvita


AMD Carrizo HDMI audio

2016-06-09 Thread João Paulo Rechi Vita
Hello Alex and Maruthi,

I'm trying to get HDMI audio working on a AMD CARRIZO laptop, which I
believe need the ACP changes which got merged into Linux 4.6. But
testing the v4.6 tag, amd_acp_hw_init() returns -ENODEV, because it
succeeds the "if (acp_mode != ACP_MODE_I2S)" test in acp_hw.c. Does
this mean this chip does not uses ACP, or is there anything else
missing?

lspci shows me the following gfx/audio devices (I believe this is a
dual-gpu machine):

00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee
ATI Device 9874 (rev c5) (prog-if 00 [VGA controller])
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Device 9840
00:09.2 Audio device: Advanced Micro Devices [AMD] Device 157a
03:00.0 Display controller: Advanced Micro Devices [AMD] nee ATI Sun
[Radeon HD 8600M Series] (rev ff)

Both amdgpu and radeon get automatically probed. Sorry if I'm missing
something obvious here, I'm quite new to dual-gpu machines.

Thanks and best regards,

--
João Paulo Rechi Vita
http://about.me/jprvita