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
todi1 has joined #aarch64-laptops
todi has quit [Ping timeout: 480 seconds]
<_mike> hi
<ellyq> hello there
<_mike> hi ellyq
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
icecream95 has joined #aarch64-laptops
<_mike> yay
<_mike> i got qemu-user-static going
<_mike> now arch-chroot to my x86 bootstrap works
<_mike> nice now i have wine working
<HdkR> :blobsweat:
<HdkR> The performance of wine running with qemu has got to be amazing
<_mike> i think i need vulkan-virtio built into my kernel
<_mike> HdkR: all i need it for is mikrotik winbox but i'm trying steam while i'm at it
<HdkR> Watch out, Steam's integrated CEF has a time based watchdog that restarts the process if it doesn't ping every 30 seconds or something. So slow environments are rough
<_mike> oh there is a vulkan-virtio package!
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> macc24: this machine does not have acpi, it uses U-boot -> uefi boot its not my snapdragon machine
icecream95 has quit [Ping timeout: 480 seconds]
<SpieringsAE> the vendor dtb also does not describe it properly unfortunately
<travmurav[m]> what's that fun device?
<SpieringsAE> travmurav: mine?
<travmurav[m]> yes, the one with hdmi muxing
<SpieringsAE> its the deepcomputing fml13v01, its the one made for the framework 13 chassis
<travmurav[m]> ah the risc-v motherboard?
<travmurav[m]> interesting
<travmurav[m]> hm
<SpieringsAE> yep
<travmurav[m]> does the mux switch transparently to the OS or linux has to swithc when it detects type-c alt mode device?
<SpieringsAE> it seems to do it automatically, I dont really understand the logic it uses for it. there is no description of it in the dtb so I don't see how linux would do it
<travmurav[m]> well in that case I guess best you can do is to just leave the "port" dangling in the dt and write a comment that platform handles that "somehow"
<travmurav[m]> I guess if you have access to schematics it would be easeier to explain "how"
<SpieringsAE> it uses the asw3642 as a switch
<SpieringsAE> I want to attach the backlight node to the actual panel though, which is currently not the case, ah well
<travmurav[m]> mhm
<kuruczgy[m]> _mike: if you want the best perf you might want to eventually look into drm native context, that should be significantly more performant than venus. (I got it working, but it needs a patched qemu and a guest mesa with some extra features.)
<travmurav[m]> well I guess the dumb way would be to descibe just the internal panel then, does it work that way?
<travmurav[m]> if there is some way to poke platform mcu/gpios to force alt mode on/off then perhaps could later write a custom bridge mux for that
<SpieringsAE> Yeah I'm hoping there is some sort of feedback switch from that asw3642
<kuruczgy[m]> _mike: also virtual cpufreq for the vm (I haven't done that yet, so right now it's just all cores running at 100% cpu. not sure why this is an issue on arm and not on x86...)
<travmurav[m]> but my personal opinion is that if we can do something "today" that "apparently works properly", it's fine to do that and fix "theoretically correct" stuff later
enyalios has joined #aarch64-laptops
enyalios_ has quit [Ping timeout: 480 seconds]
<vanveldt> 6
icecream95 has joined #aarch64-laptops
<_mike> kuruczgy[m]: ooh can you point me to some info on drm native context?
<kuruczgy> _mike: if you just want some background on the tech, I think robclark's original talk on it is a good intro, I think this is it: https://www.youtube.com/watch?v=9sFP_yddLLQ
<kuruczgy> for the setup, my Nix expressions could be helpful to read, e.g. for qemu: https://codeberg.org/kuruczgy/aarch64-gaming/src/branch/main/overlays/qemu.nix
<_mike> thx
<kuruczgy> basically host virglrenderer and guest mesa need an extra compile flag, and you need to compile qemu from that specific branch plus add the resource uuid patch
<kuruczgy> but if you don't want the trouble just check back in half a year, the qemu stuff might be upstream by then
ungeskriptet_ has joined #aarch64-laptops
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet_ is now known as ungeskriptet
svarbanov_ has joined #aarch64-laptops
SpieringsAE has quit [Quit: SpieringsAE]
<icecream95> Hmm, so OpenMW works pretty well on x1e except that the sun is too bright: Freedreno (and Turnip) use early-z for occlusion query draws with discard/alpha-test if depth write is masked, meaning samples are counted which are later discarded in the FS, therefore the game thinks the sun is a lot more visible than it really is...
akaWolf has quit [Remote host closed the connection]
<HdkR> icecream95: That's quite a bad bug
<HdkR> Probably should be reported in the mesa bug tracker
icecream95 has quit [Ping timeout: 480 seconds]
enyalios_ has joined #aarch64-laptops
enyalios has quit [Ping timeout: 480 seconds]
kalebris has joined #aarch64-laptops
kalebris_ has quit [Ping timeout: 480 seconds]
Erisa has quit [Quit: The Lounge - https://thelounge.chat]
Erisa has joined #aarch64-laptops
Vectorboost has joined #aarch64-laptops
Vectorboost has quit [Quit: Leaving]
<_mike> kuruczgy: is that patch included in qemu-9.2.0?
<_mike> and can i just add -C msm drm-renderers to meson?
<_mike> err
<_mike> i think i need -Doption=msm
<_mike> etc
<_mike> meson -Doption=msm,drm-renderers install -C build-static --destdir "$pkgdir"
<_mike> i'm going to try that
<kuruczgy> _mike: I don't know, but I am pretty sure not everything is upstream yet. You might want to ask digetx (not sure if they are in this channel, maybe try asking over in #freedreno)
<_mike> kuruczgy: ok, thanks heaps
<kuruczgy> _mike: more like `-Ddrm-renderers=msm`, I think that's the proper syntax
<_mike> kuruczgy: thanks!
<kuruczgy> (but this is for virglrenderer, not qemu)
<_mike> oh ok i get it
<_mike> virglrenderer for arch uses venus
<_mike> i'll try that first
<_mike> kuruczgy: fwiw it's definately a qemu patch, not virtglrenderer
<kuruczgy> _mike: the patch is for qemu, the flag is for virglrenderer
<_mike> oh right
<_mike> thanks for clarifying
<_mike> kuruczgy: i've never used nix
<kuruczgy> _mike: yeah sry it's the only form that I have this documented in, and there was at least someone in the a
<_mike> (;
<kuruczgy> past who had success just following my nix expressions and "doing it manually", so I figured it's better than nothing
<_mike> i'm recompiling qemu now i put the patch in prepare() so i assume it's applied
<_mike> kuruczgy: i'm still getting msm: driver missing in the chroot
<_mike> do i need to install the virglrenderer in the chroot?