Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 09:46:11 +0000
From:      gmarco@masternet.it
To:        mobile@freebsd.org
Cc:        esperti@gufi.org
Subject:   raster display problem (FreeBSD vs Linux)
Message-ID:  <200401250946.11946.gmarco@masternet.it>

next in thread | raw e-mail | index | archive | help
Hi,
I have a fujitsu-siemens lifebook s6120, running FreeBSD 4.9-STABLE.
I'd like to set the console display to the VESA_800x600.

The mode supported are:

    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 1     8x8   0xb8000 32k 32k 0x00000000 32k
  5 (0x005) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k 0x00000000 32k
  6 (0x006) 0x00000003 G 640x200x1 1     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 1     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 4     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
257 (0x101) 0x0000000f G 640x480x8 1     8x16  0xa0000 64k 64k 0xd8000000 
8000k
259 (0x103) 0x0000000f G 800x600x8 1     8x16  0xa0000 64k 64k 0xd8000000 
8000k
261 (0x105) 0x0000000f G 1024x768x8 1    8x16  0xa0000 64k 64k 0xd8000000 
8000k
263 (0x107) 0x0000000f G 1280x1024x8 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
273 (0x111) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xd8000000 
8000k
274 (0x112) 0x0000000f G 640x480x32 1    8x16  0xa0000 64k 64k 0xd8000000 
8000k
276 (0x114) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xd8000000 
8000k
277 (0x115) 0x0000000f G 800x600x32 1    8x16  0xa0000 64k 64k 0xd8000000 
8000k
279 (0x117) 0x0000000f G 1024x768x16 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
280 (0x118) 0x0000000f G 1024x768x32 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
282 (0x11a) 0x0000000f G 1280x1024x16 1  8x16  0xa0000 64k 64k 0xd8000000 
8000k
283 (0x11b) 0x0000000f G 1280x1024x32 1  8x16  0xa0000 64k 64k 0xd8000000 
8000k
310 (0x136) 0x0000000f G 1024x600x8 1    8x16  0xa0000 64k 64k 0xd8000000 
8000k
314 (0x13a) 0x0000000f G 1600x1200x8 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
316 (0x13c) 0x0000000f G 1920x1440x8 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
327 (0x147) 0x0000000f G 1024x600x16 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
331 (0x14b) 0x0000000f G 1600x1200x16 1  8x16  0xa0000 64k 64k 0xd8000000 
8000k
333 (0x14d) 0x0000000f G 1920x1440x16 1  8x16  0xa0000 64k 64k 0xd8000000 
8000k
342 (0x156) 0x0000000f G 1024x600x32 1   8x16  0xa0000 64k 64k 0xd8000000 
8000k
346 (0x15a) 0x0000000f G 1600x1200x32 1  8x16  0xa0000 64k 64k 0xd8000000 
8000k
348 (0x15c) 0x0000000f G 1920x1440x32 1  8x16  0xa0000 64k 64k 0xd8000000 
8000k

but when I try to set it I got:
vidcontrol -g 80x60 VESA_800x600
vidcontrol: cannot activate raster display: Operation not supported by device

While the text mode 80x60 works great (with 8x8 font).

The dmesg shows:
[...]
FreeBSD 4.9-STABLE #4: Sun Jan 25 04:10:18 GMT 2004
    gmarco@lifebook.giovannelli.com:/usr/obj/usr/src/sys/FREEBSD
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1399961964 Hz
CPU: Intel(R) Pentium(R) M processor 1400MHz (1399.96-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 527368192 (515008K bytes)
avail memory = 509669376 (497724K bytes)
Preloaded elf kernel "kernel" at 0xc0363000.
VESA: v3.0, 8000k memory, flags:0x1, mode table:0xc02f40c0 (1000040)
VESA: Intel(r)852MG/852MGE/855MG/855MGE Graphics Chip Accelerated VGA BIOS
Pentium Pro MTRR support enabled
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: <FUJ    FJNB16C > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xfc08-0xfc0b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x8086, dev=0x3584) at 0.1
pci0: <unknown card> (vendor=0x8086, dev=0x3585) at 0.3
agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> port 0x1800-0x1807 mem 
0xd0000000-0xd007ffff,0xd8000000-0xdfffffff irq 11 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
[...]

and in my kernel I have:
[...]
device          agp
[...]
device          sc0     at isa? flags 0x100
options         VESA
options         SC_PIXEL_MODE
[...]

In the same notebook a lot of Linux distros I have tested use the raster 
display without problem so it should not a problem of the graphic card 
itself. Probably I miss something but I really don't know what. Any idea ?

Should it be a font problem ? I don't load any fonts in rc.conf so I am using 
the default ones.

Thanks ...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401250946.11946.gmarco>