libera/#devuan/ Sunday, 2023-02-26

gnarfacespac3r_: alright, looks like you're gonna have to add non-free to your sources.list00:04
spac3r_ok, added non-free and also contrib as per https://stackoverflow.com/questions/65794171/how-to-append-a-non-free-component-to-etc-apt-sources-list-steam-install00:05
spac3r_updating now00:05
fifihyperbolagnarface xD00:05
gnarfacespac3r_: you're gonna need to install nvidia-legacy drivers rather than the regular ones. just fyi, i think specifically these ones: apt-cache search nvidia-legacy-34000:14
gnarfacespac3r_: sorry, i mean: apt-cache search ^nvidia-legacy-34000:15
spac3r_restarted, Debian 4.19.269-1 (2022-12-20) starts tty100:19
spac3r_apt-cache search ^nvidia-legacy-340 returns 10 or so nvidia-legacy-*. should i install all of them?00:20
gnarfaceyea, probably00:21
spac3r_many unmet dependencies and conflicts :|00:23
gnarfacewhat type of conflicts?00:23
XenguyHi, had a laptop failure last night, so moved over to an older laptop that was running ASCII (i.e. oldoldstable).  Upgraded to Beowulf (i.e. oldstable) this afternoon, and all went well, with a minor exception (and I believe the same thing happened quite some time ago when I did a ASCII->Beowulf upgrade previously on another laptop).  Now when I run 'apt-get update', I get the following output:  https://paste.debian.net/hidden/d0a95928/00:24
Xenguy^^ If I try to manually install those 2 packages referenced in the pastebin, it fails due to unmet dependencies, both of which seem to reference things systemd'ish00:26
spac3r_ah, something installed. Red screen, menu Configuring libgl1-nvidia-legacy-340xx-glx:amd6400:27
spac3r_Conflicting nouveau kernel module loaded. Fix this reboot after installation finishes00:27
XenguyIt seems to me I can live with these 2 errant packages, but just curious if there's a clever way to clean up the errors?00:27
gnarfacespac3r_: you'll have to blacklist nouveau00:30
spac3r_xfce4 starts! in low res and freezes, rebooting00:32
spac3r_Yay xfce4 back as it was, thanks for guiding me through gnarface00:35
gnarfaceno problem00:36
spac3r_Just a flickr in the screen, it had that before00:36
gnarfacethere might be a fix for the flickering but i don't know it00:38
spac3r_desktop is stable. Opening a window trigger flashing lines in the bottom of the screen00:38
spac3r_to blacklist nouveau, are these the steps, https://linuxconfig.org/how-to-disable-blacklist-nouveau-nvidia-driver-on-ubuntu-20-04-focal-fossa-linux00:39
Xenguygnarface: Does my longshot issue above ring any bells at all?02:02
gnarfaceXenguy: not sure, maybe something about a version string issue02:09
gnarfacei assume you didn't mix distros, which is usually what causes this type of thing02:09
gnarfaceask fsmithred about it02:09
gnarfacesomeone around here should remember if this is the same issue02:09
XenguyNo, I avoid that like the plague02:09
XenguyThanks gnarface02:10
fifi_take care gnarface02:16
fsmithredXenguy, is libpam-elogind installed? That provides libpam-systemd which is a dependency of those libraries.02:22
Xenguyfsmithred: brb02:30
Xenguyfsmithred: dpkg -l libpam-elogind gives:  rc  libpam-elogind:amd64 234.4-2      amd64        elogind PAM module02:34
fsmithredXenguy, I have libpam-elogind 241.4-2 in beowulf.02:39
XenguyDoes it make sense for me to install it then fsmithred ?02:40
fsmithredyou have the ascii version. Did you do a dist-upgrade after the upgrade?02:41
XenguyYes, I followed the documentation on upgrading ASCII->Beowulf02:41
Xenguythere was an instruction to downgrade something, but I believe it was a different package02:42
fsmithredyeah, maybe install some packages with <package>=<version>02:42
fsmithredor possibly try with aptitude and see if it gives you some alternatives02:42
Xenguyfsmithred: This is the page of instructions I was following, FWIW:  https://www.devuan.org/os/documentation/dev1fanboy/en/upgrade-to-beowulf02:43
XenguyI have no experience with aptitude02:44
fsmithredaptitude full-upgrade02:44
fsmithredand then say no to the first thing it says it wants to do02:45
XenguyOK, will try that02:45
fsmithredand it'll give you another option02:45
fsmithredmaybe several if you keep saying no02:45
XenguyHilarious, aptitude isn't installed02:46
Xenguyfsmithred: some esoteric output, interesting... I'll pastebin it02:48
Xenguyfsmithred: https://paste.debian.net/hidden/4cd8cb21/02:50
XenguyAny sense of which direction to take?  I could just 'accept this solution', but I'm honestly not sure02:51
fsmithredoh, I guess you have consolekit installed.02:56
fsmithredI would install elogind libpam-elogind libelogind002:56
fsmithredand let consolekit and libpam-ck-connector go away02:56
XenguyHuh, way over my head...02:57
fsmithredreplace "I would" with "apt" above.02:57
XenguyOK, I'll try to apt-get those 3 and see how it goes02:57
fsmithredin the install line02:57
XenguyHere's the scenario fsmithred :  https://paste.debian.net/hidden/2af83cbf/03:00
XenguyI'm flying blind here, does this look on track or not?03:01
fsmithredyeah, that looks right03:09
fsmithredyou are replacing consolekit with elogind along with their libraries03:10
XenguyDamn the torpedos then03:20
Xenguyfsmithred: After that operation, this appears to be the current state:  https://paste.debian.net/hidden/7a72bba2/03:25
fsmithredit looks happy03:26
fsmithredwhat desktop you running?03:27
XenguyMATE03:28
fsmithredhuh. I was expecting more qt than that.03:28
fluffywolf...  of course the chess player picks MATE.  :P03:29
fsmithredlol03:29
Xenguyhahah03:29
fsmithredok, bed time for me. Look me up tomorrow if it's broken.03:29
XenguyThat association never occurred to me until this moment03:29
XenguyI just did a final 'apt-get upgrade', and my system now resolves...03:30
fsmithredcool03:30
XenguyI should update that documentation to reflect your advice03:30
XenguyI'll look at that tomorrow and will double-check the revisions with you if you're around03:31
fsmithredyeah, maybe. I'm not sure why consolekit didn't work out.03:31
XenguyThanks so much, you're a wizard03:31
fsmithredoh, check the release notes for beowulf. There's a section about desktops and polkit stuff.03:31
Xenguyfsmithred: This is the 2nd time I've seen that happen on an ASCII to Beowulf upgrade, so I think the fix needs to be documented03:31
XenguyOK, will do (already did to fix broken sound, but I'll read a little closer on the next pass)03:32
fsmithredsee which desktops need elogind03:32
fsmithredg'night03:32
XenguyAlright, a project for tomorrow then03:32
XenguyHave a good night, pleasant dreams03:32
anonSound doesn't work. How to fix?14:03
clemens3anon: alsamixer, F6, is the correct sound card selected.. are all parameters to 100%.. just the beginner checks..15:01
luis__Hello, I am in need of some help please18:28
jsiAnhyone here using wayland on devuan?18:29
gnarfaceluis__: you're gonna have to be more specific18:29
gnarfacejsi: i'm not, but if you describe the problem i may still be able to help18:30
jsiIm trying to get the swc / velox ( https://github.com/michaelforney/swc ) WM to work on my devuan, it all starts with the wayland port of st and dmenu, however I cant start any program (tried firefox / netsurf etc) from either dmenu or st18:31
luis__(Sorry, used to spam-apps like discord) I am trying to create a bootable key by following the official tutorial. Right now I have a Devuan installed with a Unetbootin key, but it's a _desktop one and I now want a _netinstall one. When I use the dd command, it generates a bunch of weird files that cannot be erased anymore (unless I log into windows and format). When using dmesg, I first get device descriptor read/all, error 8, but I can't see18:32
luis__what's the problem here18:32
luis__The key is in FAT3218:32
luis__I also get the message "Watchdog hardware is disabled" (MB is MSI Tomahawk wifi x570)18:33
luis__First time using Devuan but not Linux btw18:34
gnarfaceluis__: which official tutorial?18:34
luis__https://www.devuan.org/os/documentation/install-guides/chimaera/install-devuan18:34
gnarfacejsi: i got nothing. literally no programs start, or is it just X11 programs that don't start?18:35
gnarfacejsi: try something simpler that doesn't use audio (a shot in the dark)18:35
gnarfaceluis__: you hsould be able to erase anything with dd, just fyi.18:36
jsignarface: No literally nothing starts18:36
gnarfaceluis__: note that you should not need unetbootin anymore, and the linked tutorial doesn't mention it either... you should be able to literally just dd the iso over a usb key and boot it. can you show the exact dd command you used?18:37
luis__that's the problem, dd doesn't do it correctly18:37
gnarfacejsi: are you able to get a terminal open even? gonna need to see some errors somehow18:37
gnarfaceluis__: oh? how so?18:38
luis__I can't access the files inside, wait a second, I'm gonna repeat the steps again18:38
jsignarface: Yes, the terminal is the only thing thats opening, but trying to run anything from there wont even show errors, it just freezes18:39
luis__After the command I get "ls: cannot access 'Md╛Ñε1f'$'\b''.'$'\t''░─': Input/output error18:39
luis__ls: reading directory '.': Input/output error18:39
luis__'«dÜ'$'\002''xpS<.ⁿá'$'\036'  'Md╛Ñε1f'$'\b''.'$'\t''░─'18:39
luis__'}├.⌐î┼⌐─.╧═&'                ''$'\032''╙»α'$'\022''╠╘8.'$'\004''-ì'18:39
luis__'└<╡'$'\f''ï╟'$'\030''í.15e'18:39
luis__"18:39
gnarfacejsi: freezes? interesting... what video drivers are you using?18:39
gnarfaceluis__: yikes, never seen that before. you sure this usb key is still good? I/O errors usually mean hardware failure18:40
luis__probably not...18:40
luis__low quality usb18:40
gnarfaceluis__: show the exact dd command18:40
luis__sudo dd if=devuan_chimaera_4.0.0_amd64_netinstall.iso of=/dev/sde1 && sync18:41
luis__also tried with bs=1M18:41
gnarfaceluis__: no, you shouldn't need to set bs to anything, don't do it. however just fyi /dev/sde1 is wrong, you probably meant /dev/sde18:41
luis__The key is mounted at sde1, but I'll try sde18:41
gnarfaceluis__: /dev/sde1 is the first partition of /dev/sde, which isn't what you want. make sure /dev/sde is actually where the key is, and DO NOT MOUNT IT while running dd18:42
jsignarface: I am on a thinkpad w540, so it is booth using an Nvidia quadro k2100M and intel i7-4800MQ iGPU18:42
gnarfacejsi: there's some issues with optimus hardware like that, could be related, not sure.18:42
gnarfacesome problem with getting it to switch video cards when appropriate18:42
gnarfacedo you have nvidia's official drivers installed?18:43
jsiI don't, just noveau18:44
gnarfacemight also be related18:44
gnarfacejsi: ^18:44
luis__arf, dd command is taking long, meanwhile maybe we can debug why my graphics driver is still the non-proprietary one18:44
luis__Graphics:18:46
jsiWIll see if I find anything18:46
luis__  Device-1: AMD Navi 23 vendor: Micro-Star MSI driver: N/A bus ID: 2f:00.018:46
luis__  chip ID: 1002:73ff class ID: 030018:46
luis__  Display: x11 server: X.Org 1.20.11 driver: loaded: ati,vesa18:46
luis__  unloaded: fbdev,modesetting,radeon resolution: 1024x768~76Hz s-dpi: 9618:46
luis__  OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.518:46
luis__  compat-v: 3.1 direct render: Yes18:46
luis__inxi returns this18:46
luis__I already installed xserver-xorg-video-radeon but I can't switch to it18:47
gnarfacejsi: look into bumblebee, (for nvidia official drivers) though it's deprecated, and for nouvueau/intel look into the "DRI_PRIME" environment variable. sorry i'm vague on what to actually do here but those search terms might lead you to a working, if deprecated solution18:49
gnarfaceluis__: i'm not sure which one the Navi 23 is, but if it's new enough to use the amdgpu driver instead of radeon (there are some that can use both) then you also want the firmware-amd-graphics package from non-free18:50
luis__I already installed that firmware as well18:51
gnarfaceluis__: check that the harddware is supported by amdgpu, then you might need to make an xorg.conf snippet to call it implictly. check the Xorg log to be sure that's what's going wrong18:51
luis__It worked under Linux Mint so it should be supported, I'll double check that18:52
luis__oh seems like the version in Devuan isn't recent enough, kinda weird18:53
gnarfaceluis__: you might need the backports kernel and firmware18:53
luis__what's that18:53
gnarfaceluis__: chimaera-backports has updated versions of some stuff. make sure your user is also in the "video" group18:54
luis__sorry, you're going too fast for my level18:54
gnarfaceluis__: ok then, first, required reading: https://backports.debian.org/Instructions/18:54
gnarfaceluis__: second, note that's debian's backports info. devuan's backports work the same but the actual sources.list entries you want are listed here: https://www.devuan.org/os/packages18:55
gnarfaceluis__: (basically you use "http://deb.devuan.org/merged chimaera-backports" instead of "http://deb.debian.org/debian bullseye-backports")18:57
gnarfaceluis__: neither the version issue or the video group issue would have been relevant to mint18:58
gnarfaceluis__: so either of those could still be a problem18:58
luis__thank you, I'll look into all of that18:58
luis__If I understand correctly, xserver-xorg-video-amgpu is the opensource driver? How do I install the proprietary one?18:59
gnarfaceluis__: are you sure you actually want the proprietary one? amdgpu-pro only actually works with a couple kernel versions, and none of them are actually native debian/devuan kernels. you'd have to build it or get it from a 3rd party. just installing the firmware-amd-graphics package should be sufficient to give you full hardware acceleration with the open source regular amdgpu driver19:01
gnarfaceluis__: very few things actually require amdgpu-pro19:01
gnarface(on-card rendering in blender comes to mind)19:02
luis__I'm not sure. Proprietary one sucks anyway (at least in Windows)19:02
gnarfaceluis__: i'm guessing you just want regular amdgpu with proprietary firmware19:02
luis__Almost certain yes19:02
luis__If I understand correctly, backport is a way to get a package from a more advanced release? So that when doing it, you can get a more recent version of a package. Do you confirm?19:03
gnarfaceyes, that's exactly what it is19:03
gnarfacethey're just newer packages that are recompiled against current stable dependencies so you don't have weird crashes or other misbehaviors due to abi mismatches19:04
gnarfacethe only reason they're not actually part of the stable release is due to debian's "freeze" rules with regards to their definition of "stable"19:04
luis__perfect, so I should just add "deb http://deb.devuan.org/merged chimaera-backports" in my /etc/apt/sources.list?19:04
gnarfacei think it might actually have to be "deb http://deb.devuan.org/merged chimaera-backports main contrib non-free" for this, but yea19:05
gnarfacei would recommend adding it, only installing the updated linux-image-* package and firmware-amd-graphics package and then removing it when done. overall the stuff in backports is less well tested than the stuff in the stable release so you don't want to just be getting everything from there willy-nilly19:06
luis__yes, deb-src as well?19:06
luis__the stuff in backports is only installed if you specify it no? Like apt install package/backport?19:07
gnarfacewon't hurt to add, though i don't think you'll need it for this since amdgpu doesn't require dkms like nvidia does, so you shouldn't need the corresponding linux-headers-* package19:07
gnarfaceto be honest, i've heard several times that stuff from backports should only install if explicitly requested, but i swear i've had issues in my pre-AMD Nvidia days where an "apt-get upgrade" pulled in the entire kitchen sink from backports so my advice stands19:08
gnarfacei would recommend just commenting it out when you're done19:08
gnarfaceyou might want to get in there again later19:09
luis__yes, I'll do that then, thank you for your help19:09
gnarfaceno problem19:09
luis__my filesystem is in read-only ffs, have to reboot19:09
luis__bruh windows had put all the drives in read only mode because of a weird shutdown, that's why I had so many problems19:17
luis__seems like it's also the most recent version in chimaera-backports19:21
luis__now that's weird19:21
gnarfaceno, do this: apt-cache -t chimaera-backports search ^linux-image-19:21
luis__Installed version is 19.1, I need 21.1019:21
gnarfaceor apt-cache -t chimaera-backports search ^firmware-amd19:21
luis__the last one upgraded something19:23
luis__just rebooted, nothing changed19:25
luis__I believe I just need to install a more recent version of xserver-xorg-video-amdgpu19:28
gnarfacecheck the xorg log19:28
gnarfacebut if you're right there should be a newer one of those packages in backports too19:29
luis__how do I check that and what am I looking for?19:33
luis__The version I need is in the Bookworm release19:33
gnarfacelines with (EE) on them19:34
luis__(WW) warning, (EE) error, (NI) not implemented, (??) unknown.19:36
luis__[     6.592] (EE) open /dev/dri/card0: No such file or directory19:36
luis__[     6.592] (EE) open /dev/dri/card0: No such file or directory19:36
luis__[     6.592] (EE) Unable to find a valid framebuffer device19:36
luis__[     6.592] (EE) Screen 0 deleted because of no matching config section.19:36
luis__[     6.592] (EE) Screen 0 deleted because of no matching config section.19:36
luis__[     6.595] (II) Initializing extension MIT-SCREEN-SAVER19:36
luis__[    22.321] (EE) event4  - dakai PS/2+USB Keyboard: client bug: event processing lagging behind by 12ms, your system is too slow19:36
luis__Bookworm hasn't been released yet?19:37
gnarfacewhich driver does it say it's using?19:37
gnarfaceit will try several and then settle on one19:37
luis__Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 23 vendor: Micro-Star MSI driver: N/A19:38
luis__           bus ID: 2f:00.0 chip ID: 1002:73ff class ID: 030019:38
luis__           Display: x11 server: X.Org 1.20.11 driver: loaded: ati,vesa unloaded: fbdev,modesetting,radeon19:38
luis__           resolution: 1024x768~76Hz s-dpi: 9619:38
luis__           OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5 compat-v: 3.119:38
luis__           direct render: Yes19:38
gnarfacetry using a xorg.conf snippet to force it to use amdgpu19:40
luis__I don't know how to do that19:40
gnarfacei can help in a couple minutes, stand by19:41
luis__can I backport from Bookworm even though it's not released?19:42
gnarfacethe backports version should already be that19:45
luis__Seems like it doesn't work for amdgpu19:47
gnarfacebut it doesn't appear to even be trying to use amdgpu19:47
gnarfaceso we can't say that for sure or not19:47
luis__oh okay19:47
gnarfacehave you ever made an xorg.conf yet?19:48
luis__I'm kinda lost here19:48
luis__nope19:48
_ds_Hmm, RX 6600 – should be using amdgpu (kernel module) by default19:48
_ds_Firmware?19:48
gnarfaceis that what this is? i only see navi 2319:48
luis__it's XT, but it should be the same19:48
luis__RX 6600 XT19:48
_ds_Same as what I have19:49
gnarfaceluis__: "apt-get -t chimaera-backports install firmware-amd-graphics" does this do anything?19:49
luis__it's already the newest version19:49
gnarface_ds_: you using backports or are you on daedalus?19:49
luis__but it did update the first time I used the backports19:49
gnarfaceok, just making sure19:49
_ds_I'm using a mix, but mesa & kernel are locally compiled19:49
luis__daedalus hasn't been release yet right?19:49
gnarfaceluis__: correct, but chimaera-backports should have basically the same stuff19:50
gnarfaceat least where it counts19:50
gnarfaceluis__: what does "uname -a" report?19:50
_ds_Anyway, I'd make sure that kernel & mesa are from chimaera-backports (assuming chimaera)19:50
luis__Linux DESKTOP-XXXXX 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux19:50
_ds_Old.19:51
gnarfaceyea, that's not the backports kernel19:51
luis__oooh19:51
luis__might've missed something then19:51
luis__what's the package name? linux-image-5.19... ?19:52
gnarface5.19 sounds about right, there's probably a few options19:53
gnarfaceapt-cache -t chimaera-backports search ^linux-image-19:53
luis__I'll just install the latest I guess19:53
luis__oh there's a 6 in there19:53
gnarfacejust make sure you get the one for the right architecture and don't install the RT one or anything weird19:53
_ds_Not sure of the specific package, but 6.0.12-1~bpo11+1 is the version in backports.19:53
_ds_(I'm just looking at linux-image-amd64)19:54
gnarfaceluis__: tell me which package you're gonna install before you do it so i can sanity check19:54
luis__firmware-amd-graphics and xserver-xorg-video-amdgpu I guess19:54
gnarfacedamn, if luis__ comes back tell them i meant which "linux-image-*" package, for the kernel19:57
luis__Yay, we've done it! I can now see more than three pixels lol19:58
luis__thank you all19:58
gnarfacewell glad he got it working20:00
gnarfacejust wish i was sure he's actually using the right stuff20:00
luis__Is xserver-xorg-video-amdgpu necessary if I use wayland?21:33
gnarfaceno21:35
gnarfacebut wayland may be more trouble than its worth still21:35
gnarfaceregardless of what the wayland fans will claim, xorg is still better supported nearly everywhere21:36
gnarface(most notably with commercial software, but if you're not a gamer it may not matter)21:36
gnarfaceby the way, before you left earlier the sanity check on the package name i was intending to do for you was for the kernel package, to make sure you got the best one21:37
gnarface(not just the right version but the right architecture and build, since there's some ambiguity)21:38
gnarfaceanyway, if you switch to wayland i recommend you map yourself out a easy path to switch back in case you need to21:39
luis__I didn't understand what you said about the sanity check21:45
luis__did you do it?21:45
gnarfaceyou didn't tell me what kernel package you used, so no, i didn't21:47
luis__oh21:47
luis__kernel package = linux-image-??21:48
gnarfaceyes21:48
luis__6.0.1221:48
luis__as for Wayland vs X11, I care about performance, latency and gaming21:49
gnarfaceno i meant the whole package name not just the version21:49
gnarfaceand if you care about gaming and not strictly open-source games, you almost certainly want X1121:50
gnarfacethere might be a way to install both and switch between them easily but off the top of my head i can't tell you exactly how21:51
gnarfacesomeone more familiar with wayland might be able to though21:51
luis__I'll check that myself, thank you21:56
luis__sudo apt -t chimaera-backports install linux-image-amd6421:56
luis__Reading package lists... Done21:56
luis__Building dependency tree... Done21:56
luis__Reading state information... Done21:56
luis__linux-image-amd64 is already the newest version (6.0.12-1~bpo11+1).21:56
luis__0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.21:56
gnarfaceok, that's just the meta-package21:57
gnarfacebut that probably installed the right thing. you can check like this: dpkg -l |grep linux-image21:57
luis__ii  linux-image-5.10.0-21-amd64                   5.10.162-1                         amd64        Linux 5.10 for 64-bit PCs (signed)22:00
luis__rc  linux-image-5.10.0-9-amd64                    5.10.70-1                          amd64        Linux 5.10 for 64-bit PCs (signed)22:00
luis__ii  linux-image-6.0.0-0.deb11.6-amd64             6.0.12-1~bpo11+1                   amd64        Linux 6.0 for 64-bit PCs (signed)22:00
luis__ii  linux-image-amd64                             6.0.12-1~bpo11+1                   amd64        Linux for 64-bit PCs (meta-package)22:00
gnarfacecareful with the long pastes, the bot might kick you just fyi22:00
gnarfacelooks like you got the right one though22:01
gnarfaceshould be fine22:01
luis__thank you22:02

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