[opensuse] probably OT: why xorg don't run getconfig when starting?
Hello. From xorg manual it's being said xorg will try to use getconfig if it cannot find an xorg.conf config file. here is the quotes: Starting with version 4.4, Xorg has a mechanism for automatically generating a built-in configuration at run-time when no xorg.conf file is present. The current version of this automatic configuration mechanism works in three ways. [...] The second is to use an external utility called getconfig(1), when available, to use meta-configuration information to generate a suitable configuration for the primary video device. The meta-configuration information can be updated to allow an existing installation to get the best out of new hardware or to work around bugs that are found post-release. Now I wish to set up a SuSE installation with my configuration for getconfig (because I got some special situation that normal xorg.conf doesn't fit), but SuSE's xorg seems to ignore getconfig. A.k.a. a normal xorg should start with this message: ... (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 24 07:34:55 2006 (EE) Unable to locate/open config file xf86AutoConfig: Primary PCI is 0:15:0 Running "/usr/X11R6/bin/getconfig -X 60900000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x15ad -d 0x0405 -r 0x00 -s 0x15ad -b 0x0405 -c 0x0300" exec: perl: not found (==) Using default built-in configuration (43 lines) ... However SuSE 10.2's xorg start with this message: ... (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 7 21:11:37 2007 (EE) Unable to locate/open config file (==) Using default built-in configuration (55 lines) ... see, the section of looking for getconfig is completely ignored. So, if I want getconfig feature back, what can I do? Should I recompile xorg from source from official xorg distribution? Should I simply add some parameter to X to re-enable getconfig (manual didn't say this works)? Thanks for any advice! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-01-07 at 21:14 +0800, Zhang Weiwu wrote:
Now I wish to set up a SuSE installation with my configuration for getconfig (because I got some special situation that normal xorg.conf doesn't fit), but SuSE's xorg seems to ignore getconfig.
This is new to me, but I think you don't have perl installed:
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 24 07:34:55 2006 (EE) Unable to locate/open config file xf86AutoConfig: Primary PCI is 0:15:0 Running "/usr/X11R6/bin/getconfig -X 60900000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x15ad -d 0x0405 -r 0x00 -s 0x15ad -b 0x0405 -c 0x0300" exec: perl: not found
.......^^^^^^^ Install it, and try again. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFoQ8otTMYHG2NR9URAj/aAKCNN3ffcrADRr/OVnzBZ/aQHJN7sgCgjcpC lAdPpEzuA/ktAgIFzUED6kc= =zhR1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
在 2007-01-07日的 16:17 +0100,Carlos E. R.写道:
This is new to me, but I think you don't have perl installed:
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 24 07:34:55 2006 (EE) Unable to locate/open config file xf86AutoConfig: Primary PCI is 0:15:0 Running "/usr/X11R6/bin/getconfig -X 60900000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x15ad -d 0x0405 -r 0x00 -s 0x15ad -b 0x0405 -c 0x0300" exec: perl: not found
.......^^^^^^^
Install it, and try again.
Maybe I didn't describe it clear enough, the above quote output (which your suggestion of install perl is based on) is not generated by SuSE, it's generated by other Linux so that I can compare the output generated with SuSE, which didn't try to run getconfig at all. BTW I do have perl installed ;) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-01-08 at 10:22 +0800, Zhang Weiwu wrote:
? 2007-01-07?? 16:17 +0100,Carlos E. R.??:
This is new to me, but I think you don't have perl installed:
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 24 07:34:55 2006 (EE) Unable to locate/open config file xf86AutoConfig: Primary PCI is 0:15:0 Running "/usr/X11R6/bin/getconfig -X 60900000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x15ad -d 0x0405 -r 0x00 -s 0x15ad -b 0x0405 -c 0x0300" exec: perl: not found
.......^^^^^^^
Install it, and try again.
Maybe I didn't describe it clear enough, the above quote output (which your suggestion of install perl is based on) is not generated by SuSE, it's generated by other Linux so that I can compare the output generated with SuSE, which didn't try to run getconfig at all. BTW I do have perl installed ;)
Ah... I see. There is a getconfig program in 10.1, though. cer@nimrodel:~> l /usr/X11R6/bin/getconfig* - -rwxr-xr-x 1 root root 1845 2006-07-20 01:11 /usr/X11R6/bin/getconfig* - -rwxr-xr-x 1 root root 9399 2006-07-20 01:11 /usr/X11R6/bin/getconfig.pl* But I have no idea how it should or shouldn't run, it's a new concept to me. Sorry. Maybe what is missing is "xf86AutoConfig". The only file with that name that I see listed in 10.1 is this: ./CD1/suse/i586/xorg-x11-debuginfo-6.9.0-48.i586.rpm: -rw-r--r-- 1 root root 9309 Nov 30 11:35 /usr/src/debug/xc/programs/Xserver/hw/xfree86/common/xf86AutoConfig.c Maybe it is a function, not a program. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFob08tTMYHG2NR9URAgHnAKCSgUUmND3Ot8phoD9OmRgqfwPHYgCfS+mq K46qMxkoPJnm31f38o1zkMI= =XxVC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Zhang Weiwu