wzyy2 has quit [Read error: Connection reset by peer]
wzyy2 has joined #linux-rockchip
bamvor__ has joined #linux-rockchip
skwropb has joined #linux-rockchip
ckeepax has quit [Ping timeout: 240 seconds]
bamvor has quit [Ping timeout: 240 seconds]
bamvor__ is now known as bamvor
ckeepax has joined #linux-rockchip
muvlon has quit [Ping timeout: 245 seconds]
stdint has quit [Read error: Connection reset by peer]
muvlon has joined #linux-rockchip
stdint has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
wadim_ has joined #linux-rockchip
afaerber has joined #linux-rockchip
LongWork has quit [Quit: LongWork]
LongWork has joined #linux-rockchip
LongWork has quit [Quit: LongWork]
LongWork has joined #linux-rockchip
nighty has quit [Quit: Disappears in a puff of smoke]
alex_ has quit [Quit: *]
mrjay has joined #linux-rockchip
alex_ has joined #linux-rockchip
mrjay has quit [Quit: Page closed]
LongWork has quit [Quit: LongWork]
LongWork has joined #linux-rockchip
beeno has joined #linux-rockchip
<beeno>
hello all. I see on my device that libgbm is linked to libmali. Is this normal?
wzyy2 has quit [Read error: No route to host]
<phh>
beeno: why wouldn't it be?
<phh>
(I would have thought that libgbm is libmali, like EGL/GLES/OpenCL libs)
<beeno>
Hi phh, ok I wasn't sure if it was just a general lib, same as libdrm. So would you say it's always the gpu that provides this, same on platforms like x64?
<phh>
beeno it's complicated. It is "the platform". Most people use drm/kms, so standard open-source libgbm is ok
<phh>
But mali doesn't use drm, hence they need special gbm. But theorically speaking, you might need to change gbm for stuff like vpu
<beeno>
ok so if I link to libgbm on the rk3288, and if I then recompile for x64 (let's say a ubuntu vm), then it should just work?
<wadim_>
isn't the libgbm (provided by libmali) a "standard" libgbm interface?
<phh>
wadim_ yup
<phh>
beeno it should yes
nighty has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-rockchip
vickycq- has quit [Ping timeout: 256 seconds]
vickycq- has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
JohnDoe_71Rus has joined #linux-rockchip
muvlon has quit [Ping timeout: 245 seconds]
<beeno>
I now have my DRM page flipping working, but I'm getting tearing. It's running with the correct frame rate so clearly waiting on the page_flip_handler is working. Should I be calling any methods specific for vsync?
<beeno>
the interesting thing is that tearing isn't a horizontal line but a bit of a staircase. that appears to be mali's tile rendering. do I need to specifically create 2 buffers or activate back buffer usage in DRM?
muvlon has joined #linux-rockchip
wadim_ has quit [Remote host closed the connection]
Omegamoon has left #linux-rockchip [#linux-rockchip]
<beeno>
to answer my own question. I had an issue in the code and was reusing the same buffer object which means I was rendering the front buffer. The double buffering has to be implemented in your own code
afaerber has quit [Quit: Leaving]
beeno has quit [Ping timeout: 260 seconds]
nnnn20431 has joined #linux-rockchip
matthias_bgg_ has joined #linux-rockchip
matthias_bgg_ has quit [Ping timeout: 260 seconds]
evalio has quit [Remote host closed the connection]