It's my first day on Linux, and its been a little painful. I have a prebuilt pc with a Gigabyte Motherboard and 3060ti, it previously ran windows, the SSD Linux is currently installed on is fresh. I disabled secure boot and used the Driver Manager to install the drivers. 580 (recommended) and 570 both result in a "no signal" upon boot. I hit esc while the logo was still going to get into what I assume is a safe mode, then had success with 535. I decided to test things out with a game on steam (which really narrows down problems) Age of Darkness, I think it was an Unreal game, worked with proton 10, but I had no sound. With proton experimental i got an error about my gpu not supporting shader level 5 and... d3d11 or something along those lines, forgot to screen shot that. I was hoping somebody could point me in the right direction. As far as I can tell the 535 driver installed correctly, I do hear system sounds, and as far as I can tell it works. But I am pretty far out of my comfort zone atm. Any help/guidance would be appreciated. I am an aspiring game dev, so having the gpu function correctly with shaders/vulkan is pretty important.
#Another sad Nvidia Linux Mint Cinnamon
270 messages · Page 1 of 1 (latest)
does 550 exist?
which kernel are you running?
I'm running my old GTX 970 on 580 driver with 6.8.0 kernel. No issues.
his card is much newer
Do you dualboot?
no, just linux
I meant @rapid brook
oh sorry. I'll be quiet 🙂
Hey, Not dual booting, I just removed the SSD with windows and havent put it in yet, preferably i never will 🤣
when i booted today... immediately after the grub i went straight to pure black screen, and was forced to power down and try again, it wasnt until i booted with the usb and hit restart there.. that somehow this worked this time? idk
Have you disabled fast startup in windows?
I dont remember if i disabled that when i got the pc in the first place... thats in the bios right?
No, that's in windows
oh, in that case... the only windows on this pc atm is the boot info in the bios. windows has never touched the 1 sdd in the pc right now
going through dmesg, i found 2 reds
make that 3
Looks ok. What was the problem again?
well... when i just turned it on today... it boots to a black screen... where i have not choice but power down
hitting esc just shows the grub briefly before black screen. I just started trying linux yesterday... so I likely just dont know hot to properly access safe modes or debugs idk...
But you're clearly booted now
yeah... i dont know why... this time worked and the 2-3 boots before didnt
the only difference this time... was i booted from usb. then restarted
Is this a desktop or laptop?
desktop
hmm.... Show output of
lsblk -f
and
cat /etc/fstab
Do you have a "fast boot" option in bios?
dunno... let me go look
It's disabled
so... yeah... just booted again no problem... seems intermittent 😞
OH! found some crash logs from my boots right before talking to you!
What are windows 10 features, and show me secure boot options
secure boot is disabled, that screen doesnt show that until you "click" on it
the crashes always start here
ill jump into the bios again...
Does it boot ok now?
Use "reset to setup mode", just to be sure and save settings
I can't click or move to the ones with the yellow blocks, including reset to setup mode
Some bioses require that you set a password first. Just remember it so you can disable it after
So... If I set secure boot to custom, I can restore factory keys and enter audit mode, reset to setup still gets skipped
Then is I switch back to standard
I've entered no each time and it shows standard again
In the security tab, there should be an option to set a password
Set an admin password?
most likely
Can you access key management then?
Yeah
What's there?
Yeah got it written
Setting secure boot to disabled didn't stop this all from firing? I feel pretty uneasy about changing anything here
maybe you need to save and restart - if you enter with the password maybe they'll go away
Ok so setting the password made before bios activate require the password
No changes in the bios
I cleared it back out
The bios is one of the Y versions, that I don't think I can flash to a more current from the manufacturer, it was prebuilt
Secure boot it set to disabled, and it remembers the last setting when it boots, so I can switch as needed.
check in mint with
mokutil --sb-state
Good. So do you still get a black screen on boot?
i think i have booted 4-5 times in a row with no problem? same was true last night though...
https://github.com/nulls0x0/mint-setup/blob/master/mint-22_2-nvidia-gaming-setup-guide.md is this a better way to install the nvidia drivers?
No, you install nvidia drivers from driver manager
i see... then my current result is the best it will get?
Rtx cards should handle driver 580
it should, but 570 and 580 make it unusable. after the reboot from installing the driver, i get no signal.
its had to do much of anything with no visual
can you screenshot the driver manager window?
is there a way to restore the point before boot? in the event that trying those drivers break things again?
Yeah, it recommends 580-open and you try regular one
sudo apt install nvidia-driver-580
so... do it in the terminal vs the driver manager?
via terminal
I don´t have the open drivers, is that related to the kernel version in use?
What they call -open is only partially open, and can be wonky on some systems
5 sanity checks. I hope it didnt roll and 1s 🤣
its done what it was doing. I kinda expected to be prompted to reboot. also... whats up with the nonexistent thing?
what does
dkms status
say?
looks ok. try restarting
try reconnecting hdmi cable
i hit the power button on the computer, and it shut down a few moments later... thats the only thing that seems to do anything i can tell there
booted again, his esc when the linux logo popped up and now i am back on
doesnt looks like it populated a crash log this time
so.... when exactly does it hit the black screen?
i see the gigabyte, then the linux logo. it happens before desktop appears and before password prompt
when it just happened, and i reboot afterwards, i always hit esc during the logo
things go really fast there... but i always see some nvidia stuff in red... orange this last time
Ok are you on the desktop now?
yeah
what does
dmesg | grep -i nvidia
says?
sorry.. what key do i press to get that I?
shift + \
its.. probably because i am using a tv as a monitor... and the tv does suck
tv as a monitor?
Does your tv have a Pc mode or game mode?
it has always worked before... and it does detect the native 4k resolution. I changed it to 1080p because things were too small
I meant settings on the tv
i dont really mess with those... the tv just randomly freezes, and i occasionally have to factory reset it. its like they designed it with a memory leak or something... 10/10 never buying an element tv again
on the other hand... i have dealt with it enough that i can recognize when it is the source of the headache vs a gaming console or pc
i dont think a tv could cause crash logs
It's late here, I'll continue tomorrow
I appreciate the help!
this was definitely an improvement though! got sound in a game (using playing a game in steam as a baseline to see if things will work out for me)
update* tested 5 steam games... all of them work! I think the gpu trouble is good now! that last install worked!
This is probably true now. I havent found any issues outside of the tv now, no more crashing. If it doesn't pick up a signal right the first time, i get no signal now, but typing the password brings the screen back when the desktop opens up, with mixed results
I really appreciate all of your help! You are awesome!
My bet is that you're occasionally get a black screen / no signal because of wonky display (tv) EDID detection. Do you want to work on that?
oh wow... you'd help with that?
it seems to be intermittent. i ran the terminal command that revealed the edid issue earlier, it is not saying it couldnt get them right now
We can try and see if it gets better
I set it to game mode... But I am pretty sure this "smart TV" just thinks that means darker 🤣
The only thing i can think of is to update the firmware and pray the manufacturer finally cared enough to fix things in the software
I am 90% sure the cable is not an issue, I bought one specifically for it shortly after getting it
even in windows it occasionally just went black screen, but switching inputs back and forth always fixed the problem, it seems the linux driver may be slightly more picky. But another thing this TV does is become unresponsive (which i never notice until i try to change the volume or turn it off, also... this is when it performs the best 🤣 , until i have to unplug it)
and it had the same behavior with consoles as well. I just went through all the settings and theres no passthrough on the OG firmware
We can try capturing the EDID on a "good boot", then force mint to use it regardless of TV being flaky about it. Hopefully that'll fix most of the no signal outcomes
oh dude you are awesome!
After I had breafast then
Ok, let's see what port is your tv connected to. In the terminal run
for p in /sys/class/drm/*/status; do echo -n "${p%/status}: "; cat "$p"; done | grep -i hdmi
@rapid brook
HDMI-A-1 then. Ok, next type these.
sudo apt install read-edid edid-decode -y
sudo get-edid > ~/element-tv.bin
edid-decode ~/element-tv.bin
alright.. dont see anything that failed...
What does last command say?
preferably, but it seems it worked
Next type these
sudo mkdir /lib/firmware/edid
sudo cp ~/element-tv.bin /lib/firmware/edid
ls /lib/firmware/edid
What does last command say?
ok. next type
sudo xed /etc/default/grub
Yeah, you need to edit 1 line so that it'll look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm.edid_firmware=HDMI-A-1:edid/elevent-tv.bin nvidia-drm.modeset=1"
yeah. save the file and close the editor, then run
sudo update-grub
sudo update-initramfs -u -k all
the terminal populated this when i hit save
that's fine
ok... so close it and continue
yeah
ok. now restart it a few times, see how it goes
kk
ok.... rebooted 3 times with 3 different results
1st time, went no signal, i typed the password then it came up perfect
rebooted second time, went no signal, typed password, then resolution was set to 4k and nothing had x on it, and the bar at the bottom did not populate, also couldnt launch anything or shutdown via keyboard commands, had to hard power off, a quick press of the power button did nothing, had to hold it.
3rd time... just worked like it should 🤷♂️
And 535 driver booted fine every time?
i didnt check, but the instal of the 580 you walked me through in the terminal seems to have worked reliably
is there a way to slow down the grub when you push esc on the linux logo during boot?
not really, why?
you can see the boot messages in a log somewhere
/var/log and then boot.log I think
Anyway, let's try something. type
sudo xed /etc/default/grub
and add video=HDMI-A-1:e to the end of the line we edited earlier
that's interesting.... close the file, don't save and run
dmesg | grep -i edid
What does
ls -l /lib/firmware/edid/element-tv.bin
say?
left side seems cut off
Ok, let's try this
sudo mv /lib/firmware/edid/element-tv.bin /lib/firmware/element-tv.bin
sudo rmdir /lib/firmware/edid
ls -l /lib/firmware/element-tv.bin
@rapid brook
Ok, next type
sudo xed /etc/default/grub
and change the line to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm.edid_firmware=HDMI-A-1:element-tv.bin nvidia-drm.modeset=1"
good. Save and close, then run
sudo update-grub
sudo update-initramfs -u -k all
ok, restart and run
dmesg | grep -i edid
No errors this time. Ok restart a few times, see how it goes
Ah can't really see
I used the welcome thing to reach the display, which is populating blanks
Is there a way to shutdown without cutting power?
You don't get black screens anymore, but the brightness is off?
This time small res, no bar can't get terminal
3 fails in a row, should I load a snapshot?
how do you bring these programs up then?
I keep the welcome going
It's often the only thing I can interact with when it boots wrong
try ctrl+alt+esc
can you get the menu?
Ok, let's undo what we did then. In the terminal type
sudo xed /etc/default/grub
change the line back to original GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
save the file, close the editor and run
sudo update-grub
yeah. if it goes black screen, just type your password and hit enter
Loaded wrong again, 4k res and no background/bottom bar
Ctrl Alt t does not bring up terminal
you mentioned having to reset the tv now and then
Yeah that's usually when a no signal shows up, switching inputs fixes it on windows, just power off the TV and unplugged it, then turned it back on
No change on the Linux side
Well I undid the changes I made, so I guess get a normal monitor / tv. I'm out of ideas
I just did a restore to right after the gpu update
also found that by adding terminal as an icon on the desktop, you can access it before the system fully freezes
this could also be a potential GPU seating issue
since it also happens in Windows it's pointing to a hardware related issue, either GPU or monitor, in case GPU that would be potentially not seating correctly resulting in decreased signal quality/instability
ive been investigating a bit more. Maniak is right about the tv being part of the problem. I should assume worst case scenario on handshakes. I think the boot problems are cause by race conditions that have been identified on the 580 driver on linux
I thought i was on a "good boot" right now because everything looks right... but the pcei looks like it defaulted to gen 1 on this boot, i might try setting it to default to gen 3 in the bios
in this case i just switched from windows a few days ago, where it performed just fine. I doubt it is hardware or seating related.
try the gen 3 in BIOS