Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blackscreen with X and intel chipset, no errors shown
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
L3Le
n00b
n00b


Joined: 03 Apr 2011
Posts: 4

PostPosted: Sun Apr 03, 2011 10:40 am    Post subject: Blackscreen with X and intel chipset, no errors shown Reply with quote

hi guys... I'm having a problem with X on an intel mobile 4 series chipset, it is giving me a blackscreen anytime I startx it, sometimes getting stuck, and other times rebooting. DRI and KMS are enabled and built-in in kernel and framebuffer console too. X is showing no errors... sometimes at reboot it is using only 1/2 of the screen with the same resolution. has anyone some advice to give me?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Sun Apr 03, 2011 12:51 pm    Post subject: Reply with quote

L3Le,

Welcome to Gentoo.

Please post your /var/log/Xorg.0.log file. That will tell what Xorg actually did when it started.
For a shot in the dark, do not use the intelfb kernel frame buffer driver. Sometimes kernel framebuffer drivers and Xorg drivers do not play well together.
The vesa framebuffer driver is safe and easy to set up.

Make friends with wgetpaste
Code:
emerge wgetpaste
wgetpaste /var/log/Xorg.0.log
and tell us the URL you get back
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
L3Le
n00b
n00b


Joined: 03 Apr 2011
Posts: 4

PostPosted: Sun Apr 03, 2011 11:22 pm    Post subject: Reply with quote

thanks for welcoming me :D and for your support, I really need it.

Quote:
The vesa framebuffer driver is safe and easy to set up.

my system is compiled without the vesa support, I've selected "intel" in the VIDEO_CARDS field in make.conf. will it give me problems?


anyway, my /var/log/Xorg.0.log doesn't seem to have changed after I have given X -configure. I have started X a few times, but the file is still like this:

Code:
[   195.420]
X.Org X Server 1.9.4
Release Date: 2011-02-04
[   195.422] X Protocol Version 11, Revision 0
[   195.423] Build Operating System: Linux 2.6.36-gentoo-r5 x86_64 Gentoo
[   195.424] Current Operating System: Linux LWC-GENTOO 2.6.36-gentoo-r8 #3 SMP Sat Apr 2 14:53:17 CEST 2011 x86_64
[   195.424] Kernel command line: root=/dev/sda8
[   195.425] Build Date: 29 March 2011  06:23:42PM
[   195.426] 
[   195.427] Current version of pixman: 0.20.2
[   195.427]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   195.429] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   195.431] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr  4 03:00:28 2011
[   195.453] (II) Loader magic: 0x7cc140
[   195.453] (II) Module ABI versions:
[   195.453]    X.Org ANSI C Emulation: 0.4
[   195.453]    X.Org Video Driver: 8.0
[   195.453]    X.Org XInput driver : 11.0
[   195.453]    X.Org Server Extension : 4.0
[   195.467] (--) PCI:*(0:0:2:0) 8086:2a42:144d:c042 rev 7, Mem @ 0xf6000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
[   195.467] (--) PCI: (0:0:2:1) 8086:2a43:144d:c042 rev 7, Mem @ 0xf6400000/1048576
[   195.512] List of video drivers:
[   195.512]    intel
[   195.513] (II) LoadModule: "intel"
[   195.651] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   195.723] (II) Module intel: vendor="X.Org Foundation"
[   195.723]    compiled for 1.9.4, module version = 2.14.0
[   195.723]    Module class: X.Org Video Driver
[   195.723]    ABI class: X.Org Video Driver, version 8.0
[   195.723] (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, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
   Sandybridge, Sandybridge
[   195.797] (++) Using config file: "/root/xorg.conf.new"
[   195.798] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   195.815] (==) ServerLayout "X.org Configured"
[   195.815] (**) |-->Screen "Screen0" (0)
[   195.815] (**) |   |-->Monitor "Monitor0"
[   195.815] (**) |   |-->Device "Card0"
[   195.815] (**) |-->Input Device "Mouse0"
[   195.815] (**) |-->Input Device "Keyboard0"
[   195.815] (==) Automatically adding devices
[   195.815] (==) Automatically enabling devices
[   195.838] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   195.838]    Entry deleted from font path.
[   195.838] (**) FontPath set to:
   
[   195.838] (**) ModulePath set to "/usr/lib64/xorg/modules"
[   195.838] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   195.838] (WW) Disabling Mouse0
[   195.838] (WW) Disabling Keyboard0
[   195.846]
[   195.847]
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[   195.851]
Your xorg.conf file is /root/xorg.conf.new

