Support of 'desktop' OpenGL in 1.1.0 release of vivante gpu libraries

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Support of 'desktop' OpenGL in 1.1.0 release of vivante gpu libraries

3,129件の閲覧回数
sergeymatyukevi
Contributor II

Hello,

Various marketing materials from Freescale and Vivante tell us that GC2000/GC2100 GPU provides support for 'desktop' OpenGL 2.1/3.0. On the other hand, all practical sources of information (including tutorials from Freescale FAE) are focused on OpenGL ES and OpenCL only. Latest release (v1.1.0) from Freescale with binary libraries from vivante contains only libGL.so.1.2 library (all the other libs are about OpenGL ES and OpenCL).

Questions:

- What is the reality of 'desktop' OpenGL support on GC2000/GC2100 ?  In particular, is there support for any version of 'desktop' GLSL ?

- What exactly is libGL.so.1.2 ?

Thanks,

Sergey

ラベル(3)
0 件の賞賛
返信
5 返答(返信)

1,556件の閲覧回数
sergeymatyukevi
Contributor II

UPD. Looks like the answer: here is the information provided by glxinfo for libGL.so.1.2 :

OpenGL vendor string: Vivante Corporation

OpenGL renderer string: GC2000 Graphics Engine

OpenGL version string: 2.1 2.0.1

OpenGL shading language version string: 1.20

1,556件の閲覧回数
BlangeroWang
Contributor II

Hi

  I run glxinfo but it provided the information of mesa GL, I've already installed the gpu-viv-bin-imx6q and have relink the libGL.so.1 , why ?

0 件の賞賛
返信

1,556件の閲覧回数
ywyuan
Contributor I

Hi, I have a similar problem, below is glxinfo:

root@linaro-ubuntu-desktop:~# glxinfo

name of display: :0

display: :0 screen: 0

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

server glx vendor string: SGI

server glx version string: 1.4

server glx extensions:

    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,

    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,

    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,

    GLX_SGIX_pbuffer, GLX_MESA_copy_sub_buffer, GLX_INTEL_swap_event

client glx vendor string: Vivante Corp

client glx version string: 1.4

client glx extensions:

    GLX_SGI_make_current_read,  GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,

    GLX_ARB_get_proc_address

GLX version: 1.4

GLX extensions:

    GLX_SGI_make_current_read, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer

OpenGL vendor string: Mesa Project

OpenGL renderer string: Software Rasterizer

OpenGL version string: 1.4 (2.1 Mesa 7.11)

OpenGL extensions:

---------------------------------------------

how to enable direct rendering? and how to use opengl of vivante? i have installed XXX.deb as i.MX_6_Series_Ubuntu_Multimedia_User's_Guide.pdf said. thanks!

0 件の賞賛
返信

1,556件の閲覧回数
BlangeroWang
Contributor II

Hi yuan:

     I still haven't find a solution, but I do get VIVANTE GC2000 in linaro, my problem is in debian 7.1. When change to linaro provided by Freescale, glxinfo works well and glxgears shows a FPS higher than glxgears with Mesa OpenGL in debian 7.1.

     I also find that when apt-get mesa-utils, in linaro it installs mesa-glu, but in debian it installs mesa-gl mesa-glu and maybe glew. And glx is GL+X, it also may caused by X version.

0 件の賞賛
返信

1,556件の閲覧回数
ywyuan
Contributor I

Thanks Wang, i am using in ubuntu11.10, i think i haven't started video driver of vivante, although i have installed vivante driver. i want to add vivante device in /etc/X11/xorg.conf file, but can't find the file,only find /usr/share/X11/xorg.conf.d/

how to start vivante device and use vivante driver?

the following is Xorg.0.log info:

[   168.569]

X.Org X Server 1.10.4

Release Date: 2011-08-19

[   168.576] X Protocol Version 11, Revision 0

[   168.579] Build Operating System: Linux 2.6.35-24-omap armv7l Ubuntu

[   168.581] Current Operating System: Linux linaro-ubuntu-desktop 3.0.35-2213-g7e8c89c-svn104 #33 SMP PREEMPT Fri Oct 11 18:15:04 CST 2013 armv7l

[   168.583] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 fb0base=0x27b00000 video=mxcfb1:dev=sii902x_hdmi,1920x1080M@60,if=RGB24 fbmem=28M,28M vmalloc=192M

[   168.586] Build Date: 19 October 2011  06:22:31AM

[   168.589] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)

