Pali has quit [Ping timeout: 265 seconds]
pere has quit [Ping timeout: 265 seconds]
^-^hi has quit [Read error: Connection reset by peer]
joerg has quit [Ping timeout: 245 seconds]
joerg has joined #maemo-leste
pere has joined #maemo-leste
dos is now known as dos1
<freemangordon> Wizzup: this is how it should be, no?
<freemangordon> I don;t see any problem being able to unlock via power key only
<freemangordon> tmlind: ping
Twig has joined #maemo-leste
ikmaak2 is now known as ikmaak
pere has quit [Ping timeout: 252 seconds]
<Wizzup> freemangordon: well, I think the vm maybe should just not lock, as it looks like the device is hanging for new people
<freemangordon> I don;t think we shall treat VM in a special way
<freemangordon> but, no strong preference either
<Wizzup> we could just disable the autolock in the vm image builder, for example
<freemangordon> ok
<freemangordon> makes sense
<bencoh> sounds like a good idea
<lel> MerlijnWajer opened an issue: https://github.com/maemo-leste/bugtracker/issues/579 (disable autolock in image builder for VM images)
<lel> MerlijnWajer assigned an issue: https://github.com/maemo-leste/bugtracker/issues/579 (disable autolock in image builder for VM images)
Pali has joined #maemo-leste
<freemangordon> hmm, I think I know why kernel rebuilds every time
<freemangordon> damn CROSS_COMPILE should be env var it seems, not make parameter
<freemangordon> like 'export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-'
<bencoh> you mean make CROSS_COMPILE=whatever- doesn't work?
<bencoh> funny, I never actually tried I think
<Wizzup> I always have them as env var
<bencoh> same
<freemangordon> it works, but make ARCH=arm omap2plus_defconfig seems to use HOST gcc version string
<Wizzup> ha
<freemangordon> and ofc I do not pass CROSS_COMPILE for make defconfig
<Wizzup> ah, you should
<freemangordon> yeah, looks like :)
<Wizzup> I do this:
<Wizzup> make -j16 ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- omap2plus_defconfig
<Wizzup> ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- make -j16
<freemangordon> but, with env var EVERYBODY is aware of the situation
<Wizzup> INSTALL_MOD_PATH=`pwd`/output ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- make -j16 modules_install
<freemangordon> yeah, yeah
<Wizzup> :)
<Wizzup> let me know if I can help facilitate the bisect somehow
<freemangordon> I am not sure how to deal with that
<freemangordon> git diff tmlind/droid4-pending-pvr-omapdrm-v5.9..tmlind/droid4-pending-pvr-omapdrm-v5.15 drivers/gpu/drm/pvrsgx/ results in differences that cannot result in a device hang (makefiles changes and more platforms supported)
<freemangordon> git diff tmlind/droid4-pending-pvr-omapdrm-v5.9..tmlind/droid4-pending-pvr-omapdrm-v5.10 drivers/gpu/drm/omapdrm results in only one suspicious change I am going do test reverted now
<freemangordon> if it is not that, I have no idea how to find what breaks it
<freemangordon> there are lots of changes in drm though
<Wizzup> maybe there is a slight chance that something is printed on serial when it hangs
<freemangordon> ok, you can try it
<Wizzup> I'll need to set up a sd card for it, I don't have any of that set up (yet)
<freemangordon> hmm, why?
<freemangordon> you just need one directory I will share
<Wizzup> ok
<freemangordon> extract to /root
<freemangordon> and then export LD_LIBRARY_PATH=/root/sgx
<freemangordon> pvrsrvctl --start --no-module
<freemangordon> kmscube -D /dev/dri/card1
<Wizzup> do you probe the module manually? I assume so?
<freemangordon> no
<Wizzup> ok
<freemangordon> or kmscube -D /dev/dri/card0
<freemangordon> not sure how they are numbered
<Wizzup> btw I think there is /dev/dri/by-path/ if you want to prevent that
<Wizzup> (but yeah)
<freemangordon> could be
<Wizzup> ok, I will wait for your one revert and after that I will do the test
<freemangordon> ok
<Wizzup> (in any case it will be good to have this set up)
<Wizzup> I assume it's similar to the d4)
<freemangordon> yes
<freemangordon> the only difference is blobs
<freemangordon> on d4 are those for d4 :)
<Wizzup> ah
nohit has quit [Read error: Connection reset by peer]
<freemangordon> Wizzup: I don't have high hopes though
nohit has joined #maemo-leste
<freemangordon> yeah, it didn't boot at all
<freemangordon> Wizzup: ^^^
<Wizzup> what change did you revert?
<Wizzup> or shall I try the kernel we were on yesterday
<Wizzup> 5.15 with one revert to make it boot
<freemangordon> yes
<freemangordon> 5.15 with one revert
<freemangordon> oh, I didn;t revert that properly
<freemangordon> lemme try again
<freemangordon> cannot revrt :(
<Wizzup> what commit is it
<freemangordon> couple of it seems
<Wizzup> ok
<freemangordon> Wizzup: ok, lets do it like that
<Wizzup> freemangordon: one thing, did you try to disable pm for pvr to see if that causes problems on the n900 somehow?
<freemangordon> it is there on 5.9 too
<Wizzup> freemangordon: like what exactly?
<Wizzup> ok
<freemangordon> could you build 5.10 from tmlind's tree with 25ec90d0eb7aa5d8c5edc6e12adc901204c17616 cherry-picked
<freemangordon> and see why it does not boot
<freemangordon> it will be less easier for me if I have 5.10 booting instead of 5.15
<freemangordon> *more easy
<Wizzup> ok
<freemangordon> thanks
<Wizzup> so droid4-pending-pvr-omapdrm-v5.10 with omap2plus_defconfig ?
<Wizzup> + that commit
<freemangordon> yes
<freemangordon> hmm, maybe it is the same commit that shall be reverted
<Wizzup> what branch contains 25ec90d0eb7aa5d8c5edc6e12adc901204c17616 ? I don't want 'git fetch' all branches
<Wizzup> 5.9? 5.11?
<freemangordon> no idea
<freemangordon> how to verify?
<freemangordon> I fetched all branches
<freemangordon> 5.15 for sure has it though
<Wizzup> hm...
<Wizzup> is this a revert you did or something?
<freemangordon> no, just a second
<freemangordon> "ARM: dts: Fix swapped mmc order for omap3"
<freemangordon> do you have this commit ^^^
<Wizzup> it is a1ebdb3741993f853865d1bd8f77881916ad53a7 for me
<freemangordon> hmm
<freemangordon> weird
<Wizzup> so:
<Wizzup> origin/droid4-pending-pvr-omapdrm-v5.10 + a1ebdb3741993f853865d1bd8f77881916ad53a7 (Fix swapped mmc order), build, and try to init
<freemangordon> and try to boot
<Wizzup> do you expect that to hang or not to hang?
<freemangordon> this one hangs for me
<freemangordon> but I want it to boot, to be able to test
<Wizzup> ok
<Wizzup> building now
<freemangordon> in 5.10 that it, which is closer to 5.9 that 5.15, so less things to try, hopefully
<Wizzup> btw, my head for origin/droid4-pending-pvr-omapdrm-v5.10 is a20e7866242dde42bb5692c2611f862385c395b5
<Wizzup> do you also have that
<freemangordon> yes
<Wizzup> ok
<Wizzup> and you don't have a1ebdb3741993f853865d1bd8f77881916ad53a7 ?
elastic_dog has quit [Remote host closed the connection]
<freemangordon> I have both , but cherry-picked 25ec90d0eb7aa5d8c5edc6e12adc901204c17616
<freemangordon> keep in mind I have linux stable tree fetched as well
<Wizzup> ok
<freemangordon> ttyl, lunch
Twig has quit [Quit: Leaving]
Twig has joined #maemo-leste
<Wizzup> stops here and resets:
<Wizzup> building in watchdog
<freemangordon> hmm, ok
<freemangordon> that should be it
<Wizzup> ok
<Wizzup> getting trace
<Wizzup> does it need ec76c2eea903947202098090bbe07a739b5246e9 ?
<freemangordon> maybe
<freemangordon> also, I think we need to revert off mode commit
<freemangordon> not that I remember which one was it
<Wizzup> I think this commit I just linked is absolutely necessary
<Wizzup> shall I add it and rebuild?
<Wizzup> doing so now
<freemangordon> yes please
<Wizzup> btw, running 'git log ec76c2eea903947202098090bbe07a739b5246e9' shows a bunch of other fixes surrounding that one
<Wizzup> rebuilding now
<Wizzup> ah, was wondering why it didn't work but I forgot the usual cat + mkimage
<freemangordon> :)
<Wizzup> already doing a clean build *sigh*
<Wizzup> flashbacks from my old job where I'd forget that kind of stuff constantly :(
Twig has quit [Remote host closed the connection]
<freemangordon> in the meanwhile I will try letux-pvrsrvkm-5.15-rc1
<freemangordon> to see if it is tmlind's fixes that break it
<Wizzup> ok
nohit has quit [Ping timeout: 252 seconds]
nohit has joined #maemo-leste
<Wizzup> so once I cherry pick that commit I'm back to the initial state where it's stuck after this and then resets:
<Wizzup> [ 2.989746] Registering SWP/SWPB emulation handler
<Wizzup> odd
<freemangordon> yeah
<freemangordon> the fuck!!!
<freemangordon> letux-pvrsrvkm-5.15-rc1 does not boot
<tmlind> freemangordon: hmm so what did i break now? :)
<tmlind> have not read the logs yet, but you trying to update pvr hopefully?
<freemangordon> tmlind: I am not sure it is you
<Wizzup> We're trying to debug why the n900 hangs for pvr since 5.10+
<freemangordon> but I hope you can help me with that one, so:
<freemangordon> tmlind: 33bc438d6d8883d77e37b369fe5144ee9b01fad8 makes it unbootable on n900
<freemangordon> but, the initial issue is that starting with 5.10, kmscube renders one frame and device freezes
<freemangordon> I did git diff tmlind/droid4-pending-pvr-omapdrm-v5.9..tmlind/droid4-pending-pvr-omapdrm-v5.10 drivers/gpu/drm/pvrsgx and git diff tmlind/droid4-pending-pvr-omapdrm-v5.9..tmlind/droid4-pending-pvr-omapdrm-v5.10 drivers/gpu/drm/omapdrm but I see nothing suspicios
<freemangordon> so, the problem must be somewhere else, but I have no idea what to do
<freemangordon> tmlind: ^^^
<tmlind> freemangordon: i'd try with v5.15 pvr branch, then revert 33bc438d6d8883d77e37b369fe5144ee9b01fad8 or whatever that commit might be there
<freemangordon> tmlind: already did - it boots, but as I said, device hangs after the first frame is rendered
<tmlind> ok
<freemangordon> the same was on 5.10 (the hang)
<freemangordon> on 5.0 it was working
<freemangordon> *5.9
<tmlind> and pvr clock is configured in the dts for omap3?
<freemangordon> should be
<freemangordon> it is your tree I am using :)
<tmlind> yeah ok
<tmlind> so what commands to reproduce on n900?
<tmlind> just start kmscube or something?
<freemangordon> (12,26,53) freemangordon: Wizzup: http://46.249.74.23/leste/sgx.tar.gz
<freemangordon> (12,27,06) freemangordon: extract to /root
<freemangordon> (12,28,10) freemangordon: kmscube -D /dev/dri/card1
<freemangordon> (12,27,48) freemangordon: pvrsrvctl --start --no-module
<freemangordon> (12,27,28) freemangordon: and then export LD_LIBRARY_PATH=/root/sgx
<freemangordon> yes, kmscube
<tmlind> ok
<freemangordon> but you need 33bc438d6d8883d77e37b369fe5144ee9b01fad8 reverted, otherwise omapdss won't probe properly
<tmlind> about to catch a train here in about an hour, will read through the logs on train
<freemangordon> ok
<freemangordon> not that there is something useful there though
<tmlind> yeah weird, folks are using the pvr patches on many different socs
<freemangordon> mhm
<tmlind> ah on omap4 there's the tiler while omap3 does not have it, so 33bc438d6d8883d77e37b369fe5144ee9b01fad8 might need some extra checks
<tmlind> also folks using the pvr tree on pyra have tiler
<tmlind> beaglebone users on am335x don't have the tiler i think
<tmlind> anyways, bbl
<freemangordon> ok
<freemangordon> Wizzup: so, we cannot make 5.10 booting, right?
<freemangordon> if that's the case, maybe we shall try your initial suggestion
<freemangordon> (5.15 and see if there is anything on the serial)
<freemangordon> alsi, I thing there are some debug messages to be printed
<freemangordon> I mean - you can enable additional messages from config
<freemangordon> never tried it though
xmn has quit [Quit: ZZZzzz…]
<Wizzup> ok, I can do that (5.15 + serial)
<Wizzup> do you know what debug options are to be enabled?
<Wizzup> I guess there is the slub stuff, then drm debug, and pvr/sgx debug?
<freemangordon> there is pvr config option
<freemangordon> no idea how useful it is
Twig has joined #maemo-leste
<Wizzup> right, drm debug is toggleable at runtime
<Wizzup> freemangordon: heh compiling with the debug on results in compiler errors
<freemangordon> :(
<freemangordon> disable it
<Wizzup> yeah
<sicelo> i recall mighty had issues with that in the past too :-)
<Wizzup> let me reboot and try again
<Wizzup> yeah that seemed random
<Wizzup> gone on reboot
<freemangordon> in the meanwhile I will try a different approach - boot 5.9 and merge 5.1-rc1, to see if it will break
<freemangordon> then rc2 etc
<freemangordon> 5.10-rc1 ofc
<Wizzup> freemangordon: regarding your sgx instructions
<Wizzup> root@devuan-n900:~/sgx# ./pvrsrvctl --start --no-module
<Wizzup> ./pvrsrvctl: error while loading shared libraries: libsrv_init.so.1: cannot open shared object file: No such file or directory
<Wizzup> I think I did do the export
<Wizzup> oh no...
<freemangordon> :)
<Wizzup> [ 216.640441] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
<freemangordon> good
<freemangordon> enable drm debug
<Wizzup> should kmscube use omap drm or the gpu
<Wizzup> (I guess the gpu)
<freemangordon> mhm
<Wizzup> root@devuan-n900:~/sgx# ls /dev/dri/by-path/
<Wizzup> platform-50000000.gpu-card platform-omapdrm.0-card
<Wizzup> platform-50000000.gpu-render platform-omapdrm.0-render
<Wizzup> so platform-50000000.gpu-render
<Wizzup> where does kmscube come from?
<freemangordon> kmscube?
<Wizzup> yup
<Wizzup> the binary
<freemangordon> like apt-get install kmscube
<Wizzup> k
<freemangordon> yes, package name is the same as the binary
<freemangordon> pray for 5.9 to boot
<freemangordon> :)
* sicelo activates black magic
<freemangordon> didn;t help :(
<freemangordon> I am missing more commits it seems
<Wizzup> I emailed sre about the cnc files
<Wizzup> let's see
<freemangordon> yup, saw it
<Wizzup> # kmscube -D /dev/dri/by-path/platform-50000000.gpu-render
<Wizzup> kmscube: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by /root/sgx/libgbm.so.1)
<Wizzup> kmscube: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by /root/sgx/libEGL.so.1)
<Wizzup> do you have some other libc installed?
<freemangordon> hmm
<freemangordon> lemme check
<Wizzup> # /lib/arm-linux-gnueabihf/libc.so.6 | grep 'release version'
<Wizzup> GNU C Library (Debian GLIBC 2.28-10) stable release version 2.28.
<Wizzup> does this require the weakening thing?
<freemangordon> it seems I have libc-2.31.so
<freemangordon> I have the needed packages, but I guess you don;t want to break that one
<Wizzup> well with the weaken script run on it it does start
<freemangordon> great
<freemangordon> does it work?
<Wizzup> I don't see anything on the display, but it doesn't hang
<freemangordon> :D
<Wizzup> hang on
<Wizzup> # kmscube -D /dev/dri/by-path/platform-50000000.gpu-card
<Wizzup> kmscube: /lib/arm-linux-gnueabihf/libm.so.6: weak version `GLIBC_2.29' not found (required by /root/sgx/libgbm.so.1)
<Wizzup> kmscube: /lib/arm-linux-gnueabihf/libm.so.6: weak version `GLIBC_2.29' not found (required by /root/sgx/libEGL.so.1)
<Wizzup> drmModeGetResources failed: Operation not supported
<Wizzup> failed to initialize legacy DRM
<freemangordon> try the other card
<Wizzup> segfaults after a bit, don't see anything
<freemangordon> I guess you should LD_PRELOAD
<Wizzup> LD_PRELOAD what?
<freemangordon> not sure
<freemangordon> ok, first try with the other card
<Wizzup> that is the segfault
<freemangordon> ah
<Wizzup> [ 1084.468292] [drm:omap_irq_handler [omapdrm]] lcd: apply done
<Wizzup> [ 1084.484771] omapdrm omapdrm.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 0: current=1926, diff=1, hw=0 hw_last=0
<Wizzup> [ 1084.485748] [drm:omap_irq_handler [omapdrm]] lcd: apply done
<Wizzup> [ 1084.490905] omapdrm omapdrm.0: [drm:vblank_disable_fn [drm]] disabling vblank on crtc 0
<Wizzup> [ 1084.491760] omapdrm omapdrm.0: [drm:drm_update_vblank_count [drm]] updating vblank count on crtc 0: current=1927, diff=0, hw=0 hw_last=0
<Wizzup> [ 1084.492523] [drm:omap_irq_disable_vblank [omapdrm]] dev=943cbf4f, crtc=0
<Wizzup> [ 1084.493041] [drm:omap_irq_update [omapdrm]] irqmask=0000d640
<Wizzup> Segmentation fault
<freemangordon> well, you can;t recreate the issue because of glibc
<freemangordon> I can;t recall what needs to be preloaded
<freemangordon> hmm, I am sure I had a script to weaken dependencies around
<freemangordon> aoont find it
<freemangordon> *cannot
<Wizzup> I ran it on libEGL and libgbm and it didn't help
<freemangordon> they are symlinks
<freemangordon> you should run on the real libs, iirc
<Wizzup> on .so.1
<freemangordon> on libEGL.so.1.0.0
<Wizzup> same thing
<freemangordon> maybe preload libm
<Wizzup> which libm?
<freemangordon> the one you have
<Wizzup> system libm?
<freemangordon> /lib/arm-linux-gnueabihf/libm.so.6
<freemangordon> yes
<Wizzup> I don't understand why
<freemangordon> try it
<Wizzup> but it doesn't help it seems
<freemangordon> ok
<Wizzup> (also: omg it's so annoying that bash printing to serial is this buggy)
<Wizzup> just remembered I have ssh
<Wizzup> heh
<Wizzup> does the egl shim need to preloaded?
<freemangordon> no
<freemangordon> but you shouldn;t have problems
<freemangordon> that's weird
<freemangordon> what does ldd says about it?
<Wizzup> what is it
<freemangordon> ldd libEGL.so.1.0.0
<Wizzup> it doesn't seem to use the libgbm there
<freemangordon> mhm
<Wizzup> it's because I am on ssh
<freemangordon> and LD_PRELOAD=libm.so.6 ldd libEGL.so.1.0.0
<freemangordon> ok
<freemangordon> sec
<freemangordon> ofc my d4 battery is flat
<Wizzup> hehe
<Wizzup> I can set up remote ssh if it makes sense
<freemangordon> yes, please
_uvos_ has joined #maemo-leste
<_uvos_> with regular ti blobs you have to prelaod pvr_dri.so
<_uvos_> with the mesa path you dont have to do anything just use my repo
_uvos_ has quit [Client Quit]
<Wizzup> hi uvos
<Wizzup> the sgx in fmg's tar does not contain pvr_dri.so
<freemangordon> hmm
<freemangordon> wait
<Wizzup> going to make a coffee :)(
<Wizzup> :) *
<freemangordon> yeah, my bad
inky has joined #maemo-leste
_inky has quit [Ping timeout: 250 seconds]
inky_ has quit [Ping timeout: 252 seconds]
xmn has joined #maemo-leste
<freemangordon> ok, gets better
<freemangordon> Wizzup: https://pastebin.com/2W5dmCmF
<Wizzup> just paniced
<freemangordon> did it?
<freemangordon> over the serial?
<freemangordon> yeeeeaaaah!
<freemangordon> do you have cube on the screen?
<Wizzup> no cube as far as I can see
<Wizzup> I was doing some other coding and just saw the n900 display do something
<Wizzup> this is with dmesg -w btw, the actual console was still set to tty1
<Wizzup> (pali's u-boot sets that, I need to change that)
<Wizzup> freemangordon: the paste you sent me says it cannot init the shader compiler, so I am not sure if I should expect the cube?
<freemangordon> I fixed that
<freemangordon> that's why it panicked
<Wizzup> ah
<freemangordon> this https://pastebin.com/1jK6DgaH
<freemangordon> maybe if you run it without drm debug you will see the cube
<freemangordon> I guess we need pm_runtime_get_sync somewhere
<freemangordon> but lets wait for tmlind
<freemangordon> Wizzup: maybe retry with drm debug disabled
_inky has joined #maemo-leste
<Wizzup> ok, I can reboot, retry and see if I see something
<Wizzup> heh there's definitely a race when booting
<Wizzup> tmlind: probably unrelated to pvr, seeing this *sometimes* when booting omap2plus_defconfig on 5.15 on n900 https://wizzup.org/pm-panic.txt
<Wizzup> freemangordon: apart from that command in the pastebin, what else do I need to run
<Wizzup> oh wait
<Wizzup> freemangordon: I get this still:
<Wizzup> PVR:(Error): LoadCompilerModule: Couldn't load library libglslcompiler.so [0, ]
<Wizzup> vertex shader compilation failed!:
<Wizzup> failed to initialize EGL
<Wizzup> did you add it so ld library path?
<freemangordon> sure
<freemangordon> you need export LD_LIBRARY_PATH=/root/sgx
<Wizzup> I did that
<Wizzup> anything else?
<Wizzup> does the libglsl compiler need to be weaked?
<freemangordon> I already weakened it
<Wizzup> it is possible that whatever you did was not saved because of the immediate panic
<Wizzup> yeah so that was lost probably
<freemangordon> ah, ok
<freemangordon> I put anothe script in sgx dir
<Wizzup> yeah
<Wizzup> I see a cube + panic now
<freemangordon> which it seems is the same as what you use, but still
<freemangordon> ok, great
<freemangordon> same panic? external abort?
<freemangordon> I guess it needs some PM functions
<Wizzup> yeah, maybe this is a moment to wait for tmlind :p
<freemangordon> :nod:
<Wizzup> I need to do some things in the house
<freemangordon> me too
l_bratch has quit [Quit: Leaving]
<tmlind> yeah that looks like some pm_runtime issue
<freemangordon> tmlind: any hint how to fix it? is it possible to disable PM in runtime to test if it will still fail?
<tmlind> freemangordon: yeah let me tell you what to comment out, a bit bad connection right now, few mins
<freemangordon> ok
<tmlind> freemangordon: you can disable runtime pm via sysfs by finding the target module in /sys and echo on > power/control, auto re-enables runtime pm
<freemangordon> ok, lemme try
l_bratch has joined #maemo-leste
l_bratch has quit [Remote host closed the connection]
l_bratch has joined #maemo-leste
<tmlind> echo on > /sys/devices/platform/68000000.ocp/50000014.target-module/power │[~] $
<freemangordon> doing that resulted in freeze without cube
<tmlind> sorry power/control i mean
<freemangordon> root@devuan-n900:/sys/module/pvrsrvkm_omap3_sgx530_121/drivers/platform:pvrsrvkm/50000000.gpu/power# echo on > control
<freemangordon> ^^^ is not correct?
<tmlind> both should work, the target module controls the resources, gpu module controls internal gates only
<freemangordon> tmlind: shall I try /sys/devices/platform/68000000.ocp/50000014.target-module/power/control or what I already tried is ok?
<tmlind> freemangordon: well sounds like it already removed the runtime pm issue?
<freemangordon> ok, what I tried resulted in device hang, with no cube
<Wizzup> trying as well to see if I get a panic
<Wizzup> the write itself does nothing bad for me at least
<Wizzup> yeah I think I see the same as fmg, similar panic, but no first frame is rendered
<tmlind> yeah i see the runtime pm issue too on n900
<Wizzup> maybe it is not related to powervr but gets triggered and it's similar to the random boot failure I se
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 245 seconds]
<tmlind> do did it work earlier with the same dts config or just with older ddk?
<Wizzup> I think freemangordon said it worked on 5.9 with the same ddk
<tmlind> weird
<Wizzup> but we're having trouble bringing 5.10 to live/boot at all, so the bisect is harder
<tmlind> heh
<Wizzup> freemangordon: maybe you can (re)confirm that the ddk on 5.9 does work
<bencoh> do you have earlycon / a serial console?
<Wizzup> yes, but there's many things to dig through
<Wizzup> see earlier log today
<freemangordon> yes, I confirm
<freemangordon> 5.9 was fine
<freemangordon> I even posetd benchmarks
<freemangordon> *posted
<freemangordon> could it be that off mode that was enabled?
<tmlind> seems like this should be really tracked down with git bisect.. does v5.10.y boot better with all the stable fixes?
<freemangordon> I can try
<tmlind> ok
<freemangordon> but, how do you think I shall bisect?
<tmlind> well you're have to carry the a patch with you through the bisect, there's some option for carrying a commit
<tmlind> assuming v5.10.y has some fix that makes v5.10 usable for bisect that is
<freemangordon> I don;t know which patch I need for 5.10 to boot
<freemangordon> back then I was able to boot 5.10, but today I failed
<tmlind> right but if v5.10.y boots, there's some patch there between v5.10..v5.10.y
<freemangordon> oh, bisect to find the one I need first
<freemangordon> right
<freemangordon> this will take ages
<tmlind> yeh, then carry it..
<freemangordon> yeah
<freemangordon> ok
<tmlind> seems like two bisects are needed, one to boot, then another hopefully much easier one to track down the pvr issue
<freemangordon> yeah
<freemangordon> ok
<tmlind> at some point we had to change the pvr build options for memory allocation, i think that was never properly resolved
<freemangordon> mhm
<freemangordon> if I can boot 5.10 at all
<tmlind> need to transit now, bbl
<freemangordon> bye
<freemangordon> Wizzup: ok, what now
<freemangordon> I mean - I am not sure I'll be able to boot 5.9 without serial
<Wizzup> 5.9 or 5.10
<freemangordon> I think we need 5.9 and then bisect to 5.10
<freemangordon> lemme try first to see if vanilla 5.9 boots on n900
<freemangordon> 5.9.y that is
<Wizzup> it might also be good to see if 5.10 stable boots
<freemangordon> mhm
<Wizzup> then we can rebase pvr on top of stable and bisect that way
<freemangordon> right
<freemangordon> hmm, no
<freemangordon> it is not a pvr change I think
<Wizzup> we will figure that out soon enough then, at least it'll boot
<Wizzup> but yeah, maybe
<Wizzup> tmlind said they did change stuff for memory allocation, so it could be that
<freemangordon> I know what he means, it is not that, it was a change in 3.8
<Wizzup> 5.8?
<freemangordon> yeah
<freemangordon> 5.8
<Wizzup> ok
<freemangordon> maybe we can split the work
<freemangordon> I can bisect 5.9 to see what commits are needed for it to boot
<freemangordon> you can do the same for 5.10
<Wizzup> sure, but I won't have a lot more time today
<Wizzup> so you're asking me to figure out what patches from 5.10.y are required for plain 5.10 to boot?
<freemangordon> yeah, but if you don't have time, I'll try to figure it out
<Wizzup> I have a visitor for the rest of the day soon
<Wizzup> I can continue tomorrow
<freemangordon> ok
<freemangordon> 5.9.16 boots, at least
<Wizzup> maybe we can confirm that that + ddk 1.17 works for the cube?
<freemangordon> this is what I am doing
<freemangordon> just merged tony's 5.9 droid branch
inky_ has quit [Ping timeout: 252 seconds]
_inky has quit [Ping timeout: 252 seconds]
inky_ has joined #maemo-leste
<mighty17[m]> do we have a workaround for GL_EXT_read_format_bgra on series5 (sgx5) gpus?
inky_ has quit [Ping timeout: 252 seconds]
nohit has quit [Ping timeout: 252 seconds]
nohit has joined #maemo-leste
_inky has joined #maemo-leste
<tmlind> mighty17[m]: have not hit that one so far, what happens?
<tmlind> freemangordon: plain v5.10 boots on n900 for me, maybe the mmc devices moving around again?
<freemangordon> 5.9.y boots for me, but not with droid4-pending-pvr-omapdrm-v5.9 merged
peetah has quit [Quit: -]
peetah has joined #maemo-leste
<freemangordon> will revert "Flush what framebuffer wants flushed even if using page faults" and will retry
<tmlind> ok
<mighty17[m]> <tmlind> "mighty17: have not hit that..." <- comes in phosh for me (everything is fine just this comes up in log)
<mighty17[m]> tmlind: do we have a fix for missing GL_OES_texture_border_clamp as well?
<tmlind> mighty17[m]: the border clamp yeah, maybe the IMG_read_format workaround needs to be extended also for GL_EXT_read_format_bgra?
<mighty17[m]> we can try that, but funny part is ` render/gles2: handle IMG_read_format like EXT_read_format_bgra ` we already do it?
<tmlind> oh ok
<mighty17[m]> send me the border clamp patch pls :D
<tmlind> oh we only have the "render/gles2: Properly handle GL_EXT_unpack_subimage", no idea what else you might need there
<mighty17[m]> so nothing for GL_OES_texture_border_clamp?
<tmlind> don't think so, but see "render/wlr_texture: clamp texture coordinates to edge by default"
<mighty17[m]> well GL_OES_texture_border_clamp happens in plamo for me
<mighty17[m]> plamo doesnt use wlroots it uses kwin i think?
<tmlind> no idea.. anyways the earlier patch from jonathan bakker had that included i think but that turned out to be a more generic problem
<mighty17[m]> indeed
<mighty17[m]> either i have to package 1.9 for xwayland or give up
<sicelo> 1.9 being?
<mighty17[m]> ddk
<sicelo> that's deprecated. newer kernels don't support it.
<mighty17[m]> tmlind's newer kernel dropped it, but openpvrsgx should support it?
<mighty17[m]> atleast 5.15-rc1
<tmlind> i would not bother with that old crap, it never worked properly afaik
<tmlind> i think xwayland is still broken for gles2 acceleration, ddk-1.9 won't help with that
inky_ has joined #maemo-leste
<freemangordon> does not boot, but, in a different way :(
<freemangordon> oh, but at least I have dmesg log
<freemangordon> hmm:
<freemangordon> udevd[455]: could not open moddep file '/lib/modules/5.9.16-00404-g43c25c2037ae/modules.dep.bin'
<mighty17[m]> <tmlind> "i think xwayland is still broken..." <- oh well, is 1.19 the magical solution then? :P
<freemangordon> I guess I should have waited for FS sync to complete
<tmlind> heh
inky has joined #maemo-leste
inky_ has quit [Ping timeout: 252 seconds]
_inky has quit [Ping timeout: 250 seconds]
<freemangordon> finally 17.217437] [drm] Initialized pvr 1.17.4948957 20110701 for 50000000.gpu on minor 0
<freemangordon> tmlind: "PVR_K:(Error): PollForValueKM: Timeout. Expected 0x1 but found 0x0 (mask 0x1)." needs vmalloc patch, right?
<tmlind> i guess yeah
<freemangordon> I was able to boot letux-pvrsrvkm-5.9-rc2 with 5.9.y on top
<freemangordon> droid4-pending-pvr-omapdrm-v5.9 with 5.9.y merged does not boot
<freemangordon> but then I hit the above error when doing pvrsrvctl
<tmlind> ok so does letux-pvrsrvkm-5.9-rc2 with 5.9.y work for kmscube?
_inky has joined #maemo-leste
<freemangordon> and with eda22727a5575fe449a479539360282789bbc9fe cherry-picked kmscube works
<tmlind> hmm sorry what's the eda22 commit, not seeing that one
<freemangordon> Use PVR_LINUX_MEM_AREA_USE_VMAP to load driver properly
<tmlind> ok
<freemangordon> no idea why you don;t have that sha
<tmlind> not sure sounds like i should
<freemangordon> mhm, it is signed off by you :)
<tmlind> yeah and i remember chasing that one down :)
<freemangordon> mhm
<freemangordon> anyway, we have something that works on n900
<freemangordon> now what?
<freemangordon> try to "downgrade" 5.9.y to 5.9?
<tmlind> how about try to merge letux-pvrsrvkm-5.9-rc2 and that vmap patch on v5.10.y?
<freemangordon> hmm, ok, lets try
pere has joined #maemo-leste
<freemangordon> Automatic merge failed; fix conflicts and then commit the result. :(
<freemangordon> CONFLICT (content): Merge conflict in Documentation/devicetree/bindings/vendor-prefixes.yaml
<tmlind> sounds like you can resolve that one whichever way :)
<freemangordon> yeah
<freemangordon> tmlind: sorry, my bad, commit is f11c7d82d983b4bdcf6fbedd2e8748b3321e39f1
<freemangordon> it seems cherry-pick changes sha
<tmlind> yeah ok
<tmlind> not seeing much anything changing between letux-pvrsrvkm-5.9-rc2..letux-pvrsrvkm-5.10-rc1 based on a quick diff, sucks if you have to test all the versions up to v5.15 :(
<tmlind> anyways, ttyl
<freemangordon> that's why I think the change is in linux, not in pvr
<freemangordon> fingers crossed :)
Twig has quit [Ping timeout: 252 seconds]
<freemangordon> doesn;t boot :(, lemme check if I broke something
sunshavi has quit [Ping timeout: 265 seconds]
Twig has joined #maemo-leste
Twig has quit [Remote host closed the connection]
DPA has quit [Ping timeout: 246 seconds]
<freemangordon> tmlind: 5.10.72 with letux-pvrsrvkm-5.9-rc2 on top works
<Wizzup> ah
<Wizzup> freemangordon: nice going ;)
<Wizzup> takes a weekend, but solid progress
<Wizzup> ty
<freemangordon> yeah
<freemangordon> but, why it didn't work back then?
<freemangordon> maybe some other patch breaks it
<freemangordon> also, I see 'power off on boot' half of the times with 5.10
<freemangordon> I guess this is the same issue you reported
sunshavi has joined #maemo-leste
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #maemo-leste
DPA has joined #maemo-leste
<freemangordon> anyway, enough for today
<freemangordon> gn!
<Wizzup> 22:35 < freemangordon> also, I see 'power off on boot' half of the times with 5.10
<Wizzup> 22:35 < freemangordon> I guess this is the same issue you reported
<Wizzup> probably
DPA has quit [Ping timeout: 260 seconds]
DPA- has joined #maemo-leste
DPA- has quit [Ping timeout: 252 seconds]
DPA has joined #maemo-leste
Pali has quit [Ping timeout: 252 seconds]
belcher has quit [Ping timeout: 252 seconds]
belcher has joined #maemo-leste