[SOLVED] Failed to install AMD drivers, now X server will not start automatically (Kubuntu)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Manjaro KDE Edition, Kubuntu, WSL, Raspberry Pi OS
Posts: 6
Rep:
Failed to install AMD drivers, now X server will not start automatically (Kubuntu)
My OS is Kubuntu 23.10 and my video card is an AMD Radeon 6500XT.
The other day, I decided I wanted to use the official AMD drivers. I downloaded and ran the amdgpu-install for Ubuntu x86-64. Near the end of the installation, the build of amdgpu-dkms failed. At this point the computer still ran fine in all cases. However, the failed build was adding an inconvenience to package management as the failed build would happen over and over. I followed a solution and ran `sudo apt remove amdgpu-dkms`. Great! No more apt problems. However, that day I also ran my monthly updates and included was a new kernel.
The next day when I tried to boot, it just spat out a load of virtualbox index out of range errors. I had a TTY but the X server would not start. To stop virtualbox (which I believed was causing my errors), I removed virtualbox with apt. The next boot, no errors, but the X server did not start. Once again I had only a low-resolution TTY. When I run startx, everything works, but it is in 480p resolution.
The only console output on the TTY during boot was
SGX Disabled by BIOS
I am scared to run sudo apt remove amdgpu* because I fear it will break everything more.
How can I fix this? (Uninstall old drivers??)
Last edited by Enderbyte09; 02-04-2024 at 10:26 AM.
My OS is Kubuntu 23.10 and my video card is an AMD Radeon 6500XT.
The other day, I decided I wanted to use the official AMD drivers. I downloaded and ran the amdgpu-install for Ubuntu x86-64. Near the end of the installation, the build of amdgpu-dkms failed. At this point the computer still ran fine in all cases. However, the failed build was adding an inconvenience to package management as the failed build would happen over and over. I followed a solution and ran `sudo apt remove amdgpu-dkms`. Great! No more apt problems. However, that day I also ran my monthly updates and included was a new kernel.
The next day when I tried to boot, it just spat out a load of virtualbox index out of range errors. I had a TTY but the X server would not start. To stop virtualbox (which I believed was causing my errors), I removed virtualbox with apt. The next boot, no errors, but the X server did not start. Once again I had only a low-resolution TTY. When I run startx, everything works, but it is in 480p resolution.
The only console output on the TTY during boot was
SGX Disabled by BIOS
I am scared to run sudo apt remove amdgpu* because I fear it will break everything more.
How can I fix this? (Uninstall old drivers??)
This strted when you attempted to install the proprietary drivers. I would purge and clean away those drivers and reinstall the FOSS drivers for that card, just as a first cut.
Fro the record, this is where the book says I should tell you to restore from your backup if that fails. You DO have a backup, right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.