Getting the "Oh no! Something has gone wrong" message in GDM

This forum is for discussion about general software issues.

Getting the "Oh no! Something has gone wrong" message in GDM

Postby HaraldBT » Wed Jul 31, 2013 5:19 pm

I installed Arch Linux on my Raspberry Pi a while ago. I get no problems when starting Xorg, but - as the title implies - I am completely unable to use the Gnome Display Manager. Below is the error log from GDM:

$this->bbcode_second_pass_code('', '
X.Org X Server 1.14.2
Release Date: 2013-06-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.34-1-FARM armv6l
Current Operating System: Linux HaraldsRaspberryPi 3.6.11-12-ARCH+ #1 PREEMPT Tue Jun 11 16:09:48 CDT 2013 armv6l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x2 bcm2708.serial=0xd9b3ec30 smsc95xx.macaddr=B8:27:EB:B3:EC:30 sdhci-bcm2708.emmc_clock_freq=100000000 vc-cma-mem=0/0x5c00000@0x9000000 mem=0x8000000@0x0 mem=0x5c00000@0x9000000 vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop rootwait
Build Date: 25 June 2013 01:50:12PM

Current version of pixman: 0.30.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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 Jan 1 01:00:11 1970
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) No Layout section. Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) | |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Automatically adding GPU devices
(==) 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/
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.14.2, module version = 1.0.0
(==) AIGLX enabled
Loading extension GLX
(==) Matched modesetting as autoconfigured driver 0
(==) Matched fbdev as autoconfigured driver 1
(==) Assigned the driver to the xf86ConfigLayout
(II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
(II) Module modesetting: vendor="X.Org Foundation"
compiled for 1.14.1, module version = 0.8.0
(WW) Warning, couldn't open module fbdev
(II) Unloading fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) modesetting: Driver for Modesetting Kernel Drivers: kms
(++) using VT number 1

(WW) Falling back to old probe method for modesetting
(EE) open /dev/dri/card0: No such file or directory
(EE) No devices detected.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
')

I've tried looking in the Arch Wiki, googling, and reinstalling FBDEV, Gnome, Xorg among other things. Due to the error log, I think this has something to do with the screen section of the Xorg configuration files, but I have no idea of how to fix that (and yes, I've googled that as well). I've tried running

$this->bbcode_second_pass_quote('', 's')udo Xorg -configure


but it appears to fail. This is the log found at /var/log/Xorg.0.log:

