Re: [OE-core] [PATCH] xserver-xf86-config: Loading glx module

2015-01-06 Thread sujith h
On Tue, Jan 6, 2015 at 6:41 PM, sujith h  wrote:

>
>
> On Tue, Jan 6, 2015 at 6:38 PM, Burton, Ross 
> wrote:
>
>>
>> On 6 January 2015 at 12:51, sujith h  wrote:
>>
>>> saying: "could not initialize glx" . Hence I made a change in the recipe
>>> and added IMAGE_INSTALL_append = " xserver-xorg-extension-glx" and it
>>> worked fine. Hence I thought of adding this change. Let me know if there is
>>> any issues/concern.
>>>

>> Actually installing the GLX module in the image is a prerequisite to
>> loading the module...  you don't need to modify the xorg.conf - as I said
>> the GLX module (along with several other modules) are loaded automatically
>> *if present*.
>>
>
> Thanks for the clarification. I will check once again by adding glx module
> to the image and remove the patch and see the result. I will update here.
>

Just now I had verified and thanks for the clarification again. It worked
by removing the patch I had created and adding  xserver-xorg-extension-glx
to the image. Good learning for me :)


>> Ross
>>
>
>
>
> --
> സുജിത് ഹരിദാസന്
> Bangalore
> Contributor to KDE project
> http://fci.wikia.com/wiki/Anti-DRM-Campaign
>  http://sujithh.info
>



-- 
സുജിത് ഹരിദാസന്
Bangalore
Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
 http://sujithh.info
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] xserver-xf86-config: Loading glx module

2015-01-06 Thread sujith h
On Tue, Jan 6, 2015 at 6:38 PM, Burton, Ross  wrote:

>
> On 6 January 2015 at 12:51, sujith h  wrote:
>
>> saying: "could not initialize glx" . Hence I made a change in the recipe
>> and added IMAGE_INSTALL_append = " xserver-xorg-extension-glx" and it
>> worked fine. Hence I thought of adding this change. Let me know if there is
>> any issues/concern.
>>
>>>
> Actually installing the GLX module in the image is a prerequisite to
> loading the module...  you don't need to modify the xorg.conf - as I said
> the GLX module (along with several other modules) are loaded automatically
> *if present*.
>

Thanks for the clarification. I will check once again by adding glx module
to the image and remove the patch and see the result. I will update here.

>
> Ross
>



-- 
സുജിത് ഹരിദാസന്
Bangalore
Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
 http://sujithh.info
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] xserver-xf86-config: Loading glx module

2015-01-06 Thread Burton, Ross
On 6 January 2015 at 12:51, sujith h  wrote:

> saying: "could not initialize glx" . Hence I made a change in the recipe
> and added IMAGE_INSTALL_append = " xserver-xorg-extension-glx" and it
> worked fine. Hence I thought of adding this change. Let me know if there is
> any issues/concern.
>
>>
Actually installing the GLX module in the image is a prerequisite to
loading the module...  you don't need to modify the xorg.conf - as I said
the GLX module (along with several other modules) are loaded automatically
*if present*.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] xserver-xf86-config: Loading glx module

2015-01-06 Thread sujith h
On Tue, Jan 6, 2015 at 5:00 PM, Burton, Ross  wrote:

>
> On 6 January 2015 at 10:54, Sujith H  wrote:
>
>> +if
>> ${@bb.utils.contains('DISTRO_FEATURES','x11','true','false',d)}; then
>>
>
> Why would a X11-specific recipe need an X11 feature check?
>
Correct, I will remove the x11 feature check from the patch.

>
>
>> +cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF
>> +Section "Module"
>> +Load   "glx"
>> +EndSection
>>
>
> But GLX is automatically loaded by the xserver,  My test machine doesn't
> have a xorg.conf and GLX loads on startup.  Does your machine configuration
> ship a xorg.conf?
>
No, we get the xorg.conf from this same recipe. And while I was testing
some opengl related examples from Qt5, I was getting error
saying: "could not initialize glx" . Hence I made a change in the recipe
and added IMAGE_INSTALL_append = " xserver-xorg-extension-glx" and it
worked fine. Hence I thought of adding this change. Let me know if there is
any issues/concern.

>
> Ross
>



-- 
സുജിത് ഹരിദാസന്
Bangalore
Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
 http://sujithh.info
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] xserver-xf86-config: Loading glx module

2015-01-06 Thread Burton, Ross
On 6 January 2015 at 10:54, Sujith H  wrote:

> +if
> ${@bb.utils.contains('DISTRO_FEATURES','x11','true','false',d)}; then
>

Why would a X11-specific recipe need an X11 feature check?


> +cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF
> +Section "Module"
> +Load   "glx"
> +EndSection
>

But GLX is automatically loaded by the xserver,  My test machine doesn't
have a xorg.conf and GLX loads on startup.  Does your machine configuration
ship a xorg.conf?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core