tux-fan Tux's lil' helper
Joined: 10 Apr 2002 Posts: 131 Location: Paderborn, Germany
|
Posted: Sun Jul 21, 2002 12:40 pm Post subject: console, framebuffer, nvidia,1024x768@70Hz |
|
|
For those that like to use the rivafb at the console with 1024x768 Resolution and 70Hz Screenrefresh.
The patch I found yesterday will not solve the X -> console -> X problem but it's a nice thing if U use your linux-box in console mode. With the consolefont I'am using (lat9w-16 for western europe) it gives me a resolution of 128x48 characters.
I've prepared the kernel as follows:
Code: | Console drivers --->
[*] VGA text console
[*] Video mode selection support
Frame-buffer support --->
[*] Supporrt for frame buffer devices
[*] nVidia Riva support
[*] VESA VGA graphics console
[*] Advanced low level driver options
[*] 8 bpp packed pixels support
[*] 16 bpp packed pixels support
[*] 32 bpp packed pixels support
[*] Select compiled-in fonts
[*] VGA 8x8 font
[*] VGA 8x16 font |
The patch I mentioned above is this one:
( Igot it from here: ( http://alm.linuxfreak.nl/ )
Code: | --- drivers/video/riva/fbdev.c~ Wed May 1 00:03:52 2002
+++ drivers/video/riva/fbdev.c Wed May 1 02:59:00 2002
@@ -286,31 +286,31 @@
#endif
static struct fb_var_screeninfo rivafb_default_var = {
- xres: 640,
- yres: 480,
- xres_virtual: 640,
- yres_virtual: 480,
+ xres: 1024,
+ yres: 768,
+ xres_virtual: 1024,
+ yres_virtual: 768,
xoffset: 0,
yoffset: 0,
- bits_per_pixel: 8,
+ bits_per_pixel: 32,
grayscale: 0,
- red: {0, 6, 0},
- green: {0, 6, 0},
- blue: {0, 6, 0},
+ red: {8,16, 0},
+ green: {8, 8, 0},
+ blue: {8, 0, 0},
transp: {0, 0, 0},
nonstd: 0,
activate: 0,
height: -1,
width: -1,
accel_flags: 0,
- pixclock: 39721,
- left_margin: 40,
- right_margin: 24,
- upper_margin: 32,
- lower_margin: 11,
+ pixclock: 12699,
+ left_margin: 176,
+ right_margin: 16,
+ upper_margin: 28,
+ lower_margin: 1,
hsync_len: 96,
- vsync_len: 2,
- sync: 0,
+ vsync_len: 3,
+ sync: 3,
vmode: FB_VMODE_NONINTERL
}; |
have fun |
|