$this->bbcode_second_pass_code('', '
[ 2245.136]
X.Org X Server 1.14.2
Release Date: 2013-06-25
[ 2245.149] X Protocol Version 11, Revision 0
[ 2245.153] Build Operating System: Linux 3.2.34-1-FARM armv6l
[ 2245.158] Current Operating System: Linux HaraldsRaspberryPi 3.6.11-14-ARCH+ #1 PREEMPT Sun Jul 21 17:39:58 CDT 2013 armv6l
[ 2245.158] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x2 bcm2708.serial=0xd9b3ec30 smsc95xx.macaddr=B8:27:EB:B3:EC:30 sdhci-bcm2708.emmc_clock_freq=100000000 vc-cma-mem=0/0x5c00000@0x9000000 mem=0x8000000@0x0 mem=0x5c00000@0x9000000 vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop rootwait
[ 2245.179] Build Date: 01 July 2013 07:12:45AM
[ 2245.184]
[ 2245.189] Current version of pixman: 0.30.0
[ 2245.198] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2245.199] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2245.220] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 29 22:51:08 2013
[ 2245.221] (II) Loader magic: 0x1c12c8
[ 2245.221] (II) Module ABI versions:
[ 2245.221] X.Org ANSI C Emulation: 0.4
[ 2245.221] X.Org Video Driver: 14.1
[ 2245.221] X.Org XInput driver : 19.1
[ 2245.221] X.Org Server Extension : 7.0
[ 2245.230] List of video drivers:
[ 2245.236] dummy
[ 2245.240] modesetting
[ 2245.245] voodoo
[ 2245.250] neomagic
[ 2245.255] siliconmotion
[ 2245.260] glint
[ 2245.265] v4l
[ 2245.269] trident
[ 2245.274] fbdev
[ 2245.279] vesa
[ 2245.279] (II) LoadModule: "dummy"
[ 2245.281] (II) Loading /usr/lib/xorg/modules/drivers/dummy_drv.so
[ 2245.282] (II) Module dummy: vendor="X.Org Foundation"
[ 2245.282] compiled for 1.14.0, module version = 0.3.6
[ 2245.283] Module class: X.Org Video Driver
[ 2245.283] ABI class: X.Org Video Driver, version 14.1
[ 2245.283] (II) LoadModule: "modesetting"
[ 2245.284] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 2245.286] (II) Module modesetting: vendor="X.Org Foundation"
[ 2245.286] compiled for 1.14.1, module version = 0.8.0
[ 2245.286] Module class: X.Org Video Driver
[ 2245.286] ABI class: X.Org Video Driver, version 14.1
[ 2245.286] (II) LoadModule: "voodoo"
[ 2245.288] (II) Loading /usr/lib/xorg/modules/drivers/voodoo_drv.so
[ 2245.288] (II) Module voodoo: vendor="X.Org Foundation"
[ 2245.289] compiled for 1.14.0, module version = 1.1.0
[ 2245.289] Module class: X.Org Video Driver
[ 2245.289] ABI class: X.Org Video Driver, version 14.1
[ 2245.289] (II) LoadModule: "neomagic"
[ 2245.291] (II) Loading /usr/lib/xorg/modules/drivers/neomagic_drv.so
[ 2245.292] (II) Module neomagic: vendor="X.Org Foundation"
[ 2245.293] compiled for 1.14.0, module version = 1.2.7
[ 2245.293] Module class: X.Org Video Driver
[ 2245.293] ABI class: X.Org Video Driver, version 14.1
[ 2245.293] (II) LoadModule: "siliconmotion"
[ 2245.294] (II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
[ 2245.296] (II) Module siliconmotion: vendor="X.Org Foundation"
[ 2245.296] compiled for 1.14.0, module version = 1.7.7
[ 2245.296] Module class: X.Org Video Driver
[ 2245.296] ABI class: X.Org Video Driver, version 14.1
[ 2245.296] (II) LoadModule: "glint"
[ 2245.298] (II) Loading /usr/lib/xorg/modules/drivers/glint_drv.so
[ 2245.299] (II) Module glint: vendor="X.Org Foundation"
[ 2245.299] compiled for 1.14.0, module version = 1.2.8
[ 2245.299] Module class: X.Org Video Driver
[ 2245.300] ABI class: X.Org Video Driver, version 14.1
[ 2245.300] (II) LoadModule: "v4l"
[ 2245.301] (II) Loading /usr/lib/xorg/modules/drivers/v4l_drv.so
[ 2245.302] (II) Module v4l: vendor="X.Org Foundation"
[ 2245.303] compiled for 1.14.0, module version = 0.1.1
[ 2245.303] ABI class: X.Org Video Driver, version 14.1
[ 2245.303] (II) LoadModule: "trident"
[ 2245.304] (II) Loading /usr/lib/xorg/modules/drivers/trident_drv.so
[ 2245.306] (II) Module trident: vendor="X.Org Foundation"
[ 2245.306] compiled for 1.14.0, module version = 1.3.6
[ 2245.306] Module class: X.Org Video Driver
[ 2245.306] ABI class: X.Org Video Driver, version 14.1
[ 2245.307] (II) LoadModule: "fbdev"
[ 2245.308] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 2245.309] (II) Module fbdev: vendor="X.Org Foundation"
[ 2245.309] compiled for 1.14.0, module version = 0.4.3
[ 2245.309] Module class: X.Org Video Driver
[ 2245.310] ABI class: X.Org Video Driver, version 14.1
[ 2245.310] (II) LoadModule: "vesa"
[ 2245.312] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 2245.313] (II) Module vesa: vendor="X.Org Foundation"
[ 2245.313] compiled for 1.14.0, module version = 2.3.2
[ 2245.313] Module class: X.Org Video Driver
[ 2245.313] ABI class: X.Org Video Driver, version 14.1
[ 2245.314] (WW) Falling back to old probe method for dummy
[ 2245.314] (WW) Falling back to old probe method for modesetting
[ 2245.314] (WW) Falling back to old probe method for voodoo
[ 2245.314] (WW) Falling back to old probe method for neomagic
[ 2245.314] (WW) Falling back to old probe method for siliconmotion
[ 2245.315] (WW) Falling back to old probe method for glint
[ 2245.315] (WW) Falling back to old probe method for v4l
[ 2245.315] (II) v4l: 0 video adapters with overlay support detected
[ 2245.315] (WW) Falling back to old probe method for trident
[ 2245.316] (WW) Falling back to old probe method for fbdev
[ 2245.316] (WW) Falling back to old probe method for vesa
[ 2245.320] No devices to configure. Configuration failed.
[ 2245.321] (EE) Server terminated with error (2). Closing log file.
')

