Re: help with xorg.conf

2011-12-15 Thread James Strother
Hi Alan,

Thanks for the info, that fixed the first problem. I had assumed that
Xorg was looking in the config dir listed in the Xorg log, which was
obviously a poor assumption.

Thanks again,
   James


On Wed, Dec 14, 2011 at 8:11 PM, Alan Coopersmith
alan.coopersm...@oracle.com wrote:
 On 12/14/11 14:08, James Strother wrote:

 Problem 1: Unable to access config file at non-default location as
 non-root

 -
 This seems like an extremely simple problem, but I'm stumped.  I have
 written an alt.conf file, and place it into /etc/X11/xorg.conf.d.  The
 file exists, is owned by root, and has permissions of 644.  It shows
 up on ls just fine:

 $ ls /etc/X11/xorg.conf.d
 alt.conf

 But I can't actually get Xorg to find or use that file:

 $ Xorg :1 -config alt.conf


 /etc/X11/xorg.conf.d is not the location for alternate configuration files -
 it's used for config file fragments to be used by *ALL* Xorg instances run
 on
 the system.

 The xorg.conf man page lists the directories you can put alternate
 configuration
 files in (I just noticed that Xorg(1) man page does not, though it does
 point you off to the xorg.conf man page for the full list).

 For instance, for testing, I have a /etc/X11/xorg.conf.dummy config file
 that
 loads the dummy driver, which I can run with Xorg -config xorg.conf.dummy,
 and
 in our OS packages, we ship /usr/lib/X11/xorg.conf.vesa so that the OS
 installer
 can run Xorg -config xorg.conf.vesa when the normal drivers fail on the
 LiveCD
 and the user chooses the VESA mode option from the grub menu instead.


 I expected this to connect to the graphics card at PCI:12:0:0 in order
 to create a one monitor screen.  However, Xorg actually connects to
 both cards and then only displays on the graphics card at PCI:8:0:0.
 I have tried setting AutoAddDevices/AutoEnableDevices to false in
 ServerFlags without success.


 The AutoAddDevices/AutoEnableDevices flags only apply to input devices
 not video cards.  (I can't explain the rest of your issue here, just
 that bit.)

 --
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: help with xorg.conf

2011-12-14 Thread Alan Coopersmith

On 12/14/11 14:08, James Strother wrote:

Problem 1: Unable to access config file at non-default location as non-root
-
This seems like an extremely simple problem, but I'm stumped.  I have
written an alt.conf file, and place it into /etc/X11/xorg.conf.d.  The
file exists, is owned by root, and has permissions of 644.  It shows
up on ls just fine:

$ ls /etc/X11/xorg.conf.d
alt.conf

But I can't actually get Xorg to find or use that file:

$ Xorg :1 -config alt.conf


/etc/X11/xorg.conf.d is not the location for alternate configuration files - 
it's used for config file fragments to be used by *ALL* Xorg instances run on

the system.

The xorg.conf man page lists the directories you can put alternate configuration
files in (I just noticed that Xorg(1) man page does not, though it does point 
you off to the xorg.conf man page for the full list).


For instance, for testing, I have a /etc/X11/xorg.conf.dummy config file that
loads the dummy driver, which I can run with Xorg -config xorg.conf.dummy, and
in our OS packages, we ship /usr/lib/X11/xorg.conf.vesa so that the OS installer
can run Xorg -config xorg.conf.vesa when the normal drivers fail on the LiveCD
and the user chooses the VESA mode option from the grub menu instead.


I expected this to connect to the graphics card at PCI:12:0:0 in order
to create a one monitor screen.  However, Xorg actually connects to
both cards and then only displays on the graphics card at PCI:8:0:0.
I have tried setting AutoAddDevices/AutoEnableDevices to false in
ServerFlags without success.


The AutoAddDevices/AutoEnableDevices flags only apply to input devices
not video cards.  (I can't explain the rest of your issue here, just
that bit.)

--
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com