Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Black Screen (Intel_GMA modesetting/fb issue)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
omerkh
n00b
n00b


Joined: 08 Feb 2007
Posts: 49
Location: Politecnico di Torino

PostPosted: Wed Aug 10, 2011 9:18 pm    Post subject: [Solved] Black Screen (Intel_GMA modesetting/fb issue) Reply with quote

The kernel option "enable modesetting on intel by default" causes a black screen during boot. The black screen appears immediately after Grub but before any of the boot-level services (and login) are loaded.

Some details are as such:

lspci
Code:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)


Kernel 2.6.39-gentoo-r3
Code:

<*> /dev/agpgart (AGP Support)  --->
   < >   AMD Opteron/Athlon64 on-CPU GART support
   <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support

<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   < >   Intel I810
   <*>   Intel 8xx/9xx/G3x/G4x/HD Graphics
      [*]     Enable modesetting on intel by default

-*- Support for frame buffer devices --->
   [*]   Enable firmware EDID
   [ ]   Framebuffer foreign endianness support  --->
   [*]   Enable Video Mode Handling Helpers
   [*]   Enable Tile Blitting Support
   *** Frame buffer hardware drivers ***
          <none selected here>

-*- VGA text console
   [*]   Enable Scrollback Buffer in System RAM
   (1024)  Scrollback Buffer Size (in KB)
   -*- Framebuffer Console support
   -*-   Map the console to the primary display device
   [ ]   Framebuffer Console Rotation
   [ ] Select compiled-in fonts


Please note that the black screen does not appear if I remove the option for:
Code:
[ ]     Enable modesetting on intel by default


But this option is required for setting X. Any ideas how to deal with this?


Last edited by omerkh on Thu Aug 11, 2011 7:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Aug 10, 2011 11:05 pm    Post subject: Reply with quote

Check your syslog and see how far the kernel gets (if it even gets to starting syslog).
Back to top
View user's profile Send private message
omerkh
n00b
n00b


Joined: 08 Feb 2007
Posts: 49
Location: Politecnico di Torino

PostPosted: Thu Aug 11, 2011 5:07 am    Post subject: Reply with quote

Well the kernel goes all the way to the login prompt. I just can't see it. I am able to (blindly) login, and issue a reboot and it works.
I have found that giving i915.modeset=0, or disabling it in the linux kernel altogether is a workaround,
but according to the Gentoo X howto, i need modeset=1 in order to configure X on my machine.

i915.modeset=0 ... working console, but no X. for installing X, modeset=1 is required.
i915.modeset=1 ... required for configuring X, but leads to black screen.

I have searched on the net for this problem. According to http://en.gentoo-wiki.com/wiki/Intel_GMA I need to build into the kernel fbcon, the i915 and it's corresponding kms. But it is not helping.
Back to top
View user's profile Send private message
omerkh
n00b
n00b


Joined: 08 Feb 2007
Posts: 49
Location: Politecnico di Torino

PostPosted: Thu Aug 11, 2011 7:15 am    Post subject: Reply with quote

okay haha so it is solved :-)

it is a black screen because i can't see anything. but increasing the brightness makes everything visible. thank fully laptops have brightness control buttons on keyboard. for help of others who have similar problems but no brightness keys, you may increase the value through ssh by increasing the value in /sys/class/backlight/acpi_video0/brightness

so now to installing X
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Tue Aug 23, 2011 1:16 pm    Post subject: Reply with quote

For me this Patch solved the problem. This howto explains howto patch.
Back to top
View user's profile Send private message
strohel
n00b
n00b


Joined: 12 Apr 2008
Posts: 3

PostPosted: Sun Jan 13, 2013 1:10 pm    Post subject: Reply with quote

OMG, I was banging my head against the wall trying to get it working, and simply increasing the brightness using keyboard (fortunately this works out-of-the-box) solved the problem. Thanks a lot!

Edit to make this Googlable: the system is Lenovo Ideapad Y580 with Intel Ivy Bridge i5 3210M integrated graphics and NVidia GTX 660M discrete graphics with Optimus technology. (the NVidia card isn't involved in this problem at all though)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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