Re: [Nouveau] GV98 adapter, experience with nouveau

2016-06-01 Thread poma
On 01.06.2016 20:44, poma wrote: > On 01.06.2016 20:20, Yury Tarasievich wrote: >> Thank you! >> >> Now, I'd appreciate some hints on how to make >> console work, at least. >> How are the video modes controlled, e.g., can I >> have some analogue of /etc/fb.modes for nouveau? >> >> -Yury >> > >

[Nouveau] G98, nouveau, again

2016-06-01 Thread Yury Tarasievich
Hey guys, Let me reformulate my question: The nouveau.ko (2015-12-16) calculates and tries to set wrong 'modelines' for my G98 hardware for the most of video modes in console; even 640x480 gets weird vertical refresh 68Hz. Can it be fixed at all? Can the correct modelines be supplied to no

Re: [Nouveau] GV98 adapter, experience with nouveau

2016-06-01 Thread poma
On 01.06.2016 20:20, Yury Tarasievich wrote: > Thank you! > > Now, I'd appreciate some hints on how to make > console work, at least. > How are the video modes controlled, e.g., can I > have some analogue of /etc/fb.modes for nouveau? > > -Yury > After hand-over: "fb: switching to nouveaufb

Re: [Nouveau] GV98 adapter, experience with nouveau

2016-06-01 Thread Yury Tarasievich
Thank you! Now, I'd appreciate some hints on how to make console work, at least. How are the video modes controlled, e.g., can I have some analogue of /etc/fb.modes for nouveau? -Yury On 01/06/16 20:38, poma wrote: On 01.06.2016 13:48, Yury Tarasievich wrote: ... 1) Console does not initi

Re: [Nouveau] GV98 adapter, experience with nouveau

2016-06-01 Thread poma
ary > device > [7.410533] nouveau :02:00.0: devinit: > unable to compute acceptable pll values > [7.410535] nouveau :02:00.0: devinit: > failed pll calculation > [7.470351] nouveau :02:00.0: fb0: > nouveaufb frame buffer device > [7.477047] [drm]

