Bug 127510

Summary: New Dualhead Profile entries in x11DB for nv/nvidia and radeon/fglrx driver
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stefan Dirsch <sndirsch>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Critical    
Priority: P5 - None CC: ms
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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!