OpenGL over X11/SSH
Mehmet Erol Sanliturk
m.e.sanliturk at gmail.com
Thu Sep 22 07:19:26 UTC 2016
On Wed, Sep 21, 2016 at 11:48 PM, Andrea Venturoli <ml at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
> @freebsd.org"
>
More information about the freebsd-questions
mailing list