[Nouveau] [Bug 92077] nouveau graphics freeze when using KDE Plasma 5; PGR engine fault

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92077

--- Comment #3 from zoominee  ---
(In reply to Ilia Mirkin from comment #1)
> An apitrace is really the only way this sort of issue will be debugged. If
> you can't share the trace due to privacy, please try to recreate the issue
> without private content. You can upload a large file to e.g. google drive.
> 
> A number of people are having issues with plasmashell and nouveau.

OK, I'll try to recreate a trace with the background graphics off and doing
nothing on the screen. I think it's the applet that shows current system
activity which causes this behaviour (or maybe it's the clock display).

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 92077] New: nouveau graphics freeze when using KDE Plasma 5; PGR engine fault

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92077

Bug ID: 92077
   Summary: nouveau graphics freeze when using KDE Plasma 5; PGR
engine fault
   Product: Mesa
   Version: 10.3
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/nouveau
  Assignee: nouveau@lists.freedesktop.org
  Reporter: gen...@moin.fi
QA Contact: nouveau@lists.freedesktop.org

I upgraded KDE to Plasma-workspaces version 5. (Gentoo system)
Now, sometimes when my system has been idle for a while, it appears
"unresponsive" when I come back (screen doesn't wake up on mouse, mouse pointer
doesn't work if I switch off screen sleep, no reaction to any keys, etc.). The
system doesn't crash, but the nouveau graphics output does, and I cannot reach
a console using the keyboard, either.

I found the below output in /var/log/messages (a number of instances of
observing the bug; ... indicates that I had to restart the system).

Versions used:
x11-drivers/xf86-video-nouveau-1.0.11
x11-base/xorg-server-1.16.4
media-libs/mesa-10.3.7-r1
x11-libs/libdrm-2.4.59
x11-base/xorg-drivers-1.16
Kernel: 4.0.5 (self-compiled)

I filed a bug against Plasma 5 but I'm not sure if it's their bug. See
https://bugs.kde.org/show_bug.cgi?id=352605

I also have an apitrace record of plasmashell, replaying which (like a mini
film) also freezes the nouveau. But it's a rather large file (1.4 GB) and
contains private photos.

>From /var/log/messages:

Sep  6 16:31:09 localhost kernel: nouveau E[   PFIFO][:02:00.0] read fault
at 0x0004042000 [PTE] from GR/GPC0/T1_1 on channel 0x0
03f7af000 [plasmashell[6790]]
Sep  6 16:31:09 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 10, recovering...
Sep  6 16:33:20 localhost kernel: nouveau E[   PFIFO][:02:00.0] read fault
at 0x023000 [PTE] from PBDMA0/HOST_CPU on channel 
0x003fbe [unknown]
[...]
Sep  7 23:30:25 localhost kernel: nouveau E[   PFIFO][:02:00.0] write fault
at 0x0003d49000 [PTE] from GR/GPC0/PROP_0 on channel 
0x003f8ef000 [plasmashell[19341]]
Sep  7 23:30:25 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 8, recovering...
[...]
Sep  8 23:21:29 localhost kernel: nouveau E[   PFIFO][:02:00.0] write fault
at 0x0003e02000 [PTE] from GR/GPC0/PROP_0 on channel 
0x003f8ef000 [plasmashell[4952]]
Sep  8 23:21:29 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 8, recovering...
[...]
Sep 10 02:00:03 localhost kernel: nouveau E[   PFIFO][:02:00.0] read fault
at 0x000174 [PTE] from GR/GPC0/T1_0 on channel 0x0
03f8ef000 [plasmashell[4709]]
Sep 10 02:00:03 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 8, recovering...
[...]
Sep 11 03:07:57 localhost kernel: nouveau E[   PFIFO][:02:00.0] read fault
at 0x0003508000 [PTE] from GR/GPC0/T1_0 on channel 0x0
03f84f000 [plasmashell[6720]]
Sep 11 03:07:57 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 9, recovering...
[...]
Sep 12 00:19:50 localhost kernel: nouveau E[   PFIFO][:02:00.0] write fault
at 0x0003ef5000 [PTE] from GR/GPC0/PROP_0 on channel 
0x003facd000 [plasmashell[20804]]
Sep 12 00:19:50 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 5, recovering...

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 92077] nouveau graphics freeze when using KDE Plasma 5; PGR engine fault

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92077

--- Comment #2 from zoominee  ---
Created attachment 118402
  --> https://bugs.freedesktop.org/attachment.cgi?id=118402=edit
VBIOS dump

VBIOS dump acquired using the /sys method.

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 92072] Wine breackage since 504903b827604f1a630a335d14231f88c2cf36be (st/mesa: don't call st_validate_state in BlitFramebuffer)

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92072

Ilia Mirkin  changed:

   What|Removed |Added

  Component|Drivers/DRI/nouveau |Mesa core
   Assignee|nouveau@lists.freedesktop.o |mesa-dev@lists.freedesktop.
   |rg  |org
 QA Contact|nouveau@lists.freedesktop.o |mesa-dev@lists.freedesktop.
   |rg  |org

--- Comment #1 from Ilia Mirkin  ---
This appears to affect all gallium drivers -- Glenn confirmed this was also
showing black on r600. i965 is unaffected.

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 92077] nouveau graphics freeze when using KDE Plasma 5; PGR engine fault

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92077

