Hi there, I was so happy to see that VESA is available for amd64, but unfortunately it does not work really well for me. Take a look at this picture : http://img717.imageshack.us/img717/7311/dsc00399h.jpg My laptop is a 15,6" so the best resolution is 1366x768, I tried this : vidcontrol MODE_496. As you can see on the picture all the lines are completely everywhere, if I mouse the cursor they move away (I'm not drunk!). I have SC_PIXEL_MODE in my kernel config. The console terminal is okay until I don't excess 1280x960x32 video mode. Do you have any idea to fix this ? -- Demelier David -------------- next part -------------- mode# flags type size font window linear buffer ------------------------------------------------------------------------------ 0 (0x000) 0x00000001 T 40x25 8x8 0xb8000 32k 32k 0x00000000 32k 1 (0x001) 0x00000001 T 40x25 8x8 0xb8000 32k 32k 0x00000000 32k 2 (0x002) 0x00000001 T 80x25 8x8 0xb8000 32k 32k 0x00000000 32k 3 (0x003) 0x00000001 T 80x25 8x8 0xb8000 32k 32k 0x00000000 32k 4 (0x004) 0x00000003 G 320x200x2 C 8x8 0xb8000 32k 32k 0x00000000 32k 5 (0x005) 0x00000003 G 320x200x2 C 8x8 0xb8000 32k 32k 0x00000000 32k 6 (0x006) 0x00000003 G 640x200x1 C 8x8 0xb8000 32k 32k 0x00000000 32k 13 (0x00d) 0x00000003 G 320x200x4 4 8x8 0xa0000 64k 64k 0x00000000 256k 14 (0x00e) 0x00000003 G 640x200x4 4 8x8 0xa0000 64k 64k 0x00000000 256k 16 (0x010) 0x00000003 G 640x350x2 2 8x14 0xa0000 64k 64k 0x00000000 128k 18 (0x012) 0x00000003 G 640x350x4 4 8x14 0xa0000 64k 64k 0x00000000 256k 19 (0x013) 0x00000001 T 40x25 8x14 0xb8000 32k 32k 0x00000000 32k 20 (0x014) 0x00000001 T 40x25 8x14 0xb8000 32k 32k 0x00000000 32k 21 (0x015) 0x00000001 T 80x25 8x14 0xb8000 32k 32k 0x00000000 32k 22 (0x016) 0x00000001 T 80x25 8x14 0xb8000 32k 32k 0x00000000 32k 23 (0x017) 0x00000001 T 40x25 8x16 0xb8000 32k 32k 0x00000000 32k 24 (0x018) 0x00000001 T 80x25 8x16 0xb8000 32k 32k 0x00000000 32k 26 (0x01a) 0x00000003 G 640x480x4 4 8x16 0xa0000 64k 64k 0x00000000 256k 27 (0x01b) 0x00000003 G 640x480x4 4 8x16 0xa0000 64k 64k 0x00000000 256k 28 (0x01c) 0x00000003 G 320x200x8 P 8x8 0xa0000 64k 64k 0x00000000 64k 30 (0x01e) 0x00000001 T 80x50 8x8 0xb8000 32k 32k 0x00000000 32k 32 (0x020) 0x00000001 T 80x30 8x16 0xb8000 32k 32k 0x00000000 32k 34 (0x022) 0x00000001 T 80x60 8x8 0xb8000 32k 32k 0x00000000 32k 37 (0x025) 0x00000003 G 320x240x8 V 8x8 0xa0000 64k 64k 0x00000000 256k 112 (0x070) 0x00000000 T 80x43 8x8 0xb8000 32k 32k 0x00000000 32k 113 (0x071) 0x00000001 T 80x43 8x8 0xb8000 32k 32k 0x00000000 32k 256 (0x100) 0x0000001f G 640x400x8 P 8x16 0xa0000 64k 64k 0xc0000000 250k 257 (0x101) 0x0000001f G 640x480x8 P 8x16 0xa0000 64k 64k 0xc0000000 300k 259 (0x103) 0x0000001f G 800x600x8 P 8x14 0xa0000 64k 64k 0xc0000000 487k 261 (0x105) 0x0000001f G 1024x768x8 P 8x16 0xa0000 64k 64k 0xc0000000 768k 263 (0x107) 0x0000001f G 1280x1024x8 P 8x16 0xa0000 64k 64k 0xc0000000 1280k 269 (0x10d) 0x0000001f G 320x200x16 D 8x8 0xa0000 64k 64k 0xc0000000 125k 270 (0x10e) 0x0000001f G 320x200x16 D 8x8 0xa0000 64k 64k 0xc0000000 125k 272 (0x110) 0x0000001f G 640x480x16 D 8x16 0xa0000 64k 64k 0xc0000000 600k 273 (0x111) 0x0000001f G 640x480x16 D 8x16 0xa0000 64k 64k 0xc0000000 600k 275 (0x113) 0x0000001f G 800x600x16 D 8x14 0xa0000 64k 64k 0xc0000000 937k 276 (0x114) 0x0000001f G 800x600x16 D 8x14 0xa0000 64k 64k 0xc0000000 937k 278 (0x116) 0x0000001f G 1024x768x16 D 8x16 0xa0000 64k 64k 0xc0000000 1536k 279 (0x117) 0x0000001f G 1024x768x16 D 8x16 0xa0000 64k 64k 0xc0000000 1536k 281 (0x119) 0x0000001f G 1280x1024x16 D 8x16 0xa0000 64k 64k 0xc0000000 2560k 282 (0x11a) 0x0000001f G 1280x1024x16 D 8x16 0xa0000 64k 64k 0xc0000000 2560k 288 (0x120) 0x0000001f G 320x200x32 D 8x8 0xa0000 64k 64k 0xc0000000 250k 289 (0x121) 0x0000001f G 640x480x32 D 8x16 0xa0000 64k 64k 0xc0000000 1200k 290 (0x122) 0x0000001f G 800x600x32 D 8x14 0xa0000 64k 64k 0xc0000000 1875k 291 (0x123) 0x0000001f G 1024x768x32 D 8x16 0xa0000 64k 64k 0xc0000000 3072k 292 (0x124) 0x0000001f G 1280x1024x32 D 8x16 0xa0000 64k 64k 0xc0000000 5120k 307 (0x133) 0x0000001f G 720x400x8 P 8x16 0xa0000 64k 64k 0xc0000000 300k 309 (0x135) 0x0000001f G 720x400x16 D 8x16 0xa0000 64k 64k 0xc0000000 575k 310 (0x136) 0x0000001f G 720x400x32 D 8x16 0xa0000 64k 64k 0xc0000000 1150k 323 (0x143) 0x0000001f G 1400x1050x8 P 8x16 0xa0000 64k 64k 0xc0000000 1443k 325 (0x145) 0x0000001f G 1400x1050x16 D 8x16 0xa0000 64k 64k 0xc0000000 2887k 326 (0x146) 0x0000001f G 1400x1050x32 D 8x16 0xa0000 64k 64k 0xc0000000 5775k 339 (0x153) 0x0000001f G 1152x864x8 P 8x16 0xa0000 64k 64k 0xc0000000 972k 341 (0x155) 0x0000001f G 1152x864x16 D 8x16 0xa0000 64k 64k 0xc0000000 1944k 342 (0x156) 0x0000001f G 1152x864x32 D 8x16 0xa0000 64k 64k 0xc0000000 3888k 355 (0x163) 0x0000001f G 1280x960x8 P 8x16 0xa0000 64k 64k 0xc0000000 1200k 357 (0x165) 0x0000001f G 1280x960x16 D 8x16 0xa0000 64k 64k 0xc0000000 2400k 358 (0x166) 0x0000001f G 1280x960x32 D 8x16 0xa0000 64k 64k 0xc0000000 4800k 371 (0x173) 0x0000001f G 1600x1200x8 P 8x16 0xa0000 64k 64k 0xc0000000 1875k 373 (0x175) 0x0000001f G 1600x1200x16 D 8x16 0xa0000 64k 64k 0xc0000000 3750k 374 (0x176) 0x0000001f G 1600x1200x32 D 8x16 0xa0000 64k 64k 0xc0000000 7500k 387 (0x183) 0x0000001f G 1792x1344x8 P 8x16 0xa0000 64k 64k 0xc0000000 2352k 389 (0x185) 0x0000001f G 1792x1344x16 D 8x16 0xa0000 64k 64k 0xc0000000 4704k 390 (0x186) 0x0000001f G 1792x1344x32 D 8x16 0xa0000 64k 64k 0xc0000000 9408k 403 (0x193) 0x0000001f G 320x240x8 P 8x8 0xa0000 64k 64k 0xc0000000 75k 405 (0x195) 0x0000001f G 320x240x16 D 8x8 0xa0000 64k 64k 0xc0000000 150k 406 (0x196) 0x0000001f G 320x240x32 D 8x8 0xa0000 64k 64k 0xc0000000 300k 435 (0x1b3) 0x0000001f G 512x384x8 P 8x16 0xa0000 64k 64k 0xc0000000 192k 437 (0x1b5) 0x0000001f G 512x384x16 D 8x16 0xa0000 64k 64k 0xc0000000 384k 438 (0x1b6) 0x0000001f G 512x384x32 D 8x16 0xa0000 64k 64k 0xc0000000 768k 451 (0x1c3) 0x0000001f G 640x350x8 P 8x14 0xa0000 64k 64k 0xc0000000 218k 453 (0x1c5) 0x0000001f G 640x350x16 D 8x14 0xa0000 64k 64k 0xc0000000 437k 454 (0x1c6) 0x0000001f G 640x350x32 D 8x14 0xa0000 64k 64k 0xc0000000 875k 467 (0x1d3) 0x0000001f G 1856x1392x8 P 8x16 0xa0000 64k 64k 0xc0000000 2523k 469 (0x1d5) 0x0000001f G 1856x1392x16 D 8x16 0xa0000 64k 64k 0xc0000000 5046k 470 (0x1d6) 0x0000001f G 1856x1392x32 D 8x16 0xa0000 64k 64k 0xc0000000 10092k 483 (0x1e3) 0x0000001f G 1920x1440x8 P 8x16 0xa0000 64k 64k 0xc0000000 2700k 485 (0x1e5) 0x0000001f G 1920x1440x16 D 8x16 0xa0000 64k 64k 0xc0000000 5400k 486 (0x1e6) 0x0000001f G 1920x1440x32 D 8x16 0xa0000 64k 64k 0xc0000000 10800k 494 (0x1ee) 0x0000001f G 1366x768x8 P 8x16 0xa0000 64k 64k 0xc0000000 1056k 495 (0x1ef) 0x0000001f G 1366x768x16 D 8x16 0xa0000 64k 64k 0xc0000000 2064k 496 (0x1f0) 0x0000001f G 1366x768x32 D 8x16 0xa0000 64k 64k 0xc0000000 4128k
On Wednesday 02 June 2010 04:25 pm, David DEMELIER wrote:> Hi there, > > I was so happy to see that VESA is available for amd64, but > unfortunately it does not work really well for me. Take a look at > this picture : > > http://img717.imageshack.us/img717/7311/dsc00399h.jpg > > My laptop is a 15,6" so the best resolution is 1366x768, I tried > this > > : vidcontrol MODE_496. As you can see on the picture all the lines > : are > > completely everywhere, if I mouse the cursor they move away (I'm > not drunk!). > > I have SC_PIXEL_MODE in my kernel config. > > The console terminal is okay until I don't excess 1280x960x32 video > mode. > > Do you have any idea to fix this ?It is kinda known problem. If the mode has larger bytes per scan line than the minimum, few characters per line are lost when the screen is scrolled up or down, i.e., framebuffer copies of whole screen. When you move the mouse onto the line, entire line is redrawn and restored. That's what you are seeing. Ed might have a better idea how to fix it (CC'ed). Jung-uk Kim
>On Wednesday 02 June 2010 04:25 pm, David DEMELIER wrote: >> Hi there, >> >> I was so happy to see that VESA is available for amd64, but >> unfortunately it does not work really well for me. Take a look at >> this picture : >> >> http://img717.imageshack.us/img717/7311/dsc00399h.jpg >> >> My laptop is a 15,6" so the best resolution is 1366x768, I tried >> this >> >> : vidcontrol MODE_496. As you can see on the picture all the lines >> : are >> >> completely everywhere, if I mouse the cursor they move away (I'm >> not drunk!). >> >> I have SC_PIXEL_MODE in my kernel config. >> >> The console terminal is okay until I don't excess 1280x960x32 video >> mode. >> >> Do you have any idea to fix this ? > >It is kinda known problem. If the mode has larger bytes per scan line >than the minimum, few characters per line are lost when the screen is >scrolled up or down, i.e., framebuffer copies of whole screen. When >you move the mouse onto the line, entire line is redrawn and >restored. That's what you are seeing. Ed might have a better idea >how to fix it (CC'ed). > >Jung-uk Kimthis is incorrent calculate the scan lines in the vesa driver Jung-uk Kim should to fix it