[needs-packaging] pvr sgx driver and kernel module for Pandaboard

Bug #959924 reported by Ricardo Salveti
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Wishlist
Unassigned
Precise
Fix Released
Wishlist
Unassigned

Bug Description

TI released the PowerVR SGX 3D drivers for Omap 4 (Pandaboard) under a redistributable license.

The original package is provided at https://launchpad.net/~tiomap-dev/+archive/release?field.series_filter=precise, and this bug is a request to include the packages at the Ubuntu archive as well, so we can enable Unity 3D for Pandaboard without enabling any external PPA.

The DKMS kernel module package needs to go to universe, and the userspace libraries and X11 driver to multiverse.

This bug will also be used to document the feature freeze exception for Precise.

Related branches

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

I'll be uploading the packages to a PPA and update the bug with the appropriate links.

Changed in ubuntu:
status: New → In Progress
importance: Undecided → Wishlist
tags: added: needs-packaging
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Packages available at https://launchpad.net/~rsalveti/+archive/pvr-sgx.

Tested and validated it with a Pandaboard 4430 and 4460, and I'm able to fully use OpenGL ES2.0 based applications after installing the driver and restarting the X11 server.

Kernel Module Package:
Link: https://launchpad.net/~rsalveti/+archive/pvr-sgx/+files/powervr-omap4_1.7.10.0.1.20-0ubuntu1.dsc
Build Log: https://launchpadlibrarian.net/97578208/buildlog_ubuntu-precise-armhf.powervr-omap4_1.7.10.0.1.20-0ubuntu1_BUILDING.txt.gz

User space libraries and X11 driver:
Link: https://launchpad.net/~rsalveti/+archive/pvr-sgx/+files/pvr-omap4_1.7.10.0.1.21-0ubuntu1.dsc
Build Log: https://launchpadlibrarian.net/97578180/buildlog_ubuntu-precise-armhf.pvr-omap4_1.7.10.0.1.21-0ubuntu1_BUILDING.txt.gz

OpenGL ES 2.0 based application to show the support:
ubuntu@ubuntu-desktop:~$ es2_info
PVR:(Warning): InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER [778, /eglglue.c]
EGL_VERSION = 1.4 build 1.7@296543
EGL_VENDOR = Imagination Technologies
EGL_EXTENSIONS = EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_NV_post_sub_buffer EGL_NV_post_convert_rounding
EGL_CLIENT_APIS = OpenGL_ES
GL_VERSION: OpenGL ES 2.0 build 1.7@296543
GL_RENDERER: PowerVR SGX 540
GL_EXTENSIONS:
    GL_OES_rgb8_rgba8, GL_OES_depth24, GL_OES_vertex_half_float,
    GL_OES_texture_float, GL_OES_texture_half_float,
    GL_OES_element_index_uint, GL_OES_mapbuffer,
    GL_OES_fragment_precision_high, GL_OES_compressed_ETC1_RGB8_texture,
    GL_OES_EGL_image, GL_OES_EGL_image_external,
    GL_OES_required_internalformat, GL_OES_depth_texture,
    GL_OES_get_program_binary, GL_OES_packed_depth_stencil,
    GL_OES_standard_derivatives, GL_OES_vertex_array_object, GL_OES_egl_sync,
    GL_EXT_multi_draw_arrays, GL_EXT_texture_format_BGRA8888,
    GL_EXT_discard_framebuffer, GL_EXT_shader_texture_lod,
    GL_IMG_shader_binary, GL_IMG_texture_compression_pvrtc,
    GL_IMG_texture_npot, GL_IMG_texture_format_BGRA8888, GL_IMG_read_format,
    GL_IMG_program_binary, GL_IMG_multisampled_render_to_texture,
    GL_TI_image_external_raw_video

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

To have the driver working without forcing a X11 config file, bug 959928 also needs to be fixed (fixed package available at the PPA as well).

tags: added: rls-mgr-p-tracking
Revision history for this message
Oliver Grawert (ogra) wrote :

both packages were uploaded now and should sit in the NEW queue until an archive admin reviews and lets them through.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Per request over IRC from Adam, I updated the packaged following the guidelines described at https://wiki.ubuntu.com/X/EGLDriverPackagingHOWTO, with the following changes:
 - Same package for both libraries and dkms module
 - Libraries using update-alternatives instead of replaces/conflicts
 - Main header files now provided by the mesa package, without conflicts
 - Package based on the fglrx and nvidia drivers

Now we're just missing the integration with jockey, as I still need to check in details how we'll be supporting a platform device (we don't have it identified by neither pci or usb buses).

Should be good enough to hit the archive already.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

The pvr-omap4 package has been accepted into precise, so I believe this issue is resolved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.