Date: Thu, 22 Sep 2016 00:19:25 -0700 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Andrea Venturoli <ml@netfence.it> Cc: Polytropon <freebsd@edvax.de>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: OpenGL over X11/SSH Message-ID: <CAOgwaMt6OWhY34AdqM=DDzfCTtwY6WObrTw1HQF_XYKfw3TQpQ@mail.gmail.com> In-Reply-To: <15ee2107-8cdc-8d1a-4bb5-2765587453b0@netfence.it> References: <2deff892-7ac3-e3e2-92fe-27e95f089ea0@netfence.it> <20160922051741.5092ccae.freebsd@edvax.de> <15ee2107-8cdc-8d1a-4bb5-2765587453b0@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 21, 2016 at 11:48 PM, Andrea Venturoli <ml@netfence.it> wrote: > On 09/22/16 05:17, Polytropon wrote: > > If I understand the messages correctly, the OpenGL output requires >> direct rendering (DRM) instead of a software renderer. >> > > Ok, but why? > Is this a requirement an X client can impose? > An option in some port? > A sysctl? > ...? > > I see other programs giving the same message, but then proceed with > software rendering. > > > Reason is the kind of writing and compilation of OpenGL programs : There are two options : ( 1 ) Use graphics card hardware : This depends on graphics card related libraries/features and requires a graphics card having the used features ( 2 ) Without using graphics card hardware , means using software for graphics computations. Therefore , it is necessary to check the program to use with respect to which features are used and apply it with respect to these features . If the program depends on graphics card hardware , and such a graphics card does not exist , it will produce errors and stop or crash . Mehmet Erol Sanliturk > > The DRM/DRI >> task is being performed directly on the hardware the program is >> running on and maybe cannot be redirected to a remote X system. >> > > Being a headless server, I don't think I've enabled DRI on this box... I > don't load any related kernel module and I don't even have an Xorg.conf. > BTW, I forgot to mention this is 10.3/amd64. > > > > The somehow direct access to the hardware maybe cannot be tunneled >> over X11/SSH. >> > > Ok with this; I'd just like to avoid DRM/DRI at all. > > > > The messages indicate that the DRM device cannot be >> found and the r600 (Radeon?) driver cannot be loaded. >> > > There is no Radeon card on the headless box; the CPU is an i5 (with > integrated GPU) and that's all. > I've got a Radeon on the client (i.e. where the X server runs), but does > this matter? > > > > This is a quire early error of libGL. >> > > Sorry, I don't understand what you mean here. > > > > On the other hand, if you use software rendering, it _should_ work. >> > > Exactly as I thought. > So the question is: how do I force software rendering? > > > > bye & Thanks > av. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMt6OWhY34AdqM=DDzfCTtwY6WObrTw1HQF_XYKfw3TQpQ>