libera/#devuan/ Saturday, 2023-02-25

spac3r_Hello,01:04
spac3r_Thanks to this irc channel i managed to run beowulf on an olde Mac mini 3,1 early 2009 with the dreaded nvidia GeForce 9400M gpu. Few weeks ago i updated the system, after that the screen goes black after booting, approx. after displaying 'tuptime' in the fast-moving list of [ info ] [ ok ] messages.01:04
spac3r_Black screen in recovery mode 4.9.0-19-amd64 and 4.19.0-21-amd64 also.01:04
spac3r_Is there a way to fix this?01:04
ErRandirTry booting with nomodeset on the kernel command line.12:01
xrogaanAlright, real talk. What with these release names with 'ae' in the name? Chimaera, Daedalus... What will be next?16:29
onefangI did request that we start using names that are easier to spell.  lol16:30
xrogaanPlatypus!16:35
onefangThis Aussie likes it.16:35
golinuxMaybe we'll get there in 30 years17:00
golinuxRemember . . . alphabetical order17:01
onefangAnd minor planets.17:07
golinuxYup . . .17:09
spac3r26ErRandir, are these the steps to add nomodeset, https://askubuntu.com/a/3878219:15
spac3r26In grub i changed the line to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"19:26
spac3r26restart, login19:26
spac3r26$ startx19:26
spac3r26xinit: giving up19:26
spac3r26xinit: unable to connect to X server: Connection refused19:26
spac3r26xinit: server error19:26
gnarfacecheck the xorg log for errors19:28
spac3r26~/.local/share/xorg/Xorg.1.log is open. No error message that i see. What should i look for?19:38
spac3r26Ah, Fatal server error: AddScreenInit failed for driver 019:42
spac3r26Only error in the log19:43
gnarfacespac3r26: look for lines with "(EE)" on them for errors, there's certainly gotta be more than just that one19:58
gnarfacealso, it should absolutely not be Xorg.1.log unless Xorg.0.log is already opened by another xorg instance (which could be the problem in and of itself)20:03
rwpspac3r_, Run "cat /proc/cmdline" to confirm that your changes made it to the Linux kernel command line.21:35
rwpIf not then did "update-grub" get run after making those file edits in order to update the "compiled / frozen" grub config files?21:36
spac3r_Yes, i had run update-grub22:53
spac3r_cat /proc/cmdline22:53
spac3r_BOOT_IMAGE=/boot/vmlinuz-4.19.0-21-amd64 root=UUID=12345678a-etc-etc ro quiet splash nomodeset22:53
gnarfacespac3r_: any updates on the xorg logs?22:54
spac3r_yes, i'm copying them22:55
gnarfaceby hand or something? what's taking so long?22:59
spac3r_i'm typing them22:59
gnarfacecertainly there's a better way to do that23:00
spac3r_(EE) systemd-logind:failed to get session: The name org.freedesktop.login1 was not provided by any .service files23:01
spac3r_(EE) modeset(0): drmSetMaster failed: Permission denied23:01
spac3r_(EE) Fatal server error:23:01
spac3r_(EE) AddScreen/ScreenInit failed for driver 023:01
spac3r_(EE)23:01
spac3r_(EE)23:01
spac3r_(EE) Please also check log file "/home/mini/.local/share/Xorg.1.log" for additional information.23:01
spac3r_(EE) Server terminated with error (1). Closing log file.23:01
gnarfacepermission denied23:02
gnarfaceadd yourself to the video group23:02
gnarfacebut xorg is probably already running elsewhere since it iterated the log name index23:03
gnarfacefor example, maybe you forgot to disable the graphical login daemon before deciding to use startx?23:03
gnarfacethat could cause issues too, but in your case it looks like it might just be permissions23:06
spac3r_i wouldn't know how to disable the graphical login daemon. I'm searching how to add user to video group23:06
spac3r_startx was just a try after the blank screen appeared23:07
gnarfacethat might be a separate issue, what video hardware is this?23:08
spac3r_before the update beowulf booted into xfce4 by itself23:08
gnarfaceyou can enable and disable daemons easiest with the sysv-rc-conf tool23:08
gnarface(assuming you're still using the default init)23:08
spac3r_nvidia GeForce 9400M gpu23:09
gnarfaceoh, you might need non-free drivers for that one23:09
gnarfacecould also be part of the problem23:09
gnarfaceget the errors from the Xorg.0.log23:10
spac3r_xfce4 ran without issues, so i'm guessing non-free is in sources.list23:12
gnarfaceincidentally, if you're typing the errors because you have no mouse cursor, you can get a mouse cursor on the system terminals by installing gpm23:12
gnarfacewell make sure non-free is in the sources.list and run "dpkg -l |grep -i nvidia" to make sure the drivers are installed from it23:13
gnarfacebecause if you were using the open-source drivers before, it wouldn't be uncommon for them to experience regressions23:13
spac3r_sorry, where is Xorg.0.log23:13
gnarfaceshould be in the same directory you got the other from23:14
gnarfaceit would either be /var/log/ or ~/.local/share/xorg/23:14
gnarfacedo look at the timestamp on the file to make sure it's even the current one23:15
gnarfacexorg should *replace* its log file every start-up23:15
gnarfaceand it won't make a second one unless there was already a xorg process running23:16
spac3r_~/.local/share/xorg/ contains only Xorg.1.log23:24
spac3r_ Xorg.0.log is in /var/log and displays other errors:23:24
spac3r_(EE) Failed to load module "nv" (module does not exist, 0)23:24
spac3r_(EE) [drm] Failed to open RM device for pci:0000:02:00.0: -1923:24
spac3r_(EE) open /dev/dri/card0: No such file or directory23:24
spac3r_(EE) Unable to find a valid framebuffer device23:24
spac3r_(EE) Screen 0 deleted because of no matching config section.23:24
spac3r_(EE) Fatal server error23:24
spac3r_(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices23:24
spac3r_(EE) Server terminated with error (1). Closing log file23:24
spac3r_Are the numbers, for ex [  1692.515] before (EE) timestamps?23:24
gnarfaceyes23:24
gnarfacemissing /dev/dri/card0, not permission denied. that suggests you're missing the drivers23:25
gnarfacerun "dpkg -l |grep -i nvidia"23:26
onefang"(EE) Failed to load module "nv" (module does not exist, 0)" also says the driver ain't there.23:26
spac3r_$ dpkg -l |grep -i nvidia23:27
spac3r_$23:27
spac3r_produces a new prompt23:27
gnarfacenothing23:27
gnarfacedefinitely missing the drivers then23:27
gnarfaceonefang: that's the old open source driver, i dunno why it still even tries that. it tries a bunch of other drivers too for some dumb reason. the one it's most likely settling on is nouveau23:28
onefangIt's been a couple of years since I last used nVidia graphics.23:29
onefangAnd I'm falling asleep.  lol23:30
* onefang heads to bed.23:30
spac3r_up until i did apt-get update a few weeks ago xfce4 was fine. i don't fix what's not broken and don't have this level of linux knowledge23:31
spac3r_so i need to (re?)install nouveau23:32
gnarfacei understand your complaint, i'm trying to walk you through the debugging process. we don't actually know what happened yet, but there's not many things it can be.23:32
gnarfacemy two going theories are that you had the nvidia legacy drivers and the update uninstalled them due to a package name change and you didn't notice, or maybe you were using nouveau all along and the updated version is broken.23:33
gnarfaceto be clear, reinstalling nouveau won't ever help anything23:34
spac3r_no complaint, thank you for the patience and help23:34
gnarfaceso, run this command: apt-cache search ^nvidia23:35
spac3r_4 results, typing..23:38
gnarfaceno, don't bother23:38
gnarfacethere should be like 24 results23:38
gnarfaceyou're missing non-free23:38
gnarfacemay have been changed to non-free-firmware depending on your release23:38
gnarfacedid you say you just updated beowulf or did you upgrade to the next release?23:39
spac3r_apt-get update23:40
spac3r_apt-get upgrade23:40
gnarfacerun these:23:40
gnarfacedpkg -l |grep linux-image23:40
gnarfacedpkg -l |grep linux-headers23:40
spac3r_staying on beowulf because of the video limitations23:42
spac3r_dpkg -l |grep linux-image23:44
spac3r_4.19.0-21-amd6423:44
spac3r_4.9.0-19-amd6423:44
spac3r_dpkg -l |grep linux-headers23:45
spac3r_4.19.0-21-amd6423:45
spac3r_4.19.0-21-amd64-common23:45
gnarface"uname -a" shows you're running the 4.19 one?23:45
spac3r_4.19.0-21-common*23:45
gnarfacethere's no package just called "linux-image-amd64" ...?23:45
spac3r_yeah i abbreviated23:46
gnarfacethere is?23:46
spac3r_uname -a23:48
spac3r_Linux mini 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux23:48
spac3r_linux-image-amd64 4.19.249-223:52
spac3r_linux-image-amd64 4.9.320-223:52

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