LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Help me error "Configuring The X Window System" (http://www.linuxquestions.org/questions/linux-from-scratch-13/help-me-error-configuring-the-x-window-system-875972/)

poisoning 04-19-2011 04:02 PM

Help me error "Configuring The X Window System"
 
Install all the x windows i have several errors.

I have errors with X windows when digit:
1) Xorg -configure file is no created "xorg.conf.new"
2) install -v -m644 -D ~/xorg.conf.new /etc/X11/xorg.conf does not exist and I generated this file error:
--------------------------------------------------------------------
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.22-14-generic i686
Current Operating System: Linux defcon 2.6.22-14-generic #1 SMP Sun Oct 14 23:
05:12 GMT 2007 i686
Build Date: 16 April 2011
Before reporting problems, check http://wiki.x.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/Xorg.0.log", Time: Tue Apr 19 15:42:21 2011
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81c42e0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/X11/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.1
(--) using VT number 9

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2580 card 8086,4156 rev 04 class 06,00,00 hdr 00
.
.
.
(II) PCI: 01:00:0: chip 10de,042f card 10de,0492 rev a1 class 03,00,00 hdr 00
(II) PCI: 06:03:0: chip 1106,3106 card 1186,1405 rev 8b class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,6), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1 0 0x0000a000 - 0x0000afff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xfa000000 - 0xfdffffff (0x4000000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xb0000000 - 0xcfffffff (0x20000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 5: bridge is at (0:28:0), (0,5,5), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 5 non-prefetchable memory range:
[0] -1 0 0xfe300000 - 0xfe3fffff (0x100000) MX[B]
(II) Bus 5 prefetchable memory range:
[0] -1 0 0xd0300000 - 0xd03fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 4: bridge is at (0:28:1), (0,4,4), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 4 non-prefetchable memory range:
[0] -1 0 0xfe200000 - 0xfe2fffff (0x100000) MX[B]
(II) Bus 4 prefetchable memory range:
[0] -1 0 0xd0200000 - 0xd02fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 3: bridge is at (0:28:2), (0,3,3), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 3 non-prefetchable memory range:
[0] -1 0 0xfe100000 - 0xfe1fffff (0x100000) MX[B]
(II) Bus 3 prefetchable memory range:
[0] -1 0 0xd0100000 - 0xd01fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:28:3), (0,2,2), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xfe000000 - 0xfe0fffff (0x100000) MX[B]
(II) Bus 2 prefetchable memory range:
[0] -1 0 0xd0000000 - 0xd00fffff (0x100000) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 6: bridge is at (0:30:0), (0,6,6), BCTRL: 0x0206 (VGA_EN is cleared)
(II) Bus 6 I/O range:
[0] -1 0 0x0000b000 - 0x0000b0ff (0x100) IX[B]
[1] -1 0 0x0000b400 - 0x0000b4ff (0x100) IX[B]
[2] -1 0 0x0000b800 - 0x0000b8ff (0x100) IX[B]
[3] -1 0 0x0000bc00 - 0x0000bcff (0x100) IX[B]
(II) Bus 6 non-prefetchable memory range:
[0] -1 0 0xfe400000 - 0xfe4fffff (0x100000) MX[B]
(II) Bus 6 prefetchable memory range:
[0] -1 0 0xd0400000 - 0xd04fffff (0x100000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x042f) rev 161, Mem @ 0
xfc000000/24, 0xb0000000/28, 0xfa000000/25, I/O @ 0xac00/7, BIOS @ 0xfd000000/
17
Missing output drivers. Configuration failed.

---------------------------------------------------------------------
I have a video card nVidia Quadro NVS 290.

spiky0011 04-19-2011 04:06 PM

Did You follow this page http://www.linuxfromscratch.org/blfs...x/x-setup.html
Code:

ln -vsf <$XORG_PREFIX> /usr/X11R6
stops the error

Then this cd,s you to ~ and creates file
Code:

cd ~ &&
Xorg -configure


poisoning 04-19-2011 06:20 PM

Just finished installing Xorg Server and the next day to continue installing Xorg Driver, you must type in the setup script again?:
----------------------------------------------------------------------------------------------
export XORG_PREFIX="/usr"

export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--mandir=$XORG_PREFIX/share/man --localstatedir=/var"

----------------------------------------------------------------------------------------------
I have to type in the setup script again? because I had to install Xorg driver the next day or not? maybe that's the problem.

druuna 04-20-2011 12:38 AM

Hi,

Those variables need to be set when building X.

- Did you create this file (as mentioned in the book): /etc/profile.d/xorg.sh?

If you are unsure if those variables are set, execute the following command:
Code:

echo $XORG_PREFIX
echo $XORG_CONFIG

The first one should show: /usr
The second: --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var

If that is not the case, revisit the page I linked to and check everything.

Hope this helps.

poisoning 04-20-2011 09:18 AM

Well once again started doing everything and if you made ​​a mistake by not writing the setup script I think everything is going well, but when the command digit.
cd ~ & &
Xorg-configure

and

X-config ~ / xorg.conf.new

The monitor tells me "monitor Out of frecuency". It is for nVidia Quadro NVS290 card I have.

druuna 04-20-2011 11:34 AM

Hi,

What does your xorg.conf look like and what is in the Xorg.0.log file?

Have you tried a bare/minimal xorg.conf file, something like this:
Code:

Section "Device"
        Identifier      "Video Device"
        Driver          "fglrx"
        Driver      "nv"
EndSection

Section "Monitor"
        Identifier      "Monitor"
EndSection

Section "Screen"
        Identifier      "Screen"
        Monitor        "Monitor"
        Device          "Video Device"
EndSection"

The above driver setting does assume that you are using the default nvidia driver (fglrxnv) and _not_ the one that can be downloaded and installed from Nvidia (the nvidia driver).

Hope this helps.

EDIT: See post #9, I mentioned the ATI driver instead of the Nvidia one......

spiky0011 04-20-2011 11:44 AM

Dejavu

jens 04-20-2011 12:02 PM

Does your file exist (/etc/X11/xorg.conf)?
If not, "X -configure" wil place it in your current map.

Copy/move it in the right location:
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf

PS: "~/" is your home map.

jens 04-20-2011 12:13 PM

Quote:

Originally Posted by druuna (Post 4330647)

The above driver setting does assume that you are using the default nvidia driver (fglrx) and _not_ the one that can be downloaded and installed from Nvidia (the nvidia driver).

Hope this helps.

Errrr....
fgrlx is a commercial AMD/ATI driver ;)
The nvidia ones from xorg are either "nv" or the newer "nouveau".

