On 04/11/15 10:38, C Bergström wrote:> On Wed, Nov 4, 2015 at 3:33 PM, Martin Peres <martin.peres at free.fr> wrote: >> On 04/11/15 09:08, cbergstrom at pathscale.com wrote: >> >> Is anyone actually and or actively working on this? >> Github.com/pathscale/pscnv is totally bitrot but waaay more portable base. >> Nouveau made hard Linux assumptions that will be difficult to overcome >> afaik. >> >> >> As pointed out by Ilia, this is not true anymore. Nouveau can also partially >> run in the userspace, the hard dependencies on Linux have been abstracted. >> >> Also, pscnv does not support the newest GPUs and receives no further >> development because everything it provided is now provided by Nouveau. > I did mention pscnv was bitrot, but I'm not yet convinced that some of > the key things which are implemented in nouveau were done to a > comparable level of quality (would need to evaluate and don't have > time/interest) > ------- > To bring this conversation back on track - where would someone start > *exactly* to port this to another OS? What kernel dependencies are > there?This needs to be ported to the other OS, along with drm and ttm (which I believe have already been ported to all the BSDs): http://cgit.freedesktop.org/~darktama/nouveau/tree/lib/include/nvif/os.h
Wasn't there some work being done by François Tigeot or Jean-Sébastien Pédron to port Nouveau to DragonFlyBSD/FreeBSD? Or at least they were talking about porting it at XDC 2014, no idea what the current status is. Pierre PS: Looking at François' slides from this year XDC, it seems there isn't much progress about it. On 10:44 AM - Nov 04 2015, Martin Peres wrote:> > > On 04/11/15 10:38, C Bergström wrote: > >On Wed, Nov 4, 2015 at 3:33 PM, Martin Peres <martin.peres at free.fr> wrote: > >>On 04/11/15 09:08, cbergstrom at pathscale.com wrote: > >> > >>Is anyone actually and or actively working on this? > >>Github.com/pathscale/pscnv is totally bitrot but waaay more portable base. > >>Nouveau made hard Linux assumptions that will be difficult to overcome > >>afaik. > >> > >> > >>As pointed out by Ilia, this is not true anymore. Nouveau can also partially > >>run in the userspace, the hard dependencies on Linux have been abstracted. > >> > >>Also, pscnv does not support the newest GPUs and receives no further > >>development because everything it provided is now provided by Nouveau. > >I did mention pscnv was bitrot, but I'm not yet convinced that some of > >the key things which are implemented in nouveau were done to a > >comparable level of quality (would need to evaluate and don't have > >time/interest) > >------- > >To bring this conversation back on track - where would someone start > >*exactly* to port this to another OS? What kernel dependencies are > >there? > > This needs to be ported to the other OS, along with drm and ttm (which I > believe have already been ported to all the BSDs): > http://cgit.freedesktop.org/~darktama/nouveau/tree/lib/include/nvif/os.h > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau
On 04/11/15 11:58, Pierre Moreau wrote:> Wasn't there some work being done by François Tigeot or Jean-Sébastien Pédron > to port Nouveau to DragonFlyBSD/FreeBSD? Or at least they were talking about porting it > at XDC 2014, no idea what the current status is.From what they said, they never really cared about nvidia because nvidia provides a binary driver that works, unlike intel and amd. I guess it will come some day!
On 04.11.2015 10:58, Pierre Moreau wrote:> Wasn't there some work being done by François Tigeot or Jean-Sébastien Pédron > to port Nouveau to DragonFlyBSD/FreeBSD? Or at least they were talking about porting it > at XDC 2014, no idea what the current status is. > > Pierre > > PS: Looking at François' slides from this year XDC, it seems there isn't much > progress about it.Hi! Pierre, you're right, and the same applies to FreeBSD: nobody started to work on this. I will let François comment for DragonFly, but on FreeBSD, our problem is that the diff with Linux was too large to do an easy port of a driver. This was fixed in DRM core earlier this year, and I'm about to finish an update to i915 which is the last part to finally have a small diff with Linux. At that point our entire DRM subsystem will correspond to Linux 3.8 (minus dma-buf). At that point, it will be far easier to contribute to FreeBSD. As Martin said, TTM is already ported so I believe everything is in place to port Nouveau. In the coming months, the goal will be to bring our DRM subsystem to match Linux 3.9 then 3.10, etc. I personnally have no plan to work on Nouveau for the time being because the i915 and Radeon drivers are enough to keep me busy. However, we would welcome any contributions! People are asking about this on a regular basis, so please contact me if you are willing to work on this. Soon, we'll see Tux proudly holding a trident in the logo! :) (Don't get me wrong, I love the current logo) -- Jean-Sébastien Pédron -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 949 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20151104/cd36087c/attachment.sig>