Page 1 of 2

Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 18:06:18
by shanedora
I just did a fresh install of CentOS7. I cannot for the life of me get pass this screen. Everything is unresponsive and the displayed GUI is awful looking.
Image

I would like to try two things but I'm not sure how or what commands to type to do this.

1) Update the kernel
2) Install my AMD graphics drivers

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 18:19:58
by TrevorH
Is that during the install or on the first boot of the installed system?

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 18:38:50
by shanedora
In short, the answer to your question is "on first boot after installation"

To provide some background when I first tried installing CentOS with the GUI (like one normally would from a bootable usb) it was displayed like shown in my picture. I couldn't figure out how to install in text mode so I went with another method which was by clicking on "troubleshooting" and selecting "install by simple graphics mode". This popped up a GUI still but it was displayed correctly with no weird display issues. After the installation it rebooted for the first time and I was displayed with the picture shown above. Hope that helps.

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 19:39:56
by TrevorH
So let's try to duplicate the arguments used by the simple graphics mode: when you see the grub menu, first thing during boot, hit Esc to interrupt it and display the list of kernels. Hit 'e' to edit the current one and then find the line that starts with either linux16 (non-UEFI systems) or linuxefi (UEFI ones) and scroll to the end of it, append a space followed by xdriver=vesa nomodeset then hit Ctrl-X to continue with the boot using the new parameters. That should get you booted in a GUI though not the best quality/resolution. Now you can install the AMD graphics drivers and go from there.

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 19:57:49
by shanedora
Same problem occurs. Attached are two images showing the kernel (which is 3.10) that I pressed 'e' on. In the picture it shows the rescue kernel selected but I actually chose the 3.10 option just above it fyi. The other picture shows what I have entered per your request. I have pressed ctrl-x and it still boots into the weird looking screen. I have tried three times and still no change.

Image

Image

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 20:36:19
by TrevorH
Just to clarify, you moved the highlight to the top entry and then pressed 'e' to edit? Not pressed 'e' to edit on the rescue kernel then paged back through the grub config to find the ordinary one and modified its entry? First way is correct, second way would modify the parameters for one kernel and then boot the other unmodified one.

Also, if that doesn't work I would try removing rhgb quiet and nomodeset from the kernel command line using the same method at the grub menu (and don't add xdriver=vesa). You added one nomodeset but there was already one there and many linux display drivers now require modesetting and fail if it's not allowed so try it without nomodeset at all. And rhgb quiet just hide useful information in situations like this.

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 20:50:59
by shanedora
Yes correct, I did it the first way.

I also removed rhgb quiet and nomodeset completely and ensured that I did NOT add xdriver=mesa this time. After I pressed ctrl-x the kernel started booting. I noticed more messages coming across the screen this time but it eventually ended up showing the same weird display.

Just to clarify here's what the kernel command line looked like this go around per your request...

Image

Here is a video showing the boot should it be helpful.

https://imgur.com/a/F5iNYjP

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 21:35:54
by TrevorH
OK, give up on that idea then. This time append a space followed by the digit 3 to the end of the kernel command line and boot that way into command line only mode. Then you can install your AMD drivers from the command line there.

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/09 21:43:34
by shanedora
So I hate to say this but that didn't work either. :lol: I just appended a space and a 3 but it still booted into that weird display issue. Here is a quick vid.

https://imgur.com/a/nlWiTBg

Re: Weird display issues after fresh install of Centos?!

Posted: 2019/06/18 10:22:16
by hmg22
BS"D

I recently had that sort of display issue when installing a Ryzen based machine with an Nvidia graphics card.

However, I have installed so many machines recently that I can't quite remember what I did to overcome it. :roll:

If you can login remotely, then install the graphics driver that way; I believe that is what worked for me, and then once you reboot, the correct driver is loaded, and things look fine.

By the way, I always use the troubleshooting > basic graphics driver install method on our workstations, since this avoids installation of the nouveau driver.