2023-04-13
01:16Zopolis4_ has quit []
01:21A_L_I_C_E has quit [Remote host closed the connection]
01:33A_L_I_C_E has joined #asahi
01:42hightower3 has joined #asahi
01:49hightower2 has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:16gabuscus has joined #asahi
02:45newiz has joined #asahi
02:57julio7359 has joined #asahi
03:07eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
03:48marvin24 has joined #asahi
03:50cylm has joined #asahi
03:52marvin24_ has quit [Ping timeout: 480 seconds]
04:01eroc1990 has joined #asahi
04:50eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
04:59confusomu has joined #asahi
04:59possiblemeatball has quit [Quit: Quit]
05:17eroc1990 has joined #asahi
05:18jamespmo_ has joined #asahi
05:23jamespmorgan has quit [Ping timeout: 480 seconds]
06:17julio7359 has quit [Ping timeout: 480 seconds]
06:24fowl has quit [Ping timeout: 480 seconds]
06:28fowl has joined #asahi
06:36chadmed_ has quit [Remote host closed the connection]
06:37nyilas has joined #asahi
06:37Hibyehello has joined #asahi
06:39Hibyehello_ has quit [Ping timeout: 480 seconds]
06:40newiz has quit [Quit: Konversation terminated!]
07:04MajorBiscuit has joined #asahi
07:17gladiac has joined #asahi
07:20nyilas has quit [Remote host closed the connection]
07:23nyilas has joined #asahi
07:25Nae has joined #asahi
07:31cylm has quit [Ping timeout: 480 seconds]
07:32ktz has joined #asahi
07:36ktzapparently not everything is setup properly, at least on my machine or are those errors a common thing?
07:39ktzthe errors in the tail are produced by setting wifi into ap mode which works and then trying to start an ap
07:40MajorBiscuit has quit [Quit: WeeChat 3.6]
07:44jannauktz: I think it's suspected/known broken. not a priority item to fix. if you need ap mode I'd recommend getting usb wifi adapter
07:46giskard has joined #asahi
07:46ktzI'm mostly trying to make sure my machine is properly configured at this point, eg the builtin keyboard only functions in a tty console and the touchpad doesn't work at all, I think it could be due to this
07:48bps has joined #asahi
07:49atodorov has joined #asahi
07:50jannauthat shouldn't have anything to do with keyboard/touchpad though. the error looks like the problem we had with the outdated libinput version
07:51jannauthere is a second m1n1 on the ESP in asahi/boot.bin. that one is used to keep the devicetree updated with kernel updates and allows to distribute m1n1 updates
07:54mpsktz: iirc you are using alpine, upgrade m1n1 and u-boot-asahi and linux-asahi pkgs, that should upgrade second stage m1n1
07:54ktzapparently this is indeed dated on my distribution, I think it happened a couple of times having it being overwritten by an alarm update which caused my distro being super slow, I had to chroot from alarm and replace m1n1 with the .old version the update adds
07:56ktzmps: I didn't even have those packages installed... how comes? I've never installed them manually on the one year+ I'm running alpinelinux
07:56ktz has quit [Remote host closed the connection]
07:58mpsalso there is '/usr/sbin/update-u-boot-asahi' which could be run manually to update second stage m1n1
08:02ktz has joined #asahi
08:02jn has quit [Read error: No route to host]
08:03jn has joined #asahi
08:23marcanayke_: it is likely that we will stop supporting Fn key combinations on Xorg in the future (other than the edit keys for minimal functionality), so no more media/system keys.
08:23marcan(as soon as I figure out how to make at least the F-keys do the right thing on XWayland, which I don't want to break)
08:23marcanright now the Fn mess is handled in the keyboard driver and that is just thoroughly wrong, we need to chagne that. But Xorg can't see the Fn key and never will, because it's more than 8 bits and there is no way to fix that in the legacy protocol.
08:25marcanmaz: you could play games with uinput if you want, but that's just overcomplicating what should be a simple xkb mapping
08:25marcanI mean I'm certainly not going to stop people from making workarounds for xorg, but it's not something anyone is likely to ship by default
08:27marcanmy plan for the keyboard driver is to *only* implement the Fn mappings for the edit keys (home/end/pgup/dn/ins/del) so that at least those work on the TTY/Xorg, and leave the F keys as F keys by default (not media keys)
08:27mazmarcan: I'm all for keeping the kernel driver simple and rely on userspace to deal with the outcome (that's what i do for chromebooks).
08:28marcanthen if you want media keys and extended Fn key chords or customizable F mappings, either use Wayland where all this will work, or roll your own emulation with uinput
08:28kaprests has quit [Ping timeout: 480 seconds]
08:28marcanI'm just not interested in such emulation just for the sake of xorg so it won't be me writing it :p
08:29marcanon Wayland (hopefully) this can all just be dealt with XKB as normal, which means you can also configure it all through existing UIs, and it can all be made nice and user friendly
08:29chadmedwe need to shepherd people away from that tangled mess, especially now that its looking increasingly likely that it will go unmaintained in the next year or so
08:29marcanthe main question right now is how to make at least the F keys work in XWayland clients when those keys are mapped as media-keys-first, since that has to work (I don't intend to break XWayland for at least normal use cases of apps, not desktop integration components)
08:30ktz has quit [Remote host closed the connection]
08:30chadmedtheyre struggling to find people interested in working on it, the number of commits has dropped precipitously recently
08:30marcanthe issue with XWayland being that... Xorg supports up to 8 modifiers and they are all assigned
08:30marcanso we need to figure out how to either shoehorn Fn in there or remap in the XWayland server
08:31kaprests has joined #asahi
08:31marcanbut once F1-F12 work as intended on XWayland that's good enough for me, I expect very few people to care about XWayland clients receiving media keys and don't particularly intend to support it
08:31marcansince almost always these days those would be handled by the desktop environment which better be native Wayland
08:33marcanI actually had stuff crash with carla on native wayland, works fine with Xwayland so I use that
08:34arbut seriously, my biggest problem with wayland, is that even xf86-input-evdev works better with some input devices. libinput maintainer sticks his head in the sand and pretends that they don't exist and treating them poorly is fine…
08:34ChaosPrincessthe fn key situation with xorg is so broken, that back in the day i had a patch to that driver to convert fn into f13 and then some other cursed configs to convert it back into Mod-4
08:35armarcan: the problem is, he also refuses to accept patches that would allow recreating the correct behavior because, omg, they would also require a configuration knob or two
08:38bpye has quit [Ping timeout: 480 seconds]
08:42arand another usecase, is that on xorg, whenever I want to play around with CAD on my laptop, which requires the middle mouse button to act normally instead of making it work as a scroll, I could just: xinput set-prop 'ETPS/2 Elantech TrackPoint' 'libinput Scroll Method Enabled' 0 0 0
08:43arand plasma-wayland doesn't expose any such configuration knobs. and, what's worse, settings such as these are compositor-specific
08:43arso fixing stuff like that for, for example, plasma-wayland, would leave gnome and sway broken
08:44arobviously, neither of these is a problem for asahi, because apple laptops only ship touchpads. but still, libinput behavior is annoying at times
08:47bpye has joined #asahi
08:47archadmed: wdym "it's right there"? in plasma systemsettings → input devices → mouse i see no such option
08:51nsklaus has joined #asahi
08:51archadmed: is it? https://ar.is-a.cat/c/b65aaf71d571f1da504f29478bb5463ac01f7681.png https://ar.is-a.cat/c/d3f4a66951826b7be34870b743b2a2a5cb71149b.png
08:53dottedmagmarcan: I had a look at >255 keycodes in X before, and haven't found a good solution. One that might work requires work in every compositor: Xwayland would get a modified keymap with Fn keycode moved below 256, and compositor would translate it :-/
09:04atodorov has quit [Ping timeout: 480 seconds]
09:16ar(and don't get me wrong - i do like at least the display side of things in wayland. it's just that the input device side tries to shoehorn square pegs into round holes by cutting corners off)
09:18dottedmagar: Wayland is not a problem. Existing compositors and their exclusive use of libinput is.
09:20ardottedmag: wayland is the problem, because now every wm/de is its own entire windowing server, and instead of implementing proper input device support once with all the proper configuration knobs exposed, everyone is forced to reinvent the wheel
09:29atodorov has joined #asahi
09:37mpsar: aha, I even saw photos of future mobile phones in very old newspapers, even skype was predicted about 40-50 years ago and it was named exactly 'skype'
09:37chadmedunix exists as a philosophy and general approach to operating system design still sure but saying unix-proper still exists because of linux and the BSDs is like saying ARC still exists because NTLDR emulates it
09:38chadmedthe nice thing about wayland is that there is a whole mess of folks willing to fix its quirks
09:44Nae has quit [Quit: Connection closed for inactivity]
09:47cylm has joined #asahi
09:48bpye has quit [Ping timeout: 480 seconds]
09:48bps has quit [Ping timeout: 480 seconds]
09:53psykosealthough i'm not sure why it matters if literally every platform supports something or not
09:54psykosepersonally though i'm very tired of the whole "someone made something" -> "your thing doesn't work on AIX so it's garbage"
09:54cylm_ has joined #asahi
09:55psykosecan't use anything without someone complaining it doesn't build with gcc3 on minix or whatever the fuck
09:56cylm has quit [Ping timeout: 480 seconds]
09:56ktz_ has joined #asahi
09:57chadmedi mean in this specific case too the hardware simply isnt designed to fit x11's assumptions about display hardware
10:00ktz_wish there was a proper wm available in wayland like xmonad or awesome.. having to deal with sway aka i3 is painful
10:01ktz_river could be an alternative but its performance is particularly bad compared to sway, at least on my machine
10:03atodorov has quit [Ping timeout: 480 seconds]
10:04Zopolis4_ has joined #asahi
10:06bpye has joined #asahi
10:06ktz_ar: maybe hyprland, I remember checking on it twice but can't recall what didn't stick about it
10:07ktz_but overall I've got used to it, almost got everything I wanted sorted, except the layouts which is a big part j`ey_:
10:08j`ey_dwl could be neat though, maybe I'll give that a try at some point, used dwm for quite a while
10:08DarkShadow44 has quit [Quit: ZNC - https://znc.in]
10:08DarkShadow44 has joined #asahi
10:10Ariadne has quit [Remote host closed the connection]
10:11chadmedi used dwm for a couple of years but in the end i did kind of miss the modern desktop paradigm
10:11Ariadne has joined #asahi
10:11chadmedwhen im not actively trying to screw around with it, i want my computer to just disappear into my work like a drill or a screwdriver does
10:12chadmednot to be thinking about "oh right uhh gtk3 dialog boxes dont float properly so put this tab into floating mode" etc
10:20stipa is now known as Guest10828
10:20stipa has joined #asahi
10:22Guest10828 has quit [Read error: Connection reset by peer]
10:24ktz_ has quit [Remote host closed the connection]
10:25robinp has quit [Quit: Connection closed for inactivity]
10:27jamespmorgan has joined #asahi
10:30ktz_ has joined #asahi
10:33jamespmo_ has quit [Ping timeout: 480 seconds]
10:34chadmed has quit [Ping timeout: 480 seconds]
10:37chadmed has joined #asahi
10:38mpspsykose: do you have some free time to join #asahi-alt to help explain about mesa and wayland (I have little experience with wayland)
10:46ktz_ has quit [Remote host closed the connection]
10:48ktz has joined #asahi
10:49ktz has quit [Remote host closed the connection]
10:58bps has joined #asahi
11:17bcrumb has joined #asahi
11:21atodorov has joined #asahi
11:22atodorov has left #asahi [#asahi]
11:25eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
11:30bcrumb has quit [Quit: WeeChat 3.8]
11:31linuxgemini1 has joined #asahi
11:33eroc1990 has joined #asahi
11:35linuxgemini has quit [Ping timeout: 480 seconds]
11:55marcandottedmag: the bigger problem for XWayland isn't the keycode right now, it's the lack of a free modifier number to use
11:57marcanI appreciate any assistance with the broadcom driver because honestly I'm a bit tired of just how neglected it is and that I keep having to do broadcom's work for them and that their sole engineer putting some time into Linux is rarely very helpful on the ML
12:13Zopolis4_ has quit []
12:24possiblemeatball has joined #asahi
12:46minecrell has quit [Read error: Connection timed out]
12:46minecrell has joined #asahi
12:57Raito_Bezarius has quit []
13:01Luj has quit [Ping timeout: 480 seconds]
13:01zerdox has joined #asahi
13:04kit_ty_katemps: are you using MOZ_ENABLE_WAYLAND=1 ?
13:07zerdoxhi everyone! i've compiled and installed asahi kernel with rust, drm asahi and drm apple so i can get working graphics. but when i boot into it, while initializing (even before i get login prompt) my screen turns off, no backlight. system is running ok and i can get into it with ssh or by setting nomodeset option. so how can i get and see logs where info about this modules will be covered? dmesg and asahi-diagnose looks ok. i have also checked backlight level
13:07kit_ty_katemps: for the scrolling weirdness yeah i believe, it also smooths fonts used
13:09jacksonchen666 has joined #asahi
13:10marcan(we will eventually remove it from the device trees once drm-apple is in the default kernels, but this is the hack for now)
13:21jacksonchen666 has quit [Quit: WeeChat 3.8]
13:25zerdoxmarcan: thanks. it does the trick. could you also let me know which opengl version do we use? do i need to compile hyprland for opengl es 2 or 3?
13:29zerdox has quit [Read error: Connection reset by peer]
13:41chadmedzerdox: the kernel config you have installed rn is the default linux-asahi config (other than the options you have now enabled/disabled)
14:01Raito_Bezarius has joined #asahi
14:03j`ey_ is now known as j`ey
14:09Luj has joined #asahi
14:42delsol has joined #asahi
14:42delsol has quit [Remote host closed the connection]
14:43delsol has joined #asahi
14:52delsol has quit [Ping timeout: 480 seconds]
14:52delsol has joined #asahi
14:53gladiac has quit [Quit: k thx bye]
14:54delsol has quit [Remote host closed the connection]
15:09jacksonchen666 has joined #asahi
15:18leviz has joined #asahi
15:21leviz has quit []
15:21leviz has joined #asahi
15:22leviz has quit []
15:34gladiac has joined #asahi
15:37rvalue has quit [Remote host closed the connection]
15:37rvalue has joined #asahi
15:38possiblemeatball has quit [Quit: Quit]
15:39possiblemeatball has joined #asahi
16:00cylm_ has quit [Quit: WeeChat 3.6]
16:05jn has quit [Remote host closed the connection]
16:06jn has joined #asahi
16:12MajorBiscuit has joined #asahi
16:13MajorBiscuit has quit []
16:13MajorBiscuit has joined #asahi
16:16jacksonchen666 has quit [Ping timeout: 480 seconds]
16:22jacksonchen666 has joined #asahi
16:27MajorBiscuit has quit [Ping timeout: 480 seconds]
16:30bps has quit [Ping timeout: 480 seconds]
16:31raveling has quit [Ping timeout: 480 seconds]
16:44delsol has joined #asahi
16:47jacksonchen666 has quit [Ping timeout: 480 seconds]
16:53raveling has joined #asahi
16:54Misthios has quit [Quit: Misthios]
16:55Misthios has joined #asahi
17:05raveling has quit [Ping timeout: 480 seconds]
17:11A_L_I_C_E has quit [Remote host closed the connection]
17:12jacksonchen666 has joined #asahi
17:12raveling has joined #asahi
17:16MajorBiscuit has joined #asahi
17:20jacksonchen666 has quit [Quit: WeeChat 3.8]
17:22farghal has joined #asahi
17:23lawrence8 has joined #asahi
17:23raveling has quit [Ping timeout: 480 seconds]
17:24Misthios has quit [Quit: Misthios]
17:24Misthios has joined #asahi
17:25marcanmore like it'll probably be media keys by default in the XKB keymap (with a default-off option to switch to F keys by default) but the physical keycodes are still Fx at the driver level and will work as such on the TTY
17:26A_L_I_C_E has joined #asahi
17:26bakk has joined #asahi
17:29lawrence has quit [Ping timeout: 480 seconds]
17:29lawrence8 is now known as lawrence
17:29A_L_I_C_E has quit [Read error: Connection reset by peer]
17:30A_L_I_C_E has joined #asahi
17:31raveling has joined #asahi
17:34bakkIs there anything that would prevent DisplayLink from working? I decided to try DisplayLink with my dock (according to the Arch wiki) but can't get an output. Maybe someone has tried already even? Both evdi and udl seem to load fine and the displaylink service runs. I don't see anything particularly suspicious in dmesg. I'm not seeing a new frame buffer device in /dev though. Could of course be that displaylink is a mess in general on Linux, but I
17:39raveling has quit [Ping timeout: 480 seconds]
17:39leviz has joined #asahi
17:39leviz has quit []
17:41farghal1 has joined #asahi
17:41farghal has quit [Read error: Connection reset by peer]
17:41farghal1 is now known as farghal
17:47A_L_I_C_E has quit [Quit: Quit]
17:47A_L_I_C_E has joined #asahi
17:48farghal has quit [Remote host closed the connection]
17:48farghal has joined #asahi
17:49farghal has quit []
17:49raveling has joined #asahi
17:50farghal has joined #asahi
17:57farghal has quit [Quit: farghal]
17:57raveling has quit [Ping timeout: 480 seconds]
17:57farghal has joined #asahi
17:58possiblemeatball has quit [Quit: Quit]
17:59kettenis has quit [Ping timeout: 480 seconds]
18:02kettenis has joined #asahi
18:05farghal has quit [Ping timeout: 480 seconds]
18:06raveling has joined #asahi
18:07avi has joined #asahi
18:07marcanafter that the default might change not to do that, but by then there should be some uinput thing taking care of the touchbar
18:08ChaosPrincessmarcan: nah, we keeping f-keys emulation even w/ touchbar, cause we still need them to work in non-ui consoles
18:09avi has quit []
18:11MajorBiscuit has quit [Quit: WeeChat 3.6]
18:14raveling has quit [Ping timeout: 480 seconds]
18:16ChaosPrincesshas anyone written a touchbar daemon yet?
18:19jannauno, I'd start with https://crates.io/crates/evdev-rs, it should grab the touchbar touchscreen exclusively and use uinput to generate key events
18:24A_L_I_C_E has quit [Read error: Connection reset by peer]
18:25A_L_I_C_E has joined #asahi
18:42pthariensflame has joined #asahi
18:45gladiac has quit [Quit: k thx bye]
19:00pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
19:14giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
19:15raveling has joined #asahi
19:22bakk has quit [Ping timeout: 480 seconds]
19:23delsol has quit [Remote host closed the connection]
19:35A_L_I_C_E has quit [Read error: Connection reset by peer]
19:36possiblemeatball has joined #asahi
19:41A_L_I_C_E has joined #asahi
19:45bakk has joined #asahi
19:45A_L_I_C_E has quit [Remote host closed the connection]
20:06delsol has joined #asahi
20:31bakk has quit [Quit: Leaving]
20:41bps has joined #asahi
20:55delsol has quit [Remote host closed the connection]
21:08nyilas has quit [Remote host closed the connection]
21:41nsklaus has quit [Quit: ZZZzzz…]
21:46bluetail42 has joined #asahi
21:46Brainium has joined #asahi
21:53bluetail4 has quit [Ping timeout: 480 seconds]
21:54raveling has quit [Ping timeout: 480 seconds]
22:04possiblemeatball has quit [Quit: Quit]
22:14A_L_I_C_E has joined #asahi
22:17raveling has joined #asahi
22:17pharonix71 has joined #asahi
22:18bps has quit [Remote host closed the connection]
22:25raveling has quit [Ping timeout: 480 seconds]
22:35raveling has joined #asahi
22:36Guest10771 has quit [Quit: G-line: User has been permanently banned from this network.]
22:36vx has joined #asahi
22:37vx is now known as Guest10929
22:43raveling has quit [Ping timeout: 480 seconds]
22:49chadmed_ has joined #asahi
22:55raveling has joined #asahi
23:02chir4gm82 has quit [Remote host closed the connection]
23:04raveling has quit [Ping timeout: 480 seconds]
23:21A_L_I_C_E has quit [Remote host closed the connection]
23:52amw has quit [Ping timeout: 480 seconds]