[   195.853] To test the server, run 'X -config /root/xorg.conf.new'
Back to top
View user's profile Send private message
germanas
n00b
n00b


Joined: 31 Mar 2011
Posts: 7
Location: EU

PostPosted: Mon Apr 04, 2011 1:37 am    Post subject: Reply with quote

Are you running Xorg or startx?
If you're running startx whats your ~/.xinitrc content?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Mon Apr 04, 2011 6:58 pm    Post subject: Reply with quote

L3Le,

You should be using the evdev for your keyboard and mouse. Its in two parts, a kernel part and an xorg part.

Try
Code:
$ grep EVDEV /usr/src/linux/.config
CONFIG_INPUT_EVDEV=y
as long as you get that, your kernel is in good shape. You may get other lines too, they can be ignored.

Rebuild and reinstall your kernel if that's not right.

You also need evdev in your INPUT_DEVICES in /etc/make.conf, if thats missing, add it so portage will maintain it in future, then do
Code:
emerge -1 xf96-input-evdev 
Thats faster than rebuilding all of Xorg to get that one driver.

With both bits of evdev in place, try Xorg again
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
L3Le
n00b
n00b


Joined: 03 Apr 2011
Posts: 4

PostPosted: Mon Apr 04, 2011 8:45 pm    Post subject: Reply with quote

evdev is installed and built in the kernel.

Quote:
Are you running Xorg or startx?
If you're running startx whats your ~/.xinitrc content?

I have the same problem with both of them.

I was wondering if the problem is with a patch I applied to portage some times ago... I have bootstrapped the system after having applied it, and X was compiled after that... I think I'll recompile everything and see if it will give me some results... anyone seems to know what problem is this about.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Mon Apr 04, 2011 8:51 pm    Post subject: Reply with quote

L3Le,

Code:
Using config file: "/root/xorg.conf.new"
Xorg should start with no config file at all.
Thats the next thing to try.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
germanas
n00b
n00b


Joined: 31 Mar 2011
Posts: 7
Location: EU

PostPosted: Mon Apr 04, 2011 11:45 pm    Post subject: Reply with quote

Well the black screen doesn't mean that something is wrong! Actually that's what you get when just X is started w/o any desktop environment.
As NeddySeagoon said you don't need xorg config everything should work configless. Just make sure you have evdev flag in INPUT_DEVICES and that xf86-input-evdev is merged.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Apr 05, 2011 2:19 am    Post subject: Reply with quote

You appear to me to have a laptop so INPUT_DEVICES="evdev synaptics" is probably needed in /etc/make.conf. VIDEO_CARDS="intel"
If
Code:
 X -retro
produces a black and white stipple screen with a movable mouse cursor, X is ok and the problem is the display manager/window manager/desktop as germanas suggests.
Code:
emerge wgetpaste
lspci -k | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste

and post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
L3Le
n00b
n00b


Joined: 03 Apr 2011
Posts: 4

PostPosted: Tue Apr 05, 2011 7:17 pm    Post subject: Reply with quote

NeddySeagoon wrote:
L3Le,

Code:
Using config file: "/root/xorg.conf.new"
Xorg should start with no config file at all.
Thats the next thing to try.


Already tried, it is not working anyway...

Quote:
Well the black screen doesn't mean that something is wrong! Actually that's what you get when just X is started w/o any desktop environment.

Yes, but giving startx xterm sould bring me xterm, isn't it? :/


Quote:
If
Codice:
X -retro
produces a black and white stipple screen with a movable mouse cursor, X is ok and the problem is the display manager/window manager/desktop as germanas suggests.
Codice:
emerge wgetpaste
lspci -k | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste

and post the url's returned


now I'll recompile some stuff because I've decided to switch to another desktop environment, so there are some flags I won't need anymore... I'll be back soon. I hope I won't need to do it... ;)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Tue Apr 05, 2011 7:40 pm    Post subject: Reply with quote

L3Le,

To get xterms by default, you need to
Code:
emerge -1 twn xterm
they are no longer installed by default.

Post your /var/log/Xorg.0.log again so we can see whats changed. Something was broken as Xorg was not using the evdev and resusing to start as it could not find any input devies.

Do you have any /dev/input/eventX files, where X is a number starting at 0 ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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