12/3/2023 0 Comments Phoenix os change resolution vga![]() This would set your Linux system to boot with a screen resolution to 24bit 1280X1024. For example at boot you might type: vga=795. I hope it helped you and it should be more generic than using grub2.A simple way to set your screen resolution and color depth for most Live Linux distributions is via the use of the vga=parameter boot option. ![]() It is for debian, but it also works for ubuntu. 1280x1024-32: sudo sh -c "echo options uvesafb mode_option=1280x1024-32 scroll=ywrap > /etc/modprobe.d/nf"ĭon't forget to rebuild your initrd: sudo update-initramfs -k all -u Now configure uvesafb mode_option=YOURxResoultion-BitColorMode e.g. To see what modes are available: sudo modprobe uvesafbĬat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes Add it to the end of /etc/initramfs-tools/modules: sudo sh -c "echo uvesafb > /etc/initramfs-tools/modules" Make sure the uvesafb module is included into your initrd. Now install uvesafb: sudo apt-get install v86d If grep doesn't show anything, then you removed the vga= option. If you don't know you did it well, then just reboot and open a terminal: grep vga /proc/cmdline If you have remove the option don't forget to generate a new grub.cfg: sudo update-grub Search for GRUB_CMDLINE_LINUX_DEFAULT= and remove vga= if you find it. If vbeinfo or hwinfo -framebuffer doesn't show the native resolution of your display, then disable vesa, to do so remove vga= options in: sudo nano /etc/default/grub Why i answer this threat even if it's very old? The answer is pretty easy, because so many other threat refer to it. ![]() The number is the mode ID, if you want to try other modes, replace it with the desired number.Īlso, at that same Wikipedia page, you could also try the helpful "Universal format" right below the modes table. At the end of the "kernel" command, add vga=877. Select the mode which you wish to boot and press 'e' (to edit the commands). So, when booting, hold the SHIFT key (in case you don't have a GRUB timeout) to bring up GRUB's menu. For example, if you'd like to try booting your text mode on 1024圆40, you'll find that the mode ID is 877. You could try booting up with a different VESA mode, but that depends a lot on your hardware. That's why you see the "small" text mode when booting from the Live CD. Possibly they disabled mode-setting when installed. Now, I don't know about the proprietary drivers, but I'm guessing they might have changed your configuration in order to be usable, and possibly that's why you're seeing that "big" mode. This is because the nv driver doesn't use kernel mode-setting. Note that I'm not using nVidia proprietary drivers, but like you, I was switched back to 80x25 in console mode. So, to have an usable system, I had to downgrade to the old and stable nv driver, and also disabling mode-setting ('cause the kernel would always load nouveau when enabled). Problem is, it does this by loading the nouveau driver, and this guy is still a bit faulty (in my case, it hangs the whole system when trying to move windows). It's equipped with a TNT2 (yes, I swear), and that mode was promptly displayed on first boot. Just some personal background: in my other computer I have no problem with that fancy mode (it's 160 cols x 60 rows, but it has a 4:3 CRT monitor). CRT monitors typically show flickering stripes when the refresh frequency is too high. This answer will also work to decrease the resolution and/or refresh rate or frame buffer frequency on down-clocked systems. The values text, keep, auto, vga and ask should also work.įinally, after saving the edited /etc/default/grub with Ctrl+ O and exiting it with Ctrl+ X, issue the following commands: $ sudo update-grub Or replace the value by any other (comma separated) mode(s) that is(are) supported by your hardware. Leave this line as a comment: #GRUB_GFXMODE=640x480Īt the end of the file, add a line: GRUB_GFXPAYLOAD_LINUX=1280x1024x16 On server systems, uncomment GRUB_TERMINAL=console to see more messages passing during boot before entering in the graphics console. ![]() The variable GRUB_CMDLINE_LINUX_DEFAULT should contain at least nomodeset, perhaps in addition to quiet and splash on desktop systems. Now, edit /etc/default/grub: $ sudo nano /etc/default/grubĪssuming a previously unedited file, make the following changes: Set the graphics mode with GRUB_GFXPAYLOAD_LINUXįirst, install xrandr and run it: $ sudo apt-get install xrandr Reboot, and both the grub menu and the console should have nicer resolutions. Still as root, refresh grub with update-grub2 It should look similar to this: GRUB_GFXMODE=1440x900x32 Add another line for a new variable called GRUB_GFXPAYLOAD with the same resolution. and change it to the resolution you want. Localize the line that says GRUB_GFXMODE=. Open /etc/default/grub with your favorite editor as root. I've found a solution that works from this forum post
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |