[Bug 270846] New: Add support for new RANDR 1.2 driver configuration theme
https://bugzilla.novell.com/show_bug.cgi?id=270846 Summary: Add support for new RANDR 1.2 driver configuration theme Product: openSUSE 10.3 Version: Alpha 3 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: SaX2 AssignedTo: ms@novell.com ReportedBy: sndirsch@novell.com QAContact: qa@suse.de CC: mhopf@novell.com As already discussed together with Matthias for RANDR 1.2 we'll need support for the new driver configuration theme in SaX2. :-( "intel" driver can already be used for testing. I thought it would be a good place to track the status in Bugzilla and to discuss issues and details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mhopf@novell.com ------- Comment #1 from sndirsch@novell.com 2007-05-03 03:15 MST ------- On Tue, Apr 10, 2007 at 02:47:31PM +0200, Matthias Hopf wrote:
On Apr 08, 07 19:05:03 +0200, Stefan Dirsch wrote:
Hattest Du da nicht noch ein Action Item offen? Ob die Monitorinfo im
Logfile vom Server oder vom Treiber kommt oder so.
Ja, habe ich.
==> NEEDINFO(mhopf) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add support for new RANDR |sax2: Add support for new RANDR 1.2 driver |1.2 driver configuration |configuration theme |theme | ------- Comment #2 from ms@novell.com 2007-05-03 03:49 MST ------- just a side note: I'm very busy with other tasks right now so this one here should be clarified and specified _exactly_ as soon as possible. I also like to ask for help concerning query of randr extension data (example implementation somewhere ?) Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ------- Comment #3 from mhopf@novell.com 2007-05-03 08:45 MST ------- Example source: There's currently only the xrandr implementation (rather short, approx. 2000 lines of code all in all): ivanova:/space/mhopf/xorg/app/xrandr/xrandr.c -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846
mhopf@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|mhopf@novell.com |
------- Comment #4 from mhopf@novell.com 2007-05-03 11:12 MST -------
All monitor-specific data still comes from the driver :-(
(II) intel(0): Output configuration:
(II) intel(0): Pipe A is on
(II) intel(0): Display plane A is now enabled and connected to pipe A.
(II) intel(0): Pipe B is off
(II) intel(0): Display plane B is now disabled and connected to pipe B.
(II) intel(0): Output VGA is connected to pipe A
Even worse, this full information is not included with -probeonly. With that
option, only the previous short information is available:
(II) intel(0): Output VGA connected
(II) intel(0): Output VGA using initial mode 1152x768
Ok, now as Keith has added the "Enable" option, we can even have the same
configuration as before, by adding a monitor section for each detected monitor,
with the 'Option "Enable" "true"' included (tested, this works).
However, strictly speaking this is no longer necessary as we already have a
workaround / solution for that in /etc/sysconfig/displaymanager, setting this
dynamically just before login.
We should discuss which way to go in this case (laptop).
For the general (fixed monitors, dual-head workstation) case:
In sax, add monitor descriptions named "Monitor[<OUTPUT>]" as found, add
Option "monitor-<OUTPUT>" "Monitor[<OUTPUT>]"
to the driver section. Add
Virtual <width> <height>
with the *total* width and height of the complete monitor setup to each Display
subsection of the Screen section. Add
Option "LeftOf" "Monitor[
https://bugzilla.novell.com/show_bug.cgi?id=270846 ------- Comment #5 from ms@novell.com 2007-05-04 02:29 MST ------- For the randr part I have created a small app for testing. It is attached to this bug report. There is a //TODO comment maybe Matthias can have a look what information is really needed in case of the configuration Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ------- Comment #6 from ms@novell.com 2007-05-04 02:30 MST ------- Created an attachment (id=137439) --> (https://bugzilla.novell.com/attachment.cgi?id=137439&action=view) randr 1.2 test coding -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ------- Comment #7 from sndirsch@novell.com 2007-05-04 07:16 MST ------- This is something for Matthias: nv driver uses for outputs VGA1/DVI1 and VGA2/DVI0. BTW, DVI0 looks strange for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mhopf@novell.com ------- Comment #8 from ms@novell.com 2007-05-07 02:23 MST ------- Matthias if you find time could you check and adapt the code from comment #6 according to the needs of the configuration Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ------- Comment #9 from mhopf@novell.com 2007-05-07 04:25 MST ------- I will. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |casualprogrammer@yahoo.com ------- Comment #10 from ms@novell.com 2007-05-07 06:34 MST ------- *** Bug 271770 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |270937 nThis| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felix.rommel@web.de ------- Comment #12 from ms@novell.com 2007-06-03 13:33 MST ------- *** Bug 280336 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270846#c13
--- Comment #13 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c14
--- Comment #14 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c17
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c18
--- Comment #18 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c19
--- Comment #19 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c20
--- Comment #20 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c21
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c29
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c31
--- Comment #31 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c32
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c33
--- Comment #33 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c34
--- Comment #34 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c35
--- Comment #35 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c36
--- Comment #36 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=270846#c37
--- Comment #37 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c38
--- Comment #38 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c39
--- Comment #39 from Stefan Dirsch
Thanks. I'll update the xorg.conf manual page. done (xorg-x11-server package)
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=270846#c40
Marcus Schaefer
SaX.log shows, that sysp is apparently not printing enough information, and that one is interpreted wrong: Card0 => RandR : TV disconnected 0 That is only one of 4 outputs, and it is disconnected, so it shouldn't be used.
That information is the result from your patch. I just rely on what has been changed there -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=270846#c41
--- Comment #41 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c42
Matthias Hopf
SaX.log shows, that sysp is apparently not printing enough information, and that one is interpreted wrong: Card0 => RandR : TV disconnected 0 That is only one of 4 outputs, and it is disconnected, so it shouldn't be used.
That information is the result from your patch. I just rely on what has been changed there
It is there. The patch just prints out 4 lines. This is just the first line. Also I noted that a "Preferred" option was added, while the '0' indicates that there is no preferred mode. But that is a minor issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=270846#c43
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c44
Matthias Hopf
1) TV or not tv ?
If this cannot be handled like described above, I would like to have TV ignored, due to serveral serious issues (needs to be specified more (PAL/NTSC), low res, connection scanning fails often, etc.).
2) how to handle "disconnected" ?
They should IMHO not be configured.
3) Position setup is only possible in new Monitor section not in the existing section. So
Option "Position" "0 0" is equal to leftOf
==> what would be rightof, above and below ?
In that case we should use LeftOf etc., and fix the remaining issues in RandR (should do that anyway). AFAIK you cannot have negative position values. You only need LeftOf etc. in all but one monitor sections. With "position" you have to put it into each and every monitor section.
4) there are too many code paths for the setup of vsync in sax2 (DDC data CDB data, special profiles, etc...) if 60Hz is not valid anymore I
I understand. In that case, a safe margin in the Xserver is probably the best idea.
would suggest that the X-Server takes care for a not too restrictive check. And does this apply to intel only or all drivers ? If sufficient we can adapt the ranges in the CDB
That's probably for all RandR 1.2 capable drivers. As long as they use the infrastructure from RandR, and don't provide their own, that is... HTH, more tomorrow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=270846#c45
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846#c46
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c47
--- Comment #47 from Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846#c48
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=270846
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=270846#c49
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=270846
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=270846#c50
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=270846#c51
--- Comment #51 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=270846#c52
--- Comment #52 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=270846
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=270846#c53
--- Comment #53 from Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com