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 |
ErRandir | Try booting with nomodeset on the kernel command line. | 12:01 |
xrogaan | Alright, real talk. What with these release names with 'ae' in the name? Chimaera, Daedalus... What will be next? | 16:29 |
onefang | I did request that we start using names that are easier to spell. lol | 16:30 |
xrogaan | Platypus! | 16:35 |
onefang | This Aussie likes it. | 16:35 |
golinux | Maybe we'll get there in 30 years | 17:00 |
golinux | Remember . . . alphabetical order | 17:01 |
onefang | And minor planets. | 17:07 |
golinux | Yup . . . | 17:09 |
spac3r26 | ErRandir, are these the steps to add nomodeset, https://askubuntu.com/a/38782 | 19:15 |
spac3r26 | In grub i changed the line to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" | 19:26 |
spac3r26 | restart, login | 19:26 |
spac3r26 | $ startx | 19:26 |
spac3r26 | xinit: giving up | 19:26 |
spac3r26 | xinit: unable to connect to X server: Connection refused | 19:26 |
spac3r26 | xinit: server error | 19:26 |
gnarface | check the xorg log for errors | 19:28 |
spac3r26 | ~/.local/share/xorg/Xorg.1.log is open. No error message that i see. What should i look for? | 19:38 |
spac3r26 | Ah, Fatal server error: AddScreenInit failed for driver 0 | 19:42 |
spac3r26 | Only error in the log | 19:43 |
gnarface | spac3r26: look for lines with "(EE)" on them for errors, there's certainly gotta be more than just that one | 19:58 |
gnarface | also, 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 |
rwp | spac3r_, Run "cat /proc/cmdline" to confirm that your changes made it to the Linux kernel command line. | 21:35 |
rwp | If 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-grub | 22:53 |
spac3r_ | cat /proc/cmdline | 22:53 |
spac3r_ | BOOT_IMAGE=/boot/vmlinuz-4.19.0-21-amd64 root=UUID=12345678a-etc-etc ro quiet splash nomodeset | 22:53 |
gnarface | spac3r_: any updates on the xorg logs? | 22:54 |
spac3r_ | yes, i'm copying them | 22:55 |
gnarface | by hand or something? what's taking so long? | 22:59 |
spac3r_ | i'm typing them | 22:59 |
gnarface | certainly there's a better way to do that | 23:00 |
spac3r_ | (EE) systemd-logind:failed to get session: The name org.freedesktop.login1 was not provided by any .service files | 23:01 |
spac3r_ | (EE) modeset(0): drmSetMaster failed: Permission denied | 23:01 |
spac3r_ | (EE) Fatal server error: | 23:01 |
spac3r_ | (EE) AddScreen/ScreenInit failed for driver 0 | 23: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 |
gnarface | permission denied | 23:02 |
gnarface | add yourself to the video group | 23:02 |
gnarface | but xorg is probably already running elsewhere since it iterated the log name index | 23:03 |
gnarface | for example, maybe you forgot to disable the graphical login daemon before deciding to use startx? | 23:03 |
gnarface | that could cause issues too, but in your case it looks like it might just be permissions | 23:06 |
spac3r_ | i wouldn't know how to disable the graphical login daemon. I'm searching how to add user to video group | 23:06 |
spac3r_ | startx was just a try after the blank screen appeared | 23:07 |
gnarface | that might be a separate issue, what video hardware is this? | 23:08 |
spac3r_ | before the update beowulf booted into xfce4 by itself | 23:08 |
gnarface | you can enable and disable daemons easiest with the sysv-rc-conf tool | 23:08 |
gnarface | (assuming you're still using the default init) | 23:08 |
spac3r_ | nvidia GeForce 9400M gpu | 23:09 |
gnarface | oh, you might need non-free drivers for that one | 23:09 |
gnarface | could also be part of the problem | 23:09 |
gnarface | get the errors from the Xorg.0.log | 23:10 |
spac3r_ | xfce4 ran without issues, so i'm guessing non-free is in sources.list | 23:12 |
gnarface | incidentally, if you're typing the errors because you have no mouse cursor, you can get a mouse cursor on the system terminals by installing gpm | 23:12 |
gnarface | well make sure non-free is in the sources.list and run "dpkg -l |grep -i nvidia" to make sure the drivers are installed from it | 23:13 |
gnarface | because if you were using the open-source drivers before, it wouldn't be uncommon for them to experience regressions | 23:13 |
spac3r_ | sorry, where is Xorg.0.log | 23:13 |
gnarface | should be in the same directory you got the other from | 23:14 |
gnarface | it would either be /var/log/ or ~/.local/share/xorg/ | 23:14 |
gnarface | do look at the timestamp on the file to make sure it's even the current one | 23:15 |
gnarface | xorg should *replace* its log file every start-up | 23:15 |
gnarface | and it won't make a second one unless there was already a xorg process running | 23:16 |
spac3r_ | ~/.local/share/xorg/ contains only Xorg.1.log | 23: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: -19 | 23:24 |
spac3r_ | (EE) open /dev/dri/card0: No such file or directory | 23:24 |
spac3r_ | (EE) Unable to find a valid framebuffer device | 23:24 |
spac3r_ | (EE) Screen 0 deleted because of no matching config section. | 23:24 |
spac3r_ | (EE) Fatal server error | 23:24 |
spac3r_ | (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices | 23:24 |
spac3r_ | (EE) Server terminated with error (1). Closing log file | 23:24 |
spac3r_ | Are the numbers, for ex [ 1692.515] before (EE) timestamps? | 23:24 |
gnarface | yes | 23:24 |
gnarface | missing /dev/dri/card0, not permission denied. that suggests you're missing the drivers | 23:25 |
gnarface | run "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 nvidia | 23:27 |
spac3r_ | $ | 23:27 |
spac3r_ | produces a new prompt | 23:27 |
gnarface | nothing | 23:27 |
gnarface | definitely missing the drivers then | 23:27 |
gnarface | onefang: 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 nouveau | 23:28 |
onefang | It's been a couple of years since I last used nVidia graphics. | 23:29 |
onefang | And I'm falling asleep. lol | 23: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 knowledge | 23:31 |
spac3r_ | so i need to (re?)install nouveau | 23:32 |
gnarface | i 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 |
gnarface | my 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 |
gnarface | to be clear, reinstalling nouveau won't ever help anything | 23:34 |
spac3r_ | no complaint, thank you for the patience and help | 23:34 |
gnarface | so, run this command: apt-cache search ^nvidia | 23:35 |
spac3r_ | 4 results, typing.. | 23:38 |
gnarface | no, don't bother | 23:38 |
gnarface | there should be like 24 results | 23:38 |
gnarface | you're missing non-free | 23:38 |
gnarface | may have been changed to non-free-firmware depending on your release | 23:38 |
gnarface | did you say you just updated beowulf or did you upgrade to the next release? | 23:39 |
spac3r_ | apt-get update | 23:40 |
spac3r_ | apt-get upgrade | 23:40 |
gnarface | run these: | 23:40 |
gnarface | dpkg -l |grep linux-image | 23:40 |
gnarface | dpkg -l |grep linux-headers | 23:40 |
spac3r_ | staying on beowulf because of the video limitations | 23:42 |
spac3r_ | dpkg -l |grep linux-image | 23:44 |
spac3r_ | 4.19.0-21-amd64 | 23:44 |
spac3r_ | 4.9.0-19-amd64 | 23:44 |
spac3r_ | dpkg -l |grep linux-headers | 23:45 |
spac3r_ | 4.19.0-21-amd64 | 23:45 |
spac3r_ | 4.19.0-21-amd64-common | 23:45 |
gnarface | "uname -a" shows you're running the 4.19 one? | 23:45 |
spac3r_ | 4.19.0-21-common* | 23:45 |
gnarface | there's no package just called "linux-image-amd64" ...? | 23:45 |
spac3r_ | yeah i abbreviated | 23:46 |
gnarface | there is? | 23:46 |
spac3r_ | uname -a | 23:48 |
spac3r_ | Linux mini 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux | 23:48 |
spac3r_ | linux-image-amd64 4.19.249-2 | 23:52 |
spac3r_ | linux-image-amd64 4.9.320-2 | 23:52 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!