SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I suggest commenting out "vga = normal" and adding "vga = ask", then booting and experimenting with the modes available on your system. Once you find a mode you like, then you can set it as the default.
Some examples:
Code:
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
# vga = ask
# VESA framebuffer console @ 1280x1024x64k
#vga=795
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
You can also add a kernel parameter to specify the screen resolution once the kernel takes control with something like:
Code:
append = " video=VGA-1:1920x1080@60"
For further details see /usr/src/linux//Documentation/fb/modedb.rst
To discover the names of outputs being used by the kernel look at the output of 'ls /sys/class/drm'.
BTW - I suggest also including " vt.default_utf8=1" in the append line.
I played a bit with the modes using vga = ask and what I found is that I can indeed change the resolution (and I can see the pengiun logo at the top left of the screen), but as the kernel keeps scrolling lines, a few seconds later, resolution changes to something that seems to remain fixed no matter what resolution I pick. Also, tux stops appearing. Does that give any hint to what's happening?
Adding append = " video=VGA-1:1920x1080@60" didn't made a difference with this. I haven't looked at the /usr/src/linux//Documentation/fb/modedb.rst and /sys/class/drm yet, but I will in the following days.
I added large-memory and vt.default_utf8=1. Thanks for the tips!
If you have any more things I can try then please do.
but as the kernel keeps scrolling lines, a few seconds later, resolution changes to something that seems to remain fixed no matter what resolution I pick. Also, tux stops appearing. Does that give any hint to what's happening?
This is when the kernel DRM takes over.
You will need the correct graphics output name for the video= option.
Perhaps you could post the output of ‘ls /sys/class/drm’?
Thanks for the listing.
It shows multiple graphic output names, Virtual-1 to Virtual-8.
I suggest trying an append line with VGA-1 replaced with Virtual-1.
PS - The OP appears to be using LILO. GRUB parameters are not relevant.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Rep:
Quote:
Originally Posted by allend
Thanks for the listing.
It shows multiple graphic output names, Virtual-1 to Virtual-8.
I suggest trying an append line with VGA-1 replaced with Virtual-1.
PS - The OP appears to be using LILO. GRUB parameters are not relevant.
I am sorry for my mistake. Unfortunately, this may be argument for grub and against lilo/elilo. Unless your suggestion will work of course.
I have a follow up question. Apparently I have configured things with MBR, which I didn't remember. Is this configured during installation? Or in the BIOS settings of VirtualBox? Where can I learn more about this?
Apparently I have configured things with MBR, which I didn't remember. Is this configured during installation? Or in the BIOS settings of VirtualBox? Where can I learn more about this?
It's the default setting in VirtualBox, and I think (but I may be wrong) that it's because work on virtualising EFI booting is not quite complete. At this stage you can use it and it should work. A VM is the ideal place to learn how EFI booting works.
Beware that 80x25 text mode will not work if you switch to EFI booting. This is because UEFI doesn't support text or VGA modes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.