Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 19:23:16 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Scott Bennett <bennett@sdf.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: x11/nvidia-driver-340 and OpenCL
Message-ID:  <8ti4-udq3-wny@FreeBSD.org>
References:  <201708241205.v7OC5wrR016229@sdf.org> <y3q5-l7c4-wny@FreeBSD.org> <201708271111.v7RBB7Z8005388@sdf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Bennett <bennett@sdf.org> writes:

>      Thank you very much for that information, Jan.  I will take a look at
> that, but if the situation is that chancy and would mean being stuck with
> 32-bit emulation, it probably wouldn't be my best option after all.

lang/pocl may also be useful, mainly when debugging OpenCL in apps.

>      Do you know whether a 64-bit driver (for later Nvidia cards, of course)
> is in the works with up-to-date features?

No. Try pinging upstream on https://devtalk.nvidia.com/default/board/97/

> Or would I do better by buying a more recent Radeon card?

Did lang/clover not work on Radeon HD 3870 e.g., with radeonkms + r600g?
If so, try upgrading just the kernel to drm-next branch.

Personally, I use lang/beignet on Intel Skylake GT2 (iGPU). The performance
is decent enough to accelerate some jobs e.g., waifu2x-convert-cpp,
ImageMagick, FFmpeg (a few filters but VAAPI encoding also works). X11 display
stutters if OpenCL is running on the same GPU, but neither setpriority(2)
nor rtprio(2) help. Switching X11 display to NVIDIA Kepler GK107 (dGPU)
eliminated the stutter. However, there's probably a better way to schedule
jobs on GPU.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ti4-udq3-wny>