Page 1 of 1

Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 4:09 am
by palimmo
Hi,

do you know how to remove the nvidia logo from the splash boot screen sequence?

Beside this I'd like to disable Plymouth, since it shows only 3 ugly, gray dots during the boot process. Or, if possible, fix it.

Thanks!

Code: Select all

inxi -Fzx
System:    Host: mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           Desktop: Xfce 4.14.1 Distro: MX-19_x64 patito feo October 21  2019 
           base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: Packard Bell product: EasyNote TJ65 v: 0100 serial: <filter> 
           Mobo: Packard Bell model: SJV50MV v: Rev serial: <filter> BIOS: Phoenix v: 1.28 
           date: 10/06/2009 
Battery:   ID-1: BAT0 charge: 3.7 Wh condition: 3.8/48.6 Wh (8%) model: Panasonic AS09A51 
           status: Unknown 
CPU:       Topology: Dual Core model: Pentium T4300 bits: 64 type: MCP arch: Penryn rev: A 
           L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 8378 
           Speed: 1197 MHz min/max: 1200/2100 MHz Core speeds (MHz): 1: 1197 2: 1197 
Graphics:  Device-1: NVIDIA G98M [GeForce G 105M] vendor: Acer Incorporated ALI driver: nvidia 
           v: 340.107 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1366x768~60Hz 
           OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:     Device-1: Intel 82801I HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Broadcom Limited NetLink BCM5784M Gigabit Ethernet PCIe 
           vendor: Acer Incorporated ALI driver: tg3 v: 3.137 port: 2000 bus ID: 02:00.0 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR928X Wireless Network Adapter vendor: Lite-On 
           driver: ath9k v: kernel port: 2000 bus ID: 03:00.0 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 298.09 GiB used: 115.31 GiB (38.7%) 
           ID-1: /dev/sda vendor: Western Digital model: WD3200BEVT-22ZCT0 size: 298.09 GiB 
Partition: ID-1: / size: 14.70 GiB used: 6.26 GiB (42.6%) fs: ext4 dev: /dev/sda9 
           ID-2: swap-1 size: 3.96 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda7 
