Re: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Yang Yang
Michel:
Thanks a lot for your help.
I read more about the log file, and now I'm able to get the dri
working without dualhead, it was due to the agpgart module not
loaded, I tested with q3demo, very cool.

then I tried to take down the dri module and run dual head, still
doesn't work, then I wrote more logging into the XF86 code and tried
it. it looks that for each Device listed in XF86Config, 
xc/programs/Xserver/hw/xfree86/common/xf86Helper.c was checking 
for a physical device from a list of physical devices
it somehow got in a initialization process.
this list contains xf86NumEntities number of detected physical
devices, but in my logging file, it shows no physical devices
before the RADEON driver tries to do a match from the Device
section( I think this is called an instance in code) to the
physical devices. no wonder it can't find a matching. but the
allocation of physical devices is too hard for me to look through.

I enclosed my log file XFree86.0.log and the config file XF86Config,
could you please have a look when you got time? Thanks a lot!

yang
# File: XF86Config-4
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.
# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the Software),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#
# **
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **
# **
# DRI Section
# **
# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
# **
# Files section.  This allows default font and rgb paths to be set
# **
# **
# Server flags section.
# **
# **
# Input devices
# **
# **
# Core keyboard's InputDevice section
# **
# **
# Core Pointer's InputDevice section
# **
# **
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **
#
# Section InputDevice 
#Identifier  Mouse2
#Driver  mouse
#Option  Protocol  MouseMan
#Option  Device/dev/mouse2
# EndSection
#
# Section InputDevice
#Identifier spaceball
#Driver magellan
#Option Device   

RE: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Paul
You seem to be using a different driver then the one that fglrxconfig
sets up for me with my ATI *built* 9000 Pro.  I am given the fglrx
driver.  But if its any comfort, dual head doesn't seem to work for mine
either.  I can't even get a screen with my fglrxconfig created
XF86Config file.  I just get a device not found error.  I've given up.
Search Paul with ATI 9000 Pro at the mail archives to see all the
stuff I've tried to get things working.

Paul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Yang Yang
Sent: Friday, April 11, 2003 11:38 PM
To: [EMAIL PROTECTED]
Subject: [XFree86] radeon 9000 dual head work at all?

hi all:
maybe this problem has been asked many times before,
but I never see a definitive answer,
I have a Saphire Radeon 9000 128M video card, now I connect it
to
both an LCD and a CRT, then I use the radeon.o from XF86 4.3 ,
( I
currently use XF86 4.3 the latest CVS), but the two screens are
exactly the same, I tried xinerama on and off, 1 screen / 2
screen
anybody has an idea?
Thanks a lot
-
my XF86Config here:

# File: XF86Config-4
# File generated by fglrxconfig (C) ATI Research, a substitute for
xf86config.
# Note by ATI: the below copyright notice is there for servicing
possibly
# pending third party rights on the file format and the instance of this
file.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
a
# copy of this software and associated documentation files (the
Software),
# to deal in the Software without restriction, including without
limitation
# the rights to use, copy, modify, merge, publish, distribute,
sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be
included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project
shall
# not be used in advertising or otherwise to promote the sale, use or
other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#
# **
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **
# **
# DRI Section
# **
# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
# **
# Files section.  This allows default font and rgb paths to be set
# **
# **
# Server flags section.
# **
# **
# Input devices
# **
# **
# Core keyboard's InputDevice section
# **
# **
# Core Pointer's InputDevice section
# **
# **
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **
#
# Section InputDevice 
#Identifier  Mouse2
#Driver  mouse
#Option  Protocol  MouseMan
#Option  Device/dev/mouse2
# EndSection
#
# Section InputDevice
#Identifier spaceball
#Driver magellan
#Option 

Re: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Yang Yang
Thanks Paul.
I seem to figured out these things: might be useful to you too.

