Re: [Nouveau] [PATCH] dri3: remove bogus condition for creating pixmap

2017-12-30 Thread Ilia Mirkin
On Sun, Dec 31, 2017 at 2:23 AM, Ilia Mirkin wrote: > Not clear what the depth % 8 was trying to protect against, but it was > breaking 30bpp visuals with DRI3. Erm, actually switching to my test config which doesn't enable dri3 is what "fixed" things. DRI3 is still busted. Ignore this patch unti

[Nouveau] [PATCH] dri3: remove bogus condition for creating pixmap

2017-12-30 Thread Ilia Mirkin
Not clear what the depth % 8 was trying to protect against, but it was breaking 30bpp visuals with DRI3. Signed-off-by: Ilia Mirkin --- src/nouveau_dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index cbb7b2a..07b6022 100644 ---

[Nouveau] [PATCH 1/2] kms/nv50-gf119: use "low res" lut for indexed mode

2017-12-30 Thread Ilia Mirkin
This is what was done prior to the big refactor in kernel 3.8, and what was done by xf86-video-nv. Experimentally, it seems like there's some sort of issue with the high-res lut to be used there. Tested on G92. This ends up mattering because fbcon/fbdev chooses the C8 fb format for low-vram system

[Nouveau] [PATCH 2/2] kms/gf119-: always use a 256-entry lut for now

2017-12-30 Thread Ilia Mirkin
Unfortunately the ABI is a little annoying around almost requiring a 256-entry lut. While that is being worked out, allow proper mapping of colors in 30bpp framebuffers. Signed-off-by: Ilia Mirkin --- If I bump the gamma size to 1024, then all existing software will start failing since the gamma

[Nouveau] [Bug 80675] [NVAA] Nouveau KMS framebuffer hand-over: no/black console on Nvidia MCP78S/C77/GeForce 8300 (10de:0848) with 32MB graphics RAM, X11 ok

2017-12-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80675 --- Comment #11 from Ilia Mirkin --- Created attachment 136458 --> https://bugs.freedesktop.org/attachment.cgi?id=136458&action=edit use "low res" lut for c8 This patch seems to help. There is a problem in that the first modeset does appear to

[Nouveau] LUT update skipped on first modeset?

2017-12-30 Thread Ilia Mirkin
Hi Ben, I was looking into some of the LUT-related modesetting issues. I've noticed the following... after I load nouveau, one of my secondary GPUs shows this on first modeset (with drm.debug=4): [ 2368.081307] [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:44:DVI-I-1]

[Nouveau] [Bug 104421] System freeze on wayland with nouveau on NV137 (GP107)

2017-12-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104421 --- Comment #2 from Jan Vlug --- Just after typing my previous comment, gnome-shell did restart in the end, this is in the log: Dec 30 23:51:31 nyx kernel: nouveau :23:00.0: Xwayland[5346]: failed to idle channel 25 [Xwayland[5346]] Dec 30

[Nouveau] [Bug 104421] System freeze on wayland with nouveau on NV137 (GP107)

2017-12-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104421 --- Comment #1 from Jan Vlug --- After a while, I saw also this log statement multiple times: Dec 30 23:24:30 nyx kernel: nouveau :23:00.0: Xwayland[5346]: nv50cal_space: -16 An attempt to restart the gnome-shell with: # killall -3 gnome-sh

[Nouveau] [Bug 104421] System freeze on wayland with nouveau on NV137 (GP107)

2017-12-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104421 Jan Vlug changed: What|Removed |Added See Also||https://bugzilla.redhat.com

[Nouveau] [Bug 104421] New: System freeze on wayland with nouveau on NV137 (GP107)

2017-12-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104421 Bug ID: 104421 Summary: System freeze on wayland with nouveau on NV137 (GP107) Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Sev

Re: [Nouveau] [PATCH v2] nv50/ir: Initialize all members of GCRA (trivial)

2017-12-30 Thread Pierre Moreau
On 2017-12-30 — 15:21, Tobias Klausmann wrote: > v2: use initialization list (Pierre) > > Signed-off-by: Tobias Klausmann > Reviewed-by: Pierre Moreau > --- > src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/gall

[Nouveau] [PATCH v2] nv50/ir: Initialize all members of GCRA (trivial)

2017-12-30 Thread Tobias Klausmann
v2: use initialization list (Pierre) Signed-off-by: Tobias Klausmann Reviewed-by: Pierre Moreau --- src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers