this post was submitted on 13 Feb 2024
21 points (70.6% liked)

Linux

48310 readers
645 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

got told to crosspost over here to reach more people:

https://kbin.social/m/linuxquestions/p/4631784

I don't know if and how crossposting functions in kbin/lemmy, so hopefully it'll work that way

top 50 comments
sorted by: hot top controversial new old
[–] rufus@discuss.tchncs.de 8 points 9 months ago* (last edited 9 months ago) (1 children)

https://asus-linux.org/ seems to have some guides and tutorials.

Generally:

  1. Turn off Safe Boot and features that inhibit booting other operating systems and USB media in your BIOS.
  2. Get the installer running. Try the failsafe and fallback video mode options. Try different distributions next.
  3. Tackle one problem at a time. Google it. Add your hardware in question ("Asus Strix G15") and error message or exact issue ("black screen") to your query.
  4. Get the OS installed and then again do one thing at a time. Get it running first, maybe kernel options again help. Then the proprietary NVidia drivers, then the keyboard illumination and other less important stuff.
  5. If it's running somewhat alright and you're sure you're going to keep it, you can start moving your stuff there and installing applications.

You're somewhat likely to find answers to single issues by googling. Unless the hardware is really new, someone else has faced that issue before. For lots of manufacturers and common hardware, there are dedicated guides, wikis and forums. Try to find those and you might get a step-by-step instruction to get it running. Otherwise you have to isolate single problems by some means to be able to tackle them. This is difficult, especially if there are multiple issues at the same time. But that's why I recommend focusing on one problem at a time and googling it with the most specific query you can come up with.

I'm sorry that your hardware is so difficult to get running. The acpi=off could be a hint. But you have to figure out what exactly is causing the issue. Turning all ACPI off isn't something you want. Maybe you could try installing it this way and see if it's just the installer. Maybe the installed distro (after an update) does better. And choose a recent one with a recent kernel, in case the problem got solved in a recent kernel version.

[–] Varen@kbin.social 4 points 9 months ago* (last edited 9 months ago) (1 children)

@rufus

thanks for taking the time. I already asked over at the asus-linux discord about the issue but got no reactions up until now.

Turn off Safe Boot and features that inhibit booting other operating systems and USB media in your BIOS.

did already, unfortunately not working

Get the installer running. Try the failsafe and fallback video mode options.

all installers (except nobara) do fail when trying to get the bootloader installed, since efibootmgr seems to be in need of the acpi options and I don't get it running with acpi option on.

Tackle one problem at a time. Google it. Add your hardware in question (“Asus Strix G15”) and error message or exact issue (“black screen”) to your query.

that's exactly what I'm trying to do, first and most important (from my understanding) would be to get the OS booted from the USB with acpi on. I am going through google/DDG/qwant/whatever-search-engine to look it up and tried everything I was able to find in relation to my Hardware, but wasn't able to tackle the issue up until now, that's why I'm asking for help all over the reddits/lemmys/kbins/discords...

I can get Nobara - and only Nobara - installed so I can boot without USB, but there as well only with acpi off.

I tried with Fedora, Nobara, ubuntu LTS, pop!_os, GarudaOS, silverblue, Mint, with everyone having the issue not being able to boot without acpi=off and getting to a black screen and USBs (seem) powered off right after choosing the OS in grub.

appreciate your time replying, thank you.

[–] rufus@discuss.tchncs.de 1 points 9 months ago* (last edited 9 months ago) (1 children)

Alright. You should also play with the options for the framebuffer, drm and video modes or forcefully enable some outputs. (I forgot how to do all of that.)

  • nvidia-drm.modeset ...
  • video="vesafb"
  • ...

I'd skip the general acpi=off since that only causes more issues and isn't feasable in the long run anyways. You need to find the option that specifically fixes only the issue with that one component that isn't working correctly.

Another idea: Maybe you can find the error message. Can you perhaps login via SSH from another machine? This would allow you to run dmesg while your screen is black. Maybe the error shows up in the dmesg kernel messages and you can take it from there. (Some installers even allow login from remote, that is a bit tricky but should be documented somewhere with the distro.)

[–] Varen@kbin.social 2 points 9 months ago* (last edited 9 months ago) (1 children)

@rufus

I will try and report back if I can get the dmesg output. But since I guess that the USB gets cut off right before something happens I guess there simply isn‘t.

Will try with the installed Nobara and see, if dmesg catches anything up at all

[–] rufus@discuss.tchncs.de 1 points 9 months ago* (last edited 9 months ago) (1 children)

But once you're trying to extract the log, you need to start it with acpi on. I mean we want to see that error happening.

Maybe paste the whole log somewhere on a pastebin service... If you manage to do it... Sometimes it's not an obvious error message. (...But something like the HDMI port being turned off...)

[–] Varen@kbin.social 2 points 9 months ago (1 children)

@rufus

I‘m afraid that it‘s where it will fail, cause I can‘t get it to work with acpi on

I thought of getting the „bad installed“ (acpi=off) OS, let it start with acpi on and afterwards grab the logs again with acpi off, but don‘t know if that will work…

[–] rufus@discuss.tchncs.de 1 points 9 months ago* (last edited 9 months ago) (1 children)

I don't know what gets written to disk on which distro and which logs are just kept in memory. dmesg alone just shows the current boot. I think if you're doing it that way journalctl --dmesg --boot=-1 would be the correct command. That should do it.

[–] Varen@kbin.social 2 points 9 months ago (1 children)

@rufus
Alright, will try later and report back the outcome / pastebin if I can grab it

[–] rufus@discuss.tchncs.de 1 points 9 months ago* (last edited 9 months ago) (2 children)

Good luck! 😀

