ubuntu 18.04 end up in log in loop 75% of time. But sometimes get through
 
Notifications
Clear all

[Solved] ubuntu 18.04 end up in log in loop 75% of time. But sometimes get through  

  RSS

reharik
(@reharik)
New Member
Joined: 1 year ago
 

Hi I have unbuntu 18/04 running on an HP spectre 360, couple moths old.  The laptop hast intel gpu on board, and nvidia descrete.  But they wont drive my 2 external 4k monitors.  So I got an egpu eith amd radeon in it and connect over thunderbolt.  This works fine, but when I have to reboot, I get stuck in a log in loop, meaning I log in, it tries to log me in then flickers and reloads the login page with no error message.  I can drop to cli and login fine, but when I come out into gui I'm in loop.  So have to reboot and try again.  it works about 30% which is a lot worse that 1 in 3 because it's more like fail 7 times then finally get in.  

Anyway, what I can say I've noticed is that the screen kind of flickers when the log in comes up.  Cant tell if that's only when it fails or not.  Also when I try to do a reboot, it will sort of go in to a loop there too.  So it will give a read out of info then go dark for a few seconds then try the screen will go on again ( black but back lit like it's powered up ) then it goes off again.  This goes on for a long time till I hard reboot.

My feeling is that it's confused about which gpu to use and 70% of the time it guesses wrong.  Any help would be greatly appreciated.

Thanks,

R

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Topic Tags
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@reharik Are you using any of scripts we have in this Linux eGPU section? How did you set up the Radeon eGPU to drive the two external 4K monitors?

 

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 15" HP Spectre X360 [11th,4C,G] + RTX 2080 Ti @ 32Gbps-TB4 (AORUS Gaming Box) + Win10 2004 [build link]  


ReplyQuote
reharik
(@reharik)
New Member
Joined: 1 year ago
 

@itsage

Welllllll, no I didn't use them because, a) I was kind of confused by them and b) it just seemed to work.  I'm guessing that I should use them.  If you have any tips, especially for my case I'd love to hear them.

R

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@reharik I experienced a similar login loop. This only happened after I configured the system to use an eGPU and tried logging in without the eGPU connected. Perhaps the issue is exactly what you guessed, the system can't determine which GPU to use for certain tasks. I'd recommend using this eGPU-switcher script and see if that improves things.

 

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 15" HP Spectre X360 [11th,4C,G] + RTX 2080 Ti @ 32Gbps-TB4 (AORUS Gaming Box) + Win10 2004 [build link]  


nu_ninja liked
ReplyQuote
reharik
(@reharik)
New Member
Joined: 1 year ago
 

This was super helpful, I don't know why I didn't try it before.  I guess I get kind of shy when messing with linux internals cuz you mess something up and you could spend a full day trying to figure it out.  But this worked great.  It say it's for ubuntu 19.04 but worked great on my 18.04.
Thanks to @itsage for kicking me in the but to do it Smile

Raif

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

itsage liked
ReplyQuote