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: Fri Feb 03, 2012 1:01 am Post subject: [Solved] problem with resolution |
|
|
Hi guys,
My monitor is 1024X1046 resolution, but now the graphic is not complete on the monitor. There are the black space around its.
Quote: |
localhost ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dri2"
Load "dri"
Load "glx"
Load "dbe"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "AccelMethod" # [<str>]
#Option "DRI" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "FallbackDebug" # [<bool>]
#Option "Tiling" # [<bool>]
#Option "Shadow" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "HotPlug" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card1"
Driver "vesa"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
I don't know because there are 2 device:card0 and card1!
They are the same BusID!
Quote: |
localhost ~ # lspci -nn | grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
|
and...
Quote: |
localhost ~ # eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.39-gentoo
[2] linux-2.6.39-gentoo-r3
[3] linux-3.0-gentoo
[4] linux-3.1.0-gentoo
[5] linux-3.1.4-gentoo
[6] linux-3.2.0-gentoo-r1 *
[7] linux-3.2.1-gentoo-r2
[8] linux-3.2.2-gentoo
localhost ~ # eix -cCI x11-drivers
[I] x11-drivers/xf86-input-evdev (2.6.0@02/01/12): Generic Linux input driver
[I] x11-drivers/xf86-input-keyboard (1.6.0@02/01/12): Keyboard input driver
[I] x11-drivers/xf86-input-mouse (1.7.1@02/01/12): X.Org driver for mouse input devices
[I] x11-drivers/xf86-input-synaptics (1.4.0@02/01/12): Driver for Synaptics touchpads
[I] x11-drivers/xf86-video-intel (2.17.0-r3@02/01/12): X.Org driver for Intel cards
[I] x11-drivers/xf86-video-vesa (2.3.0@02/01/12): Generic VESA video driver
|
who help me?
do you need others outputs?
Last edited by conoscenza on Fri Mar 02, 2012 7:49 am; edited 1 time in total |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Feb 03, 2012 10:28 am Post subject: |
|
|
First, get rid of that xorg.conf. Second, uninstall xf86-video-vesa. Third, do you have KMS support activated in your kernel? If after you've taken care of those three it still doesn't work, we go to fourth: use pastebin to post your /var/log/Xorg.0.log. And finally, fifth: is it a CRT or LCD monitor and what connection are you using, VGA or DVI?
That should be the basics steps for now . Oh wait, there's a sixth one: Do a forum search, there are tons of threads on intel graphics, they contain all the info you need. In fact, you could just forget the first five and only do the sixth. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Mon Feb 06, 2012 7:48 pm Post subject: |
|
|
Hi!
I'm sorry for my late! Anyway I've done:
Code: | rm /etc/X11/xorg.conf |
Code: | emerge -C xf86-video-vesa |
but how could I check if my KMS support is activated?
I use a laptop, so there isn't DVI or VGA connection, I suppose.
Thank you again... |
|
Back to top |
|
|
iamben Apprentice
Joined: 10 May 2004 Posts: 278
|
Posted: Mon Feb 06, 2012 7:53 pm Post subject: |
|
|
see if "cat /proc/fb" returns "0 inteldrmfb", that indicates that intel+kms is active |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Mon Feb 06, 2012 9:10 pm Post subject: |
|
|
...mmm cat /proc/fb
does not return nothing!
What's mean?
How could I active KMS? |
|
Back to top |
|
|
iamben Apprentice
Joined: 10 May 2004 Posts: 278
|
Posted: Mon Feb 06, 2012 9:11 pm Post subject: |
|
|
Make sure you have enabled CONFIG_DRM_I915 and CONFIG_DRM_I915_KMS in your kernel config |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Mon Feb 06, 2012 9:12 pm Post subject: |
|
|
I'll check in /usr/src/my_kernel_version
and do "make menuconfig"? Or what?
I'm so newbie! |
|
Back to top |
|
|
iamben Apprentice
Joined: 10 May 2004 Posts: 278
|
Posted: Mon Feb 06, 2012 9:17 pm Post subject: |
|
|
You can build this as a module, but I would recommend built-in here. Assuming you did a normal manual config/build last time, you'll just need a few steps:
1. enable the options via "make menuconfig", save/exit
2. build via "make && make modules_install"
3. "mount /boot" if it's a separate FS
4. copy the new bzImage to /boot (or use "make install")
5. update grub.conf to point to the new kernel file in /boot if you have renamed it (no update needed if you overwrote with the same kernel filename) |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Mon Feb 06, 2012 10:40 pm Post subject: |
|
|
iamben wrote: | You can build this as a module, but I would recommend built-in here. Assuming you did a normal manual config/build last time, you'll just need a few steps:
1. enable the options via "make menuconfig", save/exit
2. build via "make && make modules_install"
3. "mount /boot" if it's a separate FS
4. copy the new bzImage to /boot (or use "make install")
5. update grub.conf to point to the new kernel file in /boot if you have renamed it (no update needed if you overwrote with the same kernel filename) |
There is a problem:
Quote: |
localhost linux-3.2.0-gentoo-r1 # make menuconfig
make: *** Nessuna regola per generare l'obiettivo «menuconfig». Stop.
|
Quote: |
localhost linux-3.2.0-gentoo-r1 # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.20
* Running with options: --menuconfig all
* ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing. Maybe re-install the kernel sources.
* -- Grepping log... --
* Gentoo Linux Genkernel; Version 3.4.20
* Running with options: --menuconfig all
* ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing. Maybe re-install the kernel sources.
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
|
What's happen? |
|
Back to top |
|
|
bigbangnet Apprentice
Joined: 11 Jun 2007 Posts: 174
|
Posted: Tue Feb 07, 2012 7:26 pm Post subject: |
|
|
Use Code: | # eselect kernel list |
make sure its set to your kernel. If its not, make sure it points to the right one by using this Code: | eselect kernel set # |
Set your # to your number displayed in your list.
You can also use Code: | file /usr/src/linux | to verify your symlink to know where it points to. _________________ I'm a noob, be gentle with me. TEACH ME |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Tue Feb 07, 2012 8:08 pm Post subject: |
|
|
Thank you for the answer!
Anyway:
Quote: |
localhost ~ # eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.39-gentoo
[2] linux-2.6.39-gentoo-r3
[3] linux-3.0-gentoo
[4] linux-3.1.0-gentoo
[5] linux-3.1.4-gentoo
[6] linux-3.2.0-gentoo-r1 *
[7] linux-3.2.1-gentoo-r2
[8] linux-3.2.2-gentoo
localhost ~ # uname -r
3.2.0-gentoo-r1
|
...so I think is all ok!
and after:
Quote: |
localhost ~ # file /usr/src/linux
/usr/src/linux: symbolic link to `linux-3.2.0-gentoo-r1'
|
I don't understand!
EDIT: if I startup with old kernel (2.6.39) the resolution is ok! |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Fri Feb 17, 2012 12:54 am Post subject: |
|
|
Hi guys!
Nobody help me?
I've tried so much but I can't repeair it! |
|
Back to top |
|
|
epsilon72 Guru
Joined: 20 Sep 2007 Posts: 568
|
Posted: Fri Feb 17, 2012 6:55 am Post subject: |
|
|
Is there a reason why you're using the vesa driver rather than the intel one? You have an Intel GPU right?
Make sure that
Code: | VIDEO_CARDS="intel" |
Is in your xorg.conf, and then
Code: | $ emerge -DavuN world |
Portage should then install the xf86-video-intel driver. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Thu Feb 23, 2012 12:41 pm Post subject: |
|
|
Yep, I'va a Intel GPU.
I can't resolved its.
I deleted my xorg.conf in /etc/X11/, infact:
Quote: |
localhost / # ls /etc/X11/
chooser.sh dm gdm Sessions startDM.sh xdm xinit
|
This is my /etc/make.conf:
Quote: |
localhost / # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe -mssse3 -mfpmath=sse"
#CXXFLAGS="-march=native -O2 -pipe -mssse3 -mfpmath=sse"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 sse3 ssse3 X Xaw3d a52 aac aalib alsa ao bash-completion bcmath gtk xorg glibc-omitfp mpi smp custom-cflags \
custom-optimization custom-cpuopts xvmc gtk extras audiofile cairo cdda cddb cdparanoia cdr cgi cracklib cdr css cups cxx dbus \
dga djvu dri gdu device-mapper gd posix disk-partition automount icu ntfs fat thunar gpm bluetooth gnome mysql sql webkit xulrunner \
kdrive dts dv dvb dvd dvdr eds encode evo exif axpat fastcgi ffmpeg fftw flac foomaticdb fortran gdbm policykit sqlite hddtemp gpm \
ggi gimp ginac gimp gnutls gphoto2 gps gsm gls graphviz gstreamer hal ieee1394 jbig jpeg jpeg2k lame twolame libv4l libv4l2 libgda \
lirc lzo matroska mng mp3 mp4 mpeg mtp mplayer musepack musicbrainz nas nptl openal ogg openexr openmp oss pch perl pda pcre pcntl \
pdf plasma posix png prelude ppds python pulseaudio qt4 raw scanner semantic-desktop shorten smartcard sndfile speex spell ssl svg \
svga tcl tk threads syslog subversion glib java mpi-threads fuse theora v4l v4l2 vcd win32codecs vorbis wapack wmf x264 xcb xft \
xine xpm xv xvid optimized-qmake fontconfig imagemagick mjpeg floppy xrandr midi timidity curl libass libcaca vdr faac faad \
schroedinger glitz cleartype qt3support mono network static-libs opengl -mmxext -3dnow -3dnowext lm_sensors sip wav networkmanager \
laptop wicd dso php_targets_php5-2 embedded kde zip -zlib"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
INPUT_DEVICES="mouse keyboard evdev synaptics"
VIDEO_CARDS="intel"
ACCEPT_LICENSE="@EULA"
EMERGE_DEFAULT_OPTS="--autounmask=n"
|
I've deleted driver "vesa", argoument of "VIDEO_CARDS".
See that:
Quote: |
localhost / # emerge -pv xorg-drivers
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-base/xorg-drivers-1.11 INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -elographics -fpit -hyperpen -joystick -mutouch -penmount -tslib -vmmouse -void -wacom" VIDEO_CARDS="intel -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia (-omapfb) -qxl -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo)" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
localhost / # eix -cCI x11-drivers
[I] x11-drivers/xf86-input-evdev (2.6.0@01/02/2012): Generic Linux input driver
[I] x11-drivers/xf86-input-keyboard (1.6.0@01/02/2012): Keyboard input driver
[I] x11-drivers/xf86-input-mouse (1.7.1@01/02/2012): X.Org driver for mouse input devices
[I] x11-drivers/xf86-input-synaptics (1.4.0@01/02/2012): Driver for Synaptics touchpads
[I] x11-drivers/xf86-video-intel (2.17.0-r3@01/02/2012): X.Org driver for Intel cards
Found 5 matches.
|
but I can't create xorg.conf:
Quote: |
localhost / # cat /var/log/Xorg.0.log
[ 89.249]
X.Org X Server 1.11.2
Release Date: 2011-11-04
[ 89.249] X Protocol Version 11, Revision 0
[ 89.249] Build Operating System: Linux 3.2.0-gentoo-r1 x86_64 Gentoo
[ 89.249] Current Operating System: Linux localhost 3.2.5-gentoo #1 SMP Wed Feb 8 00:32:43 CET 2012 x86_64
[ 89.249] Kernel command line: root=/dev/ram0 real_root=/dev/sda5
[ 89.250] Build Date: 01 February 2012 11:41:30PM
[ 89.250]
[ 89.250] Current version of pixman: 0.24.0
[ 89.250] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 89.250] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 89.251] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 22 19:38:43 2012
[ 89.251] (II) Loader magic: 0x7caac0
[ 89.251] (II) Module ABI versions:
[ 89.251] X.Org ANSI C Emulation: 0.4
[ 89.251] X.Org Video Driver: 11.0
[ 89.251] X.Org XInput driver : 13.0
[ 89.251] X.Org Server Extension : 6.0
[ 89.252] (--) PCI:*(0:0:2:0) 8086:2a02:104d:902d rev 12, Mem @ 0xfc000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[ 89.252] (--) PCI: (0:0:2:1) 8086:2a03:104d:902d rev 12, Mem @ 0xfc100000/1048576
[ 89.253] List of video drivers:
[ 89.253] intel
[ 89.253] (II) LoadModule: "intel"
[ 89.253] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 89.253] (II) Module intel: vendor="X.Org Foundation"
[ 89.253] compiled for 1.11.2, module version = 2.17.0
[ 89.253] Module class: X.Org Video Driver
[ 89.253] ABI class: X.Org Video Driver, version 11.0
[ 89.253] (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
[ 89.361] (++) Using config file: "/root/xorg.conf.new"
[ 89.361] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 89.362] (==) ServerLayout "X.org Configured"
[ 89.362] (**) |-->Screen "Screen0" (0)
[ 89.362] (**) | |-->Monitor "Monitor0"
[ 89.362] (**) | |-->Device "Card0"
[ 89.362] (**) |-->Input Device "Mouse0"
[ 89.362] (**) |-->Input Device "Keyboard0"
[ 89.362] (==) Automatically adding devices
[ 89.362] (==) Automatically enabling devices
[ 89.362] (**) 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/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 89.362] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 89.362] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 89.362] (WW) Disabling Mouse0
[ 89.362] (WW) Disabling Keyboard0
[ 89.366] Number of created screens does not match number of detected devices.
Configuration failed.
|
What's wrong? |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Thu Feb 23, 2012 12:47 pm Post subject: |
|
|
This is wrong: Code: | [ 89.361] (++) Using config file: "/root/xorg.conf.new" |
|
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Thu Feb 23, 2012 6:43 pm Post subject: |
|
|
Gusar wrote: | This is wrong: Code: | [ 89.361] (++) Using config file: "/root/xorg.conf.new" |
|
Do you think?
Ok, I've done:
Code: | mv /root/xorg.conf.new /etc/X11/xorg.conf |
and after I've tried to do:
but does not run.
The xorg.conf that it is created is:
Quote: |
localhost / # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dri2"
Load "dri"
Load "glx"
Load "dbe"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "DRI" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "FallbackDebug" # [<bool>]
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "Shadow" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "RelaxedFencing" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
I don't understand, with old version of the kernel all run ok! |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Thu Feb 23, 2012 6:53 pm Post subject: |
|
|
conoscenza wrote: | Do you think?
Ok, I've done:
Code: | mv /root/xorg.conf.new /etc/X11/xorg.conf |
|
*facepalm*
What was the first thing I said you should do? Get rid of xorg.conf. What do you do here? Mess around with xorg.conf. So yeah, *facepalm* |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Thu Feb 23, 2012 7:06 pm Post subject: |
|
|
Quote: |
First, get rid of that xorg.conf. Second, uninstall xf86-video-vesa. Third, do you have KMS support activated in your kernel? If after you've taken care of those three it still doesn't work, we go to fourth: use pastebin to post your /var/log/Xorg.0.log. And finally, fifth: is it a CRT or LCD monitor and what connection are you using, VGA or DVI? |
ok!
I delete xorg.conf, vesa-driver are deleted, KMS is activated, /var/log/Xorg.0.log is posted... I've a laptop.
Should I search intel-driver on this forum only? |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Thu Feb 23, 2012 7:12 pm Post subject: |
|
|
conoscenza wrote: | /var/log/Xorg.0.log is posted... |
Yeah, those from when you have a config file. What happens now, without a config file? |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Thu Feb 23, 2012 7:26 pm Post subject: |
|
|
Gusar wrote: | conoscenza wrote: | /var/log/Xorg.0.log is posted... |
Yeah, those from when you have a config file. What happens now, without a config file? |
my sistem starts in init 3. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2726 Location: Here and Away Again
|
Posted: Thu Feb 23, 2012 10:04 pm Post subject: Teegrins! |
|
|
What does /var/log/Xorg.0.log tell when you try to startx now without any of the xorg.conf doing their things? _________________ Kindest of regardses. |
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Mon Feb 27, 2012 9:29 pm Post subject: |
|
|
Quote: |
localhost / # cat /var/log/Xorg.0.log
[ 35.504]
X.Org X Server 1.11.2
Release Date: 2011-11-04
[ 35.504] X Protocol Version 11, Revision 0
[ 35.504] Build Operating System: Linux 3.2.0-gentoo-r1 x86_64 Gentoo
[ 35.504] Current Operating System: Linux localhost 3.2.5-gentoo #1 SMP Wed Feb 8 00:32:43 CET 2012 x86_64
[ 35.504] Kernel command line: root=/dev/ram0 real_root=/dev/sda5
[ 35.504] Build Date: 01 February 2012 11:41:30PM
[ 35.504]
[ 35.504] Current version of pixman: 0.24.0
[ 35.504] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 35.504] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 35.504] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 27 00:30:51 2012
[ 35.504] (==) Using config file: "/etc/X11/xorg.conf"
[ 35.504] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 35.505] (==) ServerLayout "X.org Configured"
[ 35.505] (**) |-->Screen "Screen0" (0)
[ 35.505] (**) | |-->Monitor "Monitor0"
[ 35.505] (**) | |-->Device "Card0"
[ 35.505] (**) |-->Input Device "Mouse0"
[ 35.505] (**) |-->Input Device "Keyboard0"
[ 35.505] (==) Automatically adding devices
[ 35.505] (==) Automatically enabling devices
[ 35.505] (**) 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/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 35.505] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 35.505] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 35.505] (WW) Disabling Mouse0
[ 35.505] (WW) Disabling Keyboard0
[ 35.505] (II) Loader magic: 0x7caac0
[ 35.505] (II) Module ABI versions:
[ 35.505] X.Org ANSI C Emulation: 0.4
[ 35.505] X.Org Video Driver: 11.0
[ 35.505] X.Org XInput driver : 13.0
[ 35.505] X.Org Server Extension : 6.0
[ 35.506] (--) PCI:*(0:0:2:0) 8086:2a02:104d:902d rev 12, Mem @ 0xfc000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[ 35.506] (--) PCI: (0:0:2:1) 8086:2a03:104d:902d rev 12, Mem @ 0xfc100000/1048576
[ 35.506] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 35.506] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 35.506] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 35.506] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 35.506] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[ 35.506] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[ 35.506] (II) LoadModule: "extmod"
[ 35.507] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[ 35.507] (II) Module extmod: vendor="X.Org Foundation"
[ 35.507] compiled for 1.11.2, module version = 1.0.0
[ 35.507] Module class: X.Org Server Extension
[ 35.507] ABI class: X.Org Server Extension, version 6.0
[ 35.507] (II) Loading extension MIT-SCREEN-SAVER
[ 35.507] (II) Loading extension XFree86-VidModeExtension
[ 35.507] (II) Loading extension XFree86-DGA
[ 35.507] (II) Loading extension DPMS
[ 35.507] (II) Loading extension XVideo
[ 35.507] (II) Loading extension XVideo-MotionCompensation
[ 35.507] (II) Loading extension X-Resource
[ 35.507] (II) LoadModule: "dri2"
[ 35.507] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[ 35.507] (II) Module dri2: vendor="X.Org Foundation"
[ 35.507] compiled for 1.11.2, module version = 1.2.0
[ 35.507] ABI class: X.Org Server Extension, version 6.0
[ 35.507] (II) Loading extension DRI2
[ 35.507] (II) LoadModule: "dri"
[ 35.507] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[ 35.507] (II) Module dri: vendor="X.Org Foundation"
[ 35.508] compiled for 1.11.2, module version = 1.0.0
[ 35.508] ABI class: X.Org Server Extension, version 6.0
[ 35.508] (II) Loading extension XFree86-DRI
[ 35.508] (II) LoadModule: "glx"
[ 35.508] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 35.508] (II) Module glx: vendor="X.Org Foundation"
[ 35.508] compiled for 1.11.2, module version = 1.0.0
[ 35.508] ABI class: X.Org Server Extension, version 6.0
[ 35.508] (==) AIGLX enabled
[ 35.508] (II) Loading extension GLX
[ 35.508] (II) LoadModule: "dbe"
[ 35.508] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[ 35.508] (II) Module dbe: vendor="X.Org Foundation"
[ 35.508] compiled for 1.11.2, module version = 1.0.0
[ 35.508] Module class: X.Org Server Extension
[ 35.508] ABI class: X.Org Server Extension, version 6.0
[ 35.508] (II) Loading extension DOUBLE-BUFFER
[ 35.508] (II) LoadModule: "record"
[ 35.508] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[ 35.508] (II) Module record: vendor="X.Org Foundation"
[ 35.508] compiled for 1.11.2, module version = 1.13.0
[ 35.508] Module class: X.Org Server Extension
[ 35.508] ABI class: X.Org Server Extension, version 6.0
[ 35.508] (II) Loading extension RECORD
[ 35.508] (II) LoadModule: "intel"
[ 35.509] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 35.509] (II) Module intel: vendor="X.Org Foundation"
[ 35.509] compiled for 1.11.2, module version = 2.17.0
[ 35.509] Module class: X.Org Video Driver
[ 35.509] ABI class: X.Org Video Driver, version 11.0
[ 35.509] (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
[ 35.509] (++) using VT number 7
[ 35.517] (EE) No devices detected.
[ 35.517]
Fatal server error:
[ 35.517] no screens found
[ 35.517]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 35.517] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 35.517]
|
|
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Feb 27, 2012 9:45 pm Post subject: |
|
|
Err...
Code: | [ 35.504] (==) Using config file: "/etc/X11/xorg.conf" |
|
|
Back to top |
|
|
conoscenza Tux's lil' helper
Joined: 25 Dec 2011 Posts: 105 Location: Spinazzola (bt) | Brescia | Parma
|
Posted: Mon Feb 27, 2012 10:05 pm Post subject: |
|
|
but there isn't:
Quote: |
localhost / # ls /etc/X11/
chooser.sh dm gdm Sessions startDM.sh xdm xinit
|
|
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Feb 27, 2012 10:55 pm Post subject: |
|
|
Well, you definitely have something somewhere. Because this: Code: | [ 35.505] (==) ServerLayout "X.org Configured" |
can only come from a configuration file. |
|
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
|
|