Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
deutex
Posts: 7
Joined: 2021-09-19 23:42

on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#1 Post by deutex »

Hello people at the Debian User Forums.
I have a graphical/visual glitch in the grub screen, that i can not seem to find a reason for.
I would like to apologize, that i can not provide screenshot. Because i don't got smartphone to take pictures with. And the graphical/visual glitch appears during the loading of the system, after the bios is started, and before the Debian logo appears.
So i can not take print screen. There for i will try to explain the situation as good as possible.

I got from, left bottom, till, left top, on the grub menu screen. Where grub shows, the option to unlock the drive with luks key. A 1x pixel wide line.
The 1x pixel line from bottom till top, on the left side, really stands out on the black background of grub.

When i enter the luks key, and get prompted to the grub boot menu, to select the kernel to load. It does not show the 1x pixel wide white line on the grub boot menu.
Only after the bios boots (accepted the bios lock password) -> when the luks disk encryption grub menu is displayed the white line on left side of the screen is displayed -> then after luks disk encryption is open -> the grub menu to load kernel, does not show the white line.

In no other places then that particular grub menu screen, i can see the 1x pixel line. So the X window system in Debian system is unaffected.
I have the issue, in Arch + Gentoo + Ubuntu + Manjaro + Debian.

Note, that when i boot live usb, i do not have the graphical glitch.
Note, when i don't set disk encryption. I can still see the 1x pixel white line during boot.

I tried different versions of grub. But that does not seem to make the 1x pixel line go away.
On 24 August 2021 i did install Lenovo Bios version 52.

Again, sorry i can not provide a screenshot. I will try to ASCII art example:
The one pixel line looks like:
|[ ]
Personally i doubt that it is caused by hardware failure, otherwise i would have the issue overall right?
Can someone provide me some insight on what is causing the visual glitch?
Thanks in advance.

deutex
Posts: 7
Joined: 2021-09-19 23:42

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#2 Post by deutex »

Note that, the pixel stripe white line appears on the Welcome to GRUB! screen.
Even before the actual grub menu starts.

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#3 Post by greg9 »

Hi

Until you get a better reply.....I wonder if it is because your PC has some kind of strange resolution?

For your booted up debian can you post your results to this command by clicking select all....... and pasting the results into a terminal you have on your system.
Then copy and paste those results into a code box in your reply please.

Code: Select all

xrandr
Leaping ahead....and maybe to eliminate resolution as the issue....you could use root powers to edit
/etc/default/grub to force a basic resolution.

Most monitors and laptops can do 800x600.....but it must be a result you can see for the xrandr output, so I will wait to see what your resolutions are.

Incidently you might like to show the output of

Code: Select all

inxi -Fz
this gives some info on your hardware with some privacy stuff stripped such as mac ids

deutex
Posts: 7
Joined: 2021-09-19 23:42

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#4 Post by deutex »

Hello greg9, here is the information you asked for:

Code: Select all

$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    120.00*+

Code: Select all

$ inxi -Fz
System:
  Kernel: 5.10.0-8-amd64 x86_64 bits: 64 Desktop: Xfce 4.16.0 
  Distro: Debian GNU/Linux 11 (bullseye) 
Machine:
  Type: Laptop System: LENOVO product: 81Y6 v: Lenovo Legion 5 15IMH05H 
  serial: <filter> 
  Mobo: LENOVO model: <filter> v: <filter> WIN serial: <filter> 
  UEFI: LENOVO v: EFCN52WW date: 07/27/2021 
Battery:
  ID-1: BAT0 charge: 75.2 Wh condition: 75.2/80.0 Wh (94%) 
CPU:
  Info: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP 
  L2 cache: 12 MiB 
  Speed: 2601 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 2601 2: 2603 
  3: 2601 4: 2601 5: 2601 6: 2601 7: 2600 8: 2601 9: 2602 10: 2600 11: 2601 
  12: 2601 
Graphics:
  Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] driver: nvidia 
  v: 470.63.01 
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo 
  Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia 
  resolution: 1920x1080~120Hz 
  OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.63.01 
Audio:
  Device-1: Intel Comet Lake PCH cAVS driver: snd_hda_intel 
  Device-2: NVIDIA TU106 High Definition Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.10.0-8-amd64 
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: N/A 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Bluetooth:
  Device-1: Intel type: USB driver: btusb 
  Report: ID: hci0 state: down address: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 15.74 GiB (3.3%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HALU-000L2 
  size: 476.94 GiB 
Partition:
  ID-1: / size: 459.43 GiB used: 15.74 GiB (3.4%) fs: ext4 dev: /dev/dm-0 
  ID-2: /boot/efi size: 299.4 MiB used: 3.4 MiB (1.1%) fs: vfat 
  dev: /dev/nvme0n1p1 
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) 
  dev: /dev/dm-1 
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A gpu: nvidia temp: 53 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 244 Uptime: 25m Memory: 7.68 GiB used: 874.7 MiB (11.1%) 
  Shell: Bash inxi: 3.3.01 
I must note that when changing grub wallpaper or video mode, it does affect the grub menu screen. But does not affect the screen in question, with the pixel line, that comes before the grub menu. That displays: Welcome to GRUB!
And where i am asked to enter the luks encryption key.

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#5 Post by greg9 »

hi

Before we get to your main issue, I checked for people who allegedly had the same model as you. Searched using product=81Y6 gives mixed results. I got no specific hits using
15IMH05H but did not spend hours looking.....but you could have a go yourself.

so we get
https://linux-hardware.org/index.php?co ... f851e3d70d

at lenovo using product string I get no hits
https://support.lenovo.com/au/en/solutions/pd031426

In searching for legion 5....AND I KNOW THIS IS NOT YOURS (sorry for shout but need to make it obvious) I found some fixes for variant 15ARH05
https://github.com/antony-jr/lenovo-leg ... 05-scripts
That variant.....seems to have issues (saves you clicking link) wifi BT KB NVME brightness and graphics.
so.....if you have only this one issue....you have done very well indeed :D

(2) I find it strange your xrandr has few results.....did you understand I wanted to see all ranges?
I will show mine as example

Code: Select all

NOT OP
 xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+  74.97    50.00    59.94  
   1680x1050     59.88  
   1400x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
so if it was grub resolution that was the issue.....I could go down to 640x480 but I use 800x600 so here is what my real file looks like
Note I do not set 32 or 24 bit.....I am on the grub screen for such a short time, just a menu does fine YMMV

Code: Select all

cat /etc/default/grub....with SNIP
GRUB_GFXMODE=800x600

#################################################################

However, I notice DP-2 connected which I assume means DisplayPort and I have no such beast. So must exit and hope others know what to do.

However you appear to have another port? Have your tried it?
Does bios have settings for Display ports?

Can you also name what the output displays onto please? Maybe there are known issues for this hardware?

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#6 Post by greg9 »

OOPS a separate post, as I failed to read OP correctly. Apparently as I get older, that might be a new habit :D
I have editted out some stuff while I prepare more info. Until you reply....I am likely to update this post.
Note, that when i boot live usb, i do not have the graphical glitch.
Then we can rule out bios....same hardware same bios.

Can you name the actual live iso you donwloaded please. I wanted to move to icewm so I chose
debian-live-11.0.0-amd64-standard.iso and yes I know about net install iso....but too scared to use it :D

Ok some wallpapers and menus to check....when you have time.

live (may differ from yours) has a menu for install
https://imgur.com/Tg1I2p0

hard drive has grub version above menu
https://imgur.com/TDRynQl

hard drive with console no gfx mode
https://imgur.com/LUYAkyK

It is not clear to me.......what you mean by
really stands out on the black background of grub
It does not show the 1x pixel wide white line on the grub boot menu
Maybe our terms need to expanded?

slightly offtopic on bios password and luks can you explain your intent please?
eg if I had local access to your drive....can I swap that drive into a non-bios passwork PC and boot that drive if I had your luks key?

I know nothing about luks as I have discounted local theft ....at my own risk but I see
https://superuser.com/questions/1536669 ... grub-shell
and it has some extra modules loading for luks

Me thinks the reason why the live product works is becaue it is not booting a luks encrypted system.
I am guessing you input your bios password for live boot....but as it was not booting luks stuff...no glitch?

Can I suggest you open /boot/grub/grub.cfg .....for every mention of UUID=something edit that UUID to string and then in a code box so it has a scrollbar,
paste full contents with UUID hidden please? I wonder if insmod for luks and related stuff is not loaded corrrectly.

# below is my explore of some deps of luks stuff....at menu I press c to go into command mode, screenshot has commands slightly out of order

Code: Select all

set pager=1
lsmod # to see current loads on a MBR system with no luks
help # to check commands
set root=(hd0,1)  # define where my grub partition is in grub speak
insmod luks
insmod lvm
I have not done all as per link above but
https://imgur.com/vtcIbcS

It is clear that we can leave out some insmod module-names due to dependencies

so luks has deps of cryptodisk, crypto and pbdf2
lvm dep of diskfilter

