Date: Thu, 31 Aug 2017 03:43:07 -0500 From: Scott Bennett <bennett@sdf.org> To: isoa@kapsi.fi Cc: freebsd-x11@freebsd.org Subject: OpenCL/OpenGL contention on a device (was Re: x11/nvidia-driver-340 and OpenCL) Message-ID: <201708310843.v7V8h7Nx006278@sdf.org> In-Reply-To: <85a52dec-c20d-7869-7019-1564e034aad3@kapsi.fi> References: <201708241205.v7OC5wrR016229@sdf.org> <y3q5-l7c4-wny@FreeBSD.org> <201708271111.v7RBB7Z8005388@sdf.org> <8ti4-udq3-wny@FreeBSD.org> <201708281111.v7SBBVSf000652@sdf.org> <85a52dec-c20d-7869-7019-1564e034aad3@kapsi.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
Arto Pekkanen <isoa@kapsi.fi> wrote:
> If the GPU driver is implemented properly there will be no stutter or
> other problems even when running OpenCL jobs.
Really! So an OpenCL work item that needs, say, nearly all the available
memory on a graphics device and a 3D shader that has similar memory
requirements will not interfere with each other? That seems rather magical
somehow, even if the OpenGL stuff always has a higher priority inside the GPU
than the OpenCL stuff.
>
> In Windows there is no problem running OpenCL jobs on the same device
> that operates your display. Like running a crypto currency miner while
> browsing the web. Playing games won't work well, but basic stuff you can do.
>
Is that partly because the memory requirements of the "basic stuff" are
typically tiny when compared to the capacity of today's graphics devices?
> TL;DR when the FreeBSD GPU driver and all the userland bits are up to
> date, I'd expect there to be no issues with stuttering.
>
Do you know the driver well enough to explain to me how the scheduling
inside a graphics device works? I've never seen a description of the
algorithm(s) anywhere.
Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet: bennett at sdf.org *xor* bennett at freeshell.org *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good *
* objection to the introduction of that bane of all free governments *
* -- a standing army." *
* -- Gov. John Hancock, New York Journal, 28 January 1790 *
**********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708310843.v7V8h7Nx006278>
