[haiku-bugs] Re: [Haiku] #7787: VESA regression: 640x480 no longer works at boot (but works in Screen prefs!)

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Jul 2011 09:08:40 -0000

#7787: VESA regression: 640x480 no longer works at boot (but works in Screen
prefs!)
----------------------------------+-----------------------
   Reporter:  ttcoder             |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  System/Boot Loader  |    Version:  R1/alpha3
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  x86
----------------------------------+-----------------------

Comment (by ttcoder):

 A bit of feedback:

 - Found a [http://dev.haiku-
 os.org/browser/haiku/trunk/src/preferences/screen/gtf.cpp gtf.cpp] file in
 apps/preferences/Screen, looks like it had already been done a couple
 years back.. Wished I had looked before, it's a bit late to warn you now
 :-x
 - Examining the Screen preflet more, I think I understand the sequence to
 be like thus: Screen [http://dev.haiku-
 os.org/browser/haiku/trunk/src/preferences/screen/ScreenMode.cpp#L162
 calls] ->BScreen::GetModes(), which -> gets to the server side
 (app_server) Screen class, which -> calls AccelerantHWInterface's
 [http://dev.haiku-
 
os.org/browser/haiku/trunk/src/servers/app/drawing/AccelerantHWInterface.cpp#L733
 accelerant hook] ... which might (or might not, in the case of older
 drivers) call create_display_modes() (in accelerants/common).
 - So in short, the Screen preflet relies on the accelerant to call (or
 not) create_display_modes(), which is needed to get the best possible
 listing of modes (from all sources: EDID Vesa modes, EDID Std modes, EDID
 DetailedMonitor mode, the hardcoded base modes list, the whole shebang).
 - So next I have to dig in the bootloader's video.cpp file to see if it
 does the same (call create_display_modes()) or not..

 Ok off I go to try the latest nightly first.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7787#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: