You are not logged in.

#1 2014-09-19 14:34:36

exidux
Member
From: Your screen.
Registered: 2014-09-19
Posts: 59

[solved] Unable to start x, gma500.

Hello arch users.
This might be a wall with text...
Today i instaled arch for the first time, and on an SD card sitting inside a 1101ha.
The excelent ARCH wiki guided me with perfection towards my goals up to one problem where i had to zero byte
the SD card using dd because somehow 'overlapping' partition tables kept bugging me out and cfdisk did not solve it for
one second. All things well, it got installed with practical ease (ty arch wiki manual).

After all that i install the x server acording to the wiki, slim, and openbox. But to my horror X fails with error(1) and
Xorg -configure ends with error(2). After diving into the wiki, googling, reading the forum topics concerning x
errors i end up with confusion. the wiki claims modern X configures itself so i went with it.

-> everything got pulled in by pacman.
-> # lsmod | grep gma    ;  shows exactly what it should and as seen in the wiki.
-> xorg log as root directly after booting contains  as last lines ;

(II) systemd-logind: took controll of session /org/freedesktop/login1/session/c2
(II) xfree86: adding drm device (/dev/dri/card0)
(II) systemd-logind: got fd for /devdri/card0 226:0 fd 10 paused 0
(--) PCI:*(0:0:2:0) 8086:8108:1043:83ce rev 7, mem @ 0xf3f80000/524288, 0xd00000000/268435456,0xf3f40000/262144, I/O @ 0x0000d880/8
missing output drivers. configuration failed.

Does the use of the kernel based gma500 driver need more then autoconfiguring or did i obliviously miss a giant configuration
that needs to be added. no matter how much i read the wiki at this point, i just do not see it anymore....

Appended ; I still had to copy this to an usb to get it to the forum.
This is the Xorg log created after attempting to run x by means of startx, as mentioned above i went with the defaults and
auto configuration, while using the gma500 kernel driver. this is probably a more useful dump of a log then the few lines
from straight after booting.

[   264.543] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[   264.544] X Protocol Version 11, Revision 0
[   264.544] Build Operating System: Linux 3.15.5-2-ARCH i686 
[   264.544] Current Operating System: Linux arch 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 22:00:02 CEST 2014 i686
[   264.545] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img
[   264.545] Build Date: 31 July 2014  11:55:52AM
[   264.545]  
[   264.545] Current version of pixman: 0.32.6
[   264.546] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   264.546] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   264.547] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 19 15:54:25 2014
[   264.548] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   264.548] (==) No Layout section.  Using the first Screen section.
[   264.549] (==) No screen section available. Using defaults.
[   264.549] (**) |-->Screen "Default Screen Section" (0)
[   264.549] (**) |   |-->Monitor "<default monitor>"
[   264.549] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   264.549] (==) Automatically adding devices
[   264.549] (==) Automatically enabling devices
[   264.549] (==) Automatically adding GPU devices
[   264.549] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   264.549] 	Entry deleted from font path.
[   264.549] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   264.549] 	Entry deleted from font path.
[   264.550] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   264.550] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   264.550] 	Entry deleted from font path.
[   264.550] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   264.550] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[   264.550] (==) ModulePath set to "/usr/lib/xorg/modules"
[   264.550] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   264.550] (II) Loader magic: 0x82a0700
[   264.550] (II) Module ABI versions:
[   264.550] 	X.Org ANSI C Emulation: 0.4
[   264.550] 	X.Org Video Driver: 18.0
[   264.550] 	X.Org XInput driver : 21.0
[   264.550] 	X.Org Server Extension : 8.0
[   264.557] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[   264.558] (II) xfree86: Adding drm device (/dev/dri/card0)
[   264.560] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   264.563] (--) PCI:*(0:0:2:0) 8086:8108:1043:83ce rev 7, Mem @ 0xf3f80000/524288, 0xd0000000/268435456, 0xf3f40000/262144, I/O @ 0x0000d880/8
[   264.563] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   264.563] (II) LoadModule: "glx"
[   264.564] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   264.569] (II) Module glx: vendor="X.Org Foundation"
[   264.569] 	compiled for 1.16.0, module version = 1.0.0
[   264.569] 	ABI class: X.Org Server Extension, version 8.0
[   264.569] (==) AIGLX enabled
[   264.569] (==) Matched psb as autoconfigured driver 0
[   264.569] (==) Matched psb_drv as autoconfigured driver 1
[   264.569] (==) Matched psb as autoconfigured driver 2
[   264.569] (==) Matched psb_drv as autoconfigured driver 3
[   264.569] (==) Matched modesetting as autoconfigured driver 4
[   264.569] (==) Matched fbdev as autoconfigured driver 5
[   264.569] (==) Matched vesa as autoconfigured driver 6
[   264.569] (==) Assigned the driver to the xf86ConfigLayout
[   264.569] (II) LoadModule: "psb"
[   264.570] (WW) Warning, couldn't open module psb
[   264.570] (II) UnloadModule: "psb"
[   264.570] (II) Unloading psb
[   264.570] (EE) Failed to load module "psb" (module does not exist, 0)
[   264.571] (II) LoadModule: "psbdrv"
[   264.571] (WW) Warning, couldn't open module psbdrv
[   264.571] (II) UnloadModule: "psbdrv"
[   264.571] (II) Unloading psbdrv
[   264.571] (EE) Failed to load module "psbdrv" (module does not exist, 0)
[   264.571] (II) LoadModule: "modesetting"
[   264.572] (WW) Warning, couldn't open module modesetting
[   264.572] (II) UnloadModule: "modesetting"
[   264.572] (II) Unloading modesetting
[   264.572] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   264.572] (II) LoadModule: "fbdev"
[   264.573] (WW) Warning, couldn't open module fbdev
[   264.573] (II) UnloadModule: "fbdev"
[   264.573] (II) Unloading fbdev
[   264.573] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   264.573] (II) LoadModule: "vesa"
[   264.574] (WW) Warning, couldn't open module vesa
[   264.574] (II) UnloadModule: "vesa"
[   264.574] (II) Unloading vesa
[   264.574] (EE) Failed to load module "vesa" (module does not exist, 0)
[   264.574] (EE) No drivers available.
[   264.574] (EE) 
Fatal server error:
[   264.574] (EE) no screens found(EE) 
[   264.574] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   264.574] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   264.575] (EE) 

