buzzmarshall has quit [Remote host closed the connection]
armoon has joined #linux-amlogic
armoon has quit [Remote host closed the connection]
<chewitt>
xdarklight: the blue-ish screen is an exact-match description of the issue we see on G12 hardware when mainline kernels run on-top of bsp u-boot
<chewitt>
I suspect it's not specific to G12, more about the bsp u-boot version - and beyond a certain point which is used with G12 and up hardware the issue is seen
<chewitt>
if we use mainline u-boot the issue is not seen
<chewitt>
our current hack is chainloading mainline u-boot from vendor u-boot
Barada has joined #linux-amlogic
<xdarklight>
chewitt: when you get that blue screen, does running kmscube, starting X, etc. show an image on the screen or does it stay blue-ish?
<chewitt>
everything runs as normal .. I have Kodi etc. but overlayed behind a blue-tinged screen
<chewitt>
it looks like an RGB vs YUV issue
<chewitt>
it might not be the same thing you're seeing .. but it all sounds related
warpme_ has joined #linux-amlogic
Barada has quit [Quit: Barada]
Linnaea has quit [Ping timeout: 265 seconds]
Linnaea has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
<narmstrong>
xdarklight: this is weird, the framebuffer is a drm client, so it should behave the same
<narmstrong>
xdarklight: is the framebuffer using argb32 ? check the mode used in both situations
<narmstrong>
Darkmatter66_: "kms: can't enable cloning when we probably wanted to." is expected, it means DRM would like a copy CVBS and HDMI, but can't
<narmstrong>
Darkmatter66_: if you boot without monitor, DRM will select CVBS output, and "576p@50Hz", if you connect an HDMI monitor and this monitor has a "576p@50Hz" mode, then it will keep this mode, this is expected
<narmstrong>
Darkmatter66_: check the signal doesn't go to CVBS when it "looses" the signal in to /sys/kernel/debug/dri/0/state or with `modetest -M meson`
Elpaulo has joined #linux-amlogic
Linnaea has quit [Ping timeout: 258 seconds]
Linnaea has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #linux-amlogic
<xdarklight>
narmstrong: it's using DRM_FORMAT_XRGB8888 in both cases in meson_plane_atomic_update
<xdarklight>
(just for reference: both cases == framebuffer console and kmscube)
<xdarklight>
narmstrong: oh: https://pastebin.com/qDVqKRYg - now I have the same situation as chewitt: framebuffer in the background and blue tint over it
<narmstrong>
xdarklight: weird, looks like the alpha stuff is not configured correctly
<narmstrong>
Did you use the GXBB path ? You should
<xdarklight>
yes
<xdarklight>
basically I grep'ed for GXBB in the whole driver and added "|| old SoCs"
saintdev has quit [Ping timeout: 245 seconds]
saintdev has joined #linux-amlogic
warpme_ has quit [Quit: Connection closed for inactivity]
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 260 seconds]
warpme_ has joined #linux-amlogic
warpme_ has quit [Ping timeout: 265 seconds]
warpme_ has joined #linux-amlogic
vagrantc has joined #linux-amlogic
damex has quit [Quit: damex]
damex has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
damex has quit [Ping timeout: 265 seconds]
damex has joined #linux-amlogic
<xdarklight>
narmstrong: from the HDMI controller's view: what pixel format does VPU output?
<xdarklight>
narmstrong: from the HDMI controller bridge view I'm getting MEDIA_BUS_FMT_YUV8_1X24 for both, input format and output format
<xdarklight>
narmstrong: I think we need this because the VIU_OSD1_CTRL_STAT2 register with OSD_REPLACE_EN ("For XRGB, replace the pixel's alpha by 0xFF") only exists in GXBB and newer. however, the values from that OSD code are the same for old and new SoCs
<xdarklight>
narmstrong: the meson_viu_osd_burst_length_reg change is a random one I stumbled across when I compared register values with u-boot. the old calculation always gives me 0x0. I wonder if that is also related to some of the video problems on G12A (since we configure a burst length of 64 there instead of 32 - the actual setting due to the mis-calculation is 24!)
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 258 seconds]
GNUtoo has quit [Remote host closed the connection]