ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
ckeepax has quit [Ping timeout: 240 seconds]
field^Mop has quit [Ping timeout: 260 seconds]
ckeepax has joined #linux-rockchip
nergzd723 has joined #linux-rockchip
Ke has joined #linux-rockchip
warpme_ has quit [Quit: Connection closed for inactivity]
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Remote host closed the connection]
anarsoul has quit [Quit: ZNC 1.7.5 - https://znc.in]
anarsoul has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
vstehle has quit [Ping timeout: 260 seconds]
s_frit_ has joined #linux-rockchip
s_frit has quit [Ping timeout: 256 seconds]
s_frit has joined #linux-rockchip
s_frit_ has quit [Ping timeout: 264 seconds]
s_frit has quit [Ping timeout: 256 seconds]
s_frit has joined #linux-rockchip
westernsemico has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 264 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 244 seconds]
camus1 is now known as kaspter
lkcl has joined #linux-rockchip
westernsemico has joined #linux-rockchip
Guest66867 has joined #linux-rockchip
s_frit has quit [Ping timeout: 260 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
chewitt has quit [Quit: Adios!]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
vstehle has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-rockchip
lkcl has quit [Ping timeout: 272 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
lkcl has joined #linux-rockchip
camus1 is now known as kaspter
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
ldevulder__ is now known as ldevulder
warpme_ has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
stikonas has joined #linux-rockchip
robmur01 has joined #linux-rockchip
lkcl has quit [Ping timeout: 264 seconds]
lkcl has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
camus1 is now known as kaspter
field^Mop has joined #linux-rockchip
nomis has quit [Ping timeout: 272 seconds]
Putti has quit [Quit: Leaving]
nomis has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
nomis has quit [Ping timeout: 256 seconds]
stikonas has joined #linux-rockchip
nomis has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
yann has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 272 seconds]
<yann> I'm working on getting kernel 5.10 run on a custom rk3399 board that's currently working with 4.4-rk. The video drivers appear to work fine (now that I picked a couple of patches from Vicente Bergas for QHD support), Xorg starts and xrandr reports realistic output, but the screen still reports no signal. Any hint about what I could be overlooking ?
warpme__ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 256 seconds]
warpme__ is now known as warpme_
field^Mop has quit [Ping timeout: 256 seconds]
field^Mop has joined #linux-rockchip
nomis has quit [Ping timeout: 256 seconds]
lkcl has quit [Ping timeout: 256 seconds]
nomis has joined #linux-rockchip
lkcl has joined #linux-rockchip
ldevulder_ is now known as ldevulder
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
chewitt has joined #linux-rockchip
vagrantc has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
damex has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Ping timeout: 256 seconds]
damex has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
camus1 is now known as kaspter
<westernsemico> yann, which "display"? if it's displayport or HDMI, make sure /lib/firmware/rockchip/dtpx.bin exists; you should see a kernel message mentioning "dtpx.bin" when it gets loaded. Also make sure the module dw_hdmi is loaded (or the equivalent is compiled in statically).
<stikonas> westernsemico: HDMI doesn't need any firmware, does it?
<stikonas> westernsemico: I run rockpro64 fully blobless
<westernsemico> stikonas, yes, it does. There is a microcontroller inside the SoC displayport core. In fact, that is the only piece of non-free firmware needed for the entire chip on rk3399.
<westernsemico> rk3399 is blobless if you are willing to give up HDMI and DisplayPort. For a laptop that's certainly feasible.
<stikonas> westernsemico: I don't think I have any blobs, where is that blob located?
<westernsemico> Also you can do HDMI at up to 1080p without the firmware. It's just the higher resolutions which require later versions of HDMI/DP, which in turn require the microcontroller to negotiate things.
<westernsemico> stikonas, same place as all other firmware: /lib/firmware, unless you compiled your kernel to look somewhere else.
<stikonas> ok, yeah, that might explain why it only works for me up to 1080p...
<stikonas> westernsemico: I am on linux-libre kernel, so nothing there
<stikonas> but ok, that might explain why I needed 1080p screen...
<yann> westernsemico: it's HDMI
<westernsemico> stikonas, if you add /lib/firmware/dtpx.bin you might discover that higher resolutions suddenly "just work". I load that firmware on my rk3399-gru-kevin laptop when I need to give presentations. The built-in 2500x1600 panel is LVDS so it works without firmware. Really wish somebody else would sell a HiDPI rk3399 laptop. I had to stockpile a bunch of gru-kevins now that they're out of
<westernsemico> production.
<robmur01> HDMI works at 1920x1200 for me - that's above 1080p :P (and I did have to hack in a 154MHz pixel clock)
<westernsemico> yann, you'll also need dw_hdmi.ko
<yann> westernsemico: it's loaded, together with rockchipdrm
<westernsemico> yann, try using the kernel config from here as a starting point: https://github.com/eballetbo/linux/tree/topic/chromeos/somewhat-stable-5.10
<westernsemico> eballetbo is the supreme grandmaster ninja of rk3399
<yann> I have no log about loading dptx.bin, but then it may be because it's HDMI, right ?
<westernsemico> yann, the DP and HDMI support are somewhat intertwined/entangled. You definitely need dtpx.bin for either one.
<yann> possibly I need to add more dp-related stuff to the dts, then
<westernsemico> the SoC supports DP natively. For HDMI you need an adapter, but those are often included on the mainboard by the vendor. For HDMI-over-USBC often the USB-C chip has the appropriate circuitry built in. Anyways when displaying over HDMI a lot of parts of the chip will think they are using displayport. So don't be confused if you see lots of references to "displayport" when using HDMI.
<westernsemico> yann, did you remove anything?
<westernsemico> robmur01, sorry, you're right, 1920x1200 is the cutoff. Anything above that needs firmware.
<robmur01> Adapter? Wut? The SoC has the same native DesignWare HDMI controller/phy as half the market :/
<yann> since the original dts was so full of cruft, and starting without a clue of what dts changes might be required when going from 4.4-rk to 5.10-vanilla, I went the way of starting with nothing and picking bits one by one
<westernsemico> robmur01 does the SoC actually have HDMI pins? Not including the USB-C extcon.
<yann> that is, I started with mostly just including rk3399.dtsi and the PMU stuff
<robmur01> I was going to say yes instinctively, but after checking the datasheet, yes.
<westernsemico> yann, probably better to work from the other direction, leave in most of the stuff and remove the cruft bit by bit.
<yann> I'll dig the direction of bring the DP stuff back tomorrow, I'm a bit off-hours right now, real life is calling :) thx for the hints!
<robmur01> my board has the HDMI brought straight out on HDMI, and the DP muxed between type C and an eDP connector (the former of which doesn't work with mainline because of the type-c phy mess, and the latter of which I don't have, or particularly want, the special panel for)
warpme_ has quit [Quit: Connection closed for inactivity]
<robmur01> now AFAIK the HDMI does have an HDCP block which mainline has never even gone near, and I guess might be needed for some of the HDMI 2.0 stuff
<westernsemico> robmur01, yes, you're right, HDMI PHY is on AK/AL[17:19]. The "HDMI only over DP" is a rk3399-gru-kevin-specific thing.
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
<westernsemico> I suspect that HDCP is a big part of the reason why there is a microcontroller in the DP/HDMI core in the first place. But unfortunately the dtpx.bin firmware is required for higher resolutions whether you're using HDCP or not.
* robmur01 remains skeptical that a Synopsys IP would depend on a Cadence IP...
robmur01 has quit [Remote host closed the connection]
robmur01 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 264 seconds]
kevery1 is now known as kevery
alpernebbi has quit [Quit: alpernebbi]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
s_frit has joined #linux-rockchip
Guest66867 has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
macc24 has quit [Ping timeout: 240 seconds]
<samueldr> hi, somewhat a cross-post from another channel:
kevery1 has joined #linux-rockchip
<samueldr> is it likely that the CCD hardware on a chromebook "scarlet" tablet interferes with the ability to act as a gadget?
<samueldr> it's an OP1, basically a binned RK3399 with different bootrom AFAIUI
<samueldr> this is compared to an RK3399 device where the equivalent setup works (pbp)
<samueldr> gadget here means a usb gadget
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
lvrp16 has quit [Ping timeout: 246 seconds]
arnd has quit [Ping timeout: 260 seconds]
lvrp16 has joined #linux-rockchip
arnd has joined #linux-rockchip
westernsemico has quit [Quit: leaving]
vagrantc has quit [Quit: leaving]
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-rockchip