bugClanLib - Bugs: bug #10134, XF86VidModeGetAllModeLines and...

 
 

bug #10134: XF86VidModeGetAllModeLines and htotal/vtotal

Submitter:  None
Submitted:  Tue 24 Aug 2004 01:34:06 PM UTC
   
 
Category:  clanDisplay Severity:  3 - Normal
Item Group:  Crash Error Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  0.7.8
Operating System:  GNU/Linux Planned Release:  0.7.8
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Nov 2004 05:40:40 PM UTC, comment #1: 

I get the same problem here. It causes an arithmetic exception, so it crashes.
I have a Toshiba Laptop with an Intel I830m graphic card, and I use the i810 driver.

Blurk <blurk>
Tue 24 Aug 2004 01:34:06 PM UTC, original submission:  

Hi,

Function CL_DisplayMode::get_display_modes() in display_mode.cpp use XF86VidModeGetAllModeLines function to get video modes. I don't know this function enough to understand returned values.

bpp looks already (32), but at line 124 (or 126 ?) in the for, htotal and vtotal are checked ... And they are equal to zero !

if ((vmodes[i]->flags) & V_DBLSCAN)
  refresh_rate = vmodes[i]->dotclock 500 / (vmodes[i]->htotal vmodes[i]->vtotal);
else
  refresh_rate = vmodes[i]->dotclock 1000 / (vmodes[i]->htotal vmodes[i]->vtotal);

Is it because my video driver doesn't support this extension ? (XF86VidModeQueryExtension) I'm using VESA driver with a ATI IGP 320M.

Bye, Haypo

Bye, Haypo

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code