[Nouveau] [Bug 94757] New: powerpc64 & 64Kb kernel pagesize not working with nouveau

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94757

Bug ID: 94757
   Summary: powerpc64 & 64Kb kernel pagesize not working with
nouveau
   Product: xorg
   Version: unspecified
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Driver/nouveau
  Assignee: nouveau@lists.freedesktop.org
  Reporter: mathieu.malate...@gmail.com
QA Contact: xorg-t...@lists.x.org

The recent Debian kernels for powerpc64 are configured with a 64Kb kernel
pagesize.
This works slightly better in terms of performance, however the nouveau display
driver does not currently work kernel pagesizes other than 4Kb size when
running XOrg and powerpc64. It works ok if only using the console though.

Currently, users must recompile the kernel unfortunately and configure with 4Kb
kernel pagesize as this is what nouveau will only work with for now.
This is a hindrance to making people want to adopt debian as their preffered
linux distro with powerpc64 G5 powermac machines.

Im currently running vanilla 3.18.16 configured with 4Kb and nouveau can be
made to work without too many dramas.

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


[Nouveau] [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94757

--- Comment #1 from Mathieu Malaterre  ---
Original bug report is: https://bugs.debian.org/790690

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


[Nouveau] [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94757

--- Comment #2 from Mathieu Malaterre  ---
As explained here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790694#27

[...]
I saw that bug report as well.  I'm not sure what to do about it -
other distributions were also using 64K pages for 64-bit PowerPC the
last time I looked, and there may be good reasons to do that.
[...]

So it would make sense to make nouveau capable of handling 64K pages for
64-bits PowerPC.

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


[Nouveau] [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94757

--- Comment #3 from Ilia Mirkin  ---
Unfortunately it's not just a switch to flip on. A lot of the current code is
very confused about cpu pages vs gpu pages (which are always 4K). Also one
would need a bunch of handling code to deal with sub-cpu-page-sized allocations
on the GPU (or conversely just disallow those entirely).

Nouveau is known to not work properly on non-4K-cpu-page-size, at least with
some GPUs (maybe even all).

AFAIK the benefits of using 64K-pages are virtually non-existent outside the
HPC space (each cached 1 byte file takes up 64K of memory, so it goes a lot
faster). But that's certainly not an argument for not supporting 64K pages in
nouveau.

The argument for not supporting 64K pages is -ENOPATCH :) AFAIK benh tried for
a while and failed. This was ~2y ago.

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


[Nouveau] [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94757

--- Comment #4 from Mathieu Malaterre  ---
Understood. I've reported that back to the Debian kernel team, let's see if we
can have 4K page back for PPC64:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790694#52

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


[Nouveau] [Bug 94725] Nouveau driver fails to poweron GPU on GM204 after dynamic poweroff

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94725

Rashed Abdel-Tawab  changed:

   What|Removed |Added

Summary|Nouveau driver fails to |Nouveau driver fails to
   |load on GM204   |poweron GPU on GM204 after
   ||dynamic poweroff

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


[Nouveau] [Bug 94725] Nouveau driver fails to poweron GPU on GM204 after dynamic poweroff

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94725

Efrem McCrimon  changed:

   What|Removed |Added

 CC||efrem...@gmail.com

--- Comment #5 from Efrem McCrimon  ---
I have the same problem with a GM206, GTX 960. I have to recycle the computer
twice.

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


[Nouveau] [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94757

--- Comment #5 from Mathieu Malaterre  ---
As a side note, would it be possible to have a better error message. Something
along:

printk( "Sorry nouveau only support 4K pages" );

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