ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
chrisl has quit [Ping timeout: 481 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
mosamadeeb[m] has joined #aarch64-laptops
tobhe_ has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
tobhe has quit [Ping timeout: 480 seconds]
mbuhl has quit [Remote host closed the connection]
mbuhl has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<alexVinarskis[m]> jdb: you don't need any magic with on off, simply change in your patch pin 3 to pin 36. It says active high, so regulator control will handle it for you such that it will go high to turn on, and will go low to turn off.
chrisl has joined #aarch64-laptops
enyalios has joined #aarch64-laptops
enyalios_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
hexdump0815 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<efenex> returning to my own question from yesterday, i built custom kernel and initrd, replaced them in the snapdragon concept ubuntu iso using livefs-edit, attempted to boot it on the zenbook a14 and end up with the following output "EFI stub: Booting linux kernel... Loaded initrd from LINUX_EFI_INITRD_MEDIA_GRUB device path. Measured initrd data into PCR 9. Generating empty DTB. Exiting boot
<efenex> services..."
<efenex> i assume the "generating empty dtb" is the biggest clue here and I should be also copying some dtb files into the installer iso context to get it to boot?
jhovold has joined #aarch64-laptops
xroumegue has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
pbrobinson has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
spawacz has quit []
spawacz has joined #aarch64-laptops
<JeromedeBretagne[m]> Latest arcata update: the display is now recognized with gpio36, I can get and decode the edid from /sys/class/drm/card0-eDP-1/edid !
<JeromedeBretagne[m]> Here is the corresponding patch:
<JeromedeBretagne[m]> Jens Glathe: alexVinarskis: I've put you both with a `Co-developed by:` tag if that's ok with you
<JeromedeBretagne[m]> Here is the EDID read from Linux:
<JeromedeBretagne[m]> Now, I need to get the panel-edp module working, here is the current dmesg output, I'll need to enable some debug levels:
<alexVinarskis[m]> But you have the picture too, right?
<JeromedeBretagne[m]> not yet, no
<JeromedeBretagne[m]> I've used `drive-strength = <2>;` by comparing with other TLMMGPIO btw
<JeromedeBretagne[m]> no reason to be sad, I've never been so close :-)
<alexVinarskis[m]> Conservative timings warning is normal, need to add panel to driver and set timings, LGD panels work with edp-panel. You typically shouldve have image even without it, so its probably something else. But you can edp-panel driver, and set timings eg. as some other L G D panels.
<JeromedeBretagne[m]> these are my next steps indeed, certainly later today or tomorrow
<JeromedeBretagne[m]> I get a Call trace: line, that doesn't look normal:
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
pbrobinson has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]> jdb: the last line says `Unknown panel LGD 0x06b2, using conservative timings` which is normal for undefined panels. The splat disappears when the panel is in the list for L G D panels.
pabs has quit [Read error: Connection reset by peer]
pabs has joined #aarch64-laptops
hexdump0815 has quit [Remote host closed the connection]
hexdump0815 has joined #aarch64-laptops
hexdump0815 has quit [Read error: Connection reset by peer]
hexdump0815 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<freekurt[m]> Is this bad?
<freekurt[m]> Was I supposed to run this command while running linux on a USB stick?
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<freekurt[m]> Ok, seems like the bios firmware has been upgraded just fine and those warnings weren't anything important.
<travmurav[m]> did it try to update display edid or what xD
<JensGlathe[m]> panel firmware?
<freekurt[m]> i had an external monitor plugged in. i assume it was something related to that.
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev> i've never seen that message, but i don't use external monitor at the moment
<steev> would be curious if someone else sees that while its trying to write the bios update, but glad it worked for you as well!
<freekurt[m]> Speaking of the external monitor, I am experiencing a regression on recent kernels where the external monitor doesn't wake back up after suspend, but Ubuntu thinks it is still connected. Disconnecting the external monitor results in a shutdown.
chrisl has joined #aarch64-laptops
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
rmsilva has quit [Quit: ZNC 1.9.1 - https://znc.in]
rmsilva has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
jhovold has quit [Quit: WeeChat 4.4.3]
agl has joined #aarch64-laptops
<freekurt[m]> It seems like maybe this is only happening when resuming from Automatic Suspend. When I manually suspend the external monitor wakes back up.
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
erebion_muc has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<alexVinarskis[m]> jdb: does Gnome now recognize internal display and correct resolution in settings? If yes, try backing up and then wiping ~/. config/monitors.xml*. Then reboot without external display attached. Sometimes im also getting (external) screens detected but no image, wiping this config helps. This would reset userland monitor settings eg. Layout/order/resolution...
<JeromedeBretagne[m]> alexVinarskis: I can't get Gnome to display anything, so I'm continuing my investigations remotely from ssh...
<alexVinarskis[m]> Ohh, i thought you said the external display works. Well, can wipe that file anyway then, nothing to loose.
<JeromedeBretagne[m]> It does, but when I try to get the built-in display enabled, I get in a very weird situation where the external one is not usable anymore
<JeromedeBretagne[m]> I can still see the cursor but it is in a weird state so I can't login (or I don't understand what's going on)
<JeromedeBretagne[m]> the issue is that I have a 4K external display and I think it doesn't help the situation (with only 2 lanes being supported)
<JeromedeBretagne[m]> thanks for the tip, I will give it a try !
<alexVinarskis[m]> 4k shouldn't matter, 2lanes can do 30hz in hbr2 (default) and 60hz if u specified link frequencies to include 8.1gbps/hbr3.
<HdkR> Interestingly my three 4k panels don't support 4k30 so they end up needing to drop down to 1080
<JeromedeBretagne[m]> I've borrowed another external screen, it powers up and I can login into Gnome
<JeromedeBretagne[m]> Now, I need to find the kbd shortcut to move windows to this external screen
<JeromedeBretagne[m]> as the built-in one is the default, so everthing happens there
chrisl has joined #aarch64-laptops
<alexVinarskis[m]> HdkR: good know, haven't seen that issue luckily. Have you tried enabling HBR3?
<JeromedeBretagne[m]> ok, I made some improvements, by reconnecting this other external display
chrisl has quit [Ping timeout: 480 seconds]
<JeromedeBretagne[m]> I can confirm that Gnome properly detects the resolution and refresh rate now
<HdkR> alexVinarskis[m]: Haven't tried on the X1E since last time I couldn't get DP-alt mode working at all
<JeromedeBretagne[m]> 2880 x 1920, by default it was at 120Hz, I've switched it to 60Hz, but still a black screen
<alexVinarskis[m]> jdb: nice! Did you try deleting that config file and rebooting now?
<alexVinarskis[m]> HdkR: you need adsp firmware loaded for alt mode notifications to work, perhaps it was missing?
<JeromedeBretagne[m]> not yet, I've struggled to get there so I'm playing a little bit
<HdkR> alexVinarskis[m]: I think I have all the firmwares but it's been a while since I've looked at it
<JeromedeBretagne[m]> I've tried to disable the built-in screen from the Gnome settings, it was applied (but nothing visible on the actual display, I can still control the backlight while it is disabled)
<JeromedeBretagne[m]> now trying to reenable it, Gnome settings can't change its state back to enable anymore
<kuruczgy[m]> I also managed to get the camera working on the slim7x. The physical kill switch doesn't do anything and the recording led does not turn on, so... very secure :D
<kuruczgy[m]> It's only green in low light, with proper lighting the colors seem fine. So I don't think the debayering pattern is broken, it probably just needs some parameters tweaked. (E.g. the green pixels might be more sensitive?)
<JeromedeBretagne[m]> btw, I've patched panel-edp.c so that I don't get the error message anymore, now I have the following lines via dmesg:... (full message at <https://matrix.org/oftc/media/v1/media/download/AYuVkvkyIQqcIDu4coy787JhJhxS7kOfe7rPofYDMmrN784M7S1v7J6YtzvVFRnxHCHx68BBj9ppp1OEmrodvRdCeXKFh3lAAG1hdHJpeC5vcmcvR1NmRmh1RmFnR1FldW5GUVdDUURUV2ZT>)
<alexVinarskis[m]> jdb: its a known issue, switching resolution/framerate/on/off may break it... but deleting ~/.config/monitors.xml will make it forget it was disabled. 1 Dmesgs looks good now. 2nd one not sure tbh... perhaps someone else knows. Not getting them on x1p
erebion_m has joined #aarch64-laptops
<JeromedeBretagne[m]> otherwise, I don't see a single error message in dmesg
erebion_m has left #aarch64-laptops [User left]
erebion_[m] has joined #aarch64-laptops
<alexVinarskis[m]> kuruczgy: afaik de-greening is to be improved in libcameraisp, but I may recall it wrong. Indicator is indeed a funny one... locally I patched ov02c10 to set/unset LED on stream start/stop, but it seems its not a desired solution as its too device specific + sensor itsled does not have LED output, so the binding would be lying. Issue with defining LED as LED/gpio and create a camera trigger or something is that anyone with
<alexVinarskis[m]> root access can overwrite LED state from trigger XYZ to off state... sure you still need root access, but otherwise its pretty useless privacy feature. If gpio for LED would be passed to camera driver, disabling it would've require recompiling (and re-signing) the module, which would make it more USB camera like (root access alone isn't enough to disable LED indicator), or unloading the module, which will disable both the LED
<alexVinarskis[m]> and the camera.
<JeromedeBretagne[m]> I can see a weird flash when the panel is tentatively being enabled, as if the backlight was blinking on the bottom side of the display
<JeromedeBretagne[m]> I have tried to delete ~/.config/monitors.xml , still the same
<JeromedeBretagne[m]> I will look at the various settings offered for other edp panels next I think
<JeromedeBretagne[m]> and one last info, I see the built-in efifb console getting off very quickly during the initial boot messages, I don't know if there could be an interaction with something else that switches the built-in panel somehow
<alexVinarskis[m]> Maybe try running kmscube directly?
<JeromedeBretagne[m]> I see the weird flashing of the backlight at the bottom of the screen when I try kmscube directly
<JeromedeBretagne[m]> and it ends with : failed to set mode: Invalid argument
<JeromedeBretagne[m]> enough for today, quite some progress already!
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
nirik has joined #aarch64-laptops
<nirik> humf. Finally had time again to fire up my slim7x... but I can't seem to get wireless on the recent kernels. I thought it might be the firmware issue ( https://bugzilla.redhat.com/show_bug.cgi?id=2365882 ) but even downgrading doesn't seem to help. Odd. On the plus side display/etc all come up fine now with the stock fedora rawhide kernel...
<anthony25> that is strange, I have the slim 7x, and downgrading the firmware made it work
hexa- has quit [Quit: WeeChat 4.4.3]
<anthony25> on which linux-firmware release did you downgrade?
<anthony25> and the firmware might be included in your initramfs, have you tried rebuilding your initramfs after downgrading the firmware?