You are not logged in.
Pages: 1
I installed xorg successfully. I installed xinit, twm and xterm and when I type startx I get the 3 windows okay. I thought everything looked good so I installed gnome.
I created a .xinitrc which contains:
exec dbus-launch --exit-with-session gnome-session
but when I type startx I get the dreaded oh no!
Can anyone give me a clue as to where to start looking. I don't see anything obvious in /var/log/Xorg.0.log
I installed nvidia which is obviously working okay because xorg runs as it should.
Is it a hardware acceleration problem? If gnome finds no acceleration, it doesn't start and gives this message - is that correct?
TIA
jb.
Offline
Not an Installation issue, moving to NC...
Offline
Have you tried using just "exec gnome-session"?
"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/
https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024
Offline
You also can consider installing GDM https://wiki.archlinux.org/index.php/Gdm by
# pacman -S gdm
which is an easier way to start Gnome. After installing, enable the service
# systemctl enable gdm
and reboot. Gnome should start automatically after that.
By the way, how did you install Gnome? Via package gnome, gnome-shell, gnome-extras?
Offline
I opened an x window and typed exec gnome-session
I get these messages:
Xlib: extension "GLX" missing on display ":0"
gnome-session-is-accelerated: No hardware 3D support
gnome-session-check-accelerated: Helper exited with code 256
Here is part of the Xorg.0.log
[ 1390.452] (II) LoadModule: "glx"
[ 1390.452] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1390.458] (II) Module glx: vendor="NVIDIA Corporation"
[ 1390.458] compiled for 4.0.2, module version = 1.0.0
[ 1390.458] Module class: X.Org Server Extension
[ 1390.458] (II) NVIDIA GLX Module 340.24 Wed Jul 2 15:04:31 PDT 2014
[ 1390.459] Loading extension GLX
[ 1390.459] (==) Matched intel as autoconfigured driver 0
[ 1390.459] (==) Matched nouveau as autoconfigured driver 1
[ 1390.459] (==) Matched nvidia as autoconfigured driver 2
[ 1390.459] (==) Matched nv as autoconfigured driver 3
[ 1390.459] (==) Matched intel as autoconfigured driver 4
[ 1390.459] (==) Matched modesetting as autoconfigured driver 5
[ 1390.459] (==) Matched fbdev as autoconfigured driver 6
[ 1390.459] (==) Matched vesa as autoconfigured driver 7
[ 1390.459] (==) Assigned the driver to the xf86ConfigLayout
[ 1390.459] (II) LoadModule: "intel"
[ 1390.459] (WW) Warning, couldn't open module intel
[ 1390.459] (II) UnloadModule: "intel"
[ 1390.459] (II) Unloading intel
[ 1390.459] (EE) Failed to load module "intel" (module does not exist, 0)
[ 1390.459] (II) LoadModule: "nouveau"
[ 1390.459] (WW) Warning, couldn't open module nouveau
[ 1390.459] (II) UnloadModule: "nouveau"
[ 1390.459] (II) Unloading nouveau
[ 1390.459] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 1390.459] (II) LoadModule: "nvidia"
[ 1390.459] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 1390.459] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1390.459] compiled for 4.0.2, module version = 1.0.0
[ 1390.459] Module class: X.Org Video Driver
[ 1390.459] (II) LoadModule: "nv"
[ 1390.459] (II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
[ 1390.459] (II) Module nv: vendor="X.Org Foundation"
[ 1390.459] compiled for 1.15.0, module version = 2.1.20
[ 1390.459] Module class: X.Org Video Driver
[ 1390.459] ABI class: X.Org Video Driver, version 15.
But firther down, there is this:
[ 1390.465] (II) UnloadModule: "nvidia"
[ 1390.465] (II) Unloading nvidia
[ 1390.465] (II) UnloadModule: "nv"
[ 1390.465] (II) Unloading nv
[ 1390.465] (II) UnloadModule: "fbdev"
[ 1390.465] (II) Unloading fbdev
[ 1390.465] (II) UnloadSubModule: "fbdevhw"
[ 1390.465] (II) Unloading fbdevhw
[ 1390.465] (II) UnloadModule: "vesa"
[ 1390.465] (II) Unloading vesa
[ 1390.465] (==) Depth 24 pixmap format is 32 bpp
[ 1390.465] (==) modesetting(0): Backing store enabled
[ 1390.465] (==) modesetting(0): Silken mouse enabled
[ 1390.465] (II) modesetting(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 1390.465] (==) modesetting(0): DPMS enabled
[ 1390.476] (--) RandR disabled
[ 1390.481] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[ 1390.481] (II) modesetting(0): Damage tracking initialized
Why does it load the Nvidia module and GLX but then unload it?
I can post the entire Xorg.0.log if requested
jb.
Offline
Bit more info available:
I added the minimal config file suggested in the nvidia wiki to /etc/X11/xorg.conf.d/
When I try and start xorg it fails with failure to find screens.
This is the tail of Xorg.0.log that results:
[ 42.959] (II) LoadModule: "glx"
[ 42.961] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 43.042] (II) Module glx: vendor="NVIDIA Corporation"
[ 43.042] compiled for 4.0.2, module version = 1.0.0
[ 43.042] Module class: X.Org Server Extension
[ 43.043] (II) NVIDIA GLX Module 340.24 Wed Jul 2 15:04:31 PDT 2014
[ 43.044] Loading extension GLX
[ 43.044] (II) LoadModule: "nvidia"
[ 43.044] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 43.050] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 43.050] compiled for 4.0.2, module version = 1.0.0
[ 43.050] Module class: X.Org Video Driver
[ 43.051] (II) NVIDIA dlloader X Driver 340.24 Wed Jul 2 14:42:23 PDT 2014
[ 43.051] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 43.051] (++) using VT number 1
[ 43.052] (II) Loading sub module "fb"
[ 43.052] (II) LoadModule: "fb"
[ 43.053] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 43.054] (II) Module fb: vendor="X.Org Foundation"
[ 43.054] compiled for 1.15.2, module version = 1.0.0
[ 43.054] ABI class: X.Org ANSI C Emulation, version 0.4
[ 43.054] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 43.054] (II) Loading sub module "wfb"
[ 43.054] (II) LoadModule: "wfb"
[ 43.054] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 43.055] (II) Module wfb: vendor="X.Org Foundation"
[ 43.055] compiled for 1.15.2, module version = 1.0.0
[ 43.055] ABI class: X.Org ANSI C Emulation, version 0.4
[ 43.055] (II) Loading sub module "ramdac"
[ 43.055] (II) LoadModule: "ramdac"
[ 43.055] (II) Module "ramdac" already built-in
[ 43.057] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 43.057] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 43.057] (==) NVIDIA(0): RGB weight 888
[ 43.057] (==) NVIDIA(0): Default visual is TrueColor
[ 43.057] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 43.057] (**) NVIDIA(0): Option "NoLogo" "true"
[ 43.057] (**) NVIDIA(0): Enabling 2D acceleration
[ 43.643] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 43.644] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 870M (GK104) at PCI:1:0:0 (GPU-0)
[ 43.644] (--) NVIDIA(0): Memory: 3145728 kBytes
[ 43.644] (--) NVIDIA(0): VideoBIOS: 80.04.ea.00.02
[ 43.644] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 43.647] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 870M at PCI:1:0:0
[ 43.647] (--) NVIDIA(0): DFP-0
[ 43.647] (--) NVIDIA(0): DFP-1
[ 43.647] (--) NVIDIA(0): DFP-2
[ 43.647] (--) NVIDIA(0): DFP-0: Internal TMDS
[ 43.647] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[ 43.647] (--) NVIDIA(0): DFP-1: Internal TMDS
[ 43.647] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 43.647] (--) NVIDIA(0): DFP-2: Internal DisplayPort
[ 43.647] (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
[ 43.647] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[ 43.647] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
[ 43.647] (EE) NVIDIA(0): to start anyway
[ 43.661] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 43.661] (II) UnloadModule: "nvidia"
[ 43.661] (II) UnloadSubModule: "wfb"
[ 43.661] (II) UnloadSubModule: "fb"
[ 43.661] (EE) Screen(s) found, but none have a usable configuration.
[ 43.661] (EE)
Fatal server error:
[ 43.661] (EE) no screens found(EE)
Can anyone interpret "Screen(s) found, but none have a usable configuration"?
What do I have to do to give the screen (it's a laptop) a usable configuration?
Thanks
jb.
Offline
Bit more research tells me that my laptop has a hybrid gpu.
lspci gives:
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1106
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 870M] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1106
Kernel driver in use: nvidia
So I suppose xorg uses the i915 driver by default. I assume this doesn't have the acceleration required by Gnome.
So the next question is : how do I force xorg to use the nvidia driver? When I try and do that via the 20-nvidia.conf file, it gives me the no screens found message, mentioned above.
Any suggestions anyone? (potentially helpful ones, rather than 'give up' ;-) )
jb.
Offline
This is the Wiki page on nVidia Optimus.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Pages: 1