Does anyone know how to fix this?
HaraldBT
 
Posts: 6
Joined: Wed Jul 31, 2013 5:05 pm

Re: Getting the "Oh no! Something has gone wrong" message in

Postby sdjf » Wed Jul 31, 2013 9:28 pm

It might help to post what is in your configuration files, both in /etc and your home. It could also be a permission thing, your config files readable by the user running the above? Remember there could be both a global config file in /etc as well as one in your home directory.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Getting the "Oh no! Something has gone wrong" message in

Postby HaraldBT » Thu Aug 01, 2013 11:41 am

I'm away from my precious Pi now, I'll post the configuration files when I get home next week.
HaraldBT
 
Posts: 6
Joined: Wed Jul 31, 2013 5:05 pm

Re: Getting the "Oh no! Something has gone wrong" message in

Postby HaraldBT » Mon Aug 05, 2013 12:45 am

I'm honestly a little uncertain of which files are relevant here. There are just a couple of files in my user directory, and no configuration file. Here are the files found at /etc/X11/xorg.conf.d:

/etc/X11/xorg.conf.d/10-evdev.conf:
$this->bbcode_second_pass_code('', '
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
')

/etc/X11/xorg.conf.d/10-quirks.conf:
$this->bbcode_second_pass_code('', '
# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
Identifier "ThinkPad HDAPS accelerometer blacklist"
MatchProduct "ThinkPad HDAPS accelerometer data"
Option "Ignore" "on"
EndSection
')

/etc/X11/xorg.conf.d/50-synaptics.conf:
$this->bbcode_second_pass_code('', '
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
#
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection

# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Default clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
# To disable the bottom edge area so the buttons only work as buttons,
# not for movement, set the AreaBottomEdge
# Option "AreaBottomEdge" "82%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Disable clickpad buttons on Apple touchpads"
MatchProduct "Apple|bcm5974"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
')

/etc/X11/xorg.conf.d/50-joystick.conf:
$this->bbcode_second_pass_code('', '
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
EndSection
')

I used "ls -l" and all of the files appear to be owned by root, but I'm able to read all of them reading my regular user. Xorg treats all the configuration files as one big file, and use them in the order determined by the number in the beginning of the file name.

I have no idea of what I'm talking about now, but one of the files appear to be for the video driver "evdev". As far as know, Raspberry Pi uses the "fbdev" video driver. Should there be a configuration file for fbdev? How would I create such a configuration file?
HaraldBT
 
Posts: 6
Joined: Wed Jul 31, 2013 5:05 pm

Re: Getting the "Oh no! Something has gone wrong" message in

Postby HaraldBT » Mon Aug 05, 2013 8:36 pm

I have tried running gnome-session to manually start GNOME, it fails and prints error messages in the console, with variations of "Could not open X display" and "cannot open display". I've created a xinitrc file in my home directory with $this->bbcode_second_pass_quote('', 'e')xec gnome-session
and running startx displays the "Oh no!" message once again.

I just realised that evdev has absoulutely nothing to do with video drivers. I said I had no idea of what I was talking about.
HaraldBT
 
Posts: 6
Joined: Wed Jul 31, 2013 5:05 pm

Re: Getting the "Oh no! Something has gone wrong" message in

Postby pepedog » Mon Aug 05, 2013 9:11 pm

Can you try this?
pacman -S xorg-xinit
Remove any files you created in /etc/X11
xinit /usr/bin/gnome-session
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Getting the "Oh no! Something has gone wrong" message in

Postby HaraldBT » Mon Aug 05, 2013 9:13 pm

I tried doing what you said, but I still got the "Oh no!" message. I didn't change anything in /etc/X11 as I haven't changed anything there myself.
HaraldBT
 
Posts: 6
Joined: Wed Jul 31, 2013 5:05 pm


Return to General

Who is online

Users browsing this forum: No registered users and 13 guests