narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
buzzmarshall has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 268 seconds]
camus1 is now known as camus
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 268 seconds]
camus1 is now known as camus
chewitt has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 268 seconds]
camus1 is now known as camus
tdebrouw has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 268 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatt- has quit [Ping timeout: 268 seconds]
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 264 seconds]
camus1 is now known as camus
camus has quit [Ping timeout: 260 seconds]
camus has joined #linux-amlogic
camus has quit [Quit: camus]
tolszak has quit [Quit: Konversation terminated!]
tolszak has joined #linux-amlogic
<tolszak> narmstrong: Hi, just wanted to let you know that seems like the rendering issue in the end is in mesa.
<tolszak> I;ve submitted a bug there.
<tolszak> narmstrong: I have another question though. Does /sys/bus/platform/devices/secure-monitor/serial on odroid provide device serial number (doesn't depend on software or kernel version)? Is it persistant?
<narmstrong> It’s persistent and unique per chip
<tolszak> narmstrong: Thank you!
<tdebrouw> narmstrong: I used your mipi module to show something on my screen
<tdebrouw> I changed a few things
<tdebrouw> and I still need to clean it up a bit
<tdebrouw> It's almost working
<tdebrouw> but
<tdebrouw> I don't have a black screen
<tdebrouw> it's blue-ish
<narmstrong> tdebrouw: what kernel branch did you take from my Linux tree ?
<tdebrouw> 5.10?
<tdebrouw> I think?
<tdebrouw> I changed the color setting already
<tdebrouw> COLOR_24BIT_YCBCR -> COLOR_24BIT
<tdebrouw> it's an A311D
<tdebrouw> The mipi settings are similar to an amlogic-based android kernel
<tdebrouw> and they seem to be fine
<tdebrouw> but I haven't checked the vpp/viu/tcon stuff
<tdebrouw> I have a register map - but no actual hardware schematic
<narmstrong> Do you boot from the amlogic u -boot or mainline u-boot?
<tdebrouw> mainline uboot
<narmstrong> Ok weird then
<tdebrouw> uboot v2021.07
<tdebrouw> is uboot touching the video output?
<narmstrong> It can display hdmi yes
<tdebrouw> your patches are using COLOR_24BIT_YCBCR, do you have some funky non-rgb display?
<tdebrouw> narmstrong: any suggestion where I should start looking?
<narmstrong> tdebrouw: it's because on G12A the internal pipeline is on YUV, so the input format of the DSI glue must be COLOR_24_BIT_YCBCR instead of COLOR_24_BIT
<narmstrong> so you are using COLOR_24BIT instead of COLOR_24_BIT_YCBCR ?
<tdebrouw> ??
<tdebrouw> are you sure?
<narmstrong> yes
<tdebrouw> COLOR_24BIT has better results for me?
<narmstrong> COLOR_24BIT is for the AXG platform where the video pipeline is RGB
<tdebrouw> I can make some photos if you're curious
<tdebrouw> I thought the pipeline could be configured as both RGB / YUV / 10bit-something
<tdebrouw> let me generate some pictures
<narmstrong> no the video pipeline is fixed in YUV 10bit so the DSI glue must convert it
<narmstrong> it's the same ofr HDMI, we receive YUV and we must convert it to RGB
<narmstrong> let me retry this branch on the VIM3 display
<tdebrouw> I'm recompiling with YUV to show the difference
jernej has joined #linux-amlogic
<tdebrouw> Am I allowed to post imgbb links?
<narmstrong> tdebrouw: whatever if I can access the link without registering...
<tdebrouw> this is with COLOR_24_BIT_YCBCR
<tdebrouw> this is with COLOR_24BIT
<narmstrong> what should it look like ?
<tdebrouw> fb-test
<tdebrouw> errr, my screen is upside-down though
<narmstrong> red and green looks like swapped
<narmstrong> no in fact it looks like the colors are reversed
<tdebrouw> which one are you looking at?
<narmstrong> COLOR_24_BIT_YCBCR
<narmstrong> BGR => GRB
<narmstrong> tdebrouw: can you test with `modetest` instead ?
buzzmarshall has joined #linux-amlogic
<narmstrong> the one with COLOR_24BIT is definilety wrong
<tdebrouw> so the blue stripes are to be expected?
<tdebrouw> yeah, I'll check for modetest
* tdebrouw is confused
<tdebrouw> that is the 24bit image? not the YCRCB one?
camus has joined #linux-amlogic
<tdebrouw> nevermind, let me recheck here
<narmstrong> it's the YCRCB one
chewitt has quit [Quit: Zzz..]
<narmstrong> tdebrouw: ok it seems I never tested the branch I gave you
<narmstrong> I see the same color issue
<tdebrouw> at least it's not a bug I introduced
<tdebrouw> :)
<tdebrouw> any suggestion where I should start looking?
<narmstrong> I'm trying 2/3 things
<tdebrouw> ok
tolszak has quit [Read error: Connection reset by peer]
<narmstrong> I don't know :-(
<tdebrouw> no problem
<tdebrouw> I have another setup, same color issues
<tdebrouw> but I have a working amlogic-based android build
<tdebrouw> without any color issues
<tdebrouw> I wanted to ask first, it might be a trivial thing
<narmstrong> I thought i was fixes, but no
<tdebrouw> You mentioned that you wanted to rework some display related parts
<narmstrong> no idea why it was fixed on the guy's display
<tdebrouw> are you already working on that?
<narmstrong> nop
<tdebrouw> or is it a todo list
<tdebrouw> ah
<tdebrouw> ok
<tdebrouw> I rather not have us doing the same things
<tdebrouw> I'll ask my employer for some time then
<tdebrouw> thanks for the help
<tdebrouw> I'll be back if I find something / have more questions
<narmstrong> I hope it doesn't need change in the pipeline
vagrantc has joined #linux-amlogic
<narmstrong> amlogic doesn't use COLOR_24_BIT_YCBCR for sure
<narmstrong> I can't find find any specific pipeline config for lcd
tdebrouw has quit [Quit: Leaving.]
<narmstrong> I found \o/
<narmstrong> but he left :-/
<narmstrong> if he read irclog, I pushed the fix on github...
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
ndufresne4 has joined #linux-amlogic
ndufresne has quit [Read error: Connection reset by peer]
ndufresne4 is now known as ndufresne
warpme__ has quit [Quit: Connection closed for inactivity]
jernej has quit [Ping timeout: 268 seconds]
wens_ has joined #linux-amlogic
wens has quit [Ping timeout: 246 seconds]
repk_ has joined #linux-amlogic
repk has quit [Ping timeout: 264 seconds]
Stricted- has quit [Remote host closed the connection]
Stricted has joined #linux-amlogic
camus has quit [Quit: camus]