Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Is there any way of doing this? I've got a 22" wide screen monitor and I hate seeing the next stretched when im in the CLI. I don't use the splash screen for booting up, I boot up in text mode and seeing it stretched out is really ugly.
I'm using OpenSUSE 11.1 with GRUB, I just want to set the resolution to 1680x1050. Is there any way of doing this? I've tried scanning but the closest there was is 1600x1200 but that obviously won't work. Is there any way of adding a mode?
If you go into YaST and under the hardware settings choose the monitor option you should be able to choose 'generic monitor' (I don't remember the exact wording) and then choose any resolution you want.
You might try including "edd=off" and "vga=ask" on the kernel line of grub. You may be given a longer list of options than would be returned otherwise. This may depend on the kernel you use however, and which version of SuSE you have. I don't think you can simply create your own but one of the higher resolutions may work fine for you. It may amount to trial and error to see which looks best.
Bah, it came up with the same old list of VESA resolutions that are no good. I want to use the LCD resolutions I set for the CLI. Isn't there any way of doing that?
vga=791 is 1024x768, slightly better than a traditional 80x25 terminal. But still stretched. I don't think there is a number for 1680x1050 (not that I've checked recently). None for 1280x720 or 1920x1080 either. Might have changed recently, but that's the crumbling cookie within the past two years anyway. You generally need the frame-buffer stuff enabled in the kernel, which you have if you have any fancy splash screen or those penguins at top when you boot (one for each cpu available). If you have to build a custom kernel, don't enable that VGA16 option. It seems to super-cede the other frame-buffer and is rather odd trying to get that overridden without a new kernel without that option.
vga=791 is 1024x768, slightly better than a traditional 80x25 terminal. But still stretched. I don't think there is a number for 1680x1050 (not that I've checked recently). None for 1280x720 or 1920x1080 either. Might have changed recently, but that's the crumbling cookie within the past two years anyway. You generally need the frame-buffer stuff enabled in the kernel, which you have if you have any fancy splash screen or those penguins at top when you boot (one for each cpu available). If you have to build a custom kernel, don't enable that VGA16 option. It seems to super-cede the other frame-buffer and is rather odd trying to get that overridden without a new kernel without that option.
Code:
VGA Modes
640x480 800x600 1024x768 1280x1024 *1600x1200
256 769 771 773 775 *796
32k 784 787 790 793 *797
64k 785 788 791 794 *798
16m 786 789 792 795 *799
* Does not work for all.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
It is dependent on your VGA adapter what it supports and what this mode is called.
To find this out:
- When GRUB boots, press 'c' to get a command prompt.
- In the command prompt you get then enter 'help'
- You'll see a list of commands. Check for the command which gives you a list of VGA modes.
- Do not try to test a mode, usually that doesn't work anyway.
- Enter the value for the desired VGA mode in the vga= parameter in you list of boot parameters.
I don't know the commands to get this list by heart, and I am too lazy to reboot my system, but it is not magic.
I had a long list when I picked a resolution for my Laptop. "v" was for 1440x900@8bits. I think that some kernels have a new console frame buffer device. If I don't enter "edd=off" I'll get a shorter list. The 1440x900 resolution was marked as being a VESA resolution which surprised me.
You might try entering "scan" instead of a number and see if you get a longer list.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.