black screen after upgrade to gutsy

Bug #154046 reported by Jovaro
4
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I upgraded to Gutsy from Feisty, after rebooting I see the logo while Ubuntu loads, but then I only get a black screen where I normally get the Gnome login screen. The keyboard stops working as well. Pressing Caps-Lock has no effect on the indicator-leds.

I found the following error in /var/log/syslog

Oct 18 21:36:24 poppie gdm[6892]: WARNING: gdm_slave_xioerror_handler: Fatal X-error - restarting :0
Oct 18 21:36:28 poppie gdm[6910]: WARNING: gdm_slave_xioerror_handler: Fatal X-error - restarting :0
Oct 18 21:36:33 poppie gdm[6925]: WARNING: gdm_slave_xioerror_handler: Fatal X-error - restarting :0
Oct 18 21:36:33 poppie gdm[6891]: CRITICAL: gdm_config_value_get_bool: assertion `value->type == GDM_CONFIG_VALUE_BOOL' failed

Lots of errors in /var/log/gdm/:0.log:

/etc/gdm/failsafeXServer: line 47: [: för många argument
Warning: Could not retrieve EDID because get-edid is not installed (1)
6941 6891
xinit /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe with-gdm -- /usr/bin/X :0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt9 -br -once -config /etc/X11/xorg.conf.failsafe

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8)
Current Operating System: Linux poppie 2.6.22-14-386 #1 Sun Oct 14 22:36:54 GMT 2007 i686
Build Date: 29 September 2007
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 18 21:36:35 2007
(++) Using config file: "/etc/X11/xorg.conf.failsafe"

dlopen: /usr/lib/xorg/modules//fonts/libfreetype.so: undefined symbol: FreeTypeRegisterFontFileFunctions
(EE) Failed to load /usr/lib/xorg/modules//fonts/libfreetype.so
(EE) Failed to load module "freetype" (loader failed, 7)
(II) Module already built-in
expected keysym, got XF86_Switch_VT_1: line 8 of xfree86
expected keysym, got XF86_Switch_VT_2: line 11 of xfree86
expected keysym, got XF86_Switch_VT_3: line 14 of xfree86
expected keysym, got XF86_Switch_VT_4: line 17 of xfree86
expected keysym, got XF86_Switch_VT_5: line 20 of xfree86
expected keysym, got XF86_Switch_VT_6: line 23 of xfree86
expected keysym, got XF86_Switch_VT_7: line 26 of xfree86
expected keysym, got XF86_Switch_VT_8: line 29 of xfree86
expected keysym, got XF86_Switch_VT_9: line 32 of xfree86
expected keysym, got XF86_Switch_VT_10: line 35 of xfree86
expected keysym, got XF86_Switch_VT_11: line 38 of xfree86
expected keysym, got XF86_Switch_VT_12: line 41 of xfree86
expected keysym, got XF86_Ungrab: line 45 of xfree86
expected keysym, got XF86_ClearGrab: line 48 of xfree86
expected keysym, got XF86_Next_VMode: line 51 of xfree86
expected keysym, got XF86_Prev_VMode: line 54 of xfree86
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
> Warning: Multiple interpretations of "NoSymbol+AnyOfOrNone(all)"
> Using last definition for duplicate fields
expected keysym, got XF86_Switch_VT_1: line 74 of pc
expected keysym, got XF86_Switch_VT_2: line 78 of pc
expected keysym, got XF86_Switch_VT_3: line 82 of pc
expected keysym, got XF86_Switch_VT_4: line 86 of pc
expected keysym, got XF86_Switch_VT_5: line 90 of pc
expected keysym, got XF86_Switch_VT_6: line 94 of pc
expected keysym, got XF86_Switch_VT_7: line 98 of pc
expected keysym, got XF86_Switch_VT_8: line 102 of pc
expected keysym, got XF86_Switch_VT_9: line 106 of pc
expected keysym, got XF86_Switch_VT_10: line 110 of pc
expected keysym, got XF86_Switch_VT_11: line 114 of pc
expected keysym, got XF86_Switch_VT_12: line 118 of pc
expected keysym, got XF86_Ungrab: line 90 of keypad
expected keysym, got XF86_ClearGrab: line 96 of keypad
expected keysym, got XF86_Prev_VMode: line 102 of keypad
expected keysym, got XF86_Next_VMode: line 112 of keypad
expected keysym, got XF86_Ungrab: line 208 of keypad
expected keysym, got XF86_ClearGrab: line 209 of keypad
expected keysym, got XF86_Prev_VMode: line 210 of keypad
expected keysym, got XF86_Next_VMode: line 212 of keypad
expected keysym, got XF86_Ungrab: line 235 of keypad
expected keysym, got XF86_ClearGrab: line 236 of keypad
expected keysym, got XF86_Prev_VMode: line 237 of keypad
expected keysym, got XF86_Next_VMode: line 239 of keypad
expected keysym, got XF86_Ungrab: line 262 of keypad
expected keysym, got XF86_ClearGrab: line 263 of keypad
expected keysym, got XF86_Prev_VMode: line 264 of keypad
expected keysym, got XF86_Next_VMode: line 266 of keypad
> Error: Can't find file "pc105" for symbols include
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
/usr/bin/X: symbol lookup error: /usr/bin/X: undefined symbol: fs_register_fpe_functions
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"

      after 0 requests (0 known processed) with 0 events remaining.

6941 6891

Maybe there is something wrong in gnome or xkb?

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in xorg.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please attach your X server configuration file (/etc/X11/xorg.conf) and X server log file (/var/log/Xorg.0.log) to the bug report as individual uncompressed file attachments using the "Attachment:" box below. Could you please also try to run without any /etc/X11/xorg.conf and let Xorg autodetect your display and video card? Please also attach the /var/log/Xorg.0.log from this attempt. Thanks in advance.

Please also report the output from:
 dpkg -l libfreetype6

Changed in xorg:
status: New → Incomplete
Revision history for this message
Jovaro (bug-jovaro) wrote :
Revision history for this message
Jovaro (bug-jovaro) wrote :
Revision history for this message
Jovaro (bug-jovaro) wrote :

joris@poppie:~$ dpkg -l libfreetype6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Namn Version Beskrivning
+++-==============-==============-============================================
ii libfreetype6 2.3.5-1ubuntu4 FreeType 2 font engine, shared library files

Revision history for this message
Tormod Volden (tormodvolden) wrote :

This looks strange in xorg.conf:
        Option "XkbModel" "pc105"
 Option "XkbLayout" "pc105"
The XkbLayout should be for instance "se". Did you modify that file yourself at any point?

Revision history for this message
Jovaro (bug-jovaro) wrote :

Yes I modified it myself, for testing purposes. There is no difference in using pc105 or se. I'll switch it back and test again just to be sure.

Revision history for this message
Jovaro (bug-jovaro) wrote :

The Xorg.0.log is exactly the same, including the following lines:
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "pc105"
(**) Generic Keyboard: XkbLayout: "pc105"

Isn't that strange? I changed the XkbLayout in the xorg.conf file...
I'll try to run without Xorg.conf file now.

Revision history for this message
Jovaro (bug-jovaro) wrote :

logfile when booting without xorg.conf file

Revision history for this message
Tormod Volden (tormodvolden) wrote :

(++) Using config file: "/etc/X11/xorg.conf.failsafe"

Can you attach /etc/X11/xorg.conf.failsafe please?
It's running /etc/gdm/failsafeXinit for some reason.

For other developers:
From the gdm.log
 /etc/gdm/failsafeXServer: line 47: [: för många argument
this means "too many arguments"

I think line 47:
 if [ -z $serverargs ]; then
should be quoted:
 if [ -z "$serverargs" ]; then

Revision history for this message
Jovaro (bug-jovaro) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Can you please paste in the output from: grep -A4 /config/inputdevice/keyboard/layout /var/cache/debconf/config.dat

Revision history for this message
Jovaro (bug-jovaro) wrote :

joris@poppie:/var/log$ grep -A4 /config/inputdevice/keyboard/layout /var/cache/debconf/config.dat
Name: xserver-xorg/config/inputdevice/keyboard/layout
Template: xserver-xorg/config/inputdevice/keyboard/layout
Value: se
Owners: xserver-xorg
Flags: seen

Revision history for this message
Tormod Volden (tormodvolden) wrote :

You can probably fix this by running "sudo dpkg-reconfigure xserver-xorg" and setting the correct keyboard layout.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Hmm that debconf value was correct. Can you try deleting /etc/X11/xorg.conf.failsafe?

Revision history for this message
Jovaro (bug-jovaro) wrote :

Already tried that, I just got a new one.

Revision history for this message
Jovaro (bug-jovaro) wrote :

Here is the Xorg.0.log.old file. It contains the info when X is looking for the correct values. The logs I posted earlier were logs from the failsafe X.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

And the "XkbLayout" is still wrong? Please attach the new xorg.conf(.failsafe)

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I don't get why you have the "freetype" errors. Have you been using proprietary drivers earlier?

Revision history for this message
Jovaro (bug-jovaro) wrote :

The new failsafe file.

Revision history for this message
Jovaro (bug-jovaro) wrote :

Yes, I have been using propietary drivers earlier. Both the nvidia-glx-new under feisty and a driver that came from the nvidia website. The driver from the website was uninstalled. (Was quite some time ago)

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I suspect it to be left-over trouble from the proprietary drivers. Is there any problem when you run the 7.10 live cd?

Revision history for this message
Jovaro (bug-jovaro) wrote :

No problems with the live cd. Can I clean up the left-over trouble somehow?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Yes, you can try to reinstall packages with: apt-get install --reinstall <package>
And use the "locate" command to find files with for instance "nvidia" in the name. Maybe you have stuff in /usr/local?

Changed in xorg:
status: Incomplete → Invalid
Revision history for this message
Seth Illgard (seth-illgard) wrote :

I got the exact same error. I'm very new to Linux so I don't know to help you correct it, but I do know that I got that black screen immediately after I installed Ubuntu Gutsy Gibbon (no modification at any level, just a simple, standard installation with the language set to Spanish).

No Ubuntu loading screen :(

Revision history for this message
Jovaro (bug-jovaro) wrote :

That might not be the same bug. I did get a loading screen but black after that. Do you get the same kind of errors in the gdm and xorg logs?

I tried to fix the problem by deleting all leftover Nvidia things I could find, but no luck. I ended up doing a clean install after taking a final back up.
Now it works as it should. Thanks for all your help Tormod!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.