Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Every time I install a new Ubuntu based distro, I always add the Ubuntu graphics ppa to get the latest Nvidia drivers instead of trying to do it manually.
If you installed from a ppa (probably this one https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) check that each built packages is installed on your system and there isn't any "forgotten" packages of the old version ("apt-cache search nvidia | grep 396" may show them all).
EDIT:
I think it is better to run: dpkg -l | grep nvidia | grep 396
Purge them completely with configuration files then reinstall them.
Never install NVidia from the .sh or run file - it's often / always problematic in Ubuntu ... resulting in black screen at startup.
TO get the NVidia driver reinstalled it is best / often necessary to uninstall and purge ANY existing driver ... and this is the easiest method in my experience:
sudo is super user, (and may ask for password), apt is Ubuntu's Installer/Uninstaller, and the * is for ANYTHING with this name.
Then go to the trusted "Additional Driver" tab and install the Driver of choice.
For Ubuntu LTR 390 is still the only shown option at this point as it is re-written to work in Ubuntu.
For a more recent Driver (often problematic in Ubuntu LTR in the past) ... it is now easily and problem freely installed in Ubuntu.
add this ppa first, restart and the cutting edge drivers will be available in Ubuntu's "Additional Driver Option" (415 as of this writing)
One may install it in Terminal also after the ppa is installed
∘ or Auto-Update Driver Command
Always trying to help, Mark
Needless to say, this is yet another area where AMD is friendlier to the Linux community, as their proprietary drivers are available as such.
after "purge", the last lines were
update-initramfs: generating boot initrd.img-4.16.18-041618-generic
w: possible missing firmware lib/firmware/i915/
skl_dmc_ver1_27.bin for module i915
kbl_dmc_ver1_04
kbl_guc_ver9_39
bxt_guc_ver9_29
skl_guc_ver9_33.bin for module i915
same lines were included after sudo install.
I've read they could be fixed with Intel driver update tool, but it's not available, so where I should start?
Worth mention that the lack of this firmware is completely unrelated with the problem you have with your Nvidia GPU (but install them anyway).
also I'm unable to start steam, use Nvidia settings, and glxinfo still reports the same error.
I'm able to use the desktop, watch videos and browse.
before doing purge I used a tty and "service sddm stop". not sure why after installing back nvidia isn't working properly. what can i try?
update:
I used "lshw -c display" and I got this:
*-display UNCLAIMED
description: 3d controller
product: geforce GT 740m
etc
*-dispkay
description: VGA compatible controller
product: 3rd gen core processor graphics controller
I found that nvidia-prime wasn't reintalled and was deleted after purging Nvidia files. I also can't remember if I used it or bumblebee, so I tried it first. I reinstalled it, and after failing to enable Nvidia card from the indicator (only the icon changed), I used "sudo prime-select nvidia" and free trying glxinfo the information change a little:
name of display: :0.0
Xlib: extension "GTX" missing on display ":0.0".
* previous line is repeated 6 other times
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GTX" missing on display ":0.0".
Xlib: extension "GTX" missing on display ":0.0".
* this line is blank
* Xlib line is repeated agtain 8 times
I tried a new command I found under a different answer also about drivers:
sudo dkms status
your kernel headers for etc cannot be found
install or use --kernelsourcedir to tell dkms where is located
so, I checked which headers I had installed, and they weren't the right ones (they should have been "generic" but the generic part was absent in the name). I tried to install the right header file, but it wouldn't because it was lacking a dependency (the name was something like libssl 1.1 and only v 1.0 existed for my distro)
I decided to reinstall a previous kernel (4.15.0-45) using synaptic pm, because only the current one (lacking right headers) was the only one that I could use to reach desktop UI and use anything non-nvidia.
then I tried to reboot with the kernel that was working better, but at the begining my screen showed two times the name of the kernel before grub, and when autostarting the first kernel (the reinstalled one) I end in a black screen.
I'm now also unable to use "advanced option" in grub: when selecting it, a sequence of things related to initram happen, and ignore if or how could I use that.
I have a live usb: how can I use it to restore properly access?
it should be possible without resetting the whole system.
I used "sudo fdisk -l" and after the list with most of the drives, there was a red message: "partition 1 doesn't start on physical sector boundary"
then, I used boot-info to generate this
paste.ubuntu.com/p/bnpHZKFr52/
thanks for your patience.
If you get tired from trying and need to start from scratch, just reinstall the OS and programs then copy the backed home folder over to the new install. It should restore most if not all your user configs for programs and the desktop as they were before.
If you still have time to spare, fixing things is a good way to learn your way around deeper parts of the OS though.
I'm unable to access recovery mode, as I commented earlier, because trying to open the menu in grub where the alternative kernels are listed will open a terminal screen that lists things related to initram, which I ignore how I could use to fix the problem.
how could I access and properly edit grub from a live usb, so I can include as first option a kernel with recovery mode?
or how could I use a terminal from grub, if I'm unable to start recovery mode?
my grub start screen isn't the most common: I have on top a kernel, followed by a low latency one, and then the submenu with other "backup" kernels I tried when updating the system. I didn't care to add a recovery mode option, since I didn't expected the submenu to stop working. after the submenu I still have the option to boot windows.
I really don't want to reinstall the os, since I took a long time to install many things I'm unsure how to back up, or if I would be able to. I tried a lot of programs from different repos (is there a way to find he list using live usb), because I like to discover what things can be done with "floss" software, and learn bits from experimenting. and yes, I could forget most of them, but I rather not since some tools that I rarely use can be useful, and "hunting them" would consume extra time.
my home folder is encrypted, and Im currently checking again how to use my login from a liveusb (since I'm unable to remember how), to recover theme and config data. there are other encrypted partitions I would need to check and figure out where to move some files: im unsure if I have enough space to move large photos and some videos, because my best option right now would be to make a new partition in unused space in the same disk to move them out. I don't want to start doing that, because I don't want to risk changing something that could make more complicated to recover the os. I would like to access the partitions, and then just check the files.
I think finding and fixing the kernel should be possible from the liveusb with a little guidance.
It's also more fun to just do something new, and it allows me to refine what I had done before.
The only data you should be really concerned about is any essential data.
For disk encryption, many hard drives offer transparent whole disk encryption where you can wipe the whole hard drive by changing the key register on the drive. This is usually a better option in most environments.
im also searching ideas or answers elsewhere. i know it is possible to fix this, and should not be very complicated after finding the right process, from a few things that i read which explain a bit about similar problems ie askubuntuDOTcom/questions/28099/how-to-restore-a-system-after-accidentally-removing-all-kernels
But if anyone could offer me anything related to that, it could be very useful to fix this sooner. ths is how i learned a few things i more or less know about using linux as a "hobby" user.
Boot to the liveboot
Mount the root partition of your damaged system (figure out how to mount it unencrypted for this to work...)
Open a terminal window
Run chroot /the/mounted/root
https://wiki.archlinux.org/index.php/Chroot
Work with the terminal window as if you were running the damaged system directly
Probably you should try rebuilding initramfs
https://www.systutorials.com/docs/linux/man/8-update-initramfs/
And then grub