[   168.592] Current version of pixman: 0.22.2

[   168.594] Before reporting problems, check http://wiki.x.org

  to make sure that you have the latest version.

[   168.599] Markers: (--) probed, (**) from config file, (==) default setting,

  (++) from command line, (!!) notice, (II) informational,

  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   168.608] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 26 10:47:01 2013

[   168.611] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[   168.614] (==) No Layout section.  Using the first Screen section.

[   168.614] (==) No screen section available. Using defaults.

[   168.614] (**) |-->Screen "Default Screen Section" (0)

[   168.614] (**) |   |-->Monitor "<default monitor>"

[   168.615] (==) No monitor specified for screen "Default Screen Section".

  Using a default monitor configuration.

[   168.615] (==) Automatically adding devices

[   168.615] (==) Automatically enabling devices

[   168.618] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.

[   168.618] Entry deleted from font path.

[   168.618] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.

[   168.618] Entry deleted from font path.

[   168.618] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.

[   168.618] Entry deleted from font path.

[   168.620] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.

[   168.620] Entry deleted from font path.

[   168.620] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.

[   168.620] Entry deleted from font path.

[   168.621] (==) FontPath set to:

  /usr/share/fonts/X11/misc,

  /usr/share/fonts/X11/Type1,

  /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,

  built-ins

[   168.621] (==) ModulePath set to "/usr/lib/arm-linux-gnueabi/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"

[   168.621] (II) The server relies on udev to provide the list of input devices.

  If no devices become available, reconfigure udev or disable AutoAddDevices.

[   168.621] (II) Loader magic: 0x13f45c

[   168.621] (II) Module ABI versions:

[   168.621] X.Org ANSI C Emulation: 0.4

[   168.622] X.Org Video Driver: 10.0

[   168.622] X.Org XInput driver : 12.3

[   168.622] X.Org Server Extension : 5.0

[   168.622] (II) Open APM successful

[   168.622] (II) LoadModule: "extmod"

[   168.626] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so

[   168.629] (II) Module extmod: vendor="X.Org Foundation"

[   168.629] compiled for 1.10.4, module version = 1.0.0

[   168.629] Module class: X.Org Server Extension

[   168.629] ABI class: X.Org Server Extension, version 5.0

[   168.629] (II) Loading extension MIT-SCREEN-SAVER

[   168.629] (II) Loading extension XFree86-VidModeExtension

[   168.629] (II) Loading extension XFree86-DGA

[   168.629] (II) Loading extension DPMS

[   168.629] (II) Loading extension XVideo

[   168.629] (II) Loading extension XVideo-MotionCompensation

[   168.629] (II) Loading extension X-Resource

[   168.629] (II) LoadModule: "dbe"

[   168.630] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so

[   168.631] (II) Module dbe: vendor="X.Org Foundation"

[   168.631] compiled for 1.10.4, module version = 1.0.0

[   168.631] Module class: X.Org Server Extension

[   168.631] ABI class: X.Org Server Extension, version 5.0

[   168.631] (II) Loading extension DOUBLE-BUFFER

[   168.631] (II) LoadModule: "glx"

[   168.631] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so

[   168.637] (II) Module glx: vendor="X.Org Foundation"

[   168.637] compiled for 1.10.4, module version = 1.0.0

[   168.637] ABI class: X.Org Server Extension, version 5.0

[   168.638] (==) AIGLX enabled

[   168.638] (II) Loading extension GLX

[   168.638] (II) LoadModule: "record"

[   168.638] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so

[   168.639] (II) Module record: vendor="X.Org Foundation"

[   168.639] compiled for 1.10.4, module version = 1.13.0

[   168.639] Module class: X.Org Server Extension

[   168.640] ABI class: X.Org Server Extension, version 5.0

[   168.640] (II) Loading extension RECORD

[   168.640] (II) LoadModule: "dri"

[   168.640] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so

[   168.642] (II) Module dri: vendor="X.Org Foundation"

[   168.642] compiled for 0.0.0.10, module version = 1.0.0

[   168.642] ABI class: X.Org Server Extension, version 5.0

[   168.643] (II) Loading extension XFree86-DRI

[   168.643] (II) LoadModule: "dri2"

[   168.643] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so

[   168.644] (II) Module dri2: vendor="X.Org Foundation"

[   168.644] compiled for 1.10.4, module version = 1.2.0

[   168.644] ABI class: X.Org Server Extension, version 5.0

[   168.644] (II) Loading extension DRI2

