libera/#devuan/ Tuesday, 2022-11-15

markizanooh that is so weird....00:41
markizanoan app -- once running, can only run in that $DISPLAY at a time. :head_exploding:00:41
markizanouse case: I have CPU-Graphics (Intel) + GPU-Graphics (Nvidia) both configured in a X11 environment. I can only get these to work when either have their own $DIPSLAY value set (e.g. separate "screens" as X describes them)00:42
markizanoan app, once running seems to have a binding to that "screen" or $DISPLAY as either :0.0 or :0.1 depending on which screen gets the display for the app.00:42
markizanobut this can be bypassed if the app runs as a separate user.00:44
markizano(I know this isn't a Devuan thing, just real-time realizing this aloud...)00:44
gnarfacemarkizano: expected behavior because those two vendors aren't using compatible multi-head protocols at the driver level. you'll have to turn to Xinerama (which is not hardware accelerated)01:37
gnarfacethough it actually might be only a problem for programs that are themselves requiring hardware acceleration, like dvd playback or 3d opengl contexts01:40
gnarfacenot sure about that, been a while since i've had to mess with it01:40
gnarfacehmm, or maybe what i'm remembering is that even with Xinerama it still only works for programs that themselves don't require hardware acceleration01:50
gnarfaceyea, i think that's it01:50
gnarfaceXinerama will work for normal stuff but if you try to put one half of the same dvd playback window on each card you'll run into weird problems01:51
markizanoLoL, not reporting as bug as much as just fascinated with the realization of it.02:53
markizanoxinerama, unfortunately, segfaults when I configure to use it :(02:53
markizanoand I can't figure out what kills it just yet.02:53
pablocastellanosgnarface: Sorry, I lost your “ugly hack” https://paste.debian.net/1260049/ for defining XDG_RUNTIME_DIR on the ~/.profile. Can you share it again?05:27
gnarfacepablocastellanos: yea no problem: https://paste.debian.net/1260742/06:43
gnarfacefyi someone mentioned after that there's a binary called "mktemp" that might be better suited for this than pwgen and cut, but i think my approach creates a longer name06:44
gnarfaceat least than the default, but mktemp may be more flexible than i originally suspected06:45
gnarfacelater i recalled that someone had originally brought this "mktemp" binary to my attention when i'd initially made this hack but i had some good excuse for not changing it, but it may have just amounted to laziness06:47
rwpgnarface, Reading the comment "hopefully only temporary"...  Nothing is as permanent as a temporary solution. :-)07:21
gnarfacerwp: true, though for the record it's not needed for 0.25.4-1 which is what's currently there (in ceres)07:24
rwpThe pedantic in me compels me to say mktemp is definitely the better way to create a private directory. FTW!  XDG_RUNTIME_DIR=$(mktemp -d)07:25
gnarfacei think what might have happened was i tried to figure out how to pass a template string to get it to create a name with more bytes in it but it wasn't cooperating so i just gave up07:26
rwpHowever I must say that using pwgen is a clever way to generate such a large random space that it is virtually guaranteed to work anyway.07:26
rwpYou can always specify a template old-school with as many X's as desired.  mktemp /tmp/foo.XXXXXXXXXXXXXXXX07:28
psionicRecommendations for good Linux ultrabook made recently?14:25
djphpsionic: frame.work ?14:49
djph... https://frame.work/ ... ugh, i can't copypaste today :(14:50
spine-o-saurusim getting an error trying to install libsdl2-mixer-dev on daedalus, libsystemd0 is not compat?16:55
spine-o-saurusnevermind it was apt sources were wrong17:23

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