Bug 127510 - New Dualhead Profile entries in x11DB for nv/nvidia and radeon/fglrx driver
Summary: New Dualhead Profile entries in x11DB for nv/nvidia and radeon/fglrx driver
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 09:38 UTC by Stefan Dirsch
Modified: 2005-12-08 16:24 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Dirsch 2005-10-11 09:38:33 UTC
We need new profiles for nv/nvidia (2D/3D) and radeon/fglrx (2D/3D) drivers so
the  user can select a Multihead configuration.

nv/nvidia:
        NVidia_DualHead_DriverOptions  --> 2D
        NVidia_DualHead_DriverOptions  --> 3D

radeon/fglrx:
        Radeon_DualHead_DriverOptions  --> 2D        (< R300)
        FGLRX_DualHead_DriverOptions   --> 3D        (>= R300)

For adding these entries we need to write some SQL statements instead of using
the x11DB frontend. Unfortunately the cdbintern maintainer left SUSE/Novell.
Comment 3 Stefan Dirsch 2005-11-16 23:04:54 UTC
> We need new profiles for nv/nvidia (2D/3D) and radeon/fglrx (2D/3D) drivers
> so the  user can select a Multihead configuration.
>
> nv/nvidia:
>         NVidia_DualHead_DriverOptions  --> 2D
>         NVidia_DualHead_DriverOptions  --> 3D
>
> radeon/fglrx:
>        Radeon_DualHead_DriverOptions  --> 2D        (< R300)
>        FGLRX_DualHead_DriverOptions   --> 3D        (>= R300)
>
> For adding these entries we need to write some SQL statements instead of
> using the x11DB frontend. 

Additionally the driver entry "r128" needs to be overwritten with "ati".

Pseudo Code:

case $driver in
  nv|nvidia) profile=NVidia_DualHead_DriverOptions 
  radeon)    profile=Radeon_DualHead_DriverOptions
  fglrx)     profile=FGLRX_DualHead_DriverOptions
  r128)      driver=ati
esac

I'll fix the "r128" --> "ati" change for the update in %post of xorg-x11-server package.
Comment 4 Stefan Dirsch 2005-11-21 10:52:41 UTC
> I'll fix the "r128" --> "ati" change for the update in %post of 
> xorg-x11-server package.

done.

Due to radeon driver bugs we decided to not create the DualHead Profiles any more, so it's the other way round (some profiles already exist in x11DB).

case $driver in
  nv|nvidia) test "$profile" == "NVidia_DualHead_DriverOptions" && profile=""
  radeon)    test "$profile" == "Radeon_DualHead_DriverOptions" && profile=""
  fglrx)     test "$profile" == "FGLRX_DualHead_DriverOptions" && profile=""
  r128)      driver=ati
esac
Comment 5 Stefan Dirsch 2005-11-22 11:14:20 UTC
The use of "nvidia" profile needs also to be removed (obsolete by now).

case $driver in
  nv|nvidia) test "$profile" == "NVidia_DualHead_DriverOptions" -o \
                  "$profile" == "nvidia" && profile=""
  radeon)    test "$profile" == "Radeon_DualHead_DriverOptions" && profile=""
  fglrx)     test "$profile" == "FGLRX_DualHead_DriverOptions" && profile=""
  r128)      driver=ati
esac
Comment 6 Stefan Dirsch 2005-11-23 09:20:11 UTC
Markus should be aware of this. :-) Markus, I'll contact you about details later.
Comment 7 Stefan Dirsch 2005-11-30 11:48:52 UTC
We'll meet next monday (2005-12-06).
Comment 8 Stefan Dirsch 2005-12-08 16:24:27 UTC
Markus did the changes now. Thanks a *lot*, Markus!