[   168.644] (==) Matched fbdev as autoconfigured driver 0

[   168.645] (==) Assigned the driver to the xf86ConfigLayout

[   168.645] (II) LoadModule: "fbdev"

[   168.646] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so

[   168.647] (II) Module fbdev: vendor="X.Org Foundation"

[   168.648] compiled for 1.10.0, module version = 0.4.2

[   168.648] ABI class: X.Org Video Driver, version 10.0

[   168.648] (II) FBDEV: driver for framebuffer: fbdev

[   168.648] (--) using VT number 8

[   168.662] (WW) Falling back to old probe method for fbdev

[   168.663] (II) Loading sub module "fbdevhw"

[   168.663] (II) LoadModule: "fbdevhw"

[   168.664] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so

[   168.666] (II) Module fbdevhw: vendor="X.Org Foundation"

[   168.666] compiled for 1.10.4, module version = 0.0.2

[   168.666] ABI class: X.Org Video Driver, version 10.0

[   168.666] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so

[   168.666] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so

[   168.666] (II) FBDEV(0): using default device

[   168.666] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

[   168.667] (II) FBDEV(0): Creating default Display subsection in Screen section

  "Default Screen Section" for depth/fbbpp 16/16

[   168.667] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16

[   168.667] (==) FBDEV(0): RGB weight 565

[   168.667] (==) FBDEV(0): Default visual is TrueColor

[   168.667] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)

[   168.667] (II) FBDEV(0): hardware: DISP3 BG (video memory: 4050kB)

[   168.667] (II) FBDEV(0): checking modes against framebuffer device...

[   168.667] (II) FBDEV(0): checking modes against monitor...

[   168.667] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)

[   168.667] (**) FBDEV(0):  Built-in mode "current": 173.0 MHz, 67.2 kHz, 60.0 Hz

[   168.667] (II) FBDEV(0): Modeline "current"x0.0  173.01  1920 2048 2248 2576  1080 1112 1117 1120 -hsync +vsync -csync (67.2 kHz)

[   168.668] (==) FBDEV(0): DPI set to (96, 96)

[   168.668] (II) Loading sub module "fb"

[   168.668] (II) LoadModule: "fb"

[   168.668] (II) Loading /usr/lib/xorg/modules/libfb.so

[   168.672] (II) Module fb: vendor="X.Org Foundation"

[   168.673] compiled for 1.10.4, module version = 1.0.0

[   168.673] ABI class: X.Org ANSI C Emulation, version 0.4

[   168.673] (**) FBDEV(0): using shadow framebuffer

[   168.673] (II) Loading sub module "shadow"

[   168.673] (II) LoadModule: "shadow"

[   168.674] (II) Loading /usr/lib/xorg/modules/libshadow.so

[   168.675] (II) Module shadow: vendor="X.Org Foundation"

[   168.675] compiled for 1.10.4, module version = 1.1.0

[   168.675] ABI class: X.Org ANSI C Emulation, version 0.4

[   168.684] (==) FBDEV(0): Backing store disabled

[   168.684] (==) FBDEV(0): DPMS enabled

[   168.684] (==) RandR enabled

[   168.684] (II) Initializing built-in extension Generic Event Extension

[   168.684] (II) Initializing built-in extension SHAPE

[   168.685] (II) Initializing built-in extension MIT-SHM

[   168.685] (II) Initializing built-in extension XInputExtension

[   168.685] (II) Initializing built-in extension XTEST

[   168.685] (II) Initializing built-in extension BIG-REQUESTS

[   168.685] (II) Initializing built-in extension SYNC

[   168.685] (II) Initializing built-in extension XKEYBOARD

[   168.685] (II) Initializing built-in extension XC-MISC

[   168.685] (II) Initializing built-in extension SECURITY

[   168.685] (II) Initializing built-in extension XINERAMA

[   168.685] (II) Initializing built-in extension XFIXES

[   168.685] (II) Initializing built-in extension RENDER

[   168.685] (II) Initializing built-in extension RANDR

[   168.685] (II) Initializing built-in extension COMPOSITE

[   168.685] (II) Initializing built-in extension DAMAGE

[   168.685] (II) Initializing built-in extension GESTURE

[   168.719] (II) AIGLX: Screen 0 is not DRI2 capable

[   168.719] (II) AIGLX: Screen 0 is not DRI capable

[   168.719] (II) AIGLX: Trying DRI driver /usr/lib/arm-linux-gnueabi/dri/swrast_dri.so

[   168.756] (II) AIGLX: Loaded and initialized swrast

[   168.756] (II) GLX: Initialized DRISWRAST GL provider for screen 0

[   168.822] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm

[   168.907] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event1)

[   168.907] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"

[   168.907] (II) LoadModule: "evdev"

[   168.907] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   168.920] (II) Module evdev: vendor="X.Org Foundation"

[   168.920] compiled for 1.10.2, module version = 2.6.0

[   168.920] Module class: X.Org XInput Driver

[   168.920] ABI class: X.Org XInput driver, version 12.3

[   168.920] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'

[   168.920] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   168.920] (**) Logitech USB-PS/2 Optical Mouse: always reports core events

[   168.920] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event1"

[   168.921] (--) Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons

[   168.921] (--) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)

[   168.921] (--) Logitech USB-PS/2 Optical Mouse: Found relative axes

[   168.921] (--) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes

[   168.921] (II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse

[   168.921] (II) Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support

[   168.921] (**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5

[   168.921] (**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

[   168.921] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.1/2-1.1:1.0/input/input1/event1"

[   168.921] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE)

[   168.921] (II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.

[   168.922] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1

[   168.922] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0

[   168.922] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000

[   168.922] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4

[   168.923] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)

[   168.923] (II) No input driver/identifier specified (ignoring)

[   168.925] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event2)

[   168.925] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall"

[   168.925] (II) Using input driver 'evdev' for 'Logitech USB Keyboard'

[   168.926] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   168.926] (**) Logitech USB Keyboard: always reports core events

[   168.926] (**) Logitech USB Keyboard: Device: "/dev/input/event2"

[   168.926] (--) Logitech USB Keyboard: Found keys

[   168.926] (II) Logitech USB Keyboard: Configuring as keyboard

[   168.926] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.0/input/input2/event2"

[   168.926] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD)

[   168.926] (**) Option "xkb_rules" "evdev"

[   168.926] (**) Option "xkb_model" "pc105"

[   168.926] (**) Option "xkb_layout" "us"

[   168.929] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event3)

[   168.929] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall"

[   168.929] (II) Using input driver 'evdev' for 'Logitech USB Keyboard'

[   168.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   168.929] (**) Logitech USB Keyboard: always reports core events

[   168.929] (**) Logitech USB Keyboard: Device: "/dev/input/event3"

[   168.929] (--) Logitech USB Keyboard: Found absolute axes

[   168.930] (II) evdev-grail: failed to open grail, no gesture support

[   168.930] (--) Logitech USB Keyboard: Found keys

[   168.930] (II) Logitech USB Keyboard: Configuring as mouse

[   168.930] (II) Logitech USB Keyboard: Configuring as keyboard

[   168.930] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.1/input/input3/event3"

[   168.930] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD)

[   168.930] (**) Option "xkb_rules" "evdev"

[   168.930] (**) Option "xkb_model" "pc105"

[   168.930] (**) Option "xkb_layout" "us"

[   168.931] (II) Logitech USB Keyboard: initialized for absolute axes.

[   168.931] (**) Logitech USB Keyboard: (accel) keeping acceleration scheme 1

[   168.931] (**) Logitech USB Keyboard: (accel) acceleration profile 0

[   168.931] (**) Logitech USB Keyboard: (accel) acceleration factor: 2.000

[   168.931] (**) Logitech USB Keyboard: (accel) acceleration threshold: 4

[   168.933] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)

[   168.933] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"

[   168.933] (II) Using input driver 'evdev' for 'gpio-keys'

[   168.933] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so

[   168.933] (**) gpio-keys: always reports core events

[   168.933] (**) gpio-keys: Device: "/dev/input/event0"

[   168.933] (--) gpio-keys: Found keys

[   168.933] (II) gpio-keys: Configuring as keyboard

[   168.933] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input0/event0"

[   168.934] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD)

[   168.934] (**) Option "xkb_rules" "evdev"

[   168.934] (**) Option "xkb_model" "pc105"

[   168.934] (**) Option "xkb_layout" "us"

[   172.005] (II) XKB: reuse xkmfile /var/lib/xkb/server-A77BBE312A49C9FE89948D38B2A8CB84C3CBB410.xkm

[   194.877] (II) XKB: reuse xkmfile /var/lib/xkb/server-A77BBE312A49C9FE89948D38B2A8CB84C3CBB410.xkm

0 件の賞賛
返信