Re: [Nouveau] NVAC "No Signal"

2016-10-20 Thread Lukas Wunner
On Thu, Oct 20, 2016 at 10:08:28AM +0200, Lukas Wunner wrote:
> On Wed, Oct 19, 2016 at 07:58:06PM +0200, Pierre Moreau wrote:
> > For example, my laptop (which also has an NVAC) has been triggering the
> > no-signal message on external monitors way before Ben???s patch landed,
> > but only for some adapters. I haven???t tried Ben???s patch yet, nor
> > yours, but I will certainly do it, and see what effect each of them has.
> 
> The external DP port on your MBP5,3 is switchable between GPUs and
> the apple-gmux driver switches it in unison with the panel.  Thus
> the NVAC cannot drive external displays when gmux is switched to
> the MCP79.  (You probably were aware of this, just wanted to mention
  ^
I meant G96, sorry I mixed it up.

Lukas

> it in case you weren't.)  (In theory we could change vga_switcheroo
> and apple-gmux to support switching the panel and the external port
> separately rather than in unison if there is demand.  It's only
> supported on MBPs introduced from 2008 to 2010 though, the 2011+
> models can only drive external ports with the discrete GPU.)
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 97462] Graphics deadlock "ILLEGAL_MTHD" in nouveau with mesa version 11.2.2 when visiting Google Maps with firefox 49.0b5

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97462

--- Comment #13 from wa...@mailbox.hu ---
No dice, I am still having the problem.

In the meantime, today I tried it with

OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVD9
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30

on Debian Jessie.

it does exactly the same (with hardware acceleration enabled).

But in that case, instead of messages about ILLEGAL_MTHD, I get like

Oct 20 09:54:59 terra kernel: [23578.198775] nouveau E[   PFIFO][:01:00.0]
PBDMA0: (unknown bits 0x0004)
Oct 20 09:54:59 terra kernel: [23578.198780] nouveau E[   PFIFO][:01:00.0]
PBDMA0: ch 5 [Compositor[20598]] subc 0 mthd 0x data 0x
Oct 20 09:54:59 terra kernel: [23578.198795] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0808 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198816] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0810 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198837] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_ENUM] ch 5 [0x007f9ec000 Compositor[20598]] subc 0 class
0x9297 mthd 0x0814 data 0x00c0
Oct 20 09:54:59 terra kernel: [23578.198858] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0818 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198879] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_VALUE] ch 5 [0x007f9ec000 Compositor[20598]] subc 0 class
0x9297 mthd 0x081c data 0x00$
Oct 20 09:54:59 terra kernel: [23578.198899] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0820 data 0x200$
Oct 20 09:54:59 terra kernel: [23578.198920] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x2490 data 0x000$
Oct 20 09:54:59 terra kernel: [23578.198940] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x0fc8 data 0x600$
Oct 20 09:54:59 terra kernel: [23578.198953] nouveau E[   PFIFO][:01:00.0]
PBDMA0: (unknown bits 0x0004)
Oct 20 09:54:59 terra kernel: [23578.198955] nouveau E[   PFIFO][:01:00.0]
PBDMA0: ch 5 [Compositor[20598]] subc 0 mthd 0x data 0x
Oct 20 09:54:59 terra kernel: [23578.198969] nouveau E[  PGRAPH][:01:00.0]
DATA_ERROR [INVALID_BITFIELD] ch 5 [0x007f9ec000 Compositor[20598]] subc 0
class 0x9297 mthd 0x1160 data 0x446$
Oct 20 09:55:03 terra kernel: [23582.489822] nouveau E[   PFIFO][:01:00.0]
SCHED_ERROR [ CTXSW_TIMEOUT ]
Oct 20 09:55:03 terra kernel: [23582.489828] nouveau E[   PFIFO][:01:00.0]
 engine fault on channel 5, recovering...
