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

 
 

bug #10134: XF86VidModeGetAllModeLines and htotal/vtotal

Submitted by:  None
Submitted on:  Tue 24 Aug 2004 01:34:06 PM UTC  
 
Category: clanDisplaySeverity: 3 - Normal
Item Group: Crash ErrorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 0.7.8
Operating System: GNU/LinuxPlanned Release: 0.7.8

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1