rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
vagrantc has quit [Quit: leaving]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 265 seconds]
ChriChri_ is now known as ChriChri
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
return0e has quit [Client Quit]
return0e has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
[7] has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
aloo_shu has quit [Quit: de nada]
cnxsoft1 has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
macc24 has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
KotCzarny has quit [Ping timeout: 240 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
<JohnDoe_71Rus> another tv and hdmi switch. There is color artefacts. When I select "settings" there is always a black screen. https://dropmefiles.com/h58MQ
cnxsoft1 has quit [Remote host closed the connection]
florian has joined #linux-sunxi
LukeHck has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
gsz has joined #linux-sunxi
mauz555 has joined #linux-sunxi
florian has quit [Ping timeout: 256 seconds]
mauz555 has quit []
mauz555 has joined #linux-sunxi
lurchi_ is now known as lurchi__
mauz555 has quit []
mauz555 has joined #linux-sunxi
LukeHck has quit [Remote host closed the connection]
iyzsong has joined #linux-sunxi
AneoX has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
macc24 has quit [Ping timeout: 250 seconds]
dddddd has joined #linux-sunxi
macc24 has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
<clementp[m]> megi did you test GPU opp table on Orange Pi 3? I got crash sometimes when GPU is at 756MHz but temp is still low <72°C
macc24 has quit [Quit: WeeChat 2.8]
pgreco has quit [Ping timeout: 250 seconds]
pgreco has joined #linux-sunxi
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #linux-sunxi
yann|work has quit [Ping timeout: 260 seconds]
florian has joined #linux-sunxi
yann|work has joined #linux-sunxi
macc24 has joined #linux-sunxi
florian has quit [Ping timeout: 258 seconds]
tdebrouw has quit [Quit: Leaving.]
_rze has joined #linux-sunxi
rzerres has quit [Read error: Connection reset by peer]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
<megi> clementp[m]: I did not
<megi> GPU also crashed for me from time to time
<megi> but I didn't really investigate, I assumed the driver is just not very stable yet
<megi> and I was using mesa-git
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<clementp[m]> for me it's all the board that is stuck.
<clementp[m]> but it looks like regulator is not properly driven when frequency are changed
<megi> hmm
ChanServ has quit [shutting down]
<megi> there's no link from gpu node to the regulator...
<megi> interesting :)
<clementp[m]> I have added it
<megi> did it help?
<clementp[m]> or maybe not
<clementp[m]> setting mali-supply=<&reg_dcdcx>
<clementp[m]> is not enough ?
<megi> don't think sp
<megi> so
ChanServ has joined #linux-sunxi
<megi> ah the name is set in panfrost_drv.c
<megi> default_supplies
<megi> so maybe :), but I don't know if devfreq uses them
<megi> I don't see any link between ->regulators and initialization of devfreq in panfrost_devfreq.c
ChanServ has quit [*.net *.split]
ChanServ has joined #linux-sunxi
<clementp[m]> yes you-re right
<clementp[m]> was looking to panfrost and nothing seems to link regulator with opp right now
<megi> this driver may serve as an example https://elixir.bootlin.com/linux/latest/source/drivers/devfreq/exynos-bus.c#L183 as it also uses devfreq
maik has quit [Remote host closed the connection]
JohnDoe0 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 265 seconds]
yoq has joined #linux-sunxi
<Werner> From what I have noticed these days is that the H6 gpu running nicely when the frequency is fixed through devfreq
<clementp[m]> Werner: did you run some benchmark ?
<clementp[m]> Which frequency did you set ?
<Werner> Nothing spectacular besides glxgears and 756 which should be max
<clementp[m]> for me untill 504MHz it's ok but more than that isn't
<clementp[m]> which kernel / patch ?
<Werner> 5.6.2, megous sources. Armbian sunxi-dev patches applied. mesa compiled from sources.
reinforce has joined #linux-sunxi
<clementp[m]> there is no gpu opp tables on megous or armbian I think
<Werner> Yes, there is. But have to look myself where it was
yann|work has quit [Ping timeout: 265 seconds]
<clementp[m]> Do you remenber where?
<Werner> Too many patches, no idea which one has the table in. Anyway this is the sun50i-h6.dtsi when fully patched: https://paste.debian.net/1139722/
<clementp[m]> Kind of same patch 'im testing
<Werner> Looks familiar. Try setting the gpu governour to uerspace and fix the min and max freq to the same value, whatever it is. This working well for me
<clementp[m]> Werner: which board do you have ?
<Werner> OrangePi One Plus
<Werner> I cannot do heavy benchmark tests anyways since I do not have a proper heatsink on it, just a fan blowing some air against the SoC.
<clementp[m]> Can you just check voltage of the vdd-gpu ?
<clementp[m]> cat /sys/class/regulator/regulator.X/microvolts
<Werner> Let me boot it up real quick
yann|work has joined #linux-sunxi
<clementp[m]> where cat /sys/class/regulator/regulator.X/name == vdd-gpu
<clementp[m]> thank you
werner_ has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
<Werner> Have to find out which of the 18 regulators for the gpu is
<clementp[m]> you can do cat /sys/class/regulator/regulator.*/name
<Werner> Okay it seems to be regulator.5 1800000.gpu-mali
<Werner> 900000 is microvolts
<clementp[m]> if you set the GPU frequency to 756MHz
<clementp[m]> does the regulator voltage change ?
<Werner> Well now comes the odd part. It is already fixed to 756
<Werner> 756000000 cur_freq
<clementp[m]> the regulator should be set to 1.040V for this frequency
<Werner> Exactly
<clementp[m]> So you're lucky that's it's working
<clementp[m]> For me it works untile the SoC reach 72/75°C
<clementp[m]> until*
<Werner> Let me put a load on it. As for me I noticed crashes when putting a load to the board by compiling stuff. Not always though
<Werner> The CPU is capped to 1488GHz to reduce the heat a bit.
<Werner> *MHz
yann|work has quit [Read error: No route to host]
<tuxd3v> what version of uboot/atf are you using in orangepi one plus with 5.6.2 kernel?
<tuxd3v> I can't boot my 5.6.2 kernel
<clementp[m]> even @1.5GHz if you have heavy load. The temperature will rise to 80/85°C for board with passivce cooling
<tuxd3v> and uboot gives me zero output
<clementp[m]> and then the GPU will be not stable at this temperature with this voltage
yann|work has joined #linux-sunxi
<clementp[m]> I'm quite sure the crash/freeze is due to this
<Werner> I guess this board will never be useful under heavy load without active cooling
<Werner> tuxd3v, I have to dig through the sources to find these answers. You can always build yourself an Armbian image using the dev branch to get what I am actually running on.
werner_ has quit [Quit: Leaving]
<clementp[m]> Yes I agree, but that's not a reason to allow it to crash/freeze :)
<clementp[m]> quick fix you can change the reg_dcdcc regulator-min-microvolt to 1040000
<clementp[m]> Or maybe not as they are no cooling map on the GPU
<Werner> I think I'd leave it for now as it is until I have proper cooling for it
<clementp[m]> you can remove all the GPU OPP upper than 504MHz
<Werner> Played one round supertuxkart. The temperature reached a max of 75°C. Quite low fps at full hd but it survived.
<Werner> Unlocked CPU. Pushed temperature to 79° but still running without issues.
<Werner> gpu is still at 900mV. Maybe this is actually a good value for the max frequency to run halfway stable?
yann|work has quit [Read error: No route to host]
yann|work has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
gsz has quit [Quit: Konversation terminated!]
florian has joined #linux-sunxi
mauz555 has quit []
florian has quit [Ping timeout: 256 seconds]
KotCzarny has quit [Ping timeout: 265 seconds]
lurchi__ is now known as lurchi_
<clementp[m]> Mayve you have good bin
damex has quit [Quit: damex]
damex has joined #linux-sunxi
<smaeul> yoq: thank you!
JohnDoe0 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
damex has quit [Quit: damex]
damex has joined #linux-sunxi
<Werner> Maybe
lurchi_ is now known as lurchi__
<tuxd3v> werner, thanks a lot anyway
<tuxd3v> I build my own rootfs
<Werner> You're welcome
<tuxd3v> clementp[m], actually in u-boot
<tuxd3v> reg_dcdcc( vdd-gpu ) minimum value is '810000'
<tuxd3v> max is 1080000
<tuxd3v> u-boot_v2020.01
<clementp[m]> Don't get your point, It's the same as linux...
<clementp[m]> it's here but unused no ?
<tuxd3v> well it should be
<tuxd3v> but in that case max frequency of gpu should be at '1080000'
damex_ has joined #linux-sunxi
damex has quit [Ping timeout: 264 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
sunshavi has quit [Ping timeout: 256 seconds]
vagrantc has joined #linux-sunxi
sunshavi has joined #linux-sunxi
macc24 has quit [Ping timeout: 265 seconds]
netlynx has quit [Quit: Ex-Chat]
macc24 has joined #linux-sunxi
<clementp[m]> yes and that the issue panfrost update the frequency but not the voltage
florian has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
damex has joined #linux-sunxi
macc24 has quit [Ping timeout: 250 seconds]
macc24 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
mforney is now known as mcf
damex_ has quit [Read error: No route to host]
damex__ has joined #linux-sunxi
damex__ has quit [Client Quit]
damex_ has joined #linux-sunxi
indy has quit [Ping timeout: 264 seconds]
indy has joined #linux-sunxi
<clementp[m]> 2/2 is the interesting one
jstein has quit [Quit: quit]
yann|work has quit [Ping timeout: 256 seconds]
jstein has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
florian has quit [Ping timeout: 264 seconds]
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
jstein has quit [Quit: quit]
yann has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
macc24 has quit [Quit: WeeChat 2.8]
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
qschulz has quit [Remote host closed the connection]
qschulz has joined #linux-sunxi
psydread has left #linux-sunxi [#linux-sunxi]
psydread has joined #linux-sunxi
ldevulder__ has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 256 seconds]
reinforce has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
<tuxd3v> clementp[m], I understood wrong
<tuxd3v> my apologies, and sorry fo the noise..
<clementp[m]> tuxd3v: no problem :)
Mangy_Dog has quit [Ping timeout: 265 seconds]