Bug 147097 - Missing option in xorg.conf for sax2 -m 0=nvidia
Summary: Missing option in xorg.conf for sax2 -m 0=nvidia
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Beta 2
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 20:53 UTC by Joop Boonen
Modified: 2006-02-02 19:56 UTC (History)
0 users

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


Attachments
xorg.conf as genernated by sax2 -m 0=nvidia (5.13 KB, application/octet-stream)
2006-02-01 05:45 UTC, Joop Boonen
Details
SaX.log (49.60 KB, text/x-log)
2006-02-01 16:59 UTC, Joop Boonen
Details
xorg.conf as genernated by sax2 -m 0=nvidia witch changed coordepth 24 bit (5.19 KB, application/octet-stream)
2006-02-01 17:34 UTC, Joop Boonen
Details
SaX.log for sax2 -m 0=nvidia with changed color depth 24 bit (48.43 KB, text/x-log)
2006-02-01 17:39 UTC, Joop Boonen
Details
xorg.conf as genernated by sax2 -r (4.17 KB, application/octet-stream)
2006-02-02 18:20 UTC, Joop Boonen
Details
xorg.conf as generatted by sax2 -r (50.78 KB, text/x-log)
2006-02-02 18:21 UTC, Joop Boonen
Details
xorg.conf as genernated by sax2 -r (4.29 KB, application/octet-stream)
2006-02-02 18:22 UTC, Joop Boonen
Details
SaX.log as genernated by sax2 -r (80.89 KB, text/x-log)
2006-02-02 18:24 UTC, Joop Boonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joop Boonen 2006-01-31 20:53:36 UTC
When i generate xorg.conf via sax2 -m 0=nvidia the option 
Option       "AllowGLXWithComposite"
is missing in the xorg.conf file. This causes that you can use 3D on a nvidia 6100 chipset. Maybe also other chipsets/graphic chips of nvidia?
Comment 1 Joop Boonen 2006-02-01 05:45:24 UTC
Created attachment 65976 [details]
xorg.conf as genernated by sax2 -m 0=nvidia
Comment 2 Joop Boonen 2006-02-01 07:04:53 UTC
It might ofcourse also be that this part should be in the xorg.conf, as i don't have a tv out on the board?

Section "Extensions"
  Option       "Composite" "on"
EndSectio
Comment 3 Marcus Schaefer 2006-02-01 09:33:28 UTC
The Composite extension is very unstable in combination with the binary
nvidia driver. NVidia itself dissuade the use of it, therefore sax will
not enable Composite for nvidia
Comment 4 Joop Boonen 2006-02-01 09:40:52 UTC
Option       "Composite" "on"
was enabled by SaX2. 

This means that Sax2 should put this part:
<quote>
Section "Extensions"
  Option       "Composite" "on"
EndSection
</quote>
In the xconfig.conf file
Comment 5 Joop Boonen 2006-02-01 09:42:20 UTC
See above comment why i put the bug report on reopen.
Comment 6 Marcus Schaefer 2006-02-01 09:50:06 UTC
sorry but if the real binary nvidia driver is installed sax will
not enable the Composite extension. How Do you install the nvidia
binary driver ?

    during installation
    after the installation,
    with YOU
    or manual with the nvidia installer

? I assume you have installed the driver after the installation. sax
at that point has created a nv based config with Composite enabled. After
the installation you should call

   sax2 -r

to restart the detection because your driver has changed. If you do that
Composite should be disabled
Comment 7 Marcus Schaefer 2006-02-01 11:23:37 UTC
If you don't mind call 

  sax2 -r

and send me the log file

  /var/log/SaX.log

Thanks
Comment 8 Joop Boonen 2006-02-01 16:58:35 UTC
sax2 -r -m 0=nvidia indeed generates axorg.conf without composite.
Comment 9 Joop Boonen 2006-02-01 16:59:36 UTC
Created attachment 66053 [details]
SaX.log
Comment 10 Joop Boonen 2006-02-01 17:32:08 UTC
Did the following test. sax2 -r -m 0=nvidia . Than changed the color depth to 24 bit. Than i saved i got this line in the xconf.org:
Section "Extensions"
  Option       "Composite" "on"
