#
✕ nick:lina
#asahi-gpu · 2022-11-27 14:36
linaThis isn't released software...
#asahi-gpu · 2022-11-27 14:35
linaNot yet
#asahi-gpu · 2022-11-27 14:35
linaBut please don't run random branches...
#asahi-gpu · 2022-11-27 14:35
linaThere's at least asahi/main
#asahi-gpu · 2022-11-27 14:35
linaYes and this is WIP software so sometimes branches will be out of sync...
#asahi-gpu · 2022-11-27 14:34
linaPlease don't run random branches...
#asahi-gpu · 2022-11-27 14:34
linaThat is not a supported branch
#asahi-gpu · 2022-11-27 14:34
linaalso wait the oq branch why?
#asahi-gpu · 2022-11-27 14:34
linaI've been running chromium on MATE for minutes now playing YouTube videos and RAM usage is not growing
#asahi-gpu · 2022-11-27 14:31
linaPlease be specific...
#asahi-gpu · 2022-11-27 14:31
linaYou didn't mention your desktop environment or browser but I guessed them from the log
#asahi-gpu · 2022-11-27 14:31
linajoske: I can't reproduce that...
#asahi-gpu · 2022-11-27 14:16
linaAh! Yeah, I was wondering if it was something like that
#asahi-gpu · 2022-11-27 14:11
lina(This is to work around DCP breaking if you change the resolution to one of the fake ones KDE adds without validation)
#asahi-gpu · 2022-11-27 14:11
linaI added another patch to ignore bad mode changes and I just noticed it's complaining about something when I close the lid
#asahi-gpu · 2022-11-27 14:09
linaOr wait, did I break this?
#asahi-gpu · 2022-11-27 14:09
linaMaybe we need to ignore/just queue backlight change requests when the display is off
#asahi-gpu · 2022-11-27 14:09
linajannau: Also, somehow KDE on Wayland doesn't DPMS properly. It seems to power off then power on again when I close the lid.
#asahi-gpu · 2022-11-27 11:34
linaThose are only supported if vblank IRQs are
#asahi-gpu · 2022-11-27 11:32
linaI see XORG issuing DRM_IOCTL_CRTC_{GET,QUEUE}_SEQUENCE all the time which return -EOPNOTSUPP, I get the feeling that's related
#asahi-gpu · 2022-11-27 11:31
linaE.g. the plasma splash screen spinner is too fast, glxgears claims to be vsynced but gets 600fps anyway
#asahi-gpu · 2022-11-27 11:28
linaThis also never worked with simpledrm so it's not a regression
#asahi-gpu · 2022-11-27 11:28
linaBut I think that's acceptable, it mostly affects some animations and is a good reason for people to eventually switch to Wayland
#asahi-gpu · 2022-11-27 11:27
linaBoth with and without that patch
#asahi-gpu · 2022-11-27 11:27
linaWayland does work though
#asahi-gpu · 2022-11-27 11:27
linajannau: One thing that doesn't work is that Xorg's idea of vsync is broken (e.g. glxgears claims it's vsynced but isn't) but that might be expected on drivers without explicit vsync IRQ support
#asahi-gpu · 2022-11-27 10:50
lina(Going to write the blog post now! ^^;)
#asahi-gpu · 2022-11-27 10:49
linaAnd with this patchset, it even doesn't tear! ^^ https://github.com/kerneltoast/xserver/commits/tearfree-21.1.4
#asahi-gpu · 2022-11-27 10:34
linafixes Xorg, Wayland still works ^^
#asahi-gpu · 2022-11-27 10:34
linajannau: https://github.com/AsahiLinux/linux/commit/f0fdea884a80ecf6973da5790debc9931458e10f
#asahi-gpu · 2022-11-27 10:09
linaWhat if I do both? ^^
#asahi-gpu · 2022-11-27 09:59
linaWorking on that ^^
#asahi-gpu · 2022-11-27 09:58
linaBut it might be a good reference
#asahi-gpu · 2022-11-27 09:58
linaxen uses the simple display stuff which is too simple for DCP
#asahi-gpu · 2022-11-27 09:56
linaI'm tracing through the helpers now
#asahi-gpu · 2022-11-27 09:36
linaI'm not sure we even need a workaround? I think hardware without vblank is already a thing
#asahi-gpu · 2022-11-27 09:34
linalike a completion
#asahi-gpu · 2022-11-27 09:34
linayou could just use a waitqueue for that though
#asahi-gpu · 2022-11-27 09:33
linaconcurrent swaps don't work? they don't queue?
#asahi-gpu · 2022-11-27 09:26
linaI think the helpers do that?
#asahi-gpu · 2022-11-27 09:25
linajust don't initialize it
#asahi-gpu · 2022-11-27 09:23
linaMaybe that logic works better than what dcp does?
#asahi-gpu · 2022-11-27 09:23
linaThe DRM documentation says the DRM core handles faking vblank events for hardware without them
#asahi-gpu · 2022-11-27 09:05
linaStuff just hangs for long periods of time
#asahi-gpu · 2022-11-27 09:05
linaOK, KDE is very broken on Xorg and I think it's the vblank thing...
#asahi-gpu · 2022-11-27 08:45
linaWe can ship a xorg.conf OutputClass snippet that will do the right thing without having to hardcode DRI device nodes
#asahi-gpu · 2022-11-27 08:45
linaAha! I found the trick ^^
#asahi-gpu · 2022-11-27 08:36
linaAhh, no... it only does that for secondary cards.
#asahi-gpu · 2022-11-27 08:28
linaI'm taking a look at that xorg.conf issue... I think there's a bug or something broken somewhere, because I *think* modesetting is supposed to probe all drm devices and find one with connectors.
#asahi-gpu · 2022-11-25 05:49
linaThis is just for reverse engineering

plus ›