fglrx only works with XF86 4.2 /4.1, in fact , I got it working
(with TV-out (kind of dual head)) before. but doesn't work with
XF864.3, because XF864.3 uses a totally different way to load driver
modules specified in the  Device section: it goes to
/usr/X11R6/lib/modules/drivers/* instead of
/lib/modules/2.4.20/kernel/drivers/char/drm  
so when I put flgrx in the /lib/modules... XF86 4.3 says can't find 
the module, and if i put it in /usr/X11R6/.. it says the module
format is wrong, seems 4.3 put the driver into two parts, one in
/usr/X11R6 , and that calls the drm unit ( kernel module) in
/lib/modules .

if you want , you can go into your XFree86.0.log and search device
not found and see what file it was trying to load, maybe it will
help.

yang
On Sat, Apr 12, 2003 at 12:33:45PM -0700, Paul wrote:
 You seem to be using a different driver then the one that fglrxconfig
 sets up for me with my ATI *built* 9000 Pro.  I am given the fglrx
 driver.  But if its any comfort, dual head doesn't seem to work for mine
 either.  I can't even get a screen with my fglrxconfig created
 XF86Config file.  I just get a device not found error.  I've given up.
 Search Paul with ATI 9000 Pro at the mail archives to see all the
 stuff I've tried to get things working.
 
 Paul 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Yang Yang
 Sent: Friday, April 11, 2003 11:38 PM
 To: [EMAIL PROTECTED]
 Subject: [XFree86] radeon 9000 dual head work at all?
 
 hi all:
   maybe this problem has been asked many times before,
   but I never see a definitive answer,
   I have a Saphire Radeon 9000 128M video card, now I connect it
 to
   both an LCD and a CRT, then I use the radeon.o from XF86 4.3 ,
 ( I
   currently use XF86 4.3 the latest CVS), but the two screens are
   exactly the same, I tried xinerama on and off, 1 screen / 2
   screen
   anybody has an idea?
   Thanks a lot
   -
   my XF86Config here:
 
 # File: XF86Config-4
 # File generated by fglrxconfig (C) ATI Research, a substitute for
 xf86config.
 # Note by ATI: the below copyright notice is there for servicing
 possibly
 # pending third party rights on the file format and the instance of this
 file.
 #
 # Copyright (c) 1999 by The XFree86 Project, Inc.
 #
 # Permission is hereby granted, free of charge, to any person obtaining
 a
 # copy of this software and associated documentation files (the
 Software),
 # to deal in the Software without restriction, including without
 limitation
 # the rights to use, copy, modify, merge, publish, distribute,
 sublicense,
 # and/or sell copies of the Software, and to permit persons to whom the
 # Software is furnished to do so, subject to the following conditions:
 # 
 # The above copyright notice and this permission notice shall be
 included in
 # all copies or substantial portions of the Software.
 # 
 # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR
 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY,
 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
 SHALL
 # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY,
 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
 OF
 # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 # 
 # Except as contained in this notice, the name of the XFree86 Project
 shall
 # not be used in advertising or otherwise to promote the sale, use or
 other
 # dealings in this Software without prior written authorization from the
 # XFree86 Project.
 #
 # **
 # Refer to the XF86Config(4/5) man page for details about the format of 
 # this file.
 # **
 # **
 # DRI Section
 # **
 # **
 # Module section -- this  section  is used to specify
 # which dynamically loadable modules to load.
 # **
 #
 # **
 # Files section.  This allows default font and rgb paths to be set
 # **
 # **
 # Server flags section.
 # **
 # 

RE: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Paul
I seem to figured out these things: might be useful to you too.

fglrx only works with XF86 4.2 /4.1, in fact , I got it working
(with TV-out (kind of dual head)) before.

Do you say that you actually got your 9000 Pro working in XF86 4.2/4.1?
That's what I am running now (XF96 4.2 in the Red Hat 8.0 installation)
and I am having no luck whatsoever.  Were you able to use your
fglrxconfig generated XF86Config file without editing it?  If you were
able to get your 9000 Pro card fully functioning in XF86 4.2, I would
like to know how you did it.

Paul

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Yang Yang
Sent: Saturday, April 12, 2003 1:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [XFree86] radeon 9000 dual head work at all?

Thanks Paul.
I seem to figured out these things: might be useful to you too.

fglrx only works with XF86 4.2 /4.1, in fact , I got it working
(with TV-out (kind of dual head)) before. but doesn't work with
XF864.3, because XF864.3 uses a totally different way to load
driver
modules specified in the  Device section: it goes to
/usr/X11R6/lib/modules/drivers/* instead of
/lib/modules/2.4.20/kernel/drivers/char/drm  
so when I put flgrx in the /lib/modules... XF86 4.3 says can't
find 
the module, and if i put it in /usr/X11R6/.. it says the module
format is wrong, seems 4.3 put the driver into two parts, one in
/usr/X11R6 , and that calls the drm unit ( kernel module) in
/lib/modules .

if you want , you can go into your XFree86.0.log and search
device
not found and see what file it was trying to load, maybe it
will
help.

yang
On Sat, Apr 12, 2003 at 12:33:45PM -0700, Paul wrote:
 You seem to be using a different driver then the one that fglrxconfig
 sets up for me with my ATI *built* 9000 Pro.  I am given the fglrx
 driver.  But if its any comfort, dual head doesn't seem to work for
mine
 either.  I can't even get a screen with my fglrxconfig created
 XF86Config file.  I just get a device not found error.  I've given
up.
 Search Paul with ATI 9000 Pro at the mail archives to see all the
 stuff I've tried to get things working.
 
 Paul 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Yang Yang
 Sent: Friday, April 11, 2003 11:38 PM
 To: [EMAIL PROTECTED]
 Subject: [XFree86] radeon 9000 dual head work at all?
 
 hi all:
   maybe this problem has been asked many times before,
   but I never see a definitive answer,
   I have a Saphire Radeon 9000 128M video card, now I connect it
 to
   both an LCD and a CRT, then I use the radeon.o from XF86 4.3 ,
 ( I
   currently use XF86 4.3 the latest CVS), but the two screens are
   exactly the same, I tried xinerama on and off, 1 screen / 2
   screen
   anybody has an idea?
   Thanks a lot
   -
   my XF86Config here:
 
 # File: XF86Config-4
 # File generated by fglrxconfig (C) ATI Research, a substitute for
 xf86config.
 # Note by ATI: the below copyright notice is there for servicing
 possibly
 # pending third party rights on the file format and the instance of
this
 file.
 #
 # Copyright (c) 1999 by The XFree86 Project, Inc.
 #
 # Permission is hereby granted, free of charge, to any person
obtaining
 a
 # copy of this software and associated documentation files (the
 Software),
 # to deal in the Software without restriction, including without
 limitation
 # the rights to use, copy, modify, merge, publish, distribute,
 sublicense,
 # and/or sell copies of the Software, and to permit persons to whom
the
 # Software is furnished to do so, subject to the following conditions:
 # 
 # The above copyright notice and this permission notice shall be
 included in
 # all copies or substantial portions of the Software.
 # 
 # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR
 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY,
 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
 SHALL
 # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY,
 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT
 OF
 # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE
 # SOFTWARE.
 # 
 # Except as contained in this notice, the name of the XFree86 Project
 shall
 # not be used in advertising or otherwise to promote the sale, use or
 other
 # dealings in this Software without prior written authorization from
the
 # XFree86 Project.
 #
 #
**
 # Refer to the XF86Config(4/5) man page for details about the format
of 
 # this file

Re: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Michel Dänzer
On Sam, 2003-04-12 at 21:15, Yang Yang wrote:
 
   then I tried to take down the dri module and run dual head, still
   doesn't work,

[...]

   I enclosed my log file XFree86.0.log and the config file XF86Config,
   could you please have a look when you got time? Thanks a lot!

You only added Screen 1 to one device section. You need to add Screen 0
to the other one.


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer

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


Re: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Michel Dänzer
On Sam, 2003-04-12 at 22:16, Yang Yang wrote:
 
   fglrx only works with XF86 4.2 /4.1, in fact , I got it working
   (with TV-out (kind of dual head)) before. but doesn't work with
   XF864.3, because XF864.3 uses a totally different way to load driver
   modules specified in the  Device section: it goes to
   /usr/X11R6/lib/modules/drivers/* instead of
   /lib/modules/2.4.20/kernel/drivers/char/drm  
   so when I put flgrx in the /lib/modules... XF86 4.3 says can't find 
   the module, and if i put it in /usr/X11R6/.. it says the module
   format is wrong, seems 4.3 put the driver into two parts, one in
   /usr/X11R6 , and that calls the drm unit ( kernel module) in
   /lib/modules .

/lib/modules/`uname -r`/kernel contains kernel modules, which the X
server doesn't deal with directly, never has.

If the fglrx driver doesn't work with 4.3 (I thought there's a new
version that does?), that's probably because the XFree86 module ABI
changed.


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer

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


Re: [XFree86] radeon 9000 dual head work at all?

2003-04-12 Thread Yang Yang
I think I just ran fglrxconfig, then changed the PCIxx to the
correct ones.

yang`
On Sat, Apr 12, 2003 at 03:15:28PM -0700, Paul wrote:
   I seem to figured out these things: might be useful to you too.
 
   fglrx only works with XF86 4.2 /4.1, in fact , I got it working
   (with TV-out (kind of dual head)) before.
 
 Do you say that you actually got your 9000 Pro working in XF86 4.2/4.1?
 That's what I am running now (XF96 4.2 in the Red Hat 8.0 installation)
 and I am having no luck whatsoever.  Were you able to use your
 fglrxconfig generated XF86Config file without editing it?  If you were
 able to get your 9000 Pro card fully functioning in XF86 4.2, I would
 like to know how you did it.
 
 Paul
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Yang Yang
 Sent: Saturday, April 12, 2003 1:17 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [XFree86] radeon 9000 dual head work at all?
 
 Thanks Paul.
   I seem to figured out these things: might be useful to you too.
 
   fglrx only works with XF86 4.2 /4.1, in fact , I got it working
   (with TV-out (kind of dual head)) before. but doesn't work with
   XF864.3, because XF864.3 uses a totally different way to load
 driver
   modules specified in the  Device section: it goes to
   /usr/X11R6/lib/modules/drivers/* instead of
   /lib/modules/2.4.20/kernel/drivers/char/drm  
   so when I put flgrx in the /lib/modules... XF86 4.3 says can't
 find 
   the module, and if i put it in /usr/X11R6/.. it says the module
   format is wrong, seems 4.3 put the driver into two parts, one in
   /usr/X11R6 , and that calls the drm unit ( kernel module) in
   /lib/modules .
 
   if you want , you can go into your XFree86.0.log and search
 device
   not found and see what file it was trying to load, maybe it
 will
   help.
 
   yang
 On Sat, Apr 12, 2003 at 12:33:45PM -0700, Paul wrote:
  You seem to be using a different driver then the one that fglrxconfig
  sets up for me with my ATI *built* 9000 Pro.  I am given the fglrx
  driver.  But if its any comfort, dual head doesn't seem to work for
 mine
  either.  I can't even get a screen with my fglrxconfig created
  XF86Config file.  I just get a device not found error.  I've given
 up.
  Search Paul with ATI 9000 Pro at the mail archives to see all the
  stuff I've tried to get things working.
  
  Paul 
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
  Behalf Of Yang Yang
  Sent: Friday, April 11, 2003 11:38 PM
  To: [EMAIL PROTECTED]
  Subject: [XFree86] radeon 9000 dual head work at all?
  
  hi all:
  maybe this problem has been asked many times before,
  but I never see a definitive answer,
  I have a Saphire Radeon 9000 128M video card, now I connect it
  to
  both an LCD and a CRT, then I use the radeon.o from XF86 4.3 ,
  ( I
  currently use XF86 4.3 the latest CVS), but the two screens are
  exactly the same, I tried xinerama on and off, 1 screen / 2
  screen
  anybody has an idea?
  Thanks a lot
  -
  my XF86Config here:
  
  # File: XF86Config-4
  # File generated by fglrxconfig (C) ATI Research, a substitute for
  xf86config.
  # Note by ATI: the below copyright notice is there for servicing
  possibly
  # pending third party rights on the file format and the instance of
 this
  file.
  #
  # Copyright (c) 1999 by The XFree86 Project, Inc.
  #
  # Permission is hereby granted, free of charge, to any person
 obtaining
  a
  # copy of this software and associated documentation files (the
  Software),
  # to deal in the Software without restriction, including without
  limitation
  # the rights to use, copy, modify, merge, publish, distribute,
  sublicense,
  # and/or sell copies of the Software, and to permit persons to whom
 the
  # Software is furnished to do so, subject to the following conditions:
  # 
  # The above copyright notice and this permission notice shall be
  included in
  # all copies or substantial portions of the Software.
  # 
  # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR
  # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY,
  # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
  SHALL
  # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY,
  # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT
  OF
  # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE
  # SOFTWARE.
  # 
  # Except as contained in this notice, the name of the XFree86 Project
  shall
  # not be used in advertising or otherwise to promote the sale, use or
  other
  # dealings in this Software without prior written authorization from
 the
  # XFree86 Project