#Linux Mint Install - DELL G15 5511 - Graphics Driver Issue

372 messages Ā· Page 1 of 1 (latest)

static blaze
#

The problem: after completing the linux mint installation (using compatability mode), I get the Dell logo, the linux mint logo, black screen, linux mint logo, then grey/black screen.

The issue has been isolated to just the graphics drivers because when utilizing windows from scratch, if windows downloads updates regarding graphics drivers, it completely breaks and becomes unbootable. I utilized EndeveourOS and had the same issue and reproduced the same issue with the latest version of Ubuntu. It all seems to come down to the graphics drivers.

This is the output I get after running:
lspci | grep VGA

01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] (rev a1)```
vapid folio
#

That sounds frustrating. How does your system look like rn? Just black screen?

static blaze
#

Im currently booted into linux compatibility mode with the option to install linux mint

#

purely so I could run commands to give information

vapid folio
#

When you installed Ubuntu, were there any processes you did to configure device drivers?

static blaze
#

I mean, all I did was select the option to install 3rd party programs, which was for network drivers, graphic drivers, etc

#

I also selected the codec option too if thats relevant

vapid folio
#

How about when you installed Linux Mint?

static blaze
#

I selected the codec option, but there was no specific options regarding graphics drivers

vapid folio
#

It's likely that you're using Nouveau drivers, the open-source implementation of Nvidia graphics drivers.

#

Wait a minute, I suddenly feel nervous lol.

static blaze
#

all good lol, take your time

vapid folio
#

But my idea is that once you installed your system, we'd install the Nvidia drivers as they are.

#

That'd require adding the Ubuntu PPA for those.

#

I don't think there's anything much we'll do in a live environment, aside from checking whether things are alright as they are supposed to be.

static blaze
#

is there anything I can do to provide any additional information or

#

should I go through with the install then go into recovery mode

vapid folio
vapid folio
static blaze
#

okay, first, should I connect to the internet?

vapid folio
#

Yes, you need to

static blaze
#

gotcha

#

now, do I select the option to install multimedia codecs?

vapid folio
#

You can, I doubt it has anything to do with graphical issues.

static blaze
#

installing

vapid folio
#

No worries, do take your time. Ping me when you're done.

static blaze
#

question @vapid folio would there be a difference if I went with XFCE instead of cinnamon?

vapid folio
#

On the desktop experience primarily. I doubt it will change a thing about your graphics situation though.

static blaze
#

Something unique just happened

vapid folio
#

What about it?

static blaze
vapid folio
#

Force shut down your device by pressing that power button for around 10 seconds.

#

Reboot once it's done completely shutting down and keep tapping the Esc key.

#

That should bring you to Grub, which looks like a black menu with list of options (by default).

static blaze
#

yep, im on grub

vapid folio
#

From there, select Advanced Options for Linux Mint and select recovery mode.

static blaze
#

yep, on recovery mode

vapid folio
#

Drop to shell root prompt then run mount -o remount,rw /.

#

That should mount the file system in read and write mode.

static blaze
#

done

#

should I reboot?

vapid folio
#

Wait a minute.

#

Run apt update && apt upgrade. After that, run add-apt-repository ppa:graphics-drivers/ppa.

#

That should upgrade your system packages and add Ubuntu's graphics-drivers PPA, respectively.

static blaze
#

Got a few errors

It failed to fetch from different websites for packages
Some index files failed to download
And upgrade: command not found

vapid folio
#

Can you please show me a screenshot?

static blaze
#

Is it because I’m not connected to the internet?

vapid folio
#

Oh yeah, I forgot that.

static blaze
#

All good haha

#

Do I reboot then press esc key repeatedly again?

vapid folio
#

Nope. Just type clear. After that, run systemctl start NetworkManager.

static blaze
#

Done

#

Do I try the apt command again?

vapid folio
#

Run nmcli dev wifi list. Does it list WIFI networks around you?

static blaze
#

Oh gotcha

#

Yep

vapid folio
#

nmcli device wifi connect "<SSID>" password "<your-password>"

#

like nmcli device wifi connect "MyWifi" password "MySoSecurePassword1234"

static blaze
#

Wait, but it says my WiFi is in use

#

it has a star next to my network

vapid folio
#

Can I see a screenshot?

static blaze
#

See? The star in the ā€˜in-use’ section

vapid folio
#

Try connecting to a network still. Then performing an upgrade.

static blaze
#

Ohhh, I realized the issue. I have an unstable connection so if other devices are downloading something, it bogs down the network.

I ran apt update && upgrade

#

It’s currently running

vapid folio
#

I see now... that's great. I hope this goes smoothly šŸ™

#

-# To tell you, I'm honestly pressured to perform great on par with my fellow Helpful Citizen pals. I don't wanna embarass myself anymore in front of the wizards.

static blaze
#

I totally understand haha, you’re doing an amazing job!! Don’t sweat it.

vapid folio
#

And then, run sudo apt install nvidia-graphics-drivers-535.

static blaze
#

Uhhhh, right, the update command worked, but it still says

'upgrade: command not found'

#

Like it went through the whole shebang of downloading stuff, the command went through the whole thing, but apparently upgrade is not recognized?

vapid folio
#

Oh sorry my bad, that's apt upgrade.

static blaze
#

it says the following upgrades have been deferred due to phasing:

libfprint-2-2
libfprint-2-tod1
rsyslog
ubuntu-drivers-common

#

but everything else seems to be done

vapid folio
#

No worries, that's fine.

static blaze
#

gotcha! gonna run the next command

#

which is this one

#

add-apt-repository ppa:graphics-drivers/ppa

vapid folio
#

yes

static blaze
#

right, ran it

#

what should I do next?

vapid folio
#

Run apt update and apt install nvidia-graphics-drivers-535.

#

Please do tell me when you're done šŸ˜„

static blaze
#

it says its unable to locate package nvidia-graphics-drivers-535

vapid folio
#

Have you performed apt update already?

static blaze
#

yep

vapid folio
#

Try 545, 550, or 560.

static blaze
#

Gotcha

#

nope, it cant seem to locate that package

#

is it really nvidia-graphics-drivers-535
couldnt it also be nvidia-drivers-535

vapid folio
#

Try the second one, the Launchpad listing got me tripping.

static blaze
#

nope, not the second one either

#

should I try nvidia-driver-assistant?

vapid folio
#

nvidia-driver-535 no s sorry

static blaze
#

gotcha

#

yep, it works, installing

#

Done!

vapid folio
#

Reboot the system now. I hope this really works mate.

static blaze
#

Booted into the login, however it froze

vapid folio
#

Dear golly 😭

static blaze
#

I knooooow 😭

#

I mean, it is progress though

vapid folio
#

Try going to a tty, Ctrl + Alt + F3.

#

From there, run inxi -Gxxx. Please send a screenshot here.

static blaze
#

do I have to reboot or do it while the screen is frozen

vapid folio
#

Yes, do it while the screen is frozen

static blaze
#

ctrl + alt + f3 is not working

vapid folio
#

Try F4 or F5, onwards till 7.

static blaze
#

nothing

vapid folio
#

Wait a minute, I'll call some friends over.

static blaze
#

thanks so much 😭

#

thanks for helping me all this time as well, really do appreciate the effort

prime cobalt
#

First disable secure boot in your BIOS. Secure boot + nvidia - wrong combo.

#

You can see if it is enabled with mokutil --sb-state

static blaze
#

Secure boot is indeed disabled, it already was

river oar
vapid folio
river oar
#

help them first with booting in nomodeset

#

After that it won't freeze

#

Also blacklist nouveau while you're at just to make sure

#

Theoretically since they have an integrated GPU it should boot into the GUI

#

And then they could use driver manager normally without messing with repos which is ideal

#

I wish I could go through this thoroughly but someone else would probably have more experience with it, I leave it to them, the steps should be clear now tho

vapid folio
river oar
#

simple way of nomodesetting: look at the compatibility mode kernel parameters from the live use and add them

vapid folio
#

Then I guess blacklisting Nouveau goes like this?

river oar
vapid folio
river oar
river oar
vapid folio
#

That sounds more helpful

#

Thanks a lot Neko!

river oar
#

You can also hit escape right after you start seeing the Plymouth screen to view the buffer ring (the kernel messages)

river oar
static blaze
#

Right, I’m not gonna lie, I’m a little lost

vapid folio
#

I'll simplify it in a bit

static blaze
#

What I gathered is

  1. Boot into nomodeset
  2. Blacklist nouveau
vapid folio
#

Go back to Grub, press E to edit.
Find the line that starts with linux, modify the splash keyword to nosplash.
Append nomodeset modprobe.blacklist=nouveau at the end of that line too.

vapid folio
vapid folio
static blaze
#

@vapid folio do I need to add it to the other versions as well?

vapid folio
#

nomodeset

static blaze
#

Ahhh mb

river oar
#

Just the first entry since you'll be booting it

vapid folio
#

Just to be clear, this is under Advanced options. You're supposed to boot the one with kernel 6.8.0-57.

static blaze
#

Yep yep

#

The other one is kernel 51

#

What shall I do? Ctrl-x/F10 for boot?

#

Or Ctrl-c/F2 for command line

vapid folio
#

I believe that'll be Ctrl + X, amirite @river oar ?

river oar
#

F10

vapid folio
#

Oh yeah, that, thanks!

river oar
#

Yep

#

Pings are fine >.<

static blaze
#

It worked!

vapid folio
#

You're in?!

static blaze
#

I got the ā€˜welcome to Linux mint’ window

vapid folio
#

Let's go!!!!

#

You can set up the drivers now 🩷

static blaze
#

Right, how do I do that now

vapid folio
#

If that's still necessary, I'm not sure, we've already done that

vapid folio
static blaze
#

Oh yeah the driver manager

river oar
vapid folio
#

What is there to be done at this point? Just installing the drivers from Driver Manager?

river oar
#

Yup

static blaze
#

Should I select the latest?

river oar
#

this does not look good

vapid folio
#

This is from the Ubuntu PPA afaik

#

The one we went with earlier

river oar
#

550 is the most stable I know of

static blaze
#

That I’ll go with, I’m sketched out with the term ā€˜open’ from 560 and above

vapid folio
#

Same reason I went with 535 earlier, I thought those newer ones are still in testing, like Launchpad tells me.

#

After driver setup, what is there to do @river oar ? Reboot?

static blaze
#

I’ll download the driver, reboot, then check

#

@vapid folio is there a way to get to grub without spamming the esc key

static blaze
#

Ah it’s fine, I just had to time the esc key press

#

Because I kept escaping the menu

#

@river oar @vapid folio is there any way for me to test my graphics card to see if it’s actually functional?

#

When I run the command lspci | grep VGA

It still lists my dedicated graphics card as a VGA compatible controller instead of 3D

#

I’m seeing conflicting info online saying if it’s an issue or not

vapid folio
#

See the output of inxi -Gxxx

#

There should be a driver specified there afaik.

static blaze
#

yep, driver Nvidia v: 550.144.03

#

Theoretically, everything should be fine then!

vapid folio
#

Yep, you can run things through DRI_PRIME if necessary to force your dGPU to render it.

river oar
#

glxinfo

vapid folio
#

glxinfo | grep "OpenGL renderer"

static blaze
#

Righto

#

OpenGl renderer string: llvmpipe (LLVM 19.1.1, 256 bits)

vapid folio
#

Is that good?

river oar
#

Not the opengl renderer I forgot it so just run the full command

vapid folio
#

throws a long line of things

static blaze
#

Gives a ton of info

river oar
#

It's ok, search for either Nvidia or i915

#

Ah.. grep nvidia :3
That works

static blaze
#

How do I search for in terminal?

#

Gotcha

#

No results

river oar
#

You wrote glxinfo right?

vapid folio
#

glxinfo | grep "nvidia"

river oar
#

Lemme get my laptop

static blaze
vapid folio
#

oof

#

try piping it to more, like glxinfo | more

river oar
#

glxinfo | grep rendering

static blaze
vapid folio
#

Oh, direct rendering at the first lines...

river oar
#

glxinfo | grep -i vendor

vapid folio
#

is it the opengl vendor string?

river oar
static blaze
#

Server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: Mesa (0xffffffff)
OpenGL vendor string: Mesa

river oar
vapid folio
#

The output goes kinda like this?
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)

river oar
static blaze
river oar
#

Mesa is the graphics API but you can't know if it's Intel
But if it's explicitly Intel it would've said so, so I think you're good

static blaze
#

Is there any definite way for me to actually check if my Nvidia graphics card is being utilized

river oar
#

Does the resource manager show a GPU entry in mint?

static blaze
#

Okay so, I think me editing grub didn’t save or something, cause when I rebooted, the issue is back

This happened the second time now

#

The first time being when I updated the drivers and had to reboot

river oar
vapid folio
#

What I'm alarmed here is that the String shows llvmpipe.
Though that's not explicitly Intel or the CPU, that means it's fallback.

river oar
vapid folio
#

Maybe sudo prime-select nvidia does it?

#

Ohhhh

#

Remove nomodeset then?

river oar
river oar
#

This is actually really interesting cause I see no reason why it should happen now

vapid folio
#

I guess they have to edit /etc/default/grub then update it?

river oar
#

Or why the GPU is in VGA mode not 3D

river oar
vapid folio
#

Damn... that's confusing now

#

What if we remove the PPA and install from the Mint repos? Would that help? I'm honestly pretty clueless now.

static blaze
#

😭

river oar
#

Booting into live mint on a very similar system this is how it should look like (it boots normally too)

static blaze
#

I could try mint XFCE

#

not sure if that would make any sort of difference but

#

We’re kinda running low on options

river oar
#

It shouldn't

river oar
static blaze
#

Choose nouveau?

river oar
#

Yup

static blaze
#

How do I do that

river oar
static blaze
#

Ohhhh

#

Select the nouveau driver

#

Gotcha

#

@river oar I’m downloading the xserver-xorg-video-nouveau driver

river oar
#

Yep that's the one

static blaze
#

Boots to this

river oar
#

:3

vapid folio
#

If things really get pretty rough and desperate mate, I suggest you check out PopOS.

#

I'm sorry that it really have gone this way.

river oar
#

Have you tried booting an older kernel?

#

There's still something completely wrong about your GPU configuration that shouldn't work in the first place

static blaze
#

What kernel should I even boot to anyways?

river oar
#

The oldest

static blaze
#

Uhh… I’m completely uneducated in running older kernels

#

I wouldn’t even know where to start

vapid folio
#

advanced options in grub

static blaze
#

I’ll go back to 6.8.0-51 then?

#

Or the recovery version

river oar
#

Oh there is no older one?

static blaze
#

The oldest I got is 51

river oar
#

Go with that ig

static blaze
#

Recovery or regular?

river oar
#

Regular

#

If it doesn't boot normally go with recovery

static blaze
#

That just takes me to a black screen

#

So I’ll have to go with recovery

#

right, I’ve booted into the older kernel version

river oar
#

Can we get a look at the output of lspci | grep VGA

static blaze
#

Same output as I first started

river oar
#

I want to take time to research how on earth 2 VGA cards are connected to the same display....

static blaze
#

I mean, it’s a gaming laptop with both integrated and dedicated graphics

#

Aren’t they usually weird to deal with when it comes to Linux? Or is my device an anomaly

river oar
#

Okay so... Potentially you can switch the GPU in your bios to be the integrated one
That's the only sane reason I can think of

river oar
#

For now:
1- Try to search the bios to check if you can change the active GPU
2- if that's not a thing then boot in recovery mode and choose kernel manager and download an older kernel

static blaze
river oar
#

Oh yeah it seems to be from the bios, I've looked up your model, it does have that feature

static blaze
#

Righto then, time to head to the bios

#

Right

#

Actually here is a better view

river oar
#

Wha... This doesn't look my my Dell bios :3
There should be a video option

#

Or advanced

#

Or possibly in integrated devices

static blaze
#

The advanced setup is a toggle and it’s currently on

river oar
#

Ah

#

Anything related to devices or video

static blaze
#

The options you see in the second image I provided is all that’s available

#

This is why I hate Dell so much lmao

river oar
#

Yeah precision has a way cleaner bios wtf

static blaze
#

Is there a way for me to access the bios without the Dell crap in it?

#

Like an actual proper bios with all the settings

river oar
#

Umm? Some other websites say you don't have that feature?
Aaaaaaa

#

I hate the internet, the place I got that info to being with is DELL'S WEBSITE

#

Seems like you don't have an option for that, sorry

static blaze
#

Seems like bios updates have been bricking Dell G15 5515 laptops

#

Could this be a bios related issue?

#

Maybe it is actually, the current bios version is 1.5, but im on 1.34

river oar
#

Honestly no idea

#

My Dell has hybrid bios so it doesn't get bricked that easily dunno if they don't have the same elsewhere

static blaze
#

im actually super stumped

fathom sigil
#

Anyone think the lts kernel could work?

river oar
#

User has an Optimus laptop, aka a laptop with both integrated Intel graphics and dedicated Nvidia GPU

#

User attempts to install and use mint

#

They need to boot into compatibility mode
(Here I will explain why this is a very weird part so when a PC uses Optimus technology it will render the graphics using the integrated Intel graphics and it will not touch the Nvidia GPU meaning that there should be zero case where they need to boot into compatibility mode since the Nvidia GPU must be at all times in 3D mode not VGA)

#

User boots into recovery mode and shows us the output of lspci | grep VGA
Both the Intel and Nvidia cards are labeled as VGA

#

Also tried both nouveau and proprietary drivers

#

And no option in the bios to change the GPU configuration

#

This concludes my findings

vapid folio
#

If this is on Ubuntu, as far as I'm aware, there is a single command to configure the proper drivers: sudo ubuntu-drivers autoinstall.

#

During installation, Ubuntu lets you install the proprietary Nvidia drivers since 19.x.

#

I do not think you can use it on the live media, but while installing put a checkmark in Install third-party software for graphics and Wi-Fi hardware ... It comes right after selecting the keyboard layout.

#

On PopOS, this entire Nvidia thing should be ready out-of-the-box. You're stuck with 22.04 for now though.
-# Do keep in mind that 22.04 will be EOL'd by April 2027. 24.04 will be EOL'd by April 2029.

vapid folio
#

I uh, forgot about this one.

river oar
# vapid folio

You can use prime-switch for this in the cli
Actually I don't think we tried this have we?

vapid folio
#

I don't think we haven't yet. You said because it was nomodesetting

river oar
#

It will switch even so, tho you won't be able to use it with nomodeset

#

Hopefully it switches to Intel

#

The issue here is that you won't be able to use the Nvidia card due to the issues

#

Potentially:
Set it to hybrid and see if it works, if not then set to Intel

prime cobalt
#

Try to turn off performance mode for nvidia driver too. That seems to create some problems too.

#

Boot with nomodeset, open nvidia panel and try to turn off performance mode.

glass pebble
#

From @static blaze

Hey guys, so I took the laptop to the repair shop to see if its an hardware issue, and apparently, it very much is one. I really do appreciate all of you guys trying to help me

Triggered a filter for trying to ping too many members. sweatcat
For future, anyone you see in member list to the right can see when there is a new message, no need to ping everyone.

static blaze
#

my bad, and thanks again!

vapid folio
#

I'm curious, what hardware issue was it?

river oar
#

Getting recognized as VGA :3

#

Perhaps heat killed it

#

Or a faulty bios update?

#

Oh wait.... We could've used the diagnosis tool to get some insight... Sorry I forgot to mention that :'3

vapid folio
#

Which tool? In the BIOS?

river oar
#

Yep

#

F12
Diagnosis

#

at least that's what my model has
Their bios is so weird which ig is because it's a consumer model

vapid folio
#

Dell Latitude 5300, specifically.

river oar
#

Aw, dw
Both of us forgot :3
Dell precision 3541 user here

static blaze
#

@river oar I've ran diagnostic tool, says no issues

#

apparently what the issue was, there was some overclocking?

#

the graphics card was being overclocked, causing instability issues

#

Ill be collecting the laptop today, so ill ask for more specific information

river oar
#

Seems like the issue sounds bigger than that
It might've been heating to a point it caused hw damage and when it cooled down the issue went away

#

Overclocking by itself won't really do much

static blaze
river oar
#

If it's a hardware issue we can't really diagnose it

static blaze
#

Yeah so, I got the laptop, did some tests on it (on windows), there is something definitely up with the graphics card

#

and its a hardware issue so, it is what it is! Thanks again guys for trying to help