Last edited by exidux (2014-09-19 18:13:18)

Offline

#2 2014-09-19 18:05:16

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [solved] Unable to start x, gma500.

You should use the gma500_gfx module with either xf86-video-fbdev or -modesetting

All the other drivers are complete and utter shit and/or broken

Last edited by Mr.Elendig (2014-09-19 18:05:44)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2014-09-19 18:11:54

exidux
Member
From: Your screen.
Registered: 2014-09-19
Posts: 59

Re: [solved] Unable to start x, gma500.

Maybe i am confusing the gma500 kernel module driver with something it is not, or the autoconfig cant work with it...
But no matter how it could be turned, i am not well versed in this area of setting up or using a linux distro.

After letting it sink in that the log complained about not finding any module to use as a driver, and reading the wiki again
after some rest (all-nighter, no sleep) ;

https://wiki.archlinux.org/index.php/poulsbo
Modesetting driver and dual monitor Setup

To setup different resolution for external monitor using xrandr, xf86-video-modesetting from official repo is needed. If you choose to use the git package (xf86-video-modesetting-git), remember to recompile it after a new version of Xorg. After installing, an Xorg file is needed to setup the driver. Use this for device section:

/etc/X11/xorg.conf.d/20-gpudriver.conf

Section "Device"
    Identifier "gma500_gfx"
    Driver     "modesetting"
    Option     "SWCursor"       "ON"
EndSection

# pacman -S xf86-video-modesetting
# reboot

It boots into a functional Slim which then starts a functional (but featureless default) openbox WM.
My mind got stuck on thinking about the gma500 kernel module as a standalone driver...

~ the great wiki saved it.

Offline

#4 2014-09-19 18:12:43

exidux
Member
From: Your screen.
Registered: 2014-09-19
Posts: 59

Re: [solved] Unable to start x, gma500.

Mr.Elendig wrote:

You should use the gma500_gfx module with either xf86-video-fbdev or -modesetting
All the other drivers are complete and utter shit and/or broken

it seems you posted when i was slowly typing up the final round-up. But thank you for the will to advice / help.

I am actually impressed at how effective this auto configuration is, makes me want to forget whatever i did
the last two years to set-up a distro to have a smooth experience on a poulsbo.

Last edited by exidux (2014-09-19 18:15:46)

Offline

Board footer

Powered by FluxBB