druuna 04-20-2011 12:30 PM

Quote:

Originally Posted by jens (Post 4330681)
Errrr....
fgrlx is a commercial AMD/ATI driver ;)
The nvidia ones from xorg are either "nv" or the newer "nouveau".

You are 100% correct (that's what happens when you use both....).

Sorry about the possible confusion, I'll edit my previous post.

druuna 04-20-2011 12:34 PM

Quote:

Originally Posted by jens (Post 4330672)
Does your file exist (/etc/X11/xorg.conf)?
If not, "X -configure" wil place it in your current map.

Copy/move it in the right location:
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf

PS: "~/" is your home map.

The BLFS approach first creates a sample/test xorg.conf in the roots directory. After testing it and making sure it is ok it is copied to its final place. So at this moment there is no /etc/X11/xorg.conf present.

MTK358 04-20-2011 12:48 PM

I thought that modern versions of X don't need xorg.conf?

jens 04-20-2011 12:58 PM

Quote:

Originally Posted by druuna (Post 4330701)
The BLFS approach first creates a sample/test xorg.conf in the roots directory. After testing it and making sure it is ok it is copied to its final place. So at this moment there is no /etc/X11/xorg.conf present.

Nothing against B/LFS, but that wouldn't be their first mistake (i don't see anything for that in their* already difficult to understand code base).
If you create it as a normal user, you wouldn't have the the permissions to write in /etc/X11 anyway.


edit
*> "their" being xorg

druuna 04-20-2011 12:59 PM

Quote:

Originally Posted by MTK358 (Post 4330715)
I thought that modern versions of X don't need xorg.conf?

You are, in general, correct. But..... this is BLFS.

I never could get the X working without at least a bare/minimal xorg.conf and then I'm ignoring the fact that ctrl-alt-bksp isn't working out of the (BLFS?) box. A lot of the settings I have in my xorg.conf are detected automatically when I look at the output of Xorg.0.log and I could remove them. Some aren't and I do need/want those.

Going through the process described by the BLFS book does give you an inside how things work and I do believe that is a plus.

Besides that: I must admit that I'm probably weird when it comes to tinkering with these things: I also created an xorg.conf on my Debian box (which isn't needed when it comes down to it) :D

jens 04-20-2011 01:00 PM

Quote:

Originally Posted by MTK358 (Post 4330715)
I thought that modern versions of X don't need xorg.conf?

Indeed.
It's only needed if its auto-detection mode failed or with some commercial drivers (like nvidia).


All times are GMT -5. The time now is 05:02 AM.