--- Comment #1 from Ilia Mirkin  ---
An apitrace is really the only way this sort of issue will be debugged. If you
can't share the trace due to privacy, please try to recreate the issue without
private content. You can upload a large file to e.g. google drive.

A number of people are having issues with plasmashell and nouveau.

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91738] [NV117] NULL deref in nvkm_i2c_try_acquire_pad, kernel 4.1

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91738

--- Comment #18 from Ben Skeggs  ---
(In reply to ryanpcmcquen from comment #17)
> Created attachment 118404 [details]
> dmesg on linux 4.1.8
> 
> Just so you know, I am still getting a hard system freeze on Linux 4.1.8.
> 
> http://sprunge.us/OQUT

Are you able to try with a 4.3-rc kernel? This code got reworked to be more
sane and hopefully fixes this issue as a side-effect.

-- 
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 91738] [NV117] NULL deref in nvkm_i2c_try_acquire_pad, kernel 4.1

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91738

--- Comment #19 from ryanpcmcquen  ---
(In reply to Ben Skeggs from comment #18)
> Are you able to try with a 4.3-rc kernel? This code got reworked to be more
> sane and hopefully fixes this issue as a side-effect.

Thanks for the reply Ben. X does not work for me on Linux 4.2.1 (it will not
start). I just tried compiling Linux 4.3-rc2, but it will not compile, I will
try again when rc3 comes out, hopefully that will fix it.

-- 
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 91738] [NV117] NULL deref in nvkm_i2c_try_acquire_pad, kernel 4.1

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91738

ryanpcmcquen  changed:

   What|Removed |Added

 CC||rya...@linux.com

--- Comment #17 from ryanpcmcquen  ---
Created attachment 118404
  --> https://bugs.freedesktop.org/attachment.cgi?id=118404=edit
dmesg on linux 4.1.8

Just so you know, I am still getting a hard system freeze on Linux 4.1.8.

http://sprunge.us/OQUT

-- 
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 92077] nouveau graphics freeze when using KDE Plasma 5; PGR engine fault

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92077

--- Comment #4 from zoominee  ---
I generated a new apitrace without too much private content. It was about 155
MB, so I zipped it down to 77 MB. Because I couldn't attach that to this
report, I uploaded it to a free service, here's the link. Maybe it works.
http://www.uploadmb.com/dw.php?id=1442982871

The apitrace was generated with the versions mentioned in the bug's
Description.

I noticed that there is a newer mesa, so I will test (later) whether the
apitrace still results in the graphics freeze.

The dmesg output related to this graphics freeze captured in the new trace is
the following:

