2021-02-20.log

* demoveu -> debacle00:02
+ freakazoid0223 (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)00:12
devylmntmn doesn't run xorg on the reform? (i saw your twitter comment about xfce)00:13
* debacle -> demoveu00:51
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erlehmann@dynamic-046-114-036-085.46.114.pool.telefonica.de)01:31
+ erlehmann (~erlehmann@dynamic-046-114-033-249.46.114.pool.telefonica.de)01:44
+ B[] (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)01:56
- Guest37872 (QUIT: Quit: Reconnecting) (~blast007@bzexcess.com)02:36
+ blast007 (~blast007@bzflag/developer/Blast)02:37
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-zaoqaoengdljwgtj)03:04
- freakazoid0223 (QUIT: Ping timeout: 246 seconds) (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)06:41
+ freakazoid0223 (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)06:42
* demoveu -> debacle07:52
* debacle -> demoveu07:52
* demoveu -> debacle07:52
* debacle -> demoveu07:52
+ futarisIRCcloud (uid222239@gateway/web/irccloud.com/x-kzrcosrqntwaexum)08:53
+ oomono (uid328183@gateway/web/irccloud.com/x-zkriaajwwtbobusp)10:53
* demoveu -> debacle11:34
* debacle -> demoveu11:34
* demoveu -> debacle11:34
- futarisIRCcloud (QUIT: Quit: Connection closed for inactivity) (uid222239@gateway/web/irccloud.com/x-kzrcosrqntwaexum)13:02
+ rasmus-mk (~rasmus@c83-253-223-217.bredband.comhem.se)13:50
- freakazoid0223 (QUIT: Ping timeout: 240 seconds) (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)14:26
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-zkriaajwwtbobusp)14:33
- B[] (QUIT: Ping timeout: 265 seconds) (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)15:11
+ freakazoid0223 (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)17:08
- freakazoid0223 (QUIT: Ping timeout: 265 seconds) (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)17:50
- terpri (QUIT: Remote host closed the connection) (~terpri@2603-6081-2241-0752-96b8-6dff-feb3-87d3.res6.spectrum.com)18:16
+ terpri (~terpri@2603-6081-2241-0752-96b8-6dff-feb3-87d3.res6.spectrum.com)18:16
* debacle -> demoveu18:31
* demoveu -> debacle18:31
* debacle -> demoveu18:31
mntmndevyl: no, except if you run it on the framebuffer without acceleration i think18:50
mntmndevyl: last time i tried (long time ago) running Xorg directly on modesetting did not work18:51
mntmni also don't really understand why one would prefer to run Xorg18:51
+ oomono (uid328183@gateway/web/irccloud.com/x-qyvydxildvfgyqxb)18:54
swivelfor me, answering the question of "does xorg w/modesetting work?" is the easiest and most likely known form of answer to the real question of "does the mainline driver in use support modesetting?"  which applies to far more than just xorg... plenty low-level graphics tools support xorg-less operation w/libdrm and expect modesetting to function19:11
mntmnmodesetting works19:17
mntmnfor example, kmscube works19:17
mntmnbut Xorg just shows a black screen. no errors19:18
mntmn(just tried it)19:18
mntmni just googled it and found an old email thread by myself https://xorg-devel.x.narkive.com/DoRvbgMq/all-black-x-windows-with-etnaviv-xwayland-glamor19:20
mntmnapparently several years ago i already spent a lot of time trying to debug X issues19:20
mntmnon the other hand, wayland compositors just work, and Xwayland on top. so you can still use any X window manager you want19:21
swivelhrm, i wonder why drmModeGetResources() fails w/ENOTSUPP on my buddies librem5 then19:22
devylI would like to use e24 and xfce :( so i would need xorg19:22
swivelwhen i investigated the etnaviv kernel driver to check, it didn't set the DRIVER_MODESET bit:19:23
swiveletnaviv_drv.c:  .driver_features    = DRIVER_GEM | DRIVER_RENDER,19:23
mntmndevyl: afaik enlightenment is a wayland compositor too19:23
mntmnswivel: you're looking in the wrong place19:24
mntmnswivel: etnaviv is not a display device19:24
mntmnswivel: etnaviv is just a renderer19:24
swivelmntmn: what's the right place for imx8m?19:24
mntmnswivel: either mxsfb or dcss19:24
mntmnswivel: both are kms devices19:24
mntmnswivel: it depends on how the librem is structured, i think they use lcdif for the internal display, hence mxsfb19:24
swivelmntmn: hrm, ok, thanks for the pointers19:25
mntmnswivel: try kmscube -D /dev/dri/card1 for example19:25
mntmn(assuming that exists)19:26
mntmnswivel: the display device creates the framebuffer. etnaviv instructs the gpu to render to it. it can also render headless / to some other memory19:27
mntmnso, to configure your display/mode, you don't talk to etnaviv in the first place, but to one of the two display engines.19:27
devylIf i apt e24 on debiab testing it still installs xorg. Maybe i need to compile it myself on reform once i get it ;)19:27
swivelah so there may be multiple nodes in /dev/dri/  the experiment probably used card019:27
mntmnswivel: yep19:28
swivelgood to know19:28
mntmndevyl: anyway, you can use for example sway or cage as your xorg substitute19:29
swivelthanks again for explaining that19:29
mntmndevyl: https://github.com/Hjdskes/cage19:29
devylThx19:29
mntmndevyl: this is a compositor to run just one app fullscreen. that can be Xwayland (non-rootless) + xfce4 for example19:30
mntmnbonus: no tearing19:30
devylAh ok... Maybe i could just use a compositor instead of the xfce wm to run xfce session and apps (...)!?19:32
mntmndevyl: well, you still want the xfce wm i guess19:33
mntmni'll put together a quick recipe19:33
devyl👍19:33
swivelmntmn: do you happen to know what happens on the imx8 when things get too hot for the SoC?  does linux put anything in the journal about it and shut it down via userland awareness, or does it just power off to protect itself independent of the OS?19:52
mntmndevyl: http://dump.mntmn.com/reform-xfce.png19:53
mntmnswivel: it powers itself off19:53
mntmnswivel: but before that, it can also signal the kernel to do that19:53
devylLooks good :)19:54
* demoveu -> debacle19:54
mntmndevyl: here is how i start it http://dump.mntmn.com/xfce4.sh.txt19:55
mntmndevyl: these exports are only needed because i have wayland specific stuff in my bashrc19:55
devylThx!19:56
mntmnworks absolutely fine19:56
mntmnwill try enlightenment next...20:04
swivelmntmn: hmmm, ok, my buddy tested a drm raytracer on his librem5 to verify /dev/dri/card1 supports modesetting (it does!) and not long after it shutdown, but the journal doesn't mention thermals as a cause, but it also appears to have shutdown the wireless hardware independently so it looks like it overheated.  the ray tracer is threaded20:05
swivelmntmn: im curious if the reform would tolerate the sustained cpu burn better, probably20:06
mntmnswivel: how long until it shut down?20:16
mntmnswivel: i don't have any thermal problems so far... but our heatsink is pretty massive20:16
mntmndevyl: enlightenment works fine too with the same method https://files.mastodon.social/media_attachments/files/105/765/177/975/659/441/original/ff2c15aef312b6f4.jpeg20:17
swivelmntmn: something like a couple mins max20:19
mntmnswivel: oof20:22
mntmnswivel: naja looking at the librem5 not sure where all the heat is going20:22
swivelto be fair, it's not exactly unusual for phones to overheat when you saturate all the cores20:23
swivelbut it'd be nice for it to be a graceful shutdown with stuff in the journal at least20:24
mntmnswivel: maybe you need to install some daemon for that? i mean, it is easy to watch the temperature from userspace20:36
eeryhmm, I guess it'd be possible to run sway with no/minimal info bar, and run Xwayland + WM along with native wayland clients20:45
eerynever thought about it tbh20:45
+ rvense (~rvense@212.97.250.176)20:46
swivelmntmn: apparently it didn't shut itself down after all, there looks to be a bug with journalctl relative boot ids, a retest on the librem has it running over 10mins without rebooting, false alarm20:54
swivelthough it's still unclear why the wireless stuff shutdown and wouldn't come back up without pulling the battery20:54
mntmni don't have a librem so i don't know how it works in detail20:55
mntmneery: yes. i have a script that runs me a fullscreen Xwayland+blackbox session in a sway workspace when i need it.20:56
mntmneery: to run some odd apps that don't work well directly through rootless Xwayland20:56
mntmnfor example visicut (a java application for running our lasercutter)20:56
mntmnanother cool thing is that sway can do output scaling for you (hardware accelerated)20:57
- _bleb (QUIT: Ping timeout: 240 seconds) (cm@faeroes.sdf.org)21:01
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-qyvydxildvfgyqxb)21:43
* debacle -> demoveu21:53
* demoveu -> debacle21:53
* debacle -> demoveu21:53
+ freakazoid0223 (~matt@pool-108-2-68-211.phlapa.fios.verizon.net)21:56
* demoveu -> debacle22:59
- rasmus-mk (QUIT: Quit: Konversation terminated!) (~rasmus@c83-253-223-217.bredband.comhem.se)23:24

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!