Re: [Nouveau] [PATCH 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM

2016-06-01 Thread Lukas Wunner
On Wed, Jun 01, 2016 at 06:51:51PM +0200, Peter Wu wrote: > On Tue, May 31, 2016 at 02:20:26PM +0200, Lukas Wunner wrote: > > On Mon, May 30, 2016 at 06:13:51PM +0200, Peter Wu wrote: > > > Do you have any suggestions for the case where the pcieport driver > > > refuses to put the bridge in D3 (bec

Re: [Nouveau] [PATCH 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM

2016-06-01 Thread Peter Wu
On Wed, Jun 01, 2016 at 12:28:47PM +0300, Mika Westerberg wrote: > On Tue, May 31, 2016 at 01:02:31PM +0200, Peter Wu wrote: > > On Tue, May 31, 2016 at 11:43:56AM +0300, Mika Westerberg wrote: > > > On Mon, May 30, 2016 at 06:13:51PM +0200, Peter Wu wrote: > > > > Do you have any suggestions for t

Re: [Nouveau] [PATCH 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM

2016-06-01 Thread Peter Wu
On Tue, May 31, 2016 at 02:20:26PM +0200, Lukas Wunner wrote: > On Mon, May 30, 2016 at 06:13:51PM +0200, Peter Wu wrote: > > Do you have any suggestions for the case where the pcieport driver > > refuses to put the bridge in D3 (because the BIOS is too old)? In that > > case the nouveau driver nee

Re: [Nouveau] [PATCH 9/9] drm: Turn off crtc before tearing down its data structure

2016-06-01 Thread Daniel Vetter
On Wed, Jun 01, 2016 at 02:36:41PM +0200, Lukas Wunner wrote: > On Wed, May 25, 2016 at 03:43:42PM +0200, Daniel Vetter wrote: > > On Wed, May 25, 2016 at 12:51 PM, Lukas Wunner wrote: > > > On Tue, May 24, 2016 at 11:30:42PM +0200, Daniel Vetter wrote: > > >> On Tue, May 24, 2016 at 06:03:27PM +0

Re: [Nouveau] [PATCH 9/9] drm: Turn off crtc before tearing down its data structure

2016-06-01 Thread Lukas Wunner
On Wed, May 25, 2016 at 03:43:42PM +0200, Daniel Vetter wrote: > On Wed, May 25, 2016 at 12:51 PM, Lukas Wunner wrote: > > On Tue, May 24, 2016 at 11:30:42PM +0200, Daniel Vetter wrote: > >> On Tue, May 24, 2016 at 06:03:27PM +0200, Lukas Wunner wrote: > >> > When a drm_crtc structure is destroyed

[Nouveau] [Bug 96307] New: Kernel 4.7-rc1 oops when starting X

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96307 Bug ID: 96307 Summary: Kernel 4.7-rc1 oops when starting X Product: xorg Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: norma

[Nouveau] GV98 adapter, experience with nouveau

2016-06-01 Thread Yury Tarasievich
I'm trying to put to work the nouveau driver on slackware 64 bits current, kernel 4.4.*. I've thought the hardware to be some obscure OEM variant of GT610. However, kind soul on IRC pointed out that it's a G98 really, 'GeForce 9300 GS or 8400 GS'. Proprietary NVIDIA drivers: * 340.96 instal

[Nouveau] [Bug 96306] New: BUG: KASAN: slab-out-of-bounds in OUT_RINGp (via nvc0_fbcon_imageblit)

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96306 Bug ID: 96306 Summary: BUG: KASAN: slab-out-of-bounds in OUT_RINGp (via nvc0_fbcon_imageblit) Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS

[Nouveau] [Bug 90626] HP ZBook 15 nouveau driver hangup for kernel >= 4.1

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90626 Roy changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Nouveau] [Bug 95054] KDE 5 / Plasma crashes with nouveau "fifo: gr engine fault on channel 2, recovering" or "gr: TRAP ch 2"

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95054 --- Comment #7 from René Krell --- Just for the record: - Setting Hybrid Graphic to Disabled doesn't work around this problem. - The native nvidia driver 364.19 works fine for me. -- You are receiving this mail because: You are the assignee for

Re: [Nouveau] [PATCH 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM

2016-06-01 Thread Mika Westerberg
On Tue, May 31, 2016 at 01:02:31PM +0200, Peter Wu wrote: > On Tue, May 31, 2016 at 11:43:56AM +0300, Mika Westerberg wrote: > > On Mon, May 30, 2016 at 06:13:51PM +0200, Peter Wu wrote: > > > Do you have any suggestions for the case where the pcieport driver > > > refuses to put the bridge in D3 (

[Nouveau] [Bug 95054] KDE 5 / Plasma crashes with nouveau "fifo: gr engine fault on channel 2, recovering" or "gr: TRAP ch 2"

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95054 --- Comment #6 from René Krell --- Created attachment 124228 --> https://bugs.freedesktop.org/attachment.cgi?id=124228&action=edit Output of dmesg on HP ZBook 15 G2 -- You are receiving this mail because: You are the assignee for the bug.

[Nouveau] [Bug 95054] KDE 5 / Plasma crashes with nouveau "fifo: gr engine fault on channel 2, recovering" or "gr: TRAP ch 2"

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95054 --- Comment #5 from René Krell --- Created attachment 124227 --> https://bugs.freedesktop.org/attachment.cgi?id=124227&action=edit /var/log/messages from OS start to crash on HP ZBook 15 G2 -- You are receiving this mail because: You are the

[Nouveau] [Bug 90626] HP ZBook 15 nouveau driver hangup for kernel >= 4.1

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90626 --- Comment #52 from René Krell --- Just for the record: I'm now affected by https://bugs.freedesktop.org/show_bug.cgi?id=95054 on the same hardware (HP ZBook 15 G2). nouveau is freezing in accelerating Plasma 5 Desktop after a while. -- You ar

[Nouveau] [Bug 95054] KDE 5 / Plasma crashes with nouveau "fifo: gr engine fault on channel 2, recovering" or "gr: TRAP ch 2"

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95054 --- Comment #4 from René Krell --- I'm affected by the same problem on a different hardware. /var/log/messages: --- 2016-06-01T10:31:51.921964+02:00 rkrell kernel: [ 249.913240] nouveau :01:00.0: gr: TRAP ch 2 [003fbfa000 X[2532]] 2016-06-0

[Nouveau] [PATCH 13/15] clk/gk20a: improve MNP programming

2016-06-01 Thread Alexandre Courbot
Split the MNP programming function into two functions for the cases where we allow sliding or not, instead of making it take a parameter for this. This results in less conditionals in the code and makes it easier to read. Also make the MNP programming functions take the PLL parameters as arguments

[Nouveau] [PATCH 15/15] clk/gm20b: add glitchless and DFS support

2016-06-01 Thread Alexandre Courbot
This patch adds support for advanced features supported by the Noise-Aware PLL of Maxwell. Glitchless switch allows the PL field to be updated without disabling the PLL first if the SYNC_MODE bit of the CFG register is set. More significantly, DFS allows the PLL to monitor the actual input voltage

[Nouveau] [PATCH 12/15] clk/gk20a: factorize n_lo computation code

2016-06-01 Thread Alexandre Courbot
Use a dedicated function instead of always calculating n_lo on the fly. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/clk/gk20a.c b/drm/nouveau/nvkm/subdev

[Nouveau] [PATCH 11/15] clk/gk20a: parameterize PLL settings

2016-06-01 Thread Alexandre Courbot
Make functions manipulating PLL settings take them as an argument, instead of assuming we want to work on the copy in the gk20a_clk structure. This makes these functions more flexible, which we will need in GM20B. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 51

[Nouveau] [PATCH 14/15] clk/gk20a: rename constructor

2016-06-01 Thread Alexandre Courbot
Strip the _ prefix off the gk20a clock constructor. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 4 ++-- drm/nouveau/nvkm/subdev/clk/gk20a.h | 2 +- drm/nouveau/nvkm/subdev/clk/gm20b.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drm/nouv

[Nouveau] [PATCH 03/15] volt/gk20a: constify and name v_scale

2016-06-01 Thread Alexandre Courbot
Give a name to this constant so we at least get an idea of what it is for. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/volt/gk20a.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drm/nouveau/nvkm/subdev/volt/gk20a.c b/drm/nouveau/nvkm/subdev/volt/gk20a.c

[Nouveau] [PATCH 08/15] clk/gk20a: reorganize MNP calculation a bit

2016-06-01 Thread Alexandre Courbot
Move variables declarations to their actual scope of use, and simplify code a bit. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/clk/gk20a.c b/drm/nouveau/nvkm/su

[Nouveau] [PATCH 04/15] volt/gk20a: rename constructor

2016-06-01 Thread Alexandre Courbot
Strip the _ prefix off the gk20a volt constructor. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/volt/gk20a.c | 10 +- drm/nouveau/nvkm/subdev/volt/gk20a.h | 6 +++--- drm/nouveau/nvkm/subdev/volt/gm20b.c | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff

[Nouveau] [PATCH 07/15] clk/gk20a: setup slide once during init

2016-06-01 Thread Alexandre Courbot
Slide setup needs to be performed only once, during init. Also use the proper parameters for different clock speeds. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 46 - drm/nouveau/nvkm/subdev/clk/gk20a.h | 2 ++ drm/nouveau/nvkm/

[Nouveau] [PATCH 10/15] clk/gk20a: add and use MNP programming functions

2016-06-01 Thread Alexandre Courbot
Add relevant functions to work with the gk20a_pll structure and use them where they ought to be instead of directly manipulating registers. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 35 ++- 1 file changed, 22 insertions(+), 13 dele

[Nouveau] [PATCH 09/15] clk/gk20a: use nvkm_ functions in slide()

2016-06-01 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 26 ++ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/clk/gk20a.c b/drm/nouveau/nvkm/subdev/clk/gk20a.c index 4b9e7ec11412..f07cf5b44fc6 100644 --- a/drm/no

[Nouveau] [PATCH 05/15] volt/gm20b: add support for vmin parameter

2016-06-01 Thread Alexandre Courbot
Chips may be characterized for a minimum voltage. Support this extra parameter and select the appropriate minimum voltage for the detected GPU speedo. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/volt/gk20a.c | 10 +- drm/nouveau/nvkm/subdev/volt/gk20a.h | 2 +- drm/nouv

[Nouveau] [PATCH 01/15] tegra: fetch gpu_speedo_id

2016-06-01 Thread Alexandre Courbot
The GPU speedo ID is required to select the right clk/volt parameters on GM20B. Signed-off-by: Alexandre Courbot --- drm/nouveau/include/nvkm/core/tegra.h | 1 + drm/nouveau/nvkm/engine/device/tegra.c | 1 + lib/include/nvif/os.h | 1 + 3 files changed, 3 insertions(+) diff --

[Nouveau] [PATCH 06/15] clk/gk20a: properly protect macro argument

2016-06-01 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/clk/gk20a.c | 2 +- drm/nouveau/nvkm/subdev/clk/gm20b.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/clk/gk20a.c b/drm/nouveau/nvkm/subdev/clk/gk20a.c index 5f0ee24e31b8..d633669b52dc 1

[Nouveau] [PATCH 02/15] volt/gk20a: make unused public functions static

2016-06-01 Thread Alexandre Courbot
Nobody else is using these, so make them private. Signed-off-by: Alexandre Courbot --- drm/nouveau/nvkm/subdev/volt/gk20a.c | 8 drm/nouveau/nvkm/subdev/volt/gk20a.h | 5 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/volt/gk20a.c b/drm/nou

[Nouveau] [PATCH 00/15] clk/tegra: improve code and add DFS support

2016-06-01 Thread Alexandre Courbot
This series adds support for GM20B PLL's Maxwell features, namely glitchless switch and (more importantly) DFS support. DFS lets the PLL lower its output speed according to input current variations, making the clock more stable and allowing it to run safely at lower voltage. All GM20B additions ar

[Nouveau] [Bug 90626] HP ZBook 15 nouveau driver hangup for kernel >= 4.1

2016-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90626 --- Comment #51 from René Krell --- I was also able to reactivate nouveau on a HP ZBook 15 G2, OpenSUSE Tumbleweed 20160530, kernel 4.5.4-1-default and start X and KDE Plasma 5 on it. The patch seems to work fine. There are some different issues