Sep 22 23:49:39 localhost kernel: nouveau E[   PFIFO][:02:00.0] read fault
at 0x000310e000 [PTE] from GR/GPC0/T1_1 on channel 0x003facd000
[plasmashell[2933]] 
Sep 22 23:49:39 localhost kernel: nouveau E[   PFIFO][:02:00.0] PGR engine
fault on channel 5, recovering...
Sep 22 23:49:39 localhost kernel: nouveau E[ PGR][:02:00.0] TRAP ch 5
[0x003facd000 plasmashell[2933]]
Sep 22 23:49:39 localhost kernel: nouveau E[ PGR][:02:00.0]
GPC0/TPC0/TEX: 0x8049
Sep 22 23:49:39 localhost kernel: nouveau E[ PGR][:02:00.0]
GPC0/TPC1/TEX: 0x8049

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 92072] New: Wine breackage since 504903b827604f1a630a335d14231f88c2cf36be (st/mesa: don't call st_validate_state in BlitFramebuffer)

2015-09-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92072

Bug ID: 92072
   Summary: Wine breackage  since
504903b827604f1a630a335d14231f88c2cf36be (st/mesa:
don't call st_validate_state in BlitFramebuffer)
   Product: Mesa
   Version: git
  Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/nouveau
  Assignee: nouveau@lists.freedesktop.org
  Reporter: rand...@mail.ru
QA Contact: nouveau@lists.freedesktop.org

Created attachment 118396
  --> https://bugs.freedesktop.org/attachment.cgi?id=118396=edit
X log

Hello. 

Recently I tried  to play win32  version of UnrealTournament (first version)
via wine. It worked before, but now failed. Updating wine to latest git
(wine-1.7.51-201-g60d1d6f) not helped. I've bisected this down to mesa  commit
in summary (bisect was  done on 10.6 branch, while bug was also present  on
master, what I usually use).

Bug manifested itself as static desktop image instead of  fullscreen or even
windowed game (in windowed mode it was not wine's desktop, yet not anything
from game). I also suspect llvmpipe can be affected - because I tried with
LIBGL_ALWAYS_SOFTWARE=1 and saw similar effect.

Hopefully below  you can find apitrace from successfull game startup:
https://cloud.mail.ru/public/Hre5/bqVCYrwod

(3.2 Mb)

git bisect log below:

git bisect start
# good: [0b8e73a6ae2a77d0e9a7810cca5b181ba5f0893e] r600g,radeonsi: add driver
queries for GPU temperature and shader+memory clocks
git bisect good 0b8e73a6ae2a77d0e9a7810cca5b181ba5f0893e
# bad: [02387926addc62198c9b684f4f51f7cbe06b3e25] docs: add sha256 checksums
for 10.6.8
git bisect bad 02387926addc62198c9b684f4f51f7cbe06b3e25
# good: [65d4a20f1c1923498220637f9474d2ae399df52d] main: Refactor
invalidate_framebuffer_storage.
git bisect good 65d4a20f1c1923498220637f9474d2ae399df52d
# good: [1f3ec929761d9aee986362ef90a4a150f4481496] mesa: Turn
need_rgb_to_luminance_conversion() in to a global function
git bisect good 1f3ec929761d9aee986362ef90a4a150f4481496
# bad: [1f6798a70a6d7e6db636decc6af752f9a7714906] egl: Add eglQuerySurface
surface type check for EGL_LARGEST_PBUFFER attrib
git bisect bad 1f6798a70a6d7e6db636decc6af752f9a7714906
# bad: [1f6798a70a6d7e6db636decc6af752f9a7714906] egl: Add eglQuerySurface
surface type check for EGL_LARGEST_PBUFFER attrib
git bisect bad 1f6798a70a6d7e6db636decc6af752f9a7714906
# good: [4c3a4ac6da7820226ecad5fd654899ae727e11e0] nvc0: turn sample counts off
during blit
git bisect good 4c3a4ac6da7820226ecad5fd654899ae727e11e0
# good: [ddc976368fef367e464472ebcc2ac4fd89eb9fd8] Add release notes for 10.6.3
git bisect good ddc976368fef367e464472ebcc2ac4fd89eb9fd8
# bad: [ba10c9ff5088b99591c13cad0b70929b49e6319c] nvc0: fix geometry program
revalidation of clipping params
git bisect bad ba10c9ff5088b99591c13cad0b70929b49e6319c
# bad: [fbc464803a777bea4f9b7b11eeba192122adf8cb] mesa: Turn
get_readpixels_transfer_ops() in to a global function
git bisect bad fbc464803a777bea4f9b7b11eeba192122adf8cb
# bad: [504903b827604f1a630a335d14231f88c2cf36be] st/mesa: don't call
st_validate_state in BlitFramebuffer
git bisect bad 504903b827604f1a630a335d14231f88c2cf36be
# good: [c33ca1696a0a967091937805fa198ffc3317a03f] configure.ac: do not set
HAVE_DRI(23) when libdrm is missing
git bisect good c33ca1696a0a967091937805fa198ffc3317a03f

---

Hw:
05:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 8800 GS]
(rev a2) (prog-if 00 [VGA controller])

Note: I use older (patched) X server from 1.12 branch - but as far as I can see
it doesn't expose anything new (sRGB fbconfigs, etc), and just changing
nouveau_dri.so alone enough to make bug visible.

-- 
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
http://lists.freedesktop.org/mailman/listinfo/nouveau