Re: problems with xf86vidmode
H}kan Hjort <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
Mon Dec 15 2003, Johannes Weißl wrote:
> Note[ogle_vout]: Using 'XF86VidMode' as source for resolution
> Note[ogle_vout]: Display w: 322, h: 241, hp: 1280, vp: 0
> Note[ogle_vout]: Display sar: 1074149644/134517259 = 7.985218
> Note[ogle_vout]: Found 12 matching visuals, using visual id: 21
> Note[ogle_vout]: Found Xv extension 2.2, checking for suitable adaptors
> Note[ogle_vout]: Xv adaptor "NV17 Video Overlay" port 105 image format 842094169
> Debug[ogle_ctrl]: child: 24727 killed (/usr/lib/ogle/ogle_vout)
> Debug[ogle_ctrl]: pid: 24727 terminated on signal: 8 (/usr/lib/ogle/ogle_vout)
The vp: 0 looks strange.
That is the output of the following code:
if(XF86VidModeGetModeLine(dpy, screen_nr, &dotclk, &modeline)) {
if(modeline.privsize != 0) {
XFree(modeline.private);
}
info->resolution.horizontal_pixels = modeline.hdisplay;
info->resolution.vertical_pixels = modeline.vdisplay;
...
}
I agree that there should atleast be some sanity checking here, but it looks
like we get this 0 'hight' information from the Xserver.
Does your header files for X match the installed version of XFree86?
Was Ogle built against the same version of XFree86? What graphics card
and which XFree86 driver are you using?
--
Håkan Hjort