Sensors:   System Temperatures: cpu: 40.0 C mobo: N/A gpu: nvidia temp: 43 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 168 Uptime: 1h 19m Memory: 3.85 GiB used: 1.34 GiB (34.8%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.36 

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 4:21 am
by chrispop99
For Plymouth, MX Tools>MX Boot Options, under 'Splash', untick 'Enable theme'.

Alternatively you could select a different theme, and preview it. I like 'ribbon' personally.

Chris

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 4:51 am
by JayM
The Nvidia splash screen is part of their proprietary closed-source driver so the only way to get rid of it is to stop using their driver and go back to using Nouveau, which is open-source and doesn't have a splash screen.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 4:54 am
by Eadwine Rose
Or use a newer driver, the newer ones don't have the logo anymore (which I personally find is a sad thing, I kinda liked it..).

Of course it all depends on compatibility on that one.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 5:31 am
by asqwerth
chrispop99 wrote: Sat Oct 26, 2019 4:21 am For Plymouth, MX Tools>MX Boot Options, under 'Splash', untick 'Enable theme'.

Alternatively you could select a different theme, and preview it. I like 'ribbon' personally.

Chris
Having 3 dots means plymouth isn't working properly with his graphics hardware.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 7:04 am
by palimmo
In the past I found a simple workaround to remove the logo at boot and still using nvidia official drivers.
But I cannot find it anymore... :frown:

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 7:18 am
by JayM
A web search returns several results which may contain a solution:
https://duckduckgo.com/?q=linux+remove+ ... 7-1&ia=web

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 7:26 am
by palimmo
Found. It works!
Add

Code: Select all

Option "NoLogo" "1"
in the Device section of
/etc/X11/xorg.conf

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 7:28 am
by palimmo
No way to get a functioning plymouth with nvidia drivers?

Linux Mint (in dual boot on this machine) launches correctly the splash screen and I use nvidia drivers as well.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 8:06 am
by Huckleberry Finn
palimmo wrote: Sat Oct 26, 2019 7:28 am No way to get a functioning plymouth with nvidia drivers?
But, have you tried another theme as suggested by Chris? Also agree with the Ribbon theme.
In fact I removed plymouth on both laptops, but before that, the Nvidia one was working flawlessly with splash..

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 8:46 am
by JayM
Huckleberry wrote: Sat Oct 26, 2019 8:06 am
palimmo wrote: Sat Oct 26, 2019 7:28 am No way to get a functioning plymouth with nvidia drivers?
But, have you tried another theme as suggested by Chris? Also agree with the Ribbon theme.
In fact I removed plymouth on both laptops, but before that, the Nvidia one was working flawlessly with splash..
Or disabled the boot theme and/or splash screen altogether as also suggested by Chris??

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 9:14 pm
by caprea

Code: Select all

Graphics:  Device-1: NVIDIA G98M [GeForce G 105M] vendor: Acer Incorporated ALI driver: nvidia 
           v: 340.107 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1366x768~60Hz 
           OpenGL: renderer: N/A v: N/A direct render: N/A 
@palimmo, it looks as if the nvidia-driver isn't working properly.
I normally use the same legacy-driver with another card(GeForce 8400M), but since buster I stick with nouveau.
It's not clear to me what the problem is, the driver installs without errors, it builds fine against the kernel, but

Code: Select all

glxgears
from terminal shows errors.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sat Oct 26, 2019 10:33 pm
by JayM

Code: Select all

OpenGL: renderer: N/A v: N/A direct render: N/A 
is the problem, vs.

Code: Select all

OpenGL: renderer: NVA5 v: 3.3 Mesa 18.3.6
when using nouveau. It's an issue with the legacy Nvidia driver 340 in MX-19 (or in Buster if that driver came from upstream, which appears to be the case.) Everything installs OK and all the log files look fine but OpenGL doesn't work. I reported it in the RC1 feedback thread but no one was able to find what was causing it at the time.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sun Oct 27, 2019 2:38 am
by palimmo
I've tried some of them.
No chance apparently.
:frown:

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sun Oct 27, 2019 4:19 am
by JayM
Perhaps someone who knows how to purge the nvidia driver and reinstall nouveau will be along soon and can tell you how.

It would be nice if this ability could be added to the nvidia installer script, /usr/local/bin/ddm-mx. Then if someone installs ndivia drivers and gets the black screen of death after rebooting they could boot from their live USB, delete /etc/X11/xorg.conf, reboot in vesa graphics mode, run the script, and go back to using nouveau.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sun Oct 27, 2019 6:43 pm
by caprea
OK, I got the legacy-driver running properly on MX19 and antiX19 buster

Code: Select all

System:
  Host: antix1 Kernel: 4.9.193-antix.1-amd64-smp x86_64 bits: 64 
  compiler: gcc v: 8.3.0 Desktop: IceWM 1.5.5+git20190610 dm: SLiM 1.3.6 
  Distro: antiX-19_x64-full Marielle Franco 16 October 2019 
  base: Debian GNU/Linux 10 (buster) 
  Graphics:
  Device-1: NVIDIA G86M [GeForce 8400M GS] vendor: Wistron driver: nvidia 
  v: 340.107 bus ID: 01:00.0 chip ID: 10de:0427 
  Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1280x800~60Hz 
  OpenGL: renderer: GeForce 8400M GS/PCIe/SSE2 v: 3.3.0 NVIDIA 340.107 
  direct render: Yes 
It was loading the wrong glx-module, from /var/log/Xorg.log

Code: Select all

 LoadModule: "glx"
 Loading /usr/lib/xorg/modules/extensions/libglx.so
 
 (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X 
 log file that the GLX module has been loaded in your X
/usr/lib/xorg/modules/extensions/libglx.so instead the one from nvidia

What I did is renamed the libglx.so

Code: Select all

sudo mv /usr/lib/xorg/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so.bac
and symlinked the one from nvidia to libglx.so

Code: Select all

sudo ln -s /usr/lib/nvidia/legacy-340xx/libglx.so.340.107 /usr/lib/xorg/modules/extensions/libglx.so
Looks good to me now, no errors in Xorg.log

Code: Select all

10.911] (II) LoadModule: "glx"
[    10.922] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    11.081] (II) Module glx: vendor="NVIDIA Corporation"
glxgears runs fine.

Is this a problem of the nvidia-driver, or buster or who ?

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sun Oct 27, 2019 9:28 pm
by Stevo
Seems to be a Debian bug, but am happy to see you've discovered the fix!

It was also asked if ddm-mx had an option to remove the nvidia driver, and it does:

Code: Select all

sudo ddm-mx -p nvidia
but I have to say IDK if that also works with the legacy drivers.

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sun Oct 27, 2019 10:44 pm
by JayM
caprea wrote: Sun Oct 27, 2019 6:43 pm OK, I got the legacy-driver running properly on MX19 and antiX19 buster

Code: Select all

System:
  Host: antix1 Kernel: 4.9.193-antix.1-amd64-smp x86_64 bits: 64 
  compiler: gcc v: 8.3.0 Desktop: IceWM 1.5.5+git20190610 dm: SLiM 1.3.6 
  Distro: antiX-19_x64-full Marielle Franco 16 October 2019 
  base: Debian GNU/Linux 10 (buster) 
  Graphics:
  Device-1: NVIDIA G86M [GeForce 8400M GS] vendor: Wistron driver: nvidia 
  v: 340.107 bus ID: 01:00.0 chip ID: 10de:0427 
  Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1280x800~60Hz 
  OpenGL: renderer: GeForce 8400M GS/PCIe/SSE2 v: 3.3.0 NVIDIA 340.107 
  direct render: Yes 
It was loading the wrong glx-module, from /var/log/Xorg.log

Code: Select all

 LoadModule: "glx"
 Loading /usr/lib/xorg/modules/extensions/libglx.so
 
 (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X 
 log file that the GLX module has been loaded in your X
/usr/lib/xorg/modules/extensions/libglx.so instead the one from nvidia

What I did is renamed the libglx.so

Code: Select all

sudo mv /usr/lib/xorg/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so.bac
and symlinked the one from nvidia to libglx.so

Code: Select all

sudo ln -s /usr/lib/nvidia/legacy-340xx/libglx.so.340.107 /usr/lib/xorg/modules/extensions/libglx.so
Looks good to me now, no errors in Xorg.log

Code: Select all

10.911] (II) LoadModule: "glx"
[    10.922] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    11.081] (II) Module glx: vendor="NVIDIA Corporation"
glxgears runs fine.

Is this a problem of the nvidia-driver, or buster or who ?
Very, VERY good work! I was having the same issue with the 340 driver on my system and your solution fixed it for me!

Code: Select all

$ inxi -G
Graphics:  Device-1: NVIDIA GT216M [GeForce GT 230M] driver: nvidia v: 340.107 
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1366x768~60Hz 
           OpenGL: renderer: GeForce GT 230M/PCIe/SSE2 v: 3.3.0 NVIDIA 340.107 

Re: Boot: remove Nvidia logo and disable Plymouth

Posted: Sun Oct 27, 2019 11:37 pm
by JayM
By the way, the three grey rectangles during boot are also from the Nvidia 340 driver and somehow override MX's boot theme and splash screen. i played with those settings in MX Boot Options but nothing I tried got rid of the grey boxes or returned the nice-looking encryption passphrase entry field (it's now just a text prompt.) So it seems that the only way to get rid of the boxes and splash screen is to purge your Nvidia driver as per Stevo's instructions and go back to using Nouveau, or else get a newer Nvidia video card (or a computer with a newer onboard Nvidia GPU) that's supported by newer drivers.