Posts by vdr_pirsl

    Naja, ich habe mal einfach die BytesperLine Überprüfung weggelassen und es funktioniert jetzt.
    Für eine Erklärung wäre ich aber trotzdem dankbar.

    Code
    if (vb.base!=(void*)FbAddr || vb.depth!=Bpp || vb.height!=SizeY || vb.width!=SizeX/* || vb.bytesperline!=((vb.depth + 1) / 8) * vb.width */)
        {
        	 fprintf(stderr,"kvdr and v4l-conf disagree about the framebuffer geometry\noverlay will not be shown\n");

    An der Stelle, an der ich die Fehlermeldung bekomme, habe ich folgendes ausgeben lassen:

    ...
    kvdr and v4l-conf disagree about the framebuffer geometry
    overlay will not be shown
    Ist -> SizeX: 1600 SizeY: 1200 FbAddr: D8000000 Bpp: 16 BytesPerLine: 3200
    Soll -> SizeX: 1600 SizeY: 1200 FbAddr: D8000000 Bpp: 16 BytesPerLine: 3584
    ...

    Das Problem ist nun, dass die BytesPerLines nicht uebereinstimmen.
    BytesperLines von vb struct -> ioctl(video_fd.handle(), VIDIOCGFBUF, &vb):
    3584
    BytesPerLines erreichnet -> ((vb.depth + 1) / 8) * vb.width )
    3200
    Wie kommt es zu den 3584?

    Hat es was mit den Einstellungen in der /etc/fb.modes zu tun?

    Den Output von oben habe ich mit der XawTV (v4l-conf) Version 3.83 bekommen.
    Ich habe jetzt die Version 3.85 installiert und nun bekomme das hier:
    Was hat das zu bedeuten?
    Es scheint was mit meinen Grafiktreibern nicht zu stimmen.

    pirsl@cartman:~> kvdr
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    kvdr and v4l-conf disagree about the framebuffer geometry
    overlay will not be shown

    Beim starten von Kvdr bleibt das Bild schwarz und ich krieg immer:
    GList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    QGList::locate: Index 0 out of range
    kvdr and v4l-conf disagree about the framebuffer geometry
    overlay will not be shown

    v4l-conf als root ausgeführt:

    cartman:/dev # v4l-conf
    v4l-conf: using X11 display :0.0
    dga: version 2.0
    mode: 1600x1200, depth=16, bpp=16, bpl=3584, base=0xd8000000
    /dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
    /dev/video0 [v4l]: configuration done
    ------
    cartman:/dev # v4l-conf -f
    map: vt07 => fb0
    v4l-conf: using framebuffer device /dev/fb0
    mode: 1024x768, depth=16, bpp=16, bpl=2048, base=0xd8000000
    /dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
    /dev/video0 [v4l]: configuration done
    ------

    xawtv funktioniert aber.

    Was kanns da haben?

    System:
    Suse 8.1
    Vdr 1.1.14 / siemens_dvb-0.9.4-2002-06-23
    XFree 4.2 (NVIDIA_GLX-1.0-3123.tar.gz)
    Kernel: 2.4.21-pre3-ac4
    Grafikkarte: MSI Geforce4 TI 4200
    Mainboard: ASUS A7N8X Deluxe

    XF86Conf-4:
    ...
    Section "Module"
    Load "extmod"
    Load "v4l"
    Load "dbe"
    Load "glx"
    Load "type1"
    Load "freetype"
    Load "speedo"
    EndSection
    ...