(FYI: You can skip mentioning names that way, a direct reply will show up on Lemmy. And if you want to mention someone, you'd need to add the instance name for it to have an effect. i.e. @rufus@discuss.tchncs.de )

[–] Varen@kbin.social 2 points 9 months ago* (last edited 9 months ago) (1 children)

Unfortunately nothing. Did install - reboot with acpi=off, reboot with no acpi parameter, reboot with acpi=off

Dmesg shows for the boot=-1 the first boot after install with acpi=off

No log for the try without acpi parameter 😢😢

Booting with acpi=off shows many logs with „IRQ not found for nvidia …“ (in the meaning, not wordly).

Edit: can‘t find an irq for your nvidia card

Edit 2: found a boot.log file. When trying to boot without acpi=off then no log is written, the bootprocess doesn‘t even start. From this point of view I‘d guess a Problem with UEFI. Still no idea what and where, but it‘s not graphics related if the bootprocess doesn‘t start at all… what d‘you think?

[–] rufus@discuss.tchncs.de 1 points 9 months ago (2 children)

I think you can safely ignore all the errors that happen while acpi=off. That will switch all kinds of things around and the operating system can't set up the hardware properly without it, so it is to be expected that half the things crap out and throw error messages. Could be a red herring anyways.

Are you sure Secure Boot is switched to "Other OS"? (see https://www.asus.com/support/faq/1049829/ ) You could verify that with the 'msinfo32' in the guide.

And I'm really not sure if it's the UEFI. From your description it seems you're getting to the boot loader and something happens after... Maybe try not messing with the acpi, but removing the "quiet" and "splash" if they're there and adding "nomodeset" instead. After you hit Enter (or Ctrl-X with Grub) the early kernel messages should pop up. Something with loading and initrd or like that. What happens then? Does it load the kernel? Do additional log messages with a boot process appear? (If it's too fast, you can try a video recording of your screen with your phone.)

[–] Varen@kbin.social 2 points 9 months ago (3 children)

took the video
https://youtu.be/855QTzZlhWk
as you can see, absolutely nothing happens or shows up. (still uploading rn, should be available shortly)

[–] rufus@discuss.tchncs.de 1 points 9 months ago* (last edited 9 months ago) (1 children)

I have another kernel option for you to try: "earlyprintk is useful when the kernel crashes before the normal console is initialized. It is not enabled by default because it has some cosmetic problems."

  • earlyprintk=vga,keep debug
  • earlyprintk=efi,keep or earlyprintk=bios,keep

I'm not sure if it gets you anywhere, but it could make the fist kernel messages show up.

And you could try replacing the acpi=off with acpi=noirq. If it's something with the interrputs, there are extra options like apic=irqfixup or nolapic (mind the difference apic <-> acpi). (Taken from this document)

I had the time to google a bit and I was right, I am about to run out of ideas. There is a good general guide in the arch wiki on how to approach issues:

https://wiki.archlinux.org/title/General_troubleshooting#Boot_problems

Maybe also read that, but that's pretty much it.

[–] Varen@kbin.social 2 points 9 months ago (8 children)

Wow thank you so much for keeping up on it!

I tried the earlyprintk options, but unfortunately none of them did work. Neither did the orher acpi options show up something, I do still have the exact same behaviour :(

I will work through the troubleshoot link you pasted, thank you as well for that.

Appreciate your help, I guess I‘ll start thinking about replacing the mobo

load more comments (8 replies)
[–] PipedLinkBot@feddit.rocks 1 points 9 months ago

Here is an alternative Piped link(s):

https://piped.video/855QTzZlhWk

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] rufus@discuss.tchncs.de 1 points 9 months ago* (last edited 9 months ago) (1 children)

Really weird. Honesty, I currently have no idea how to proceed. Maybe I can google a bit later/tomorrow. But it's not looking good. There doesn't seem to be any good information out there concerning that mainboard an Linux. And since we don't get an error message there isn't a clear thing to begin with.

I would have expected at least something happening on the video. Maybe a few lines of text and then the screen flickering and going to black... But nothing?

[–] Varen@kbin.social 2 points 9 months ago (3 children)

yeah, that's the reason I am so desperate ... I understand, so maybe about time to look around for a new mobo?
anyways, I wanted to thank you very much for your time and effort in figuring out and trying to help me, I really do appreciate it very much!

load more comments (3 replies)
[–] Varen@kbin.social 2 points 9 months ago* (last edited 9 months ago)

Yes, secure boot is set to Other OS - if set otherwise there’s a message after grub that secure boot is active, so pretty sure about that.

Unfortunately it doesn‘t show anything, even with no parameters at all. The only thing that shows up when changing the grub parameters is the „booting a command line“ message which stays there forever, nothing happens.
I‘ll record it with my phone when I get home later on today with the nomodeset parameter.

[–] Varen@kbin.social 2 points 9 months ago

Yeah thank you, I really hope we‘ll get some progress.

(Not doing it on purpose, it‘s just how kbin behaves 😅 really thinking about dropping it and give lemmy a try. Originally decided for kbin because I wanted both worlds but since the behaviour is so strange …yeah 😉)

[–] anamethatisnt@lemmy.world 5 points 9 months ago* (last edited 9 months ago) (1 children)

On lemmy you can crosspost with the icon that looks like two squares

Newest post at !linuxquestions@kbin.social right now.
lemmy.world link to the kbin post: https://lemmy.world/post/11837434
lemmy.ml link to the kbin post: https://lemmy.ml/post/11776524
lemm.ee link to the kbin post: https://lemm.ee/post/23411356

[–] Varen@kbin.social 1 points 9 months ago

@anamethatisnt
Thanks for helping out, kbin kind of doesn‘t have the option but the functionality 🤷🏻‍♂️

[–] lemmyreader@lemmy.ml 2 points 9 months ago (1 children)
[–] Varen@kbin.social 2 points 9 months ago* (last edited 9 months ago) (1 children)

@lemmyreader

tried just right now. I get „booting a command list“ and nothing more, stays like that and USB Devices seem to be off.

[–] lemmyreader@lemmy.ml 2 points 9 months ago (1 children)

Okay, too bad, thanks for trying. Nvidia apparently is a pain with Linux currently. Years ago it was the opposite, people were told to go for Nvidia.

With Ventoy https://www.ventoy.net/en/index.html you can put lots of Linux iso images on one usb stick which can save you some time. For example try OpenSuse https://en.opensuse.org/SDB:NVIDIA_drivers

[–] Varen@kbin.social 2 points 9 months ago* (last edited 9 months ago) (2 children)

@lemmyreader
Thank you for the suggestion, I really do appreciate anyone who could have a clue what could go wrong and takes the time trying to help me out.

Yeah, Ventoy is the latest I had to burn the ISOs on the USB and stayed with it since :)

[–] lemmyreader@lemmy.ml 2 points 9 months ago (1 children)

Thank you for the suggestion, I really do appreciate anyone who could have a clue what could go wrong and takes the time trying to help me out.

Tried nvidia-drm.modeset=1 as kernel parameter already ?

Yeah, Ventoy is the latest I had to burn the ISOs on the USB and stayed with it since :)

:)

[–] Varen@kbin.social 1 points 9 months ago

I tried so many parameter, that i can‘t remember anymore everyone ^^ but tried just now, unfortunately no change, same behavior

[–] lemmyreader@lemmy.ml 2 points 9 months ago (2 children)

You could try this The OP installed the drivers from an older iso and then upgraded. Manjaro Linux is not very much liked by many but you could give it a try. If it works you can go for plain Arch or EndeavourOS. From what I found the closed source Nvidia driver exist since 2022 so don't use an iso that is too old :-)

[–] Varen@kbin.social 2 points 9 months ago

ok took me 3 days to test, apologies :D
but unfortunately, no, doesn't work. Even the "old" iso stucks at the exact same position with the exact same behavior :(

[–] Varen@kbin.social 1 points 9 months ago (1 children)

Will have look into it and try it out, but will need some time. Will defo reply back once tested 👍🏻 thank you!

[–] lemmyreader@lemmy.ml 2 points 9 months ago
[–] orsetto@lemmy.dbzer0.com 2 points 9 months ago (1 children)

Unfortunately i can't help you, but just to be sure, have you downloaded the -nvidia version of the ISO? In case, check it out

Also try not to daily run with acpi=off, especially on a laptop, as it won't be very power efficient

[–] Varen@kbin.social 2 points 9 months ago

@orsetto
it's not a laptop, it's a desktop.
Yes, I did download the -nvidia versions, didn't do the trick and daily run it with acpi=off is no option since many things don't work anyways with that setting

[–] WeLoveCastingSpellz@lemmy.dbzer0.com 1 points 9 months ago (1 children)

I have a g15 from the same year (3060) asus linux website is the way,they have a discord too

[–] Varen@kbin.social 2 points 9 months ago (2 children)

yeah ... as you can see in one of my other comments, I already joined the asus-linux discord and asked the "same" question (really, nearly with the exact same words...) and got , unfortunately, absolutely no reaction to it (besides on comment about "you need to disable the nouveau driver")...

[–] lemmyreader@lemmy.ml 2 points 9 months ago (1 children)

Lots of people to the time to reply here and at kbin.

It probably will not hurt to also ask on https://superuser.com/ https://stackexchange.com/ and Reddit linuxquestions or another appropriate subreddit. To me it seems like Discord is similar like IRC : questions will get snowed under after others write newer things and your reading audience is likely decreasing.

And a question : What are your plans with Linux on your desktop ?

  • Gaming ?
  • Coding ?
  • Reading books and watching videos ?
  • Web surfing ?
  • Social media ?

If you are interested in learning more Linux then a refurbished laptop is a good start to run Linux natively without a dual boot.

[–] Varen@kbin.social 2 points 9 months ago (1 children)

Don‘t get me wrong, I‘m not complaining at all, in contrary, I am enormous grateful for any help I get.
I posted alread in reddit as well - subreddits r/Nobara, r/linux4noobs and r/linuxquestions
Asus-Linux has a thready-like area in their discord „general-issues“, where I made the thread…

At first it is to learn how everything behaves, test my use-cases to see, if linux could become an all-dayer for me - that would be the main goal - until then the dual-boot to have a fallback option.

[–] lemmyreader@lemmy.ml 1 points 9 months ago (1 children)

Don‘t get me wrong, I‘m not complaining at all, in contrary, I am enormous grateful for any help I get. I posted alread in reddit as well - subreddits r/Nobara, r/linux4noobs and r/linuxquestions Asus-Linux has a thready-like area in their discord „general-issues“, where I made the thread…

Cool. 👍

At first it is to learn how everything behaves, test my use-cases to see, if linux could become an all-dayer for me - that would be the main goal - until then the dual-boot to have a fallback option.

In that case, VirtualBox and other emulators could be useful to look into. And WSL may be limited (I've read) but also useful. Never tried WSL but a friend of mine is happy with it.

[–] Varen@kbin.social 1 points 9 months ago

yeah, already played around with VirtualBox and WSL, but there are use-cases (e.g. in gaming) where just an emulation can't really show what's possible and what not, that's why I would love to have the dualboot, so I can reliably test everything without any excuses like "runs probably bad because of emulation"

[–] WeLoveCastingSpellz@lemmy.dbzer0.com 2 points 9 months ago (1 children)

I will try to help you troubleahoot it when I am free

[–] Varen@kbin.social 2 points 9 months ago (1 children)

what is ur discord, I am free now

load more comments
view more: next ›