Re: Setting Default Framebuffer Mode
I think it depends on your specific framebuffer driver. It does. I use the rivafb driver on this computer, and it doesn't support kernel arguments at stat-up, so 'vga=whatever' doesn't work with this driver. Instead, you need to edit the fbdev.c file in linux/drivers/video/riva, and change the default settings within struct fb_var_screeninfo rivafb_default_var, to match the settings that you want from /etc/fb.modes. Since I was satisfied with 640x480 but wanted a better refresh rate (from 60 to 100Hz), I had to change pixclock to 22272, left_margin to 48, right_margin to 32, upper_margin to 17, lower_margin to 22, hsync_len to 128, vsync_len to 12. Hopefully this is useful to someone else. Thanks for cluing me on referring to 'documentation' (what's that?!). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Setting Default Framebuffer Mode
Hello, all Every time my computer starts I need to use fbset to change the resolution. Is there a way to set the default framebuffer mode? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Setting Default Framebuffer Mode
On Tue, Mar 04, 2003 at 03:31:54PM -0600, Ian Melnick wrote: Every time my computer starts I need to use fbset to change the resolution. Is there a way to set the default framebuffer mode? An excerpt from $KERNEL_SOURCE/Documentation/fb/framebuffer.txt: 3. Frame Buffer Resolution Maintenance -- Frame buffer resolutions are maintained using the utility `fbset'. It can change the video mode properties of a frame buffer device. Its main usage is to change the current video mode, e.g. during boot up in one of your /etc/rc.* or /etc/init.d/* files. Fbset uses a video mode database stored in a configuration file, so you can easily add your own modes and refer to them with a simple identifier. -- Seneca [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: Setting Default Framebuffer Mode
* Ian Melnick [EMAIL PROTECTED] [20030304 13:51 PST]: Hello, all Every time my computer starts I need to use fbset to change the resolution. Is there a way to set the default framebuffer mode? I think it depends on your specific framebuffer driver. I get the following information from the vesafb documentation. | 640x480 800x600 1024x768 1280x1024 +- 256 | 0x3010x3030x3050x307 32k | 0x3100x3130x3160x319 64k | 0x3110x3140x3170x31A 16M | 0x3120x3150x3180x31B use vga=mode where mode is one of the hex values in the above table. This is a kernel parameter; it should be added to the append= line of your lilo.conf or on the kernel command line of your /boot/grub/menu.lst For example, my kopt line in /boot/grub/menu.lst is # kopt=root=/dev/hda4 ro vga=0x317 video=vesa:mtrr,ywrap good times, Vineet -- http://www.doorstop.net/ -- http://www.digitalconsumer.org/ signature.asc Description: Digital signature
Re: Setting Default Framebuffer Mode
Frame buffer resolutions are maintained using the utility `fbset'. It can change the video mode properties of a frame buffer device. Its main usage is to change the current video mode, e.g. during boot up in one of your /etc/rc.* or /etc/init.d/* files. Okay, thanks, but when I put it in as a startup file in rcS.d, I get a permission denied error at startup for the fbset command. Is there something more specific I should be doing? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Setting Default Framebuffer Mode
On Tue, 04 Mar 2003, Ian Melnick wrote: Hello, all Every time my computer starts I need to use fbset to change the resolution. Is there a way to set the default framebuffer mode? I have this in my /etc/lilo.conf: # Specifies the VGA text mode at boot time. (normal, extended, ask, mode) # # vga=ask # vga=9 # vga=normal vga=791 Oliver -- ... don't touch the bang bang fruit http://www.wreckingpit.com http://www.wattzap.com http://www.rocknrollpurgatory.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]