[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707181645.01097.a1426z@gawab.com>
Date: Wed, 18 Jul 2007 16:45:01 +0300
From: Al Boldi <a1426z@...ab.com>
To: "Antonino A. Daplas" <adaplas@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: VESAFB CUSTOM RESOLUTION
Antonino A. Daplas wrote:
> On Wed, 2007-07-18 at 13:42 +0300, Al Boldi wrote:
> > Geert Uytterhoeven wrote:
> > > On Wed, 18 Jul 2007, Sasa Ostrouska wrote:
> >
> > Is there any technical reason why vesafb shouldn't support non-BIOS
> > modes?
>
> vesafb can only use modes included by the vendor in the card's BIOS. The
> mode table contains standard modes defined by VESA, and perhaps
> vendor-defined custom modes. However, the mode ID of custom modes varies
> from card to card, so you have to 'probe' the BIOS first for the list of
> modes and their associated ID. X + the 'vesa' driver does that probe,
> and so does the lrmi tool vbetest.
>
> So, one cannot just set any mode, unless that mode is already defined in
> the BIOS mode table. In VBE 3.0, you might be able to choose an
> arbitrary vertical refresh rate, but that's the best mode tuning you can
> do with the video BIOS.
Thanks for a great explanation!
Looks like this chip supports VBE 3.0, but it only locks into 60Hz refresh.
Here is an excerpt; full log attached.
Thanks!
============================
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) VESA(0): initializing int10
(II) VESA(0): Primary V_BIOS segment is: 0xc000
(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 3.0
(II) VESA(0): VESA VBE Total Mem: 16384 kB
(II) VESA(0): VESA VBE OEM: VIA P4M800 PRO
(II) VESA(0): VESA VBE OEM Software Rev: 1.0
(II) VESA(0): VESA VBE OEM Vendor:
(II) VESA(0): VESA VBE OEM Product:
(II) VESA(0): VESA VBE OEM Product Rev:
(**) VESA(0): Depth 16, (--) framebuffer bpp 16
(==) VESA(0): RGB weight 565
(==) VESA(0): Default visual is TrueColor
(==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) VESA(0): VESA VBE DDC supported
(II) VESA(0): VESA VBE DDC Level 2
(II) VESA(0): VESA VBE DDC transfer in appr. 1 sec.
(II) VESA(0): VESA VBE DDC read successfully
(II) VESA(0): Manufacturer: API Model: 9805 Serial#: 1209
(II) VESA(0): Year: 2002 Week: 8
(II) VESA(0): EDID Version: 1.3
(II) VESA(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) VESA(0): Sync: Separate
(II) VESA(0): Max H-Image Size [cm]: horiz.: 31 vert.: 23
(II) VESA(0): Gamma: 2.90
(II) VESA(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) VESA(0): First detailed timing is preferred mode
(II) VESA(0): redX: 0.645 redY: 0.320 greenX: 0.273 greenY: 0.593
(II) VESA(0): blueX: 0.143 blueY: 0.063 whiteX: 0.282 whiteY: 0.297
(II) VESA(0): Supported VESA Video Modes:
(II) VESA(0): 720x400@...z
(II) VESA(0): 640x480@...z
(II) VESA(0): 640x480@...z
(II) VESA(0): 640x480@...z
(II) VESA(0): 800x600@...z
(II) VESA(0): 800x600@...z
(II) VESA(0): 800x600@...z
(II) VESA(0): 800x600@...z
(II) VESA(0): 1024x768@...z
(II) VESA(0): 1024x768@...z
(II) VESA(0): 1024x768@...z
(II) VESA(0): 1280x1024@...z
(II) VESA(0): Manufacturer's mask: 0
(II) VESA(0): Supported Future Video Modes:
(II) VESA(0): #0: hsize: 800 vsize 600 refresh: 85 vid: 22853
(II) VESA(0): #1: hsize: 1024 vsize 768 refresh: 85 vid: 22881
(II) VESA(0): #2: hsize: 1600 vsize 1200 refresh: 60 vid: 16553
(II) VESA(0): #3: hsize: 1600 vsize 1200 refresh: 65 vid: 17833
(II) VESA(0): Supported additional Video Mode:
(II) VESA(0): clock: 94.5 MHz Image Size: 310 x 230 mm
(II) VESA(0): h_active: 1024 h_sync: 1072 h_sync_end 1168 h_blank_end 1376
h_border: 0
(II) VESA(0): v_active: 768 v_sync: 769 v_sync_end 772 v_blanking: 808
v_border: 0
(II) VESA(0): Monitor name: Acer G781
(II) VESA(0): Serial No: 01209
(II) VESA(0): Ranges: V min: 50 V max: 120 Hz, H min: 30 H max: 86 kHz,
PixClock max 130 MHz
:
:
(II) VESA(0): Total Memory: 256 64KB banks (16384kB)
(II) VESA(0): monitor1: Using hsync range of 30.00-86.00 kHz
(II) VESA(0): monitor1: Using vrefresh range of 50.00-120.00 Hz
(II) VESA(0): Not using built-in mode "1600x1200" (width too large for
virtual size)
(II) VESA(0): Not using built-in mode "1280x1024" (width too large for
virtual size)
(--) VESA(0): Virtual size is 1024x768 (pitch 1024)
(**) VESA(0): *Built-in mode "1024x768"
(**) VESA(0): *Built-in mode "800x600"
(**) VESA(0): *Built-in mode "640x480"
(--) VESA(0): Display dimensions: (310, 230) mm
(--) VESA(0): DPI set to (83, 84)
(II) VESA(0): Attempting to use 85Hz refresh for mode "1024x768" (117)
(II) VESA(0): Attempting to use 85Hz refresh for mode "800x600" (114)
(II) VESA(0): Attempting to use 85Hz refresh for mode "640x480" (111)
(**) VESA(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/X11R6/lib/modules/libshadow.a
(II) Module shadow: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) do I need RAC? No, I don't.
:
:
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) VESA(0): initializing int10
(II) VESA(0): Primary V_BIOS segment is: 0xc000
(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 3.0
(II) VESA(0): VESA VBE Total Mem: 16384 kB
(II) VESA(0): VESA VBE OEM: VIA P4M800 PRO
(II) VESA(0): VESA VBE OEM Software Rev: 1.0
(II) VESA(0): VESA VBE OEM Vendor:
(II) VESA(0): VESA VBE OEM Product:
(II) VESA(0): VESA VBE OEM Product Rev:
(==) VESA(0): Write-combining range (0xf4000000,0x1000000)
(II) VESA(0): virtual address = 0xb6d7f000,
physical address = 0xf4000000, size = 16777216
(II) VESA(0): VBESetVBEMode failed...Tried again without customized values.
--
Al
Download attachment "x.log.bz2" of type "application/x-bzip2" (6686 bytes)
Powered by blists - more mailing lists