[arch-general] Broke Arch trying to change graphics driver
Hi, So here's what happened, I was facing issue with proprietary nVidia driver (screen tearing) so I thought I want to switch to the free one, so I uninstalled nvidia with "pacman -Rs nvidia" , then I thought might as well try a different kernel and installed zen. Now when I boot into either kernel I am seeing "Starting display manager" then a black screen. I can login to tty2 , but no display comes up. I want to switch back to free driver, with preferably zen kernel. What should I do? Thanks in advance. J Sent from Mailspring<https://link.getmailspring.com/link/1525455037.local-ac8782b6-7fb0-v1.2.1-7e7447b6@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=YXJjaC1nZW5lcmFsQGFyY2hsaW51eC5vcmc%3D>, the best free email app for work
On Fri, May 4, 2018 at 1:34 PM Junayeed Ahnaf via arch-general < arch-general@archlinux.org> wrote:
So here's what happened, I was facing issue with proprietary nVidia driver (screen tearing) so I thought I want to switch to the free one, so I uninstalled nvidia with "pacman -Rs nvidia" , then I thought might as well try a different kernel and installed zen. Now when I boot into either kernel I am seeing "Starting display manager" then a black screen. I can login to tty2 , but no display comes up.
I want to switch back to free driver, with preferably zen kernel. What should I do? Thanks in advance.
I just hit a similar issue when trying to switch from nvidia to nouveau. I was trying to switch from i3/Xorg to sway/Wayland. The proprietary nvidia driver is unsupported with sway. I uninstalled the nvidia modules like you did, disabled the lightdm display manager, and booted into nouveau. It worked but was much too slow to be usable with my 4K display. I was getting major lag. It was like getting 1 HZ refresh rate moving my mouse pointer around. I switched back to i3/Xorg with the nvidia modules but when rebooting to test, it failed with a black screen like you got. When I tried "sudo modprobe nvidia" I got an "exec format error" message and the nvidia module refused to load. The nvidia module installed to the extramodules directory so I expected it to work with the 4.16.4 kernel I'm running even though it was built on 4.16.1, but apparently that is not the case. Uninstalling and reinstalling nvidia and nvidia-utils did not fix things. Eventually I gave up and did a "zfs rollback" to restore the previous system state and everything was fine after that. Sorry I don't have good solution for you, but I wanted to chime in that I also encountered the same problem and it was related to the nvidia modules not being loadable. Regards, Eric
I did a rollback too , seems like there's no easy way to go back from nonfree to free drivers. On May 5 2018, at 12:00 am, Eric Blau <eblau@eblau.com> wrote: On Fri, May 4, 2018 at 1:34 PM Junayeed Ahnaf via arch-general < arch-general@archlinux.org> wrote: So here's what happened, I was facing issue with proprietary nVidia driver (screen tearing) so I thought I want to switch to the free one, so I uninstalled nvidia with "pacman -Rs nvidia" , then I thought might as well try a different kernel and installed zen. Now when I boot into either kernel I am seeing "Starting display manager" then a black screen. I can login to tty2 , but no display comes up. I want to switch back to free driver, with preferably zen kernel. What should I do? Thanks in advance. I just hit a similar issue when trying to switch from nvidia to nouveau. I was trying to switch from i3/Xorg to sway/Wayland. The proprietary nvidia driver is unsupported with sway. I uninstalled the nvidia modules like you did, disabled the lightdm display manager, and booted into nouveau. It worked but was much too slow to be usable with my 4K display. I was getting major lag. It was like getting 1 HZ refresh rate moving my mouse pointer around. I switched back to i3/Xorg with the nvidia modules but when rebooting to test, it failed with a black screen like you got. When I tried "sudo modprobe nvidia" I got an "exec format error" message and the nvidia module refused to load. The nvidia module installed to the extramodules directory so I expected it to work with the 4.16.4 kernel I'm running even though it was built on 4.16.1, but apparently that is not the case. Uninstalling and reinstalling nvidia and nvidia-utils did not fix things. Eventually I gave up and did a "zfs rollback" to restore the previous system state and everything was fine after that. Sorry I don't have good solution for you, but I wanted to chime in that I also encountered the same problem and it was related to the nvidia modules not being loadable. Regards, Eric
When I tried "sudo modprobe nvidia" I got an "exec format error" message and the nvidia module refused to load.
You need to build your driver for each kernel separately. That's why you can get [0] as a package. cheers! mar77i [0] https://www.archlinux.org/packages/testing/x86_64/nvidia-dkms/ Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On May 5, 2018 7:01 AM, Junayeed Ahnaf via arch-general <arch-general@archlinux.org> wrote:
I did a rollback too , seems like there's no easy way to go back from nonfree to free drivers.
On May 5 2018, at 12:00 am, Eric Blau eblau@eblau.com wrote:
On Fri, May 4, 2018 at 1:34 PM Junayeed Ahnaf via arch-general <
arch-general@archlinux.org> wrote:
So here's what happened, I was facing issue with proprietary nVidia driver
(screen tearing) so I thought I want to switch to the free one, so I
uninstalled nvidia with "pacman -Rs nvidia" , then I thought might as well
try a different kernel and installed zen. Now when I boot into either
kernel I am seeing "Starting display manager" then a black screen. I can
login to tty2 , but no display comes up.
I want to switch back to free driver, with preferably zen kernel. What
should I do? Thanks in advance.
I just hit a similar issue when trying to switch from nvidia to nouveau. I
was trying to switch from i3/Xorg to sway/Wayland. The proprietary nvidia
driver is unsupported with sway. I uninstalled the nvidia modules like you
did, disabled the lightdm display manager, and booted into nouveau. It
worked but was much too slow to be usable with my 4K display. I was getting
major lag. It was like getting 1 HZ refresh rate moving my mouse pointer
around.
I switched back to i3/Xorg with the nvidia modules but when rebooting to
The nvidia module installed to the extramodules directory so I expected it
to work with the 4.16.4 kernel I'm running even though it was built on
4.16.1, but apparently that is not the case. Uninstalling and reinstalling
nvidia and nvidia-utils did not fix things.
Eventually I gave up and did a "zfs rollback" to restore the previous
system state and everything was fine after that. Sorry I don't have good
solution for you, but I wanted to chime in that I also encountered the same
problem and it was related to the nvidia modules not being loadable.
Regards,
Eric
Oh wow, please apologize the original message there making my mail look like a top post. I intended to be smarter than my email client, only to forget about it. cheers! mar77i Sent with ProtonMail Secure Email.
On Sat, May 5, 2018 at 2:45 AM mar77i via arch-general < arch-general@archlinux.org> wrote:
When I tried "sudo modprobe nvidia" I got an "exec format error" message and the nvidia module refused to load.
You need to build your driver for each kernel separately. That's why you can get [0] as a package.
cheers! mar77i
[0] https://www.archlinux.org/packages/testing/x86_64/nvidia-dkms/
Hmm, I never had to do that before. The nvidia modules get installed in the 4.16 extramodules directory so they only need to be compiled once for all 4.16 kernels. At least that is my understanding. I was running the nvidia package with 4.16.4 with no problems until I tried to reinstall. -Eric
Le vendredi 4 mai 2018 19:33:44 CEST Junayeed Ahnaf via arch-general a écrit :
I want to switch back to free driver,
A shot in the dark ( I don't use nvidia at all) : Try replacing nvidia-utils or nvidia-libgl by libglvnd. AFAI remember, nvidia module requires custom OpenGL libs formerly provided by nvidia-libgl. No gaurantee.
On Fri, May 4, 2018 at 8:33 PM, Junayeed Ahnaf via arch-general <arch-general@archlinux.org> wrote:
Hi,
So here's what happened, I was facing issue with proprietary nVidia driver (screen tearing) so I thought I want to switch to the free one, so I uninstalled nvidia with "pacman -Rs nvidia" , then I thought might as well try a different kernel and installed zen. Now when I boot into either kernel I am seeing "Starting display manager" then a black screen. I can login to tty2 , but no display comes up.
I want to switch back to free driver, with preferably zen kernel. What should I do? Thanks in advance.
J
Sent from Mailspring<https://link.getmailspring.com/link/1525455037.local-ac8782b6-7fb0-v1.2.1-7e7447b6@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=YXJjaC1nZW5lcmFsQGFyY2hsaW51eC5vcmc%3D>, the best free email app for work
Your original post did not say what steps you took to switch from the proprietary driver to the opensource one. Did you follow the instructions given here [1], and ended up with the black screen as a result? [1] https://wiki.archlinux.org/index.php/Nouveau I too had to switch from the proprietary nvidia driver to the nouveau one some time ago and I did not bump into any trouble there. Care to elaborate a bit on what else you did besides uninstalling the proprietary driver?
participants (5)
-
Alexander Kapshuk
-
Eric Blau
-
Junayeed Ahnaf
-
mar77i@protonmail.ch
-
SET