Re: sid/xorg und fehlerhaftes Fullscreen Video Playback
So,
ich habe noch etwas weiter probiert.
Ein kleines QT Programm bringt mir folgende Ergebnisse:
Desktop :0.0 (CRT)
# DISPLAY=:0.0 ./vidtest
Total desktop dim: 1400x1050, with 1 screen[s].
Using screen 0, 1400x1050 at 0,0
Desktop :0.1 (TV)
# DISPLAY=:0.1 ./vidtest
Total desktop dim: 1024x768, with 1 screen[s].
Using screen 0, 1400x1050 at 0,0
Da liegt wohl also der Hund begraben. Leider hilft mir das immer noch
nicht zu sagen wer dafür verantwortlich ist um einen Bugreport zu
erzeugen.
Ich hänge das kurze QT Programm mal an, vielleicht hat ja ein andere
NVidia Dual-Head Nutzer Lust es auszuprobieren. (g++ -o vidtest
vidtest.cpp -lqt-mt)
--
Markus Schulz
Unix gives you just enough rope to hang yourself - and then acouple more
feet, just to be sure.
-- Eric Allman
#include <qt3/qapplication.h>
#include <qt3/qdesktopwidget.h>
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
QApplication app(argc, argv);
QDesktopWidget * desktop = QApplication::desktop();
if(!desktop) {
cout << "Kein Desktop vorhanden"<<endl;
return -1;
}
QString x = QString("Total desktop dim: %1x%2, with %3 screen[s].")
.arg(desktop->width()).arg(desktop->height())
.arg(desktop->numScreens());
cout << x << endl;
int screen = desktop->primaryScreen();
QRect bounds = desktop->screenGeometry(screen);
x = QString("Using screen %1, %2x%3 at %4,%5")
.arg(screen).arg(bounds.width()).arg(bounds.height())
.arg(bounds.x()).arg(bounds.y());
cout << x << endl;
return 0;
}
Reply to: