#
✕ nick:jannau
#asahi-gpu · 2022-11-19 22:34
jannauI don't think we can't avoid converting it to int since we need to know width and height in case of scaling
#asahi-gpu · 2022-11-19 22:33
jannaulol, drm_fb_dma_get_gem_addr() already adjusts for the x/y offset. that makes dealing with planes src rectangle a little annoying
#asahi-gpu · 2022-11-19 22:28
jannauLG UltraWide 34WK95U-W
#asahi-gpu · 2022-11-19 19:47
jannauI guess that might be just the confused "show fps" effect
#asahi-gpu · 2022-11-19 19:35
jannauit sees 2 * 60 vblanks per second (for dcp and dcpext) and thinks it runs at 120Hz
#asahi-gpu · 2022-11-19 19:34
jannaudcp only is not bad on 5120x2160@60 + 1920x1080@60 (plasma/wayland). I think the broken vblank might help
#asahi-gpu · 2022-11-19 19:20
jannauI think the patch works fine the Xorg problems I saw were unrelated
#asahi-gpu · 2022-11-19 19:19
jannaualyssa: that has the broken stride check in agx_resource_from_handle()
#asahi-gpu · 2022-11-17 23:33
jannaugood night
#asahi-gpu · 2022-11-17 23:29
jannauno crash but terminiating plasmashell after "[destroyed object]: error 7: importing the supplied dmabufs failed"
#asahi-gpu · 2022-11-17 23:27
jannauwithout the stride patch it was impossible to get there
#asahi-gpu · 2022-11-17 23:26
jannauit worked with the rebased branch
#asahi-gpu · 2022-11-17 23:26
jannauinstead the screen gets bright
#asahi-gpu · 2022-11-17 23:25
jannauthe log out/restart/shutdown dialog doesn't render
#asahi-gpu · 2022-11-17 23:22
jannaunevermind, works now
#asahi-gpu · 2022-11-17 23:18
jannau+works
#asahi-gpu · 2022-11-17 23:18
jannaustartplasma-wayland but using plasma/wayland as session from gdm doesn't
#asahi-gpu · 2022-11-17 23:16
jannaubut not when started from tty
#asahi-gpu · 2022-11-17 23:15
jannauXwayland is ok, plasma/wayland is stuck at startup
#asahi-gpu · 2022-11-17 23:07
jannaudrm.debug has nothing interesting for dcp
#asahi-gpu · 2022-11-17 23:03
jannaudoes asahi use modifiers other than linear? do we need to support them with dcp?
#asahi-gpu · 2022-11-17 23:02
jannauit fails unspecifically with "(EE) No devices detected." after probing dcp with "modeset(G0): using drv /dev/dri/card2"
#asahi-gpu · 2022-11-17 22:54
jannauXorg/Xwayaland doesn't seem to like that patch
#asahi-gpu · 2022-11-17 22:42
jannauyes, a little strange. it was very stable with your rebased branch and lina's previous kernel
#asahi-gpu · 2022-11-17 22:34
jannauprime suspect is the stride check in agx_resource_from_handle()
#asahi-gpu · 2022-11-17 22:34
jannauplasmashell doesn't like mesa asahi/main. quits after "[destroyed object]: error 7: importing the supplied dmabufs failed"
#asahi-gpu · 2022-11-14 12:27
jannaupossibly, on resume it is between hotplug detect and modeset
#asahi-gpu · 2022-11-14 08:49
jannauthe only "issue" I see is a "asahi 406400000.gpu: [File 29]: IOCTL: submit failed! (submission ID: 4546788 err: EINVAL)" when dcp brings the display down and up
#asahi-gpu · 2022-11-13 23:48
jannaum2 support in dcp is my next todo item. should not take too long
#asahi-gpu · 2022-11-13 23:46
jannaudcp backlight control is ready to be merged, seems like we have to prepare for wider user testing soon
#asahi-gpu · 2022-11-13 23:44
jannaualready did the same on saturday and the only issue I ran into was apparently the scanout memory leak
#asahi-gpu · 2022-11-13 23:43
jannaualyssa, lina: I've used asahi the whole day with plasma/wayland without issues (little media playback, mostly terminal, browser, editor, no games) without issues on m1 ultra
#asahi-gpu · 2022-11-12 20:00
jannaubut I doubt that fixes problems with sway
#asahi-gpu · 2022-11-12 20:00
jannauCyrinux: you could try to cherry-pick 09cee10b3b2556f009c79112174ee8ce75deca58 from bits/200-dcp
#asahi-gpu · 2022-11-12 19:42
jannauyou could also try switching the tty via ctrl + option + Fx (+ Fn)
#asahi-gpu · 2022-11-12 19:41
jannauyou should be able to login over the vuart
#asahi-gpu · 2022-11-12 19:35
jannauCyrinux: that all looks well, can you start weston from text console. I think there are some issues with sddm/xorg and the dcp version in lina's branch. you could test gdm instead
#asahi-gpu · 2022-11-12 19:30
jannauI think it will work if hold the lock until the brightness swap is completed but that itself is annoying
#asahi-gpu · 2022-11-12 19:24
jannaudo you have a kernel log?
#asahi-gpu · 2022-11-12 18:48
jannaumaximbaz: I suspect kmsro might not work with simpledrm. do you build CONFIG_DRM_APPLE?
#asahi-gpu · 2022-11-12 18:09
jannauyes, it seems cause issues with with the normal swap and it takes ~3 seconds until it updates
#asahi-gpu · 2022-11-12 17:57
jannauno crashes so far but I see some strange flickering
#asahi-gpu · 2022-11-12 17:52
jannautrying right now. I wouldn't be surprised if that crashes dcp as well
#asahi-gpu · 2022-11-12 17:48
jannauat least a zeroed swap structure with just the brightness fields set works
#asahi-gpu · 2022-11-12 17:47
jannauprobably, it looks like macos uses for some commands if the main context is busy
#asahi-gpu · 2022-11-12 17:45
jannauI don't understand under which conditions macos uses it though
#asahi-gpu · 2022-11-12 17:44
jannauyes, it has an out of band channel
#asahi-gpu · 2022-11-12 17:44
jannaumy main problem is that I'm trying to avoid blocking surface swaps
#asahi-gpu · 2022-11-12 17:43
jannauI wonder if I can use out of band swaps for the brightness
#asahi-gpu · 2022-11-12 17:42
jannaui.e. it crashes dcp quite easily

plus ›