Re: [Nouveau] Problem with kernels 3.15.0-rc and GF114 [GeForce, GTX 560 Ti] (rev a1) **FIXED**

2014-05-11 Thread Sid Boyce

Whatever the problem was, kernel 3.15.0-rc5 fixed it.
I am not in a position to do a git bisect at present.
Regards
Sid.

On 02/05/14 18:17, nouveau-requ...@lists.freedesktop.org wrote:

Subject: [Nouveau] Problem with kernels 3.15.0-rc and GF114 [GeForce
GTX 560 Ti] (rev a1)
Message-ID:<53638fa1.6020...@blueyonder.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On the slipstream box I have no problems with 3.14.0 kernel.
With 3.15.0-rc kernels, in KDE some applications fail to start - e.g
kmix, some like thunderbird come up but are not usable, e.g clicking to
display a message text, nothing happens and sometimes screens won't switch.
slipstream:~ # lspci
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX
560 Ti] (rev a1)
slipstream:~ # uname -r
3.14.0-smp+

On the 2 other systems with the same openSUSE 13.2 Milestone 0 distro
and identical software levels and packages but different video cards
there is no problem - both up and running on vanilla kernel 3.15.0-rc3
since Monday.
sabre:~ # lspci
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600
GT] (rev a1)
sabre:~ # uname -r
3.15.0-rc3-smp+

tindog:~ # lspci
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT
610] (rev a1)
tindog:~ # uname -r
3.15.0-rc3-smp+

On all systems the kernel config is identical.
Regards
Sid.



--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

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


[Nouveau] [Bug 78570] GT215: Freeze on X startup, 2014.

2014-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78570

--- Comment #4 from patrick  ---
I also found this bug but it's been inactive since 2011:
https://bugs.freedesktop.org/show_bug.cgi?id=43562

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


[Nouveau] [Bug 78570] GT215: Freeze on X startup, 2014.

2014-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78570

--- Comment #3 from patrick  ---
Created attachment 98873
  --> https://bugs.freedesktop.org/attachment.cgi?id=98873&action=edit
photo 2 of freeze

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


[Nouveau] [Bug 78570] GT215: Freeze on X startup, 2014.

2014-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78570

--- Comment #2 from patrick  ---
Created attachment 98872
  --> https://bugs.freedesktop.org/attachment.cgi?id=98872&action=edit
photo 1 of freeze

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


[Nouveau] [Bug 78570] GT215: Freeze on X startup, 2014.

2014-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78570

--- Comment #1 from patrick  ---
Created attachment 98871
  --> https://bugs.freedesktop.org/attachment.cgi?id=98871&action=edit
photo of Virtual Terminal

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


[Nouveau] [Bug 78570] New: GT215: Freeze on X startup, 2014.

2014-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78570

  Priority: medium
Bug ID: 78570
  Assignee: nouveau@lists.freedesktop.org
   Summary: GT215: Freeze on X startup, 2014.
QA Contact: xorg-t...@lists.x.org
  Severity: blocker
Classification: Unclassified
OS: Linux (All)
  Reporter: phix@gmail.com
  Hardware: x86-64 (AMD64)
Status: NEW
   Version: unspecified
 Component: Driver/nouveau
   Product: xorg

Created attachment 98870
  --> https://bugs.freedesktop.org/attachment.cgi?id=98870&action=edit
3.13.0-24-generic log

The system freezes on X starup.
The kernel log reveals a gpu lockup:
16.840862] nouveau E[ DRM] GPU lockup - switching to software fbcon
[   16.844254] nouveau :02:00.0: fb0: nouveaufb frame buffer device
[   16.844257] nouveau :02:00.0: registered panic notifier

I also have pictures of what the monitor looks like.

Software:
Ubuntu 14.04, updated 2014-5-11

Hardware: GT 240, GT215, GDDR5

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


Re: [Nouveau] [PATCH] nv50: fix setting of texture ms info to be per-stage

