Re: [XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-22 Thread Marc Aurele La France
On Sun, 21 Mar 2004, Marc Aurele La France wrote:

   I am using the latest BIOS for my machine, a DELL Dimension XPS R400.
   The BIOS version is A13, the newest thing from Dell's website. Albiet,
   it was created in 1999, but it's the newest they have.

   There is no onboard video on my motherboard - the second video device
   the X-server thinks it found is the SoundBlaster Live! 5.1 Value card
   (CT4830). There are no video ports on the sound card, just 4 audio jacks
   and a MIDI/Joystick port. Proof of this list error is found by running
   lspci, which says the SB Live! is a VGA Compatible Unclassified
   Device. Here's the output from that:

  That sounds like a motherboard BIOS bug then, or a bug with the
  SB Live card's PCI config space.

 It's b).  Creator is notorious for producing adapters that mis-advertise
 their PCI type as 00/01 (prehistoric VGA) instead of 04/01 (multimedia
 audio).

I, of course, meant Creative, not Creator.

 Also, the motherboard BIOS has no way of overriding these types.

  Adding:

BusID PCI:0:13:0

  to the Section Device will force the ATI driver to use the
  correct card.  Hopfully XFree86's RAC support isn't confused by
  the two VGA compatible devices.

 That helps, certainly, but by then, this hardware bug has already caused
 us to not mark the Radeon as the primary adapter.  This causes an attempt
 to re-initialise the Radeon, which is not a good idea due to a separate
 bug in its BIOS.

 This'll require a code change to fix.  But I'm not sure what the
 best way to fix this is.  There's a mechanism in the server to override
 advertised PCI types, but it's not pervasive, affecting only certain
 areas.  Anyway, I'll look into it.

 In the meantime, I'd suggest ripping out the Creative, perhaps replacing
 with an adapter that doesn't display this problem.

It turns out there's a straightforward workaround for this problem.  As
root, do ...

cd /usr/X11R6/lib/modules
cp libpcidata.a libpcidata.backup
cp libscanpci.a libpcidata.a

... and stop and restart the X server.  The BusID specification should
then be unnecessary (as would removing the Sound Blaster adapter).

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-22 Thread Andrew D.
After reading your e-mail, Marc, I instantly rebooted from Win98 (where 
I'm reading this info) to Mandrake Linux's Failsafe. I logged in a root, 
edited my XF86Config-4 file and commented out the PCIbus line. I 
closed that down, and followed your instructions for replacing the 
libpcidata.a file with my libscanpci.a file. After that, I rebooted my 
machine. Upon starting Mandrake 10 normally, I was given the following 
error by my X-Server:

(EE) LoadModule: Module pcidata does not have a pcidataModuleData data 
object.

Attached is the new log file. Thanks so much for your input and your 
quick responses. If only Microsoft gave tech support this quickly.

~~ Andrew

Marc Aurele La France wrote:

It turns out there's a straightforward workaround for this problem.  As
root, do ...
cd /usr/X11R6/lib/modules
cp libpcidata.a libpcidata.backup
cp libscanpci.a libpcidata.a
... and stop and restart the X server.  The BusID specification should
then be unnecessary (as would removing the Sound Blaster adapter).
Marc.



This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-1mdkenterprise i686 [ELF] 
Build Date: 01 March 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Mon Mar 22 13:13:25 2004
(==) Using config file: /etc/X11/XF86Config-4
(==) ServerLayout layout1
(**) |--Screen screen1 (0)
(**) |   |--Monitor monitor1
(**) |   |--Device device1
(**) |--Input Device Keyboard1
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout en_US
(**) XKB: layout: en_US
(WW) Option XkbOptions requires an string value
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse1
(**) FontPath set to unix/:-1
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(**) Option AllowMouseOpenFail
Using vt 7
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.3.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(EE) LoadModule: Module pcidata does not have a pcidataModuleData data object.
(II) UnloadModule: pcidata
(II) Unloading /usr/X11R6/lib/modules/libpcidata.a
(EE) Failed to load module pcidata (invalid module, 0)

Fatal server error:
Unable to load required base modules, Exiting...


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]



Re: [XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-22 Thread Marc Aurele La France
On Mon, 22 Mar 2004, Andrew D. wrote:

 After reading your e-mail, Marc, I instantly rebooted from Win98 (where
 I'm reading this info) to Mandrake Linux's Failsafe. I logged in a root,
 edited my XF86Config-4 file and commented out the PCIbus line. I
 closed that down, and followed your instructions for replacing the
 libpcidata.a file with my libscanpci.a file. After that, I rebooted my
 machine. Upon starting Mandrake 10 normally, I was given the following
 error by my X-Server:

 (EE) LoadModule: Module pcidata does not have a pcidataModuleData data
 object.

Doh!  Silly me...

 Attached is the new log file. Thanks so much for your input and your
 quick responses. If only Microsoft gave tech support this quickly.

 ~~ Andrew

 Marc Aurele La France wrote:

 It turns out there's a straightforward workaround for this problem.  As
 root, do ...

   cd /usr/X11R6/lib/modules
   cp libpcidata.a libpcidata.backup
   cp libscanpci.a libpcidata.a

Replace that last command with ...

sed 's/scanpci/pcidata/g'  libscanpci.a  libpcidata.a

(Good thing the two strings are the same length...)

 ... and stop and restart the X server.  The BusID specification should
 then be unnecessary (as would removing the Sound Blaster adapter).

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-21 Thread Andrew D.
Thank you for your advice and quick responses on this issue so far.

Attached is my updated XFree86.0.log file, after a reinstallation of 
Mandrake 10 Community. I couldn't get the nVidia drivers to switch with 
the ATI ones, no matter how I tried, so I just reformatted and 
reinstalled (it's not like I had anything important on there anyway). 
Once again, it talks about more than one primary video device.

I am using the latest BIOS for my machine, a DELL Dimension XPS R400. 
The BIOS version is A13, the newest thing from Dell's website. Albiet, 
it was created in 1999, but it's the newest they have.

There is no onboard video on my motherboard - the second video device 
the X-server thinks it found is the SoundBlaster Live! 5.1 Value card 
(CT4830). There are no video ports on the sound card, just 4 audio jacks 
and a MIDI/Joystick port. Proof of this list error is found by running 
lspci, which says the SB Live! is a VGA Compatible Unclassified 
Device. Here's the output from that:

-
... ... ...
00:07.3 Bridge. Intel Corp. 82371 AB/EB/MB PIIX4 ACPI (rev 02)
00:0d.0 VGA Compatible Controller: ATI Technologies Inc. Radeon RV100 QY 
(Radeon 7000/VE)

00:0e.0 VGA Compatible Unclassified Device: Creative Labs SB Live! 
EMU10k1 (rev 08)

00:0e.1 Input Device Controller: Creative Labs SB Live! MIDI/Game Port 
(rev 08)


How can I make XFree86 use my Radeon Card (which any semi-intelligent 
person would see is the only card with physical hookups to a monitor) as 
the ONLY primary device? What settings do I need to edit? Please give me 
detailed directions... I've been using Windows for 10+ years, but am 
just getting used to Linux...

Thanks!

~~ Andrew

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-1mdkenterprise i686 [ELF] 
Build Date: 01 March 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Sun Mar 21 15:17:22 2004
(==) Using config file: /etc/X11/XF86Config-4
(==) ServerLayout layout1
(**) |--Screen screen1 (0)
(**) |   |--Monitor monitor1
(**) |   |--Device device1
(**) |--Input Device Keyboard1
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout en_US
(**) XKB: layout: en_US
(WW) Option XkbOptions requires an string value
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse1
(**) FontPath set to unix/:-1
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(**) Option AllowMouseOpenFail
Using vt 7
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.3.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.3.0.1, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card , rev 02 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 02 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 00
(II) PCI: 00:0d:0: chip 1002,5159 card 148c,2023 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:0e:0: chip 1102,0002 card 1102,8027 rev 08 class 00,01,00 hdr 80
(II) PCI: 00:0e:1: chip 1102,7002 card 1102,0020 rev 08 class 09,80,00 hdr 80
(II) PCI: 00:0f:0: chip 168c,0013 card 

Re: [XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-21 Thread Pieter Hulshoff
On Sunday 21 March 2004 22:36, Andrew D. wrote:
 How can I make XFree86 use my Radeon Card (which any semi-intelligent
 person would see is the only card with physical hookups to a monitor) as
 the ONLY primary device? What settings do I need to edit? Please give me
 detailed directions... I've been using Windows for 10+ years, but am
 just getting used to Linux...

Ok, this is a tricky one... You might want to try adding
  BusID0:13:0
to your Device section. If that doesn't do the trick, then I'm fresh out of 
ideas as well. The device is recognised as a Radeon 7000/VE RV100V QY, which 
according to your logfile appears to be supported by the radeon driver.

Regards,

Pieter Hulshoff
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-21 Thread Mark Vojkovich
On Sun, 21 Mar 2004, Andrew D. wrote:

 I am using the latest BIOS for my machine, a DELL Dimension XPS R400.
 The BIOS version is A13, the newest thing from Dell's website. Albiet,
 it was created in 1999, but it's the newest they have.

 There is no onboard video on my motherboard - the second video device
 the X-server thinks it found is the SoundBlaster Live! 5.1 Value card
 (CT4830). There are no video ports on the sound card, just 4 audio jacks
 and a MIDI/Joystick port. Proof of this list error is found by running
 lspci, which says the SB Live! is a VGA Compatible Unclassified
 Device. Here's the output from that:

That sounds like a motherboard BIOS bug then, or a bug with the
SB Live card's PCI config space.

Adding:

  BusID PCI:0:13:0

to the Section Device will force the ATI driver to use the
correct card.  Hopfully XFree86's RAC support isn't confused by
the two VGA compatible devices.


Mark.
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-21 Thread Andrew D.
(my apologies if this is a double-post)

I added the line that you suggested to my XF86Config-4 file, and it looked like it would work... The machine booted nicely, got to starting the x-server, and then it showed the following screen:

RV100 PCI DDR VGA BIOS B781.001

After that, the screen went black (but not into power-saver mode or off), and there was no more hard disk activity.

Any thoughts are appreciated. Like I mentioned earlier, if I have to remove the SB Live! card, I will. If no workaround is found for this issue, could someone put this in a unsolved mysteries section for review when XFree86 4.5 begins development? I'm not the only person having this problem - do a Google Linux search (www.google.com/linux) for VGA Compatible Unclassified Device and there are quite a few pages listed.

Thanks!

~~ Andrew D.





Ok, this is a tricky one... You might want to try adding
 BusID0:13:0
to your Device section. If that doesn't do the trick, then I'm fresh out of 
ideas as well. The device is recognised as a Radeon 7000/VE RV100V QY, which 
according to your logfile appears to be supported by the radeon driver.

Regards,

Pieter Hulshoff

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-21 Thread Andrew D.
Sorry. Typo. That Google Linux search I did was for VGA Compatible 
Unclassified Device sb.

~~ Andrew D.
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Re: SoundBlaster Live! 5.1 Value Detected as VGA Device:

2004-03-21 Thread Marc Aurele La France
On Sun, 21 Mar 2004, Mark Vojkovich wrote:

  I am using the latest BIOS for my machine, a DELL Dimension XPS R400.
  The BIOS version is A13, the newest thing from Dell's website. Albiet,
  it was created in 1999, but it's the newest they have.

  There is no onboard video on my motherboard - the second video device
  the X-server thinks it found is the SoundBlaster Live! 5.1 Value card
  (CT4830). There are no video ports on the sound card, just 4 audio jacks
  and a MIDI/Joystick port. Proof of this list error is found by running
  lspci, which says the SB Live! is a VGA Compatible Unclassified
  Device. Here's the output from that:

 That sounds like a motherboard BIOS bug then, or a bug with the
 SB Live card's PCI config space.

It's b).  Creator is notorious for producing adapters that mis-advertise
their PCI type as 00/01 (prehistoric VGA) instead of 04/01 (multimedia
audio).

Also, the motherboard BIOS has no way of overriding these types.

 Adding:

   BusID PCI:0:13:0

 to the Section Device will force the ATI driver to use the
 correct card.  Hopfully XFree86's RAC support isn't confused by
 the two VGA compatible devices.

That helps, certainly, but by then, this hardware bug has already caused
us to not mark the Radeon as the primary adapter.  This causes an attempt
to re-initialise the Radeon, which is not a good idea due to a separate
bug in its BIOS.

This'll require a code change to fix.  But I'm not sure what the
best way to fix this is.  There's a mechanism in the server to override
advertised PCI types, but it's not pervasive, affecting only certain
areas.  Anyway, I'll look into it.

In the meantime, I'd suggest ripping out the Creative, perhaps replacing
with an adapter that doesn't display this problem.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86