It seems that my grub graphics don’t work (Grub itself installs, updates and works fine!). The screen is totally black, however, since I remember the entries, I can triple boot as before.
I tried setting lower res but no luck.: GRUB_GFXMODE=640x480 Work around: GRUB_TERMINAL_OUTPUT=console gives small (roughly 360x360) but usable console output.
/etc/default/grub:
GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically
#GRUB_ROOT_FS_RO=false
Two possible reasons:
1. When I recovered my system re-installing nvidia I followed (ultimately successful) instructions which included blacklisting some graphics drivers. Can someone spot if one of those could be causing this issue.
2. Other than that, might there be an issue with the ‘new’ nvidia-340xx-dkms drivers?
Arch wiki: “Users who use NVIDIA proprietary driver might wish to disable GRUB’s framebuffer as it can cause problems with the binary driver”
Has anyone encountered this? Also, for people who think their grub has recently broken; check! It may be ‘invisible’ but it actually works!
An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
As we have no kernel version, have you tries 5.4 LTS (=Long Term Support) yet?
What’s the output to:
pamac list | grep nv
P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or kernel you have, …
Hello @6x12 ,
I use the nvidia-340-dmks ( on k 5.4LTS and 5.10 ) and have no problems. I don’t know what tutorial have you done, but have you tired to rename blacklist.conf to nvidia.conf and also remove blacklist nv from the file and see what happens, just an idea. Also double check the tutorial that you did, maybe you’ve missed something…
I got the tip for the blacklist from the forum at archlinux but had already taken uvcvideo off since I recognized it as my camera driver. After taking nv off the blacklist there are no changes and the problem persists.
Are you sure? Have you tried booting the other kernel?
I am on 5.4LTS with nvidia-340xx-dkms. I have an update for this pkg but this update forces me to pick either 59, 510 or 511 kernel which would mean the package that works on 5.4LTS would be removed and hence 5.4LTS would not boot any more, or am I missing something?
~ >>> mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
Ok… there is no nvidia because the mhwd profile has been removed with the legacy drivers, right? My inxi -G
I believe I am on the nvidia-340xx-dkms driver. I can use the nvidia settings app to raise the clock speed and my conky shows those changes. Just forget that it’s a MBP, this model gives no problems with any distro, there is no macOS left, drive replaced, acts like any pc.
Yes, did that, still no grub graphics. And I also get:
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia
What did you edit on the build files?
If I get 5.4LTS to accept the updated nvidia-340xx-dkms I’m happy. I can then try 5.10. At least I’d have a working fall back.
Ok, this is the file that helped me, its from philm’s repo.
This is the file
PKG Build File
# Maintainer: Jerry Xiao
# Maintainer: graysky
# Contributor: Giancarlo Razzolini
# Contributor: Eric Bélanger
pkgbase=nvidia-340xx
pkgname=(nvidia-340xx-dkms) → here you will have another package remove it.
pkgver=340.108
pkgrel=1
pkgdesc=“NVIDIA drivers for linux, 340xx legacy branch”
arch=(‘x86_64’)
url=“https://www.nvidia.com/”
makedepends=(“nvidia-340xx-utils=${pkgver}” ‘linux>=5.4’ ‘linux-headers>=5.4’) → this must be like this
conflicts=(‘nvidia’)
license=(‘custom’)
options=(!strip)
source=(“https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run”
0001-kernel-5.7.patch
0002-kernel-5.8.patch
0003-kernel-5.9.patch
0004-kernel-5.10.patch
)
package_nvidia-340xx-dkms() {
pkgdesc=“NVIDIA driver sources for linux, 340xx legacy branch”
depends=(‘dkms’ “nvidia-340xx-utils=$pkgver” ‘libgl’ ‘linux>=5.4’) <–> Here you add this linux >= 5.4
optdepends=(‘linux-headers: Build the module for Manjaro kernel’)
provides=(“nvidia-340xx=$pkgver”)
conflicts+=(‘nvidia-340xx’)
Absolutely! Almost there.
After doing the update in pamac using the philmmanjaro PKGBUILD the 5.10 kernel was installed successfully.
However, this installs the new kernel with the old 340.108-1 version; the build of the new 340.108-13 pkg fails and the 340.108-1 is reinstalled and I’m in an update loop.
Using pamac with @philm PKGBUILD I edited line 9 pkgrel=1
to the correct version number pkgrel=13
My grub graphics are still screwed but I can live with the console output for now. My main issue was the messed up nvidia driver install and the update loop and since that’s fixed I’m happy to mark this as solved.