2014-05-11 Thread Ben Skeggs
On Sat, May 10, 2014 at 1:19 PM, Ilia Mirkin  wrote:
> Different textures may be bound to each slot for each stage. So we need
> to be able to upload ms parameters for each one without stages
> overwriting each other.
>
> Signed-off-by: Ilia Mirkin 
> Cc: "10.1 10.2" 
Reviewed-by: Ben Skeggs 

> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp |  4 
>  src/gallium/drivers/nouveau/nv50/nv50_context.h   | 10 +-
>  src/gallium/drivers/nouveau/nv50/nv50_tex.c   |  2 +-
>  3 files changed, 10 insertions(+), 6 deletions(-)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp 
> b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
> index eafc0a7..63db1d7 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
> @@ -591,6 +591,10 @@ void NV50LoweringPreSSA::loadTexMsInfo(uint32_t off, 
> Value **ms,
> Value *tmp = new_LValue(func, FILE_GPR);
> uint8_t b = prog->driver->io.resInfoCBSlot;
> off += prog->driver->io.suInfoBase;
> +   if (prog->getType() > Program::TYPE_VERTEX)
> +  off += 16 * 2 * 4;
> +   if (prog->getType() > Program::TYPE_GEOMETRY)
> +  off += 16 * 2 * 4;
> *ms_x = bld.mkLoadv(TYPE_U32, bld.mkSymbol(
>   FILE_MEMORY_CONST, b, TYPE_U32, off + 0), NULL);
> *ms_y = bld.mkLoadv(TYPE_U32, bld.mkSymbol(
> diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.h 
> b/src/gallium/drivers/nouveau/nv50/nv50_context.h
> index b776dee..3b7cb18 100644
> --- a/src/gallium/drivers/nouveau/nv50/nv50_context.h
> +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.h
> @@ -78,16 +78,16 @@
>  /* 8 user clip planes, at 4 32-bit floats each */
>  #define NV50_CB_AUX_UCP_OFFSET0x
>  #define NV50_CB_AUX_UCP_SIZE  (8 * 4 * 4)
> -/* 256 textures, each with ms_x, ms_y u32 pairs */
> +/* 16 textures * 3 shaders, each with ms_x, ms_y u32 pairs */
>  #define NV50_CB_AUX_TEX_MS_OFFSET 0x0080
> -#define NV50_CB_AUX_TEX_MS_SIZE   (256 * 2 * 4)
> +#define NV50_CB_AUX_TEX_MS_SIZE   (16 * 3 * 2 * 4)
>  /* For each MS level (4), 8 sets of 32-bit integer pairs sample offsets */
> -#define NV50_CB_AUX_MS_OFFSET 0x880
> +#define NV50_CB_AUX_MS_OFFSET 0x200
>  #define NV50_CB_AUX_MS_SIZE   (4 * 8 * 4 * 2)
>  /* Sample position pairs for the current output MS level */
> -#define NV50_CB_AUX_SAMPLE_OFFSET 0x980
> +#define NV50_CB_AUX_SAMPLE_OFFSET 0x300
>  #define NV50_CB_AUX_SAMPLE_OFFSET_SIZE (4 * 8 * 2)
> -/* next spot: 0x9c0 */
> +/* next spot: 0x340 */
>  /* 4 32-bit floats for the vertex runout, put at the end */
>  #define NV50_CB_AUX_RUNOUT_OFFSET (NV50_CB_AUX_SIZE - 0x10)
>
> diff --git a/src/gallium/drivers/nouveau/nv50/nv50_tex.c 
> b/src/gallium/drivers/nouveau/nv50/nv50_tex.c
> index 5cfce3a..0d2604e 100644
> --- a/src/gallium/drivers/nouveau/nv50/nv50_tex.c
> +++ b/src/gallium/drivers/nouveau/nv50/nv50_tex.c
> @@ -286,7 +286,7 @@ nv50_validate_tic(struct nv50_context *nv50, int s)
> }
> if (nv50->num_textures[s]) {
>BEGIN_NV04(push, NV50_3D(CB_ADDR), 1);
> -  PUSH_DATA (push, (NV50_CB_AUX_TEX_MS_OFFSET << (8 - 2)) | NV50_CB_AUX);
> +  PUSH_DATA (push, ((NV50_CB_AUX_TEX_MS_OFFSET + 16 * s * 2 * 4) << (8 - 
> 2)) | NV50_CB_AUX);
>BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nv50->num_textures[s] * 2);
>for (i = 0; i < nv50->num_textures[s]; i++) {
>   struct nv50_tic_entry *tic = nv50_tic_entry(nv50->textures[s][i]);
> --
> 1.8.5.5
>
> ___
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [Mesa-dev] [PATCH] nv50, nvc0: fix blit 3d path for 1d array textures

2014-05-11 Thread Ben Skeggs
On Sun, May 11, 2014 at 7:53 AM, Ilia Mirkin  wrote:
> Need to adjust coordinates since the shader receives the array index as
> depth in z, but the TEX instruction expects it to be the second
> coordinate for a 1D array texture. This fixes fbo-generatemipmap-array.
>
> Signed-off-by: Ilia Mirkin 
> Cc: "10.2" 
Reviewed-by: Ben Skeggs 

> ---
>  src/gallium/drivers/nouveau/nv50/nv50_surface.c | 6 ++
>  1 file changed, 6 insertions(+)
>
> diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c 
> b/src/gallium/drivers/nouveau/nv50/nv50_surface.c
> index 8addefe..23613d8 100644
> --- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c
> +++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c
> @@ -698,6 +698,12 @@ nv50_blitter_make_fp(struct pipe_context *pipe,
> tc = ureg_DECL_fs_input(
>ureg, TGSI_SEMANTIC_GENERIC, 0, TGSI_INTERPOLATE_LINEAR);
>
> +   if (ptarg == PIPE_TEXTURE_1D_ARRAY) {
> +  /* Adjust coordinates. Depth is in z, but TEX expects it to be in y. */
> +  tc = ureg_swizzle(tc, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z,
> +TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z);
> +   }
> +
> data = ureg_DECL_temporary(ureg);
>
> if (tex_s) {
> --
> 1.8.5.5
>
> ___
> mesa-dev mailing list
> mesa-...@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [PATCH] nv50/ir: make sure to reverse cond codes on all the OP_SET variants

2014-05-11 Thread Ben Skeggs
On Sun, May 11, 2014 at 5:06 AM, Ilia Mirkin  wrote:
> Signed-off-by: Ilia Mirkin 
> Cc: "10.2 10.1" 
Reviewed-by: Ben Skeggs 

> ---
>
> Found this while tracking a regression on nvc0 for my patch which fixes
> ir_unop_any to emit or's instead of dp3's. (That patch is fine, this code was
> always broken.)
>
>  src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp 
> b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
> index c89e1c3..cdae3c8 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
> @@ -187,7 +187,8 @@ LoadPropagation::checkSwapSrc01(Instruction *insn)
>return;
> }
>
> -   if (insn->op == OP_SET)
> +   if (insn->op == OP_SET || insn->op == OP_SET_AND ||
> +   insn->op == OP_SET_OR || insn->op == OP_SET_XOR)
>insn->asCmp()->setCond = reverseCondCode(insn->asCmp()->setCond);
> else
> if (insn->op == OP_SLCT)
> --
> 1.8.5.5
>
> ___
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] irq 45: nobody cared (try booting with the "irqpoll" option)

2014-05-11 Thread Thomas Glanzmann
Hello,
[4.762826] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
(null)
[5.025098] udevd[441]: starting version 175
[5.134411] i2c i2c-0: nForce2 SMBus adapter at 0x2140
[5.134585] i2c i2c-1: nForce2 SMBus adapter at 0x2100
[5.137320] ACPI: bus type USB registered
[5.137444] usbcore: registered new interface driver usbfs
[5.137535] usbcore: registered new interface driver hub
[5.148760] input: Power Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[5.148853] ACPI: Power Button [PWRB]
[5.149019] input: Sleep Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[5.149097] ACPI: Sleep Button [SLPB]
[5.149315] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[5.149392] ACPI: Power Button [PWRF]
[5.149978] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[5.150361] tsc: Marking TSC unstable due to TSC halts in idle
[5.153874] Switched to clocksource hpet
[5.156950] usbcore: registered new device driver usb
[5.158788] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[5.159806] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[5.160283] ohci-pci: OHCI PCI platform driver
[5.160490] ehci-pci: EHCI PCI platform driver
[5.160799] ehci-pci :00:04.1: EHCI Host Controller
[5.160873] ehci-pci :00:04.1: new USB bus registered, assigned bus 
number 1
[5.160955] ehci-pci :00:04.1: debug port 1
[5.161057] ehci-pci :00:04.1: irq 22, io mem 0xd3489200
[5.171083] input: PC Speaker as /devices/platform/pcspkr/input/input3
[5.172030] ehci-pci :00:04.1: USB 2.0 started, EHCI 1.00
[5.172168] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[5.172245] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[5.172321] usb usb1: Product: EHCI Host Controller
[5.172383] usb usb1: Manufacturer: Linux 3.15.0-rc4+ ehci_hcd
[5.172448] usb usb1: SerialNumber: :00:04.1
[5.172710] hub 1-0:1.0: USB hub found
[5.172779] hub 1-0:1.0: 7 ports detected
[5.173355] ehci-pci :00:06.1: EHCI Host Controller
[5.173423] ehci-pci :00:06.1: new USB bus registered, assigned bus 
number 2
[5.173503] ehci-pci :00:06.1: debug port 1
[5.173603] ehci-pci :00:06.1: irq 20, io mem 0xd3489100
[5.180265] ssb: Found chip with id 0x4321, rev 0x05 and package 0x00
[5.184062] ehci-pci :00:06.1: USB 2.0 started, EHCI 1.00
[5.184193] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[5.184258] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[5.184331] usb usb2: Product: EHCI Host Controller
[5.184393] usb usb2: Manufacturer: Linux 3.15.0-rc4+ ehci_hcd
[5.184455] usb usb2: SerialNumber: :00:06.1
[5.184711] hub 2-0:1.0: USB hub found
[5.184779] hub 2-0:1.0: 5 ports detected
[5.185357] ohci-pci :00:04.0: OHCI PCI host controller
[5.185432] ohci-pci :00:04.0: new USB bus registered, assigned bus 
number 3
[5.185551] ohci-pci :00:04.0: irq 23, io mem 0xd3488000
[5.229004] random: nonblocking pool is initialized
[5.242161] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[5.242241] usb usb3: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[5.242312] usb usb3: Product: OHCI PCI host controller
[5.242376] usb usb3: Manufacturer: Linux 3.15.0-rc4+ ohci_hcd
[5.242437] usb usb3: SerialNumber: :00:04.0
[5.242702] hub 3-0:1.0: USB hub found
[5.242774] hub 3-0:1.0: 7 ports detected
[5.244398] ssb: Sonics Silicon Backplane found on PCI device :03:00.0
[5.245400] ohci-pci :00:06.0: OHCI PCI host controller
[5.245473] ohci-pci :00:06.0: new USB bus registered, assigned bus 
number 4
[5.245592] ohci-pci :00:06.0: irq 21, io mem 0xd3487000
[5.302167] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[5.302239] usb usb4: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[5.302311] usb usb4: Product: OHCI PCI host controller
[5.302374] usb usb4: Manufacturer: Linux 3.15.0-rc4+ ohci_hcd
[5.302438] usb usb4: SerialNumber: :00:06.0
[5.302659] hub 4-0:1.0: USB hub found
[5.302727] hub 4-0:1.0: 5 ports detected
[5.330116] cfg80211: Calling CRDA to update world regulatory domain
[5.354105] b43-phy0: Broadcom 4321 WLAN found (core revision 12)
[5.363036] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 23
[5.363118] snd_hda_intel :00:08.0: Disabling MSI
[5.375746] cfg80211: World regulatory domain updated:
[5.375815] cfg80211:  DFS Master region: unset
[5.375869] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp), (dfs_cac_time)
[5.375999] cfg80211:   (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 
2000 mBm), (N/A)
[5.376095] cfg80211:   (2457000 KHz - 2482000 KHz @ 2 KHz),