EndSection
Comment 11 Joop Boonen 2006-02-01 17:34:01 UTC
Created attachment 66058 [details]
xorg.conf as genernated by sax2 -m 0=nvidia witch changed coordepth 24 bit
Comment 12 Joop Boonen 2006-02-01 17:39:45 UTC
Created attachment 66059 [details]
SaX.log for sax2 -m 0=nvidia with changed color depth 24 bit
Comment 13 Joop Boonen 2006-02-01 17:41:41 UTC
So it looks like when you do some alternations a wrong config is generated. The auto config seems to be ok.
Comment 14 Joop Boonen 2006-02-01 18:04:54 UTC
The one that has Option       "Composite" "on" has the following line in xorg.conf
# Automatically generated by [ISaX] (7.1)

The one without Option       "Composite" "on" has the follwoing line in xorg.conf
# Automatically generated by [SaX2] (7.1)

So it looks like ISax is causing the errour file, while SaX2 generates the correct file.
Comment 15 Joop Boonen 2006-02-01 18:10:44 UTC
By the way i installed the binary nvidia driver by hans via the nvidia installer.

According the following instruction:
http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html
Comment 16 Joop Boonen 2006-02-01 18:11:25 UTC
type in previous coment hans should be hand
Comment 17 Marcus Schaefer 2006-02-02 09:24:56 UTC
I think I know the problem, you are calling sax with the -m option
which is only recommende if the card couldn't be mapped to an accelerated
driver. In this special case the profile named NVidia is not called because
you specified the driver manually on the commandline.

Please don't use the -m option at that point sax is able to detect whether
the real nvidia is installed or not and if it didn't do that it may have
consequences on the rest of the workflow. Would you try:

   sax2 -r

that's it not more options needed ;)

Does it now work as expected ?

Thanks
Comment 18 Joop Boonen 2006-02-02 18:19:37 UTC
Conclusion isax doesn't create the right config.
Comment 19 Joop Boonen 2006-02-02 18:20:59 UTC
Created attachment 66234 [details]
xorg.conf as genernated by sax2 -r

Agreed with the proposal
Comment 20 Joop Boonen 2006-02-02 18:21:51 UTC
Created attachment 66235 [details]
xorg.conf as generatted by sax2 -r

Accepted the perposal
Comment 21 Joop Boonen 2006-02-02 18:22:59 UTC
Created attachment 66236 [details]
xorg.conf as genernated by sax2 -r 

With size readjustment (Test)
Comment 22 Joop Boonen 2006-02-02 18:24:26 UTC
Created attachment 66237 [details]
SaX.log as genernated by sax2 -r 

With size/poistion readjustment (Test).
Comment 23 Joop Boonen 2006-02-02 18:26:39 UTC
When i do the readjustment xorg.conf has the nv driver instead of the nvidia driver.

# Automatically generated by [SaX2] (7.1)
Section "Device"
  BoardName    "GeForce 6100"
  BusID        "PCI:0@0:5:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  VendorName   "NVidia"
EndSection



# Automatically generated by [ISaX] (7.1)

Section "Device"
  BoardName    "GeForce 6100"
  BusID        "PCI:0@0:5:0"
  Driver       "nv"
  Identifier   "Device[0]"
  VendorName   "NVidia"
EndSection
Comment 24 Marcus Schaefer 2006-02-02 18:29:06 UTC
fine; Extensions is empty in that case. Ok I will fix the Driver.map
to check for NVidia even if the user specified -m 0=nvidia so it's
failsafe now in any case.
Comment 25 Joop Boonen 2006-02-02 18:36:37 UTC
Theinstructions on : http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html need to be corrected too?
Comment 26 Marcus Schaefer 2006-02-02 18:46:34 UTC
yes, Stefan ?
Comment 27 Marcus Schaefer 2006-02-02 18:47:06 UTC
Could you have a look at the docu ?
Thanks
Comment 28 Stefan Dirsch 2006-02-02 18:53:38 UTC
The documentation for 10.1 has already been adjusted.
Comment 29 Joop Boonen 2006-02-02 19:01:06 UTC
Doesn't this line to be changed (Just wondering)?

3) Configure X.Org with

 sax2 -r -m 0=nvidia (0 is a digit, not a letter!)
Comment 30 Stefan Dirsch 2006-02-02 19:56:11 UTC
This is ok.