View previous topic :: View next topic |
Author |
Message |
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Tue Feb 28, 2012 9:41 am Post subject: |
|
|
What I should do?
Code: | emerge -C xorg-server |
or what else? |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2726 Location: Here and Away Again
|
Posted: Tue Feb 28, 2012 9:02 pm Post subject: ><)))°€ |
|
|
conoscenza,
I don't think that would be profitable.
What I think we need to find out is why and/or where that xorg.conf keeps creeping up from.
I did a few quick tests to show examples of Xorg.0.log with different scenarios.
Without a xorg.conf, you should not see the line: (==) Using config file: "/etc/X11/xorg.conf" at all, like so:
Code: | [ 22255.750]
X.Org X Server 1.11.4
Release Date: 2012-01-27
[ 22255.765] X Protocol Version 11, Revision 0
[ 22255.768] Build Operating System: Linux 3.2.1-gentoo-r2 x86_64 Gentoo
[ 22255.771] Current Operating System: Linux CommodoreL 3.2.1-gentoo-r2 #1 SMP PREEMPT Fri Jan 27 17:09:09 EET 2012 x86_64
[ 22255.774] Kernel command line: root=/dev/sda8 vga=0x361
[ 22255.777] Build Date: 31 January 2012 02:39:34PM
[ 22255.780]
[ 22255.783] Current version of pixman: 0.24.0
[ 22255.786] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 22255.792] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22255.802] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 28 22:10:43 2012
[ 22255.805] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 22255.809] (==) No Layout section. Using the first Screen section.
[ 22255.809] (==) No screen section available. Using defaults.
[ 22255.809] (**) |-->Screen "Default Screen Section" (0)
[ 22255.809] (**) | |-->Monitor "<default monitor>"
[ 22255.809] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 22255.809] (==) Automatically adding devices
[ 22255.809] (==) Automatically enabling devices |
Without a xorg.conf, however, X will not start properly for me and exits with the fatal server error: No screens found.
Normally I have always used a xorg.conf generated by nvidia-xconfig which has worked for me, but for this test, I wrote a minimal xorg.conf (thanks, Gusar, for I have seen you mention this somewhere, some time, many a time, though things have worked fine with nvidia-xconfig for me, it's nice to know that this is usually only thing needed, if anything is needed) like so:
Code: | Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "Coolbits" "5"
EndSection |
The "Option Coolbits 5" is to have fan and other control via nvidia-settings so that's just a personal addition.
So with that, the xorg.conf will naturally appear in my log again.
For now, I would suggest you write down your exact steps, something like:
- Removed xorg.conf from /etc/X11/ and <other?>.
- Double-checked it is not there.
- Used command startx to start X.
- Failed, checked Xorg.0.log for xorg.conf and time/date, and the error message(s).
- Content of xorg.conf is the same as initially?
- Checked date/time of xorg.conf and Xorg.0.log for no particular reason.
- Planning on trying with a blank xorg.conf, blocking any changes to it via permissions if need be (I forgot to try what happens with a blank file, so I'm not sure if that would work the same way as with no file at all).
Mention any additional steps you might have taken.
Also, this is just an example what I would probably do, not necessarily what I would suggest you to do.
Do what you do, and tell us what you did exactly, and what happens next.
I am sure this is more or less frustrating, but hang in there, and I'm sure the mystery will be solved, eventually. ^^
Just some thoughts~ _________________ Kindest of regardses. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Tue Feb 28, 2012 11:22 pm Post subject: |
|
|
Now it is:
Quote: |
ocalhost / # cat /var/log/Xorg.0.log
[ 284.439]
X.Org X Server 1.11.2
Release Date: 2011-11-04
[ 284.439] X Protocol Version 11, Revision 0
[ 284.439] Build Operating System: Linux 2.6.42.7-1.fc15.x86_64 x86_64 Gentoo
[ 284.439] Current Operating System: Linux localhost 3.2.5-gentoo #1 SMP Wed Feb 8 00:32:43 CET 2012 x86_64
[ 284.440] Kernel command line: root=/dev/ram0 real_root=/dev/sda5
[ 284.440] Build Date: 28 February 2012 11:56:24PM
[ 284.440]
[ 284.440] Current version of pixman: 0.24.0
[ 284.440] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 284.440] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 284.441] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 29 01:14:31 2012
[ 284.441] (II) Loader magic: 0x7caac0
[ 284.441] (II) Module ABI versions:
[ 284.441] X.Org ANSI C Emulation: 0.4
[ 284.441] X.Org Video Driver: 11.0
[ 284.441] X.Org XInput driver : 13.0
[ 284.441] X.Org Server Extension : 6.0
[ 284.443] (--) PCI:*(0:0:2:0) 8086:2a02:104d:902d rev 12, Mem @ 0xfc000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[ 284.443] (--) PCI: (0:0:2:1) 8086:2a03:104d:902d rev 12, Mem @ 0xfc100000/1048576
[ 284.443] (==) Using default built-in configuration (30 lines)
[ 284.443] (==) --- Start of built-in configuration ---
[ 284.443] Section "Device"
[ 284.443] Identifier "Builtin Default intel Device 0"
[ 284.443] Driver "intel"
[ 284.443] EndSection
[ 284.443] Section "Screen"
[ 284.443] Identifier "Builtin Default intel Screen 0"
[ 284.443] Device "Builtin Default intel Device 0"
[ 284.443] EndSection
[ 284.443] Section "Device"
[ 284.443] Identifier "Builtin Default vesa Device 0"
[ 284.443] Driver "vesa"
[ 284.443] EndSection
[ 284.443] Section "Screen"
[ 284.443] Identifier "Builtin Default vesa Screen 0"
[ 284.443] Device "Builtin Default vesa Device 0"
[ 284.443] EndSection
[ 284.443] Section "Device"
[ 284.443] Identifier "Builtin Default fbdev Device 0"
[ 284.443] Driver "fbdev"
[ 284.443] EndSection
[ 284.443] Section "Screen"
[ 284.443] Identifier "Builtin Default fbdev Screen 0"
[ 284.443] Device "Builtin Default fbdev Device 0"
[ 284.443] EndSection
[ 284.443] Section "ServerLayout"
[ 284.443] Identifier "Builtin Default Layout"
[ 284.443] Screen "Builtin Default intel Screen 0"
[ 284.443] Screen "Builtin Default vesa Screen 0"
[ 284.443] Screen "Builtin Default fbdev Screen 0"
[ 284.443] EndSection
[ 284.443] (==) --- End of built-in configuration ---
[ 284.443] (==) ServerLayout "Builtin Default Layout"
[ 284.443] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[ 284.443] (**) | |-->Monitor "<default monitor>"
[ 284.443] (**) | |-->Device "Builtin Default intel Device 0"
[ 284.443] (==) No monitor specified for screen "Builtin Default intel Screen 0".
Using a default monitor configuration.
[ 284.443] (**) |-->Screen "Builtin Default vesa Screen 0" (1)
[ 284.443] (**) | |-->Monitor "<default monitor>"
[ 284.444] (**) | |-->Device "Builtin Default vesa Device 0"
[ 284.444] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
Using a default monitor configuration.
[ 284.444] (**) |-->Screen "Builtin Default fbdev Screen 0" (2)
[ 284.444] (**) | |-->Monitor "<default monitor>"
[ 284.444] (**) | |-->Device "Builtin Default fbdev Device 0"
[ 284.444] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
Using a default monitor configuration.
[ 284.444] (==) Automatically adding devices
[ 284.444] (==) Automatically enabling devices
[ 284.444] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 284.444] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 284.444] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 284.444] (II) LoadModule: "extmod"
[ 284.444] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[ 284.444] (II) Module extmod: vendor="X.Org Foundation"
[ 284.444] compiled for 1.11.2, module version = 1.0.0
[ 284.444] Module class: X.Org Server Extension
[ 284.444] ABI class: X.Org Server Extension, version 6.0
[ 284.444] (II) Loading extension MIT-SCREEN-SAVER
[ 284.444] (II) Loading extension XFree86-VidModeExtension
[ 284.444] (II) Loading extension XFree86-DGA
[ 284.444] (II) Loading extension DPMS
[ 284.444] (II) Loading extension XVideo
[ 284.444] (II) Loading extension XVideo-MotionCompensation
[ 284.444] (II) Loading extension X-Resource
[ 284.444] (II) LoadModule: "dbe"
[ 284.445] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[ 284.445] (II) Module dbe: vendor="X.Org Foundation"
[ 284.445] compiled for 1.11.2, module version = 1.0.0
[ 284.445] Module class: X.Org Server Extension
[ 284.445] ABI class: X.Org Server Extension, version 6.0
[ 284.445] (II) Loading extension DOUBLE-BUFFER
[ 284.445] (II) LoadModule: "glx"
[ 284.445] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 284.445] (II) Module glx: vendor="X.Org Foundation"
[ 284.445] compiled for 1.11.2, module version = 1.0.0
[ 284.445] ABI class: X.Org Server Extension, version 6.0
[ 284.445] (==) AIGLX enabled
[ 284.445] (II) Loading extension GLX
[ 284.445] (II) LoadModule: "record"
[ 284.445] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[ 284.445] (II) Module record: vendor="X.Org Foundation"
[ 284.445] compiled for 1.11.2, module version = 1.13.0
[ 284.445] Module class: X.Org Server Extension
[ 284.445] ABI class: X.Org Server Extension, version 6.0
[ 284.445] (II) Loading extension RECORD
[ 284.445] (II) LoadModule: "dri"
[ 284.445] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[ 284.446] (II) Module dri: vendor="X.Org Foundation"
[ 284.446] compiled for 1.11.2, module version = 1.0.0
[ 284.446] ABI class: X.Org Server Extension, version 6.0
[ 284.446] (II) Loading extension XFree86-DRI
[ 284.446] (II) LoadModule: "dri2"
[ 284.446] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[ 284.446] (II) Module dri2: vendor="X.Org Foundation"
[ 284.446] compiled for 1.11.2, module version = 1.2.0
[ 284.446] ABI class: X.Org Server Extension, version 6.0
[ 284.446] (II) Loading extension DRI2
[ 284.446] (II) LoadModule: "intel"
[ 284.446] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 284.446] (II) Module intel: vendor="X.Org Foundation"
[ 284.446] compiled for 1.11.2, module version = 2.17.0
[ 284.446] Module class: X.Org Video Driver
[ 284.446] ABI class: X.Org Video Driver, version 11.0
[ 284.446] (II) LoadModule: "vesa"
[ 284.447] (WW) Warning, couldn't open module vesa
[ 284.447] (II) UnloadModule: "vesa"
[ 284.447] (II) Unloading vesa
[ 284.447] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 284.447] (II) LoadModule: "fbdev"
[ 284.447] (WW) Warning, couldn't open module fbdev
[ 284.447] (II) UnloadModule: "fbdev"
[ 284.447] (II) Unloading fbdev
[ 284.447] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 284.447] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[ 284.448] (--) using VT number 7
[ 284.456] (EE) No devices detected.
[ 284.456]
Fatal server error:
[ 284.456] no screens found
[ 284.456]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 284.456] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 284.456]
|
|
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Wed Feb 29, 2012 2:17 am Post subject: |
|
|
Such a log is typical for when KMS is not activated. So configure and install the kernel properly. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Wed Feb 29, 2012 7:13 am Post subject: |
|
|
I think it was enabled...
Anyway all it is ok with 2.6.39-gentoo, can I copy the configuration from this kernel?
The last source that I've downloaded is linux-3.2.6-gentoo.
What I must to copy? and where?
thanks to all! |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Wed Feb 29, 2012 1:32 pm Post subject: |
|
|
Updating the kernel is pretty much one of the basics of using gentoo. It's something you really should be able to figure out yourself. There's some pointers in this thread, there's documentation elsewhere. Read up, learn, really understand what you're doing instead of just blindly typing it commands others provide you. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Wed Feb 29, 2012 5:32 pm Post subject: |
|
|
Ok!
I will do:
Code: | cp kernel-config-x86_64-2.6.39-gentoo kernel-config-x86_64-3.2.6-gentoo |
re-emerge driver and xorg-server... and I hope it will be ok! |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2726 Location: Here and Away Again
|
Posted: Wed Feb 29, 2012 11:17 pm Post subject: |
|
|
I would suggest to at least read through the Gentoo Linux Kernel Upgrade Guide.
It also mentions using the old .config file. ^^
I would also suggest to look into manually configuring your kernel. I too started, and used genkernel for quite a long time, but once I took the leap and did it manually a few times, it really wasn't as bad as it seemed to be while gazing towards it from yonder.
Then there are the Pappy's Kernel Seeds that are advertised a lot around the forums by many.
I haven't tried that, but I am sure that it might be worth a try if you don't want to jump in with doing it all by yourself right away.
Of course, if you're most comfortable with genkernel, by all means, you should is it then but it does have quite a lot of disadvantages and can even cause problems in certain circumstances.
Just some thoughts, and links you might have found by searching yourself already. :]
Good luck! _________________ Kindest of regardses. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Thu Mar 01, 2012 9:23 pm Post subject: |
|
|
Thanks to all for the answer!
Thank you Chiitoo for the links, they are so interesting! I'll read its.
Anyway I've resolved: I used the 2.6.39 configuration and I compiled the kernel again.
What did I wrong in the new configuration? |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2726 Location: Here and Away Again
|
Posted: Thu Mar 01, 2012 10:17 pm Post subject: |
|
|
It is pretty much impossible to tell without the both of the .config files available for comparison, but if I had to really, really guess, this might have something to do with it:
Gusar wrote: | Such a log is typical for when KMS is not activated. So configure and install the kernel properly. |
Quick google-search for 'gentoo kms' returns a nice article in the unofficial gentoo-wiki, though I have never used it, so I can not tell if it is still an accurate article or not. ^^; _________________ Kindest of regardses. |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 749 Location: /home
|
Posted: Thu Mar 01, 2012 10:44 pm Post subject: |
|
|
conoscenza wrote: | What did I wrong in the new configuration? |
If you used genkernel without --menuconfig (I don't know if that adds it by default though) you couldn't add stars to a certain important places, described in
http://en.gentoo-wiki.com/wiki/Intel_GMA
Code: |
Device Drivers --->
Graphics support --->
<*> /dev/agpgart (AGP Support)
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*> Intel I810
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
<*> i830 driver
<*> i915 driver
[*] Enable modesetting on intel by default
|
|
|
Back to top |
|
|
epsilon72 Guru
Joined: 20 Sep 2007 Posts: 568
|
Posted: Fri Mar 02, 2012 12:14 am Post subject: |
|
|
I also second the motion to take the time to learn how to manually configure your kernel. Once you get the hang of it, it works so much better than using genkernel. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Fri Mar 02, 2012 7:49 am Post subject: |
|
|
Thanks to all!
Probably I deleted something on the kernel configuration, anyway I delete just what I know I don't need to have.
For example: I have i915, so I think I can delete i830 module from the kernel!
I search and read your links: thanks to all again!
See you soon! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|