LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Black screen - wassup? (https://www.linuxquestions.org/questions/linux-desktop-74/black-screen-wassup-781768/)

PTrenholme 01-14-2010 02:08 PM

OK, your problem is that the Intel driver (from Intel, released to open-source) does not properly read the ECID information for 22" screens in HP systems. (For what it's worth, my HP system dual-boots Vista/Fedora, and both systems come up "black-screen" if the newer Intel drivers are used. The out-of-the-box Intel driver worked with Vista, so I disabled the MS automatic driver update.) The problem is compounded by the Fedora decision to install the video driver during the initial RAM disk process. (You can disable that by running mkinitrd with only the standard options.) But, until you do that, you'll see no output before the X-server processes xorg.conf. (The Fedora default uses the X-server default, which uses the improperly parsed ECID information.)

Anyhow, if you don't need to see the start-up messages, you can get the X-server to display properly with a modified xorg.conf file. The modification I use is this one (where the changes I needed to make are in red):
Code:

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "LCD" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

EndSection

Section "ServerFlags"
        Option            "AIGLX" "on"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105+inet"
        Option            "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier  "Sceptre"
        VendorName  "Plug 'n' Play"
        ModelName    "Plug 'n' Play"
        Gamma        0.65
        ModeLine    "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
        ModeLine    "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
        ModeLine    "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
        ModeLine    "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
        ModeLine    "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
        ModeLine    "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
        ModeLine    "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
        ModeLine    "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
        ModeLine    "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
        ModeLine    "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
        ModeLine    "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
        ModeLine    "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
        ModeLine    "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        ModeLine    "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
        ModeLine    "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
        ModeLine    "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
        ModeLine    "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
        ModeLine    "1400x1050@75" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
        ModeLine    "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
        ModeLine    "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
        ModeLine    "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
        ModeLine    "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
        ModeLine    "1680x1050@60" 146.2 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
        ModeLine    "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
        ModeLine    "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
        ModeLine    "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
EndSection

Section "Device"
        Identifier  "945G"
        Driver      "intel"
        BoardName  "intel"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "LCD"
        Device    "945G"
        Monitor    "Sceptre"
        DefaultDepth    24
        SubSection "Display"
                Virtual  1920 1440
                Depth    24
                Modes    "1680x1050@60" "1280x1024@60" "1600x1200@60" "1600x1200@75" "1600x1200@65" "1600x1200@70" "1400x1050@75" "1792x1344@60" "1400x1050@60" "1856x1392@60" "1280x960@75" "1920x1440@60" "1280x1024@60" "1280x960@60" "1280x1024@75" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"

        EndSubSection
EndSection

Section "Extensions"
        Option            "Composite" "Enable"
EndSection

I used the command Xorg -configure (in my home directory, while running in vesa mode) to get the modeline settings.

tredegar 01-14-2010 02:14 PM

Code:

tred@pc:~$ locate fbcon
/lib/modules/2.6.24-16-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-18-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-19-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-22-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-23-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-24-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-25-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.24-26-generic/kernel/drivers/video/console/fbcon.ko
/usr/src/linux-source-2.6.24/linux-source-2.6.24/Documentation/fb/fbcon.txt
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon.c
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon.h
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon_ccw.c
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon_cw.c
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon_rotate.c
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon_rotate.h
/usr/src/linux-source-2.6.24/linux-source-2.6.24/drivers/video/console/fbcon_ud.c
tred@pc:~$

So your FC12 kernel seems to have been compiled without this module.

You could re-enable this module in your kernel config, and recompile the kernel. But I think there is there is something wrong with your choice of distro's installation process.

tredegar 01-14-2010 02:19 PM

Quote:

OK, your problem is that the Intel driver (from Intel, released to open-source) does not properly read the ECID information for 22" screens in HP systems.
He has a 17" monitor.

Do you mean "EDID" information" ?

It seems to be read correctly ( from the OP's post of the log at post #3 )

PTrenholme 01-14-2010 04:06 PM

Quote:

Originally Posted by tredegar (Post 3826667)
He has a 17" monitor.

OK, my wife's is a 22" one, but, hey, if it fails one one HP system, maybe it's the HP BIOS, not the monitor.
Quote:

Do you mean "EDID" information" ?
I suppose so. I have a slight dyslexia problem. Sorry. :redface:
Quote:

It seems to be read correctly ( from the OP's post of the log at post #3 )
Not from what I saw. My wife's system required the Modline specifications before it would work.

ButterflyMelissa 01-15-2010 05:26 AM

Ok,

So I tried (desperate as I am) to do a re-install, thin time with the FINAL monitor - the anaconda didn't even go graphical, just...a black screen.

I am somehow running out of inspiration, here.

Let me have a look at your suggestions and see if there's an answer.

Thanks for not letting a newbie alone in the dark...

Thor

ButterflyMelissa 01-15-2010 03:12 PM

Hi,

I've solved it !!! Using a kernel-recompile...

- picked up a new kernel source
- unzipped it in a folder
- did "make menuconfig"
- saved the config
- did "make"
- did "make_modules"
- did "make install_modules" (after login as root & navigating to the folder)
- did "make install"
- checked the grub and removed the "hidemenu", also gave it 5 seconds timeout
- booted the system & removed the xorg.conf
- did a startx

The system is up and running, it boots a weeeee bit slower and completely silent (black screen @ boot) - I may have to get used to that :-) - the splash is animated, the login works. Now to set the thing in init 5 - in the inittab..but this I know.

Thanks for the pointers! Everything pointed to "the spot marked with X" - forgive the pun...but I am exhalted...

Thanks!

Thor

sources (in case someone else runs into that one...)
http://www.howtogeek.com/howto/ubunt...out-on-ubuntu/
http://www.cyberciti.biz/tips/compil...kernel-26.html


All times are GMT -5. The time now is 06:29 PM.