Re: [Nouveau] [RFC] Explicit synchronization for Nouveau

2014-09-30 Thread Daniel Vetter
On Mon, Sep 29, 2014 at 10:20:44AM -0700, James Jones wrote:
 Additionally, I think the goal is to move to a model where some higher-level
 object such as a working set, rather than individual buffers, are assigned
 counters or sync primitives on a per-submission basis.  Versioning off tags
 for individual buffers then moves to working set modification time.  This is
 more feasible if the only thing that needs precise fencing of individual
 surfaces is lifetime management.

Yeah, there's always ways to make the fence assignment and tracking a bit
more efficient, we're playing around with working-set tricks for i915
ourselves. But fundamentally you still have fences for each buffer object
(just can't directly access them). And for buffers exported with dma_buf
you still need the direct link I think, at least when you care about
implicit syncing somewhat.

 The trend seems to be towards establishing a relatively large working set up
 front and then submitting many command buffers against it, perhaps with
 incremental modifications to the working set along the way.  This may be
 what's referred to as the Android model above, but I view it as the
 non-glitchy graphic model going forward.

Nah, that's something different. Afaik Android drivers don't really bother
a lot with swap and page migration and having a working shrinker for gpu
objects. At least our android guys need to disable the lowmemory killer
since that thing just goes bananas if we driver i915 memory usuage against
the wall and into swap.

I'm not really sure what you mean by non-glitchy graphics, for me this
can mean anything from avoiding stalls to proper syncing with vblanks to
anything else really ... So might be good to elaborate here.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 82527] xset dpms force {off, standby, suspend} returns after ~20 seconds (GeForce 8400 GS)

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82527

michael.weira...@gmail.com changed:

   What|Removed |Added

 CC||michael.weira...@gmail.com

--- Comment #9 from michael.weira...@gmail.com ---
*** Bug 83244 has been marked as a duplicate of this bug. ***

-- 
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 83244] [nvc3/Quadro2000M] external monitor not activated after resume (EDID checksum is invalid)

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83244

michael.weira...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from michael.weira...@gmail.com ---
With
http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=a68e95365a4248d3f58c8663e4513c79273ac704
(disp/nv50: fix dpms regression on certain boards) applied on top of
http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-next my DVI-connected
monitor (via ThinkPad dock) enables after resume.

*** This bug has been marked as a duplicate of bug 82527 ***

-- 
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 82527] xset dpms force {off, standby, suspend} returns after ~20 seconds (GeForce 8400 GS)

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82527

--- Comment #10 from michael.weira...@gmail.com ---
My display re-enabe resume issue (#83244) resolved for me with
http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=a68e95365a4248d3f58c8663e4513c79273ac704
which references this ticket. Thus the duplicate marker. Feel free to rectify
this, if not correctly done.

-- 
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 84515] New: [NV96] HDMI audio works, but has audio gaps or pauses

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84515

  Priority: medium
Bug ID: 84515
  Assignee: nouveau@lists.freedesktop.org
   Summary: [NV96] HDMI audio works, but has audio gaps or pauses
QA Contact: xorg-t...@lists.x.org
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: ppaala...@gmail.com
  Hardware: x86-64 (AMD64)
Status: NEW
   Version: unspecified
 Component: Driver/nouveau
   Product: xorg

Created attachment 107133
  -- https://bugs.freedesktop.org/attachment.cgi?id=107133action=edit
output of lspci -nn

I'm running 3.16.3-gentoo kernel with a
 nouveau  [  DEVICE][:01:00.0] BOOT0  : 0x096500a1
 nouveau  [  DEVICE][:01:00.0] Chipset: G96 (NV96)

On a whim, I decided to try HDMI audio. I plugged in the TV, and extended my
desktop there. To my surprise, 'alsamixer' reports Card: HDA Intel and Chip:
Nvidia MCP77/78 HDMI.

In audacious' ALSA settings, I found a PCM device hw:0,3 labeled as HDMI 0.
When I choose that as the output and play a song:

- The laptop internal speakers, i.e. the whole normal analog audio output
system, produces a loud static, which I have to mute in Alsamixer by muting
Speaker.

- The song comes out mostly fine on the TV! (Was this supposed to work??)

I found I can mute the HDMI audio in alsamixer by setting S/PDIF off. No
other control I tried has any effect on it. That is ok for me.

Apart from the static in the laptop speakers, the primary annoying problem is
that the HDMI audio has short gaps or pauses. I measured it by ear for a couple
of minutes, and the gaps occur roughly 33 second intervals. The length of a gap
is less than a second, maybe a half second.

This bug is about the gaps.

This is the same system as in my bug #60680 where we eventually got HDMI video
output regression solved. You can find an old mmiotrace there, and VBIOS dump.

-- 
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 84515] [NV96] HDMI audio works, but has audio gaps or pauses

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84515

--- Comment #1 from Pekka Paalanen ppaala...@gmail.com ---
Created attachment 107134
  -- https://bugs.freedesktop.org/attachment.cgi?id=107134action=edit
dmesg 3.16.3 while HDMI audio working, with gaps

-- 
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 84515] [NV96] HDMI audio works, but has audio gaps or pauses

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84515

--- Comment #2 from Pekka Paalanen ppaala...@gmail.com ---
The gaps are not deterministic, sometimes it doesn't happen and then it starts
to happen again.

-- 
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 84515] [NV96] HDMI audio works, but has audio gaps or pauses

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84515

--- Comment #3 from Pekka Paalanen ppaala...@gmail.com ---
On a quick test with mplayer, the gaps do not seem to come when watching a
video.

-- 
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 84515] [NV96] HDMI audio works, but has audio gaps or pauses

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84515

--- Comment #4 from Pekka Paalanen ppaala...@gmail.com ---
I tried to verify if playing a video actually does prevent the gaps, but now I
find it very hard to reproduce the gaps with the same procedure as they earlier
came regularly at a half minute intervals.

-- 
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 84515] [NV96] HDMI audio works, but has audio gaps or pauses

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84515

Pekka Paalanen ppaala...@gmail.com changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #5 from Pekka Paalanen ppaala...@gmail.com ---
I need to get an mmiotrace from the blob doing audio.

 imirkin_ start it up unplugged, then echo a mark, and then plug it in
 imirkin_ that _should_ be enough
 imirkin_ oh, and make sure stuff displays on there obviously

-- 
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] VGA resume thaw (wake up from S3 S4) - resolved

2014-09-30 Thread poma
3.17.0-0.rc7.git0.2.fc21.x86_64  PASSED
  i.e.
3.17.0-0.rc7.git0.1.fc22.x86_64
  patched with 
  disp/nv50: fix dpms regression on certain boards
  http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=a68e953


poma

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


[Nouveau] [Bug 83550] [NVA5] Monitor not restored after resume [regression] [bisected]

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83550

--- Comment #11 from poma pomidorabelis...@gmail.com ---

3.17.0-0.rc7.git0.2.fc21.x86_64  PASSED
  i.e.
3.17.0-0.rc7.git0.1.fc22.x86_64
  patched with 
  disp/nv50: fix dpms regression on certain boards
  http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=a68e953

-- 
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 83550] [NVA5] Monitor not restored after resume [regression] [bisected]

2014-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83550

poma pomidorabelis...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
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