Oct 20 09:55:03 terra kernel: [23582.489876] nouveau :01:00.0: firmware:
failed to load nouveau/nvd9_fuc086 (-2)
Oct 20 09:55:03 terra kernel: [23582.489877] nouveau :01:00.0: Direct
firmware load failed with error -2
Oct 20 09:55:03 terra kernel: [23582.489878] nouveau :01:00.0: Falling back
to user helper
Oct 20 09:55:03 terra kernel: [23582.490392] nouveau :01:00.0: firmware:
failed to load nouveau/nvd9_fuc086d (-2)
Oct 20 09:55:03 terra kernel: [23582.490394] nouveau :01:00.0: Direct
firmware load failed with error -2
Oct 20 09:55:03 terra kernel: [23582.490395] nouveau :01:00.0: Falling back
to user helper
Oct 20 09:55:03 terra kernel: [23582.490763] nouveau E[][:01:00.0]
unable to load firmware data
Oct 20 09:55:03 terra kernel: [23582.490764] [ cut here
]
Oct 20 09:55:03 terra kernel: [23582.490788] WARNING: CPU: 0 PID: 20731 at
/build/linux-EZT6bx/linux-3.16.36/drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c:422
nvc0_fifo_recover_work+0x271$
Oct 20 09:55:03 terra kernel: [23582.490789] Modules linked in: tun bnep
bluetooth 6lowpan_iphc binfmt_misc vmhgfs(O) vmw_vmci fuse lp
snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powercla$
Oct 20 09:55:03 terra kernel: [23582.490821] CPU: 0 PID: 20731 Comm:
kworker/0:2 Tainted: G   O  3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u1

and then (another attempt):

Oct 20 14:02:32 terra kernel: [38416.887838] Call Trace:
Oct 20 14:02:32 terra kernel: [38416.887966]  [] ?
nouveau_fence_update+0x5b/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888121]  [] ?
nouveau_fence_wait+0xb5/0x190 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888267]  [] ?
nouveau_channel_idle+0x65/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888414]  [] ?
nouveau_abi16_chan_fini.isra.3+0x2a/0x1b0 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888598]  [] ?
nouveau_abi16_fini+0x3e/0x80 [nouveau]
Oct 20 14:02:32 terra kernel: [38416.888743]  [] ?

[Nouveau] [Bug 94964] Tearing with opengl-hq and not with opengl on Gnome with MPV

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94964

--- Comment #2 from Paviluf  ---
Well I activated dri3 on nouveau and the tearing with opengl-hq with windowed
mpv is gone !

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 97462] Graphics deadlock "ILLEGAL_MTHD" in nouveau with mesa version 11.2.2 when visiting Google Maps with firefox 49.0b5

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97462

--- Comment #12 from Paviluf  ---
I activated dri3 on nouveau (with the following user.js) and firefox doesn't
crash anymore on google maps !

// PERFORMANCE
user_pref("layers.acceleration.force-enabled", true);
user_pref("layers.offmainthreadcomposition.enabled", true);
user_pref("layers.offmainthreadcomposition.async-animations", true);
user_pref("layout.frame_rate.precise", true);
user_pref("webgl.force-enabled", true);
user_pref("webgl.msaa-force", true);
user_pref("html5.offmainthread", true);
user_pref("gfx.content.azure.backends", "skia");
user_pref("browser.tabs.remote.force-enable", true);

// PRIVACY
user_pref("loop.enabled", false);
user_pref("extensions.pocket.enabled", false);
user_pref("privacy.trackingprotection.enabled", true);
user_pref("geo.enabled", false);
user_pref("browser.safebrowsing.enabled", false);
user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("dom.event.clipboardevents.enabled", false);
user_pref("browser.send_pings", false);
user_pref("dom.battery.enabled", false);

// USABILITY
user_pref("browser.tabs.loadBookmarksInBackground", true);
user_pref("reader.parse-on-load.enabled", false);
user_pref("reader.parse-on-load.force-enabled", false);

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] NVAC "No Signal"

2016-10-20 Thread Lukas Wunner
On Wed, Oct 19, 2016 at 07:58:06PM +0200, Pierre Moreau wrote:
> For example, my laptop (which also has an NVAC) has been triggering the
> no-signal message on external monitors way before Ben???s patch landed,
> but only for some adapters. I haven???t tried Ben???s patch yet, nor
> yours, but I will certainly do it, and see what effect each of them has.

The external DP port on your MBP5,3 is switchable between GPUs and
the apple-gmux driver switches it in unison with the panel.  Thus
the NVAC cannot drive external displays when gmux is switched to
the MCP79.  (You probably were aware of this, just wanted to mention
it in case you weren't.)  (In theory we could change vga_switcheroo
and apple-gmux to support switching the panel and the external port
separately rather than in unison if there is demand.  It's only
supported on MBPs introduced from 2008 to 2010 though, the 2011+
models can only drive external ports with the discrete GPU.)

Best regards,

Lukas
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau