View previous topic :: View next topic |
Author |
Message |
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 3:30 pm Post subject: Cannot startx after new install |
|
|
Hi,
I am trying to install gentoo on a new laptop. I managed to have the first UEFI boot and then installed what is necessary for xorg-server:
Profile amd64 systemd
initramfs integrated in kernel to have an easy uefi stub
Graphic card/ Nvidia GEForce GTX860M
VIDEO_CARDS = "nvidia" in /etc/portage/make.conf (nouveau doesn't seem to be compatible)
lspci -k says that the card is recognized and the driver in use is nivdia
Version of nvidia-drivers is 343-22-r2 and is declared supporting the card by NVIDIA's site.
Here is Xorg.0.log:
Quote: | [ 2705.275]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 2705.275] X Protocol Version 11, Revision 0
[ 2705.275] Build Operating System: Linux 3.16.5-gentoo x86_64 Gentoo
[ 2705.276] Current Operating System: Linux jo-laptop 3.16.5-gentoo #2 SMP Wed Dec 3 15:07:38 2014 x86_64
[ 2705.276] Kernel command line: root=/dev/sda8 \EFI\gentoo\bootx64-gentoo-nvidia.efi
[ 2705.276] Build Date: 03 December 2014 02:21:51PM
[ 2705.277]
[ 2705.277] Current version of pixman: 0.32.4
[ 2705.277] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2705.277] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2705.279] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 3 15:55:24 2014
[ 2705.279] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 2705.279] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 2705.280] (==) No Layout section. Using the first Screen section.
[ 2705.280] (**) |-->Screen "screen0" (0)
[ 2705.280] (**) | |-->Monitor "monitor0"
[ 2705.280] (**) | |-->Device "nvidia"
[ 2705.280] (==) Automatically adding devices
[ 2705.280] (==) Automatically enabling devices
[ 2705.280] (==) Automatically adding GPU devices
[ 2705.280] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 2705.280] Entry deleted from font path.
[ 2705.280] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 2705.280] Entry deleted from font path.
[ 2705.280] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 2705.280] Entry deleted from font path.
[ 2705.280] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 2705.280] Entry deleted from font path.
[ 2705.280] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 2705.280] Entry deleted from font path.
[ 2705.280] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 2705.280] Entry deleted from font path.
[ 2705.280] (==) FontPath set to:
[ 2705.280] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 2705.280] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2705.280] (II) Loader magic: 0x802c60
[ 2705.280] (II) Module ABI versions:
[ 2705.280] X.Org ANSI C Emulation: 0.4
[ 2705.280] X.Org Video Driver: 15.0
[ 2705.280] X.Org XInput driver : 20.0
[ 2705.280] X.Org Server Extension : 8.0
[ 2705.280] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2705.281] (--) PCI:*(0:0:2:0) 8086:0416:1558:3501 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 2705.281] (--) PCI: (0:1:0:0) 10de:1392:1558:3501 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 2705.281] Initializing built-in extension Generic Event Extension
[ 2705.281] Initializing built-in extension SHAPE
[ 2705.282] Initializing built-in extension MIT-SHM
[ 2705.282] Initializing built-in extension XInputExtension
[ 2705.283] Initializing built-in extension XTEST
[ 2705.283] Initializing built-in extension BIG-REQUESTS
[ 2705.283] Initializing built-in extension SYNC
[ 2705.284] Initializing built-in extension XKEYBOARD
[ 2705.284] Initializing built-in extension XC-MISC
[ 2705.285] Initializing built-in extension XINERAMA
[ 2705.285] Initializing built-in extension XFIXES
[ 2705.285] Initializing built-in extension RENDER
[ 2705.286] Initializing built-in extension RANDR
[ 2705.286] Initializing built-in extension COMPOSITE
[ 2705.287] Initializing built-in extension DAMAGE
[ 2705.287] Initializing built-in extension MIT-SCREEN-SAVER
[ 2705.287] Initializing built-in extension DOUBLE-BUFFER
[ 2705.288] Initializing built-in extension RECORD
[ 2705.288] Initializing built-in extension DPMS
[ 2705.289] Initializing built-in extension Present
[ 2705.289] Initializing built-in extension DRI3
[ 2705.289] Initializing built-in extension X-Resource
[ 2705.290] Initializing built-in extension XVideo
[ 2705.290] Initializing built-in extension XVideo-MotionCompensation
[ 2705.291] Initializing built-in extension XFree86-VidModeExtension
[ 2705.291] Initializing built-in extension XFree86-DGA
[ 2705.292] Initializing built-in extension XFree86-DRI
[ 2705.292] Initializing built-in extension DRI2
[ 2705.292] (II) LoadModule: "glx"
[ 2705.292] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 2705.293] (II) Module glx: vendor="X.Org Foundation"
[ 2705.293] compiled for 1.15.0, module version = 1.0.0
[ 2705.293] ABI class: X.Org Server Extension, version 8.0
[ 2705.293] (==) AIGLX enabled
[ 2705.293] Loading extension GLX
[ 2705.293] (II) LoadModule: "nvidia"
[ 2705.293] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 2705.293] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 2705.293] compiled for 4.0.2, module version = 1.0.0
[ 2705.293] Module class: X.Org Video Driver
[ 2705.293] (II) NVIDIA dlloader X Driver 343.22 Thu Sep 11 15:34:47 PDT 2014
[ 2705.293] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2705.293] (--) using VT number 7
[ 2705.297] (EE) No devices detected.
[ 2705.297] (EE)
Fatal server error:
[ 2705.297] (EE) no screens found(EE)
[ 2705.297] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2705.297] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2705.297] (EE) |
I understand that it is a matter of config but I must confess I have trouble understanding how to configure xorg.
I did that in /etc/X11/xorg.con.d/nvidia.conf /
Quote: | Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Monitor"
Identifier "monitor0"
Option "PreferredMode" "1920x1080"
EndSection
Section "Screen"
Identifier "screen0"
Device "nvidia"
Monitor "monitor0"
EndSection |
|
|
Back to top |
|
|
WWWW Tux's lil' helper
Joined: 30 Nov 2014 Posts: 143
|
Posted: Wed Dec 03, 2014 3:41 pm Post subject: |
|
|
nowadays works without a xorg.conf. Try that first. After that you start tweaking xorg.conf, or xorg.conf.d/ for further customization. |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 3:50 pm Post subject: |
|
|
Thank you for help
Without the nvidia.conf the message is the same No screen found |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 4:06 pm Post subject: |
|
|
I remove the config file and did
But I have a "No device detected" and a "No screen found" |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Dec 03, 2014 4:42 pm Post subject: |
|
|
Are you sure the kernel driver loaded properly? Look for a /dev/nvidia* device and check dmesg. |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 5:03 pm Post subject: |
|
|
I have a /dev/nvidia0
Code: | dmesg -k |grep nvidia |
gives
Quote: |
nvidia: module licence "NVIDIA" taints kernel
[drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 0
nvidia 000:01:00.0 irq 46 for MSI/MSI-X
|
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 5:55 pm Post subject: |
|
|
Nouveau was selected as module in the kernel. I completely removed it. This doesn't change anything.
After running nvidia-xconfig can I assume the config is OK?
By the way. I also have trouble with localectl. Each command like localectl list-<something> return a "Failed to create bus connection" message. Can this be connected with x''s impossibility to start? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 7:35 pm Post subject: |
|
|
Jaglover wrote: |
Everything is valid there, except you do not generate any xorg.conf, it will generate a big bloated conf. All you need it the four-liner.
|
Do you mean I can keep only the Section "Device" and delete the rest ? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 8:49 pm Post subject: |
|
|
Date is correct |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 9:22 pm Post subject: |
|
|
Thanks a lot for your help and time. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Wed Dec 03, 2014 10:51 pm Post subject: |
|
|
augustin2,
Code: | [ 1632.973] (EE) No devices detected. | suggests that either another driver has grabbed the nvidia chip.
Framebuffer drivers must be disabled. You used to get away winh vesafb but the kernel module gives a warning.
The other cause in that the nvidia chipset is not supported by the driver you are using.
Code: | [ 1632.947] (--) PCI: (0:1:0:0) 10de:1392:1558:3501 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288 | says that you have a GM107M [GeForce GTX 860M] card. Check the /usr/share/do.../README to ensure that the driver supports that card. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Wed Dec 03, 2014 10:58 pm Post subject: |
|
|
/dev/nvidia0 /dev/nvidiactl
nothing prompt returns immediately
Code: | lsmod | grep nvidia |
nvidia 10998464 0 |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Thu Dec 04, 2014 7:38 am Post subject: |
|
|
The recompilation of nvidia-drivers says that there are kernel misconfigurations but I dont understand what it is about (it is at the beginning of the output -line 53):
https://bpaste.net/show/cbb90f9e2e19 |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Thu Dec 04, 2014 8:15 am Post subject: |
|
|
Also have this:
Code: | eselect opengl list | [1] nvidia *
[2] xorg-x11
Code: | glxinfo | grep direct | Error : unable to open display |
|
Back to top |
|
|
|