Vanfanel
Posts: 436
Joined: Sat Aug 18, 2012 5:58 pm

[SOLVED] Where can I find latest libgbm sources?

Tue Jun 05, 2018 5:48 pm

Hi there;

While investigating some strange problems with the KMSDRM driver on SDL2 I have been dealing with for months, I tried to build libgbm from sources.
Latest version I could find is this one on Robclark's repo:

https://github.com/robclark/libgbm

But it's outdated, last commits being from 2012.

According to dpkg, the latest version Raspbian can install is 13.0.6-1+rpi2. Isn't there a newer version of the library? Do you know where are it's sources located?
Last edited by Vanfanel on Sat Jun 09, 2018 11:17 pm, edited 1 time in total.


Vanfanel
Posts: 436
Joined: Sat Aug 18, 2012 5:58 pm

Re: Where can I find latest libgbm sources?

Sat Jun 09, 2018 9:18 am

That's libgbm-dev, not libgbm...

fruitoftheloom
Posts: 22642
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Where can I find latest libgbm sources?

Sat Jun 09, 2018 10:47 am

Vanfanel wrote:
Sat Jun 09, 2018 9:18 am
That's libgbm-dev, not libgbm...


Raspbian Stretch

libgbm1 13.0.6-1

Raspbian Buster & Sid

libgbm1 18.0.5-1


FYI libgbm-dev has libgbm1 as a dependency as per link above...
Rather than negativity think outside the box !

Asus ChromeBox 3 Celeron is my other computer.

Vanfanel
Posts: 436
Joined: Sat Aug 18, 2012 5:58 pm

Re: Where can I find latest libgbm sources?

Sat Jun 09, 2018 4:20 pm

fruitoftheloom wrote:
Sat Jun 09, 2018 10:47 am


Raspbian Stretch

libgbm1 13.0.6-1

Raspbian Buster & Sid

libgbm1 18.0.5-1


FYI libgbm-dev has libgbm1 as a dependency as per link above...
But I need the sources for the latest libgbm1, not debian's install package for Buster. Do you know where those sources are?

User avatar
DougieLawson
Posts: 38506
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Where can I find latest libgbm sources?

Sat Jun 09, 2018 4:22 pm

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Vanfanel
Posts: 436
Joined: Sat Aug 18, 2012 5:58 pm

Re: Where can I find latest libgbm sources?

Sat Jun 09, 2018 10:56 pm

DougieLawson wrote:
Sat Jun 09, 2018 4:22 pm
Source code here: https://mesa3d.org/download.html
Now that's what I was looking for! Seems that libgbm is included with MESA, so building and installin latest MESA also builds and installs latest libgbm! Thanks!

Return to “Raspberry Pi OS”