All of lore.kernel.org
 help / color / mirror / Atom feed
* libGL error. glxgears not displaying on core-image-x11
@ 2013-08-16  5:55 Ashwin Kirpalani
  2013-08-16 11:36 ` Daiane Angolini
  0 siblings, 1 reply; 2+ messages in thread
From: Ashwin Kirpalani @ 2013-08-16  5:55 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]

Running core-image-x11 on master branch. When I run linphone ( a VOIP
application) with video enabled, I get the following error:

libGL error: UNIX signal already caught!libGL error: UNIX signal already
caught!libGL error: UNIX signal already caught!ortp-error-Failed to
retrieve a framebuffer config
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x0
  Serial number of failed request:  24
  Current serial number in output stream:  25

So it seems that libGL is not working/missing. Here is what I see for files
named "*glx*":

root@imx6qsabrelite:/# find . -iname "*glx*"
./usr/bin/glxheads
./usr/bin/glxpixmap
./usr/bin/glxdemo
./usr/bin/glxpbdemo
./usr/bin/glxinfo
./usr/bin/glxsnoop
./usr/bin/glxgears
./usr/bin/glxgears_pixmap
./usr/bin/glxswapcontrol
./usr/bin/glxgears_fbconfig
./usr/bin/glxcontexts
./usr/lib/xorg/modules/extensions/libglx.so


So I run "glxgears" and I don't get anything on the hdmi monitor.
Previously, I remember it running on an fsl-image-gui image, but it doesn't
run on the core-image-x11 image. So seems like something is wrong with
libGL not loading right in this image? FYI, i have modified
core-image-x11.bb to include a few more packages like gstreamer and debug
tools.

$ cat ./poky/meta/recipes-graphics/images/core-image-x11.bb
DESCRIPTION = "A very basic X11 image with a terminal"

IMAGE_FEATURES += "splash package-management x11-base debug-tweaks
ssh-server-dropbear"
DISTRO_FEATURES += "pulseaudio"

LICENSE = "MIT"

inherit core-image

SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"

# Add extra image features
EXTRA_IMAGE_FEATURES += " \
    ${SOC_EXTRA_IMAGE_FEATURES} \
    nfs-server \
    tools-debug \
    tools-profile \
"

IMAGE_INSTALL += " \
    packagegroup-fsl-gstreamer \
    packagegroup-fsl-tools-testapps \
    packagegroup-fsl-tools-benchmark \
    opencv \
    opencv-samples \
    linphone-nogtk-console \
"

So my question is: why doesn't "glxgears" work on this image?

Thanks

[-- Attachment #2: Type: text/html, Size: 3090 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libGL error. glxgears not displaying on core-image-x11
  2013-08-16  5:55 libGL error. glxgears not displaying on core-image-x11 Ashwin Kirpalani
@ 2013-08-16 11:36 ` Daiane Angolini
  0 siblings, 0 replies; 2+ messages in thread
From: Daiane Angolini @ 2013-08-16 11:36 UTC (permalink / raw)
  To: meta-freescale, akcooper8@gmail.com >> Ashwin Kirpalani

On 08/16/2013 02:55 AM, Ashwin Kirpalani wrote:
> Running core-image-x11 on master branch. When I run linphone ( a VOIP
> application) with video enabled, I get the following error:
>
> libGL error: UNIX signal already caught!libGL error: UNIX signal already
> caught!libGL error: UNIX signal already caught!ortp-error-Failed to
> retrieve a framebuffer config
> X Error of failed request:  BadWindow (invalid Window parameter)
>    Major opcode of failed request:  3 (X_GetWindowAttributes)
>    Resource id in failed request:  0x0
>    Serial number of failed request:  24
>    Current serial number in output stream:  25
>
> So it seems that libGL is not working/missing. Here is what I see for
> files named "*glx*":

Try

$ export VIV_DESKTOP=0

and then run your application.

Please, share the results

(i'm not sure if this variable was needed on master....)


> VIV_DESKTOP=0
> root@imx6qsabrelite:/# find . -iname "*glx*"
> ./usr/bin/glxheads
> ./usr/bin/glxpixmap
> ./usr/bin/glxdemo
> ./usr/bin/glxpbdemo
> ./usr/bin/glxinfo
> ./usr/bin/glxsnoop
> ./usr/bin/glxgears
> ./usr/bin/glxgears_pixmap
> ./usr/bin/glxswapcontrol
> ./usr/bin/glxgears_fbconfig
> ./usr/bin/glxcontexts
> ./usr/lib/xorg/modules/extensions/libglx.so
>
>
> So I run "glxgears" and I don't get anything on the hdmi monitor.
> Previously, I remember it running on an fsl-image-gui image, but it
> doesn't run on the core-image-x11 image. So seems like something is
> wrong with libGL not loading right in this image? FYI, i have modified
> core-image-x11.bb <http://core-image-x11.bb> to include a few more
> packages like gstreamer and debug tools.
>
> $ cat ./poky/meta/recipes-graphics/images/core-image-x11.bb
> <http://core-image-x11.bb>
> DESCRIPTION = "A very basic X11 image with a terminal"
>
> IMAGE_FEATURES += "splash package-management x11-base debug-tweaks
> ssh-server-dropbear"
> DISTRO_FEATURES += "pulseaudio"
>
> LICENSE = "MIT"
>
> inherit core-image
>
> SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
>
> # Add extra image features
> EXTRA_IMAGE_FEATURES += " \
>      ${SOC_EXTRA_IMAGE_FEATURES} \
>      nfs-server \
>      tools-debug \
>      tools-profile \
> "
>
> IMAGE_INSTALL += " \
>      packagegroup-fsl-gstreamer \
>      packagegroup-fsl-tools-testapps \
>      packagegroup-fsl-tools-benchmark \
>      opencv \
>      opencv-samples \
>      linphone-nogtk-console \
> "
>
> So my question is: why doesn't "glxgears" work on this image?
>
> Thanks
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-16 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-16  5:55 libGL error. glxgears not displaying on core-image-x11 Ashwin Kirpalani
2013-08-16 11:36 ` Daiane Angolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.