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 - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
TheAssassin has joined #linux-amlogic
ndufresne has joined #linux-amlogic
chewitt has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
marcodiego has quit [Quit: Leaving]
chewitt has quit [Read error: Connection reset by peer]
sputnik_ has quit [Ping timeout: 268 seconds]
ldevulder_ has joined #linux-amlogic
nsaenz has joined #linux-amlogic
nsaenz has quit [Ping timeout: 245 seconds]
<narmstrong> @The_Coolest: the mainline driver now uses the DRM/KMS framework and you need to explicitly handle the different planes and scaling in the mode setup, like any modern display (like on a pc for example)
<The_Coolest> narmstrong thanks.
<The_Coolest> To be a little bit more specific, I was asking because I was playing around with CE on the S922X (4.9 kernel) over the weekend, and the way things behave are a little bit confusing to me. But I don't have enough understanding of how things really work in this area, a bit over my head with this.
<narmstrong> @The_Coolest: you mean the amlogic 4.9 kernel ? Sorry I don’t know, they handle both mode, and they drm/kms driver is a simple wrapper around their framebuffer code
<narmstrong> So what I answered doesn’t apply to this !
<narmstrong> They essentially added the drm/kms wrapper because Android and chromeos requires it
jakogut_ has joined #linux-amlogic
<The_Coolest> Yes amlogic. We forked Khadas' repo.
<The_Coolest> oops
<The_Coolest> I meant Odroid*
<The_Coolest> The N2 is a pretty impressive bit of kit
sputnik_ has joined #linux-amlogic
<The_Coolest> I think that Kodi GUI is on fb1, because I didn't get a GUI until I used fbset to set it to the dimensions we usually use for fb0 in platform_init.
<The_Coolest> But with that set, when playing a hardware accelerated video, the GUI "blocks" the video.
<The_Coolest> I get a black screen, if I reduce the size of the fb over, I can see the video playing. I guess it's something to do with an alpha channel or something.
random_yanek has quit [Ping timeout: 272 seconds]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
random_yanek has joined #linux-amlogic
<memeka> The_Coolest: so you need to set alpha on kodi video window, and let it see through the "plane" behind
<memeka> I remember this was done before in the early days of the C2?
<memeka> narmstrong: quick question: the C2 has a micro-USB port (the one OTG). I wanna connect the C2 to an iphone dock, which can power the C2 + provide USB DAC ... would this be able in mainline now with the current USB driver? both power + USB functionality?
<The_Coolest> memeka>> Not sure, I wasn't around when that was going on :)
<The_Coolest> Any idea how to do that?
<The_Coolest> I think this could have something to do with it? https://pastebin.com/nBdNcg95 note the RGBA 0/24 at the end, on all of my other devices it's 8/24
<memeka> The_Coolest: no idea I was not focused on C2 at the time :) so it passed under the radar
<The_Coolest> Any idea if fbset can be used to adjust the RGBA config? Or do it some other way?
sputnik_ has quit [Ping timeout: 250 seconds]
<memeka> fbset should work i think, afair the amlogic drm is actually fbdev :D
<The_Coolest> doesn't seem to have any effect.