When I looked at my grub.cfg generated by forcing console instead of gfx....I noticed a module called all_video
loading that in command mode has deps of video_cirrus, video_bochs, vga, vbe with sub-deps of pci, video and video_fb

Now relooking at your graphics on boot.....you have nvidia......so when you are in gfxmode....either you are running vga module or video_fb (I assume means frame buffer)
---and so it would be nice to see if you have the glitch if you did choose console mode?

If interested, use root powers to edit /etc/default/grub that I know you already know about
suggest remove any # so action lines change to
GRUB_TERMINAL=console
GRUB_GFXMODE=800x600
and as root run

Code: Select all

update-grub
reboot # to test
I like 800x600 as it saves me putting on reading glasses or using a mag glass. If glitch is gone...great....it was something about the gfx modules
if glitch remains.....prefix GRUB_TERMINAL=console line with a #
change GRUB_GFXMODE line GRUB_GFXMODE=auto and run root command update-grub.

deutex
Posts: 7
Joined: 2021-09-19 23:42

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#7 Post by deutex »

Hi greg9, thank you for looking into my visual glitch issue.
Setting GRUB_TERMINAL=console + GRUB_GFXMODE=800x600 does change the grub boot menu.
But the screen that is affected appears before the grub boot menu.
It is Welcome to GRUB! screen, that asks for the disk encryption key.
When i enter the key, i get the grub boot menu next. There i change change mode 800x600 and set console. But the screen before the grub boot menu, does not get 800x600 mode and console mode.

deutex
Posts: 7
Joined: 2021-09-19 23:42

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#8 Post by deutex »

It could be some early stage of grub, handling some video mode that might cause the screen not to align to the side perfectly.
I even thought about, grub stage 1 boots in master boot record on the nvme disk. The first sectors on the nvme disk, are for master boot record. Could it be those sectors got damaged physically?
That would explain why booting from: debian-live-11.0.0-amd64-xfce.iso, does not seem to have to visual glitch?

deutex
Posts: 7
Joined: 2021-09-19 23:42

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#9 Post by deutex »

For clarification:
It is this screen that got the 1 pixel wide white line from bottom till top on the left side on the screen: https://imgur.com/BbSrDsb.png
And the actual grub boot menu, does not got the 1 pixel line: https://imgur.com/ggCJfxD.png
*screenshots are examples from www*

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#10 Post by greg9 »

I can not help with NVME as I have a MBR SSD. WooHOO a screenshot....thanks for that

I realize you now have a screenshot of a virtual machine, host arch based.
Does this pixel thingee occur on real hardware?

I hoped you might understand that booting a debian live product boots an unencrypted OS so is unlikely to display issues.

Is it possible you might need to raise this with Arch. I do not use any VM but actual video drivers for Vbox are sometimes a known issue.
a quick search only as I am too lazy to do VM testing myself
https://bbs.archlinux.org/viewtopic.php?id=131273

Let me know your thoughts if I have misunderstood

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#11 Post by sunrat »

greg9 wrote: 2021-09-21 12:46 I can not help with NVME as I have a MBR SSD.
???
I realize you now have a screenshot of a virtual machine, host arch based.
Does this pixel thingee occur on real hardware?
OP said *screenshots are examples from www* so not from their actual machine.
We appreciate your help and enthusiasm but please read and reply posts more carefully.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#12 Post by greg9 »

I can not offer any further suggestions
bye

deutex
Posts: 7
Joined: 2021-09-19 23:42

Re: on lenovo debian,1 pixel vertical white line at grub unlock disk screen.

#13 Post by deutex »

Sorry to bring this topic back up again. But my question remains, on what could be causing the: Welcome to GRUB! disk encryption screen to not align nicely with the left side of the screen.
How possible could it be that the Lenovo UEFI bios version 52 on 24 August 2021, is causing this issue?
I don't want to sound paranoid or anything, but how possible could it be, that there is lurking some UEFI bootkit (spyware) in the bios?
A while ago, i had some issues with colleagues at work. And i was able to detect MDNS V6 attacks and arp spoofing on the lan i was using.
After that i wiped the disk clean, reinstalled Debian. And now using openwrt router between my laptop and the lan. With blocking icmp and igmp, to mitigate the mdns v6 and arp attacks.
I would like to apologize if this sounds like another: "i am hacked story". That is not my intention of this post.
My intention, is to figure out: What is causing the graphical pixel glitch line, during boot time. And make sure it is not related to UEFI spyware.
Any technical advise would be greatly appreciated.

Post Reply