Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [11-2007 Date Index] [Date Next] || [Thread Prev] [11-2007 Thread Index] [Thread Next]

[haiku-development] Invalid frame position when setting display mode

  • From: Gerald Zajac <zajacg@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 20 Nov 2007 15:57:20 -0500
When using a Savage video card, I can change the display mode on the first boot after installing Haiku, and it changes okay. However, when it is rebooted, the frame position is set to an invalid position because the members h_display_start and v_display_start in the display_mode struct contain invalid values. In the past, these values have always been 0,0; whereas, recently with r22950 I have seen values of 54172, 44 which are obviously invalid.

The Savage driver sets the frame position to the values contained in h_display_start and v_display_start when it sets the display mode. Should the Savage driver continue to use the values in h_display_start and v_display_start to set the frame position, or should these values be ignored and the frame position always set to 0,0 when setting the display mode. In the later case the frame position would only be changed from 0,0 by the Move Display function. Some of the other drivers that I looked at seem to ignore the values in h_display_start and v_display_start when setting the display mode.

I do not know when this problem started since I update my Haiku images infrequently. However, Ronny Wisor, who informed me of this problem, stated that it has been ocurring for a couple weeks.

Gerald Zajac





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.