2022-11-18
00:04Stroller has joined #asahi
00:09millenialhacker has joined #asahi
00:17millenialhacker has quit [Ping timeout: 480 seconds]
00:17maximbaz has quit [Quit: bye]
00:18maximbaz has joined #asahi
00:23maximbaz has quit [Quit: bye]
00:24maximbaz has joined #asahi
00:28loki_val has joined #asahi
00:30crabbedhaloablut has quit [Ping timeout: 480 seconds]
00:31beeblebrox has joined #asahi
01:01julio7359 has joined #asahi
01:07jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
01:28r0ni has quit [Quit: Leaving]
01:33julio7359 has quit [Ping timeout: 480 seconds]
01:35r0ni has joined #asahi
01:41user982492 has joined #asahi
01:42ten15 has quit [Remote host closed the connection]
01:42beeblebrox has quit [Quit: Konversation terminated!]
01:44ten15 has joined #asahi
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi
02:06nicolas17 has joined #asahi
02:06jamespmo_ has joined #asahi
02:13jamespmorgan has quit [Ping timeout: 480 seconds]
02:18jamespmorgan has joined #asahi
02:24jamespmo_ has quit [Ping timeout: 480 seconds]
02:32user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:38chadmedscardracs: i dont really have anything to add to what jannau and sven said, i added that ebuild as a proof of concept only and it should not be installed. it will not work.
02:39chadmedit shouldnt even let you install it unless you really REALLY force it since upstream is a newer version for both stable and unstable keywords
02:41chadmedalso i check logs regularly when im afk/forget to join certain channels so you can still ping me in #asahi-alt if im not around and ill see the message eventually
03:06nicolas17 has quit [Quit: Konversation terminated!]
03:15millenialhacker has joined #asahi
03:23millenialhacker has quit [Ping timeout: 480 seconds]
04:41millenialhacker has joined #asahi
04:49millenialhacker has quit [Ping timeout: 480 seconds]
04:54tertu2 has joined #asahi
04:54tertu has quit [Ping timeout: 480 seconds]
04:55julio7359 has joined #asahi
05:07tertu2 has quit [Ping timeout: 480 seconds]
05:09tertu has joined #asahi
05:13weitcis has quit [Quit: Konversation terminated!]
05:16cylm has joined #asahi
05:21wereiyou has quit [Ping timeout: 480 seconds]
05:24yuyichao has quit [Remote host closed the connection]
05:26yuyichao has joined #asahi
05:29capta1nt0ad has quit [Remote host closed the connection]
05:30capta1nt0ad has joined #asahi
05:30capta1nt0ad has quit []
05:31capta1nt0ad has joined #asahi
05:45ping_47 has quit [Remote host closed the connection]
05:54capta1nt0ad has quit [Quit: Konversation terminated!]
05:55capta1nt0ad has joined #asahi
05:58capta1nt0ad has quit []
06:05millenialhacker has joined #asahi
06:13millenialhacker has quit [Ping timeout: 480 seconds]
06:14LinuxM1 has joined #asahi
06:15julio7359 has quit [Ping timeout: 480 seconds]
06:47millenialhacker has joined #asahi
06:55millenialhacker has quit [Ping timeout: 480 seconds]
06:59weitcis has joined #asahi
07:09weitcis has quit [Remote host closed the connection]
07:09mac456 has quit [Read error: Connection reset by peer]
07:10guillaume_g has joined #asahi
07:12weitcis has joined #asahi
07:13weitcis has quit []
07:18weitcis has joined #asahi
07:20Major_Biscuit has joined #asahi
07:35Glanzmannsven: I just booted my mini and my keyboard on usb-c was dead once linux was booted (in u-boot/grub it was working). Than I plugged to usb-a and it worked. When I put it back into the usb-a to usb-c dongle it did not work, but when I repluged the usb-c dongle than it became active. dmesg in case you're interested: https://pbot.rmdir.de/m1AZcyUkn3i_Zf69mSIPFw
07:39Glanzmannsven: This is with the edge config but with every 'edge' option as =y and dart=y because otherwise the kernel does not find usb-a, usb-c, pcie, network. Jannau was unable to reproduce my boot issue, but if someone is interested in the dmesg I can disable x boot the broken kernel and use the serial console or make a photo.
07:41SSJ_GZ has joined #asahi
07:44millenialhacker has joined #asahi
07:50weitcis has quit [Remote host closed the connection]
07:52millenialhacker has quit [Ping timeout: 480 seconds]
07:53weitcis has joined #asahi
07:54Dcow_ has quit [Remote host closed the connection]
07:55Dcow has joined #asahi
08:02Stroller has quit [Quit: Stroller]
08:11sventhat shouldn’t be required but it’s one of the advantages of having to tear down everything and set it back up when a plug is inserted
08:15Glanzmannsven: I had only three boots with the kernel (1 out of 2 had the issue) so far, but I can try to reproduce and let you know.
08:21_jannau_kode54: asahi-wip/asahi-dev have most dcp changes except the very experimental dp-altmode and experimental changes I'm working on
08:27millenialhacker has joined #asahi
08:28jjido has joined #asahi
08:35millenialhacker has quit [Ping timeout: 480 seconds]
08:40Poplar has quit [Ping timeout: 480 seconds]
08:54giskard has joined #asahi
08:54weitcis has quit [Quit: Konversation terminated!]
08:58weitcis has joined #asahi
09:12bassohave to use thunderbolt dock to get more than 1 display out of one port, usb-c docks is no go
09:13sventhe issue is that the hardware just doesn't support MST which is what you'd need to get 2 displays out of a single port
09:16bassoworst quirk is that displays that are connected with hdmi/adapters with hdmi out does not do rgb444 and tgat makes fonts and stuff look ass
09:17bassoi remember doing that weird edid patch on my old intel mac to get rgb444 on monitors, so weird you cant override it in a meaningfull way
09:20millenialhacker has joined #asahi
09:20svenlet us first get dp altmode and dp-over-usb4/tbt-tunneling to work reliable. then we'll take a look into making it work nicely
09:20svenI already have one screen/adapter combo that works on linux but not on macos (possibly due to hdcp)
09:24weitcis has quit [Remote host closed the connection]
09:27bassoill need new monitors to daily drive a mac running linux, 4k fractional scaling is doodoo and has too many quirks
09:27weitcis has joined #asahi
09:31basso"non-fractional-mixed-dpi setup on gnome" is actually is the setup with least amounts of quirks, thats what i use at work and what i recommend to most people looking into using linux with their high dpi laptops
09:34millenialhacker has quit [Ping timeout: 480 seconds]
09:45Dcow_ has joined #asahi
09:52Dcow has quit [Ping timeout: 480 seconds]
10:00jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
10:07yukaby the way, is there any chance of getting a kvm guest with 4K pagesize on a host with 16K pagesize?
10:09yukadon't really want to change my whole host kernel to 4K pagesize because of the performance impact
10:12almeyras has joined #asahi
10:12svenplease also don't discuss how to run rosetta2 on here since that's likely against its license
10:12millenialhacker has joined #asahi
10:20millenialhacker has quit [Ping timeout: 480 seconds]
10:21almeyras has quit [Quit: Igloo IRC: https://iglooirc.com]
10:27capta1nt0ad has joined #asahi
10:38Tom__ has joined #asahi
10:39StupidYui has quit [Ping timeout: 480 seconds]
10:42jjido has joined #asahi
11:08Raito_Bezarius has quit [Ping timeout: 480 seconds]
11:24jamespmorgan has quit [Ping timeout: 480 seconds]
11:27bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:28millenialhacker has joined #asahi
11:33millenialhacker has quit [Remote host closed the connection]
11:33millenialhacker has joined #asahi
11:36millenia_ has joined #asahi
11:36millenialhacker has quit [Read error: Connection reset by peer]
12:06StupidYui has joined #asahi
12:09Tom__ has quit [Ping timeout: 480 seconds]
12:11millenia_ has quit [Remote host closed the connection]
12:14Techcable has quit [Ping timeout: 480 seconds]
12:18weitcis has quit [Quit: Konversation terminated!]
12:18Poplar has joined #asahi
12:20millenialhacker has joined #asahi
12:21Major_Biscuit has quit [Ping timeout: 480 seconds]
12:30Raito_Bezarius has joined #asahi
12:30millenialhacker has quit [Ping timeout: 480 seconds]
12:44Poplar has quit [Ping timeout: 480 seconds]
12:52spectrum-m1 has joined #asahi
12:52Poplar has joined #asahi
12:52spectrum-m1Hello! I wonder how can I help the project as a newbie? Can I help with debugging?
13:04spectrum-m1 has quit [Quit: Page closed]
13:06Poplar has quit [Ping timeout: 480 seconds]
13:10eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
13:13vmeson has quit [Ping timeout: 480 seconds]
13:13Major_Biscuit has joined #asahi
13:13vmeson has joined #asahi
13:27Major_Biscuit has quit [Ping timeout: 480 seconds]
13:30eroc1990 has joined #asahi
13:32Major_Biscuit has joined #asahi
13:39as400I must say that now, with dcp/backlight control, working on my mbp is a sheer pleasure. THX guys, thx jannau !
13:44leitao has joined #asahi
14:22millenialhacker has joined #asahi
14:34millenialhacker has quit [Ping timeout: 480 seconds]
14:37wereiyou has joined #asahi
14:40jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
14:56Stroller has joined #asahi
14:57bisko has joined #asahi
15:03eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
15:05bisko has quit [Ping timeout: 480 seconds]
15:14Treibholz has quit [Quit: WeeChat 3.0]
15:20karolherbst has joined #asahi
15:23jamespmo_ has joined #asahi
15:31rvalue has quit [Read error: Connection reset by peer]
15:32rvalue has joined #asahi
15:32axboejannau: had same behavior as before - I get the login screen, but it kind of stalls. and if I log in, seems like it stalls. just like I described last time
15:33axboejannau: but then I tested if the backlight works (it does!) and discovered that it simply seems to lack updates. whatever I do, if I hit brightness up+down (or anything really, seems like it wants two changes) then it refreshes the screen just fine
15:33axboeso it does seem to work, but it doesn't refresh the content of the display if that makes any sense
15:36Glanzmannaxboe: Do you need to hit the brightness up/down just once or everytime you want a screen update?
15:37GlanzmannI see. Strange, I use dcp on my mini. No issues once the kernel booted and probed pcie. I never tried it on the laptop. But I'll soon.
15:40eroc1990 has joined #asahi
15:43millenialhacker has joined #asahi
15:48as400axboe: sure, understandable. But isn't it more productive to have something that just works and is still FOSS ?
15:48GlanzmannIs the macbook air supposed to turn off the screen using dcp when I close the lid or do I have to do that myself?
15:51millenialhacker has quit [Ping timeout: 480 seconds]
15:59danielnechtan has quit [Read error: Connection reset by peer]
16:01danielnechtan has joined #asahi
16:04Poplar has joined #asahi
16:17int16h has joined #asahi
16:19danielnechtan has quit [Ping timeout: 480 seconds]
16:22Major_Biscuit has quit []
16:30axboe_jannau_: when I've got some time later today, I'll try and blow away the xfce4 settings and see if I can figure out which one is causing this
16:30Poplar has quit [Ping timeout: 480 seconds]
16:43Poplar has joined #asahi
16:45bisko has joined #asahi
17:02Techcable has joined #asahi
17:10guillaume_g has quit []
17:11roxfan2 is now known as roxfan
17:14bcrumb has joined #asahi
17:15bcrumbif force_discharge on battery really forcefully reducing battery capacity or just letting battery lose charge meaning blocking AC?
17:21millenialhacker has joined #asahi
17:26bcrumb has quit [Quit: WeeChat 3.7.1]
17:29millenialhacker has quit [Ping timeout: 480 seconds]
17:31jjido has joined #asahi
17:37julio7359 has joined #asahi
17:37riker77 has quit [Quit: Quitting IRC - gone for good...]
17:37riker77 has joined #asahi
17:42marcanforce discharge as in force the battery management into "discharging" state by disabling inflow entirely
17:55testaccount123 has joined #asahi
17:57testaccount123 has quit []
17:59r0ni has quit [Remote host closed the connection]
17:59r0ni has joined #asahi
18:02grgy has quit [Remote host closed the connection]
18:05grgy has joined #asahi
18:06Poplar has quit [Ping timeout: 480 seconds]
18:09Poplar has joined #asahi
18:25Stary has quit [Quit: ZNC - http://znc.in]
18:26Poplar has quit [Ping timeout: 480 seconds]
18:29Stary has joined #asahi
18:36millenialhacker has joined #asahi
18:45___nick___ has joined #asahi
18:45___nick___ has quit []
18:47millenialhacker has quit [Ping timeout: 480 seconds]
18:47___nick___ has joined #asahi
18:49leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:56kh has joined #asahi
18:56kh is now known as kazuki
18:56kazukiIs brightness control supposed to work? It doesn't work here on my M1 MBP 13, even if I use jannau's m1n1 brightness branch
19:01jannaukazuki: no m1n1 changes are necessary. it works with m1n1 1.1.8 out of the box. it requires however DRM_APPLE
19:03yuka has quit [Remote host closed the connection]
19:04Glanzmannkazuki: On Debian I used the following script to produce a working kernel, m1n1, u-boot: https://tg.st/u/dcp.sh but I'm not sure if works well on alarm.
19:05yuka has joined #asahi
19:06Glanzmannkazuki: Okay, have you tried echo '80' > /sys/class/backlight/apple-panel-bl/brightness as root?
19:07kazuki has quit [Quit: Konversation terminated!]
19:08kh has joined #asahi
19:09kh is now known as kazuki
19:09kazuki is now known as kh
19:10Glanzmannjannau, correct me if I'm wrong, but it looks like dcp does not work: [ 1.953076] apple-dcp: probe of 271c00000.dcp failed with error 295021056
19:11Glanzmannkh: So the issue is apparantly, that you don't use dcp. As a result you don't have any brightness control.
19:12kh has quit []
19:13mxz has quit [Quit: cya]
19:13kh has joined #asahi
19:14mxz has joined #asahi
19:15Glanzmannkh: Here is a dmesg of where dcp is working on m1 air: https://pbot.rmdir.de/42lia7YpUmwMMCdi9cwcKg
19:17yrlf has quit [Quit: Ping timeout (120 seconds)]
19:18yrlf has joined #asahi
19:19jannaukh: it fails to boot dcpext but I have no idea why that wouldn't work on the macbook pro 13" m1 if it works on all all other m1 machines
19:20kh has quit [Quit: Konversation terminated!]
19:23jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
19:24kh has joined #asahi
19:36Dcow_ has quit [Remote host closed the connection]
19:43axboejannau: I'll mess around with this later and figure out what's going on with xfce4, but it looks like it doesn't like simple drm being enabled for me
19:45mpsaxboe: also I disabled simpledrm, had some issues with it. if appledrm is enabled with =y then backlight is disabled for simpledrm
19:49kh has quit [Quit: Konversation terminated!]
19:51mxz has quit [Quit: cya]
19:51mxz has joined #asahi
20:01yrlf has quit [Quit: Ping timeout (120 seconds)]
20:02yrlf has joined #asahi
20:05vx has quit [Quit: G-line: User has been permanently banned from this network.]
20:05vx has joined #asahi
20:07princesszoey has quit [Quit: Ping timeout (120 seconds)]
20:08princesszoey has joined #asahi
20:11kh has joined #asahi
20:23julio7359 has quit [Ping timeout: 480 seconds]
20:26kh has quit [Quit: Konversation terminated!]
20:28yrlf has quit [Quit: Ping timeout (120 seconds)]
20:28yrlf has joined #asahi
20:29cylm has quit [Quit: WeeChat 3.6]
20:36millenialhacker has joined #asahi
20:36vmeson has quit [Quit: Konversation terminated!]
20:37mpshmm, created qemu VM img for some developers who wanted test alpine on other distro but forgot what is needed to get it running
20:39marvin24 has joined #asahi
20:44millenialhacker has quit [Ping timeout: 480 seconds]
20:53jluthra has quit [Remote host closed the connection]
20:53bisko has quit [Read error: Connection reset by peer]
20:53bisko has joined #asahi
20:54jluthra has joined #asahi
21:01simpledcp has joined #asahi
21:04mpsaxboe: looks like something is bad with xfce, tried two times to boot machine and also got blank screen both times
21:04simpledcphello, can anyone be of help, I've installed linux-asahi-edge and apple_dcp+appledrm seems to be present in lsmod but i've got https://paste.debian.net/1261173/ this in dmesg, is this normal? also can't change the brightness or color prefs, am I missing something?
21:05jannauaxboe: part of the problem is that Xorg uses the display driver differently than macos. macos (and wayland compositors) use double-bufffering and swap the framebuffer for every screen update. Xorg use just a single framebuffer and and updates it directly
21:06jannauthe black screen is probably caused by not doing a single swap with the new framebuffer after the modeset on Xorg start
21:07axboejannau: seems to be two things here indeed - that black screen, and the lack of refresh for xfce4
21:07Stroller has quit [Quit: Stroller]
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09simpledcpand one more question: if i want gl stuff, i should compile lina's branch and mesa from asahi-main, do i get this right (so i should change pkgconfig and build a package)?
21:16axboejannau: the black screen does look like a race, as it's intermittent. the refresh is reliably broken
21:18jannausimpledcp: I think you issue should be resolved by reverting d9588077b8f82611286e564fe9f12d7e3afabbc6 "arch: arm64: apple: t8103: Add dcpext/dispext0 nodes"
21:18Dcow has joined #asahi
21:18millenialhacker has joined #asahi
21:19Dcow has quit [Remote host closed the connection]
21:20Dcow has joined #asahi
21:20Dcow has quit [Remote host closed the connection]
21:20Dcow has joined #asahi
21:23jannauI don't see how this could be be an xfce4 bug, especially if a brightness update refreshes the display
21:25axboejannau: does it reproduce for you? same thing on two laptops here, sounds like mps is seeing it too
21:26lolock has joined #asahi
21:26LinuxM1 has quit [Quit: Leaving]
21:27jannauit doesn't reproduce on the mac studio, haven't yet tested on my 14" mbp since I use it as main computer
21:28axboeroot@m1:/sys/class/backlight/apple-panel-bl# while true; do sleep .03; echo 199 > brightness; echo 200 > brightness; done
21:29Poplar has joined #asahi
21:29amarioguy2 has joined #asahi
21:30jannauhuh, if the mouse cursor updates but nothing else it sounds more like xfce4 bug although I have trouble to imagine how that can happen
21:30axboejannau: anyway, heading out now, but let me know if there's anything I can do to help debug this. I don't know anything about X or the display driver, but happy to run whatever since I have 2 laptops and one isn't really being used
21:32millenialhacker has quit [Ping timeout: 480 seconds]
21:33jannauok, I can reproduce it, not with a black background but with the default xfce4 background
21:34julio7359 has joined #asahi
21:35giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
21:36amarioguy has quit [Ping timeout: 480 seconds]
21:45LinuxM1 has joined #asahi
21:49Poplar_ has joined #asahi
21:51Poplar has quit [Ping timeout: 480 seconds]
21:51Tano70_ has joined #asahi
21:52Dcow has quit [Remote host closed the connection]
21:52jannauoh, that sounds like xfwm makes assumptions in compositor mode that are not true. still strange that a brightness update works around this
21:53Dcow has joined #asahi
21:53Dcow has quit [autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2022-11-18 21:53:01)]
21:54simpledcphmmm ERROR: modpost: "esr_get_class_string" [drivers/soc/apple/apple-rtkit.ko] undefined!
21:57LinuxM1 has left #asahi [Leaving]
21:58Stroller has joined #asahi
22:09Tano70_ has quit [Quit: Leaving]
22:10LinuxM1 has joined #asahi
22:15chengsun has joined #asahi
22:26bluetaildoes a EDID contain flags for whether dithering is on or off? I am kind of intrigued if there would be a way to turn it off
22:34Poplar_ is now known as Poplar
22:40rayanamukami3 has joined #asahi
22:48LinuxM1 has quit [Quit: Leaving]
23:02kloenk has quit [Remote host closed the connection]
23:03kloenk has joined #asahi
23:03millenialhacker has joined #asahi
23:11millenialhacker has quit [Ping timeout: 480 seconds]
23:17jjido has joined #asahi
23:25eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
23:32eroc1990 has joined #asahi
23:43weitcis has joined #asahi