Ee fatal server error ee no screens found ee

Joined: 22 Feb 2016Posts: 18
View previous topic :: View next topic  
Author Message
se ven
n00b
n00b

Joined: 22 Feb 2016
Posts: 18

PostPosted: Thu Mar 24, 2016 3:17 am    Post subject: startx: Fatal server error: no screens found(EE)[SOLVED] Reply with quote

As title said, startx throw a Fatal server error «no screens found»

and my lspci gives my video card lists below:

Code:



00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)

   Subsystem: Dell 7 Series/C210 Series Chipset Family SMBus Controller

01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)

   Subsystem: Dell GK107M [GeForce GT 650M]

01:00.1 Unassigned class [ffff]: NVIDIA Corporation GK107 HDMI Audio Controller (rev ff)

07:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)

   Subsystem: Dell AR8151 v2.0 Gigabit Ethernet


and Xorg.0.log:

Code:

# cat /var/log/Xorg.0.log

[  2787.185]

X.Org X Server 1.18.2

Release Date: 2016-03-11

[  2787.185] X Protocol Version 11, Revision 0

[  2787.186] Build Operating System: Linux 4.5.0-gentoo x86_64 Gentoo

[  2787.186] Current Operating System: Linux se_ven 4.5.0-gentoo #1 SMP Wed Mar 23 15:00:18 CST 2016 x86_64

[  2787.186] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.5.0-gentoo root=/dev/sda9

[  2787.187] Build Date: 21 March 2016  07:51:12PM

[  2787.187] 

[  2787.187] Current version of pixman: 0.34.0

[  2787.188]    Before reporting problems, check http://wiki.x.org

   to make sure that you have the latest version.

[  2787.188] Markers: (—) probed, (**) from config file, (==) default setting,

   (++) from command line, (!!) notice, (II) informational,

   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[  2787.190] (==) Log file: «/var/log/Xorg.0.log», Time: Thu Mar 24 09:35:23 2016

[  2787.191] (==) Using config file: «/etc/X11/xorg.conf»

[  2787.191] (==) Using config directory: «/etc/X11/xorg.conf.d»

[  2787.192] (==) Using system config directory «/usr/share/X11/xorg.conf.d»

[  2787.192] (==) ServerLayout «Layout0»

[  2787.192] (**) |—>Screen «Screen0» (0)

[  2787.192] (**) |   |—>Monitor «Monitor0»

[  2787.192] (**) |   |—>Device «Device0»

[  2787.192] (**) |   |—>GPUDevice «nvidia»

[  2787.192] (**) |   |—>GPUDevice «Device0»

[  2787.192] (**) |—>Input Device «Keyboard0»

[  2787.192] (**) |—>Input Device «Mouse0»

[  2787.192] (==) Automatically adding devices

[  2787.192] (==) Automatically enabling devices

[  2787.192] (==) Automatically adding GPU devices

[  2787.192] (==) Max clients allowed: 256, resource mask: 0x1fffff

[  2787.192] (==) 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/

[  2787.192] (**) ModulePath set to «/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules»

[  2787.192] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.

[  2787.192] (WW) Disabling Keyboard0

[  2787.192] (WW) Disabling Mouse0

[  2787.192] (II) Loader magic: 0x812c60

[  2787.192] (II) Module ABI versions:

[  2787.192]    X.Org ANSI C Emulation: 0.4

[  2787.192]    X.Org Video Driver: 20.0

[  2787.192]    X.Org XInput driver : 22.1

[  2787.192]    X.Org Server Extension : 9.0

[  2787.193] (II) xfree86: Adding drm device (/dev/dri/card0)

[  2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64

[  2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288

[  2787.195] (II) LoadModule: «glx»

[  2787.195] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so

[  2787.198] (II) Module glx: vendor=»NVIDIA Corporation»

[  2787.198]    compiled for 4.0.2, module version = 1.0.0

[  2787.198]    Module class: X.Org Server Extension

[  2787.198] (II) NVIDIA GLX Module  364.12  Wed Mar 16 20:39:46 PDT 2016

[  2787.198] (II) LoadModule: «nvidia»

[  2787.198] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so

[  2787.198] (II) Module nvidia: vendor=»NVIDIA Corporation»

[  2787.198]    compiled for 4.0.2, module version = 1.0.0

[  2787.198]    Module class: X.Org Video Driver

[  2787.198] (II) NVIDIA dlloader X Driver  364.12  Wed Mar 16 20:16:45 PDT 2016

[  2787.198] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

[  2787.198] (—) using VT number 7

[  2787.202] (EE) No devices detected.

[  2787.202] (EE)

Fatal server error:

[  2787.202] (EE) no screens found(EE)

[  2787.202] (EE)

Please consult the The X.Org Foundation support

    at http://wiki.x.org

 for help.

[  2787.202] (EE) Please also check the log file at «/var/log/Xorg.0.log» for additional information.

[  2787.202] (EE)

and emerge —info:

Code:

# emerge —info

setlocale: unsupported locale setting

setlocale: unsupported locale setting

Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-5.3.0, glibc-2.22-r2, 3.13.0-83-generic x86_64)

=================================================================

System uname: Linux-3.13.0-83-generic-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2

KiB Mem:    16313748 total,   5404488 free

KiB Swap:    4000764 total,   4000764 free

Timestamp of repository gentoo: Tue, 22 Mar 2016 07:15:01 +0000

sh bash 4.3_p42-r2

ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1

app-shells/bash:          4.3_p42-r2::gentoo

dev-java/java-config:     2.2.0-r3::gentoo

dev-lang/perl:            5.22.1::gentoo

dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo

dev-util/cmake:           3.5.0::gentoo

dev-util/pkgconfig:       0.29.1::gentoo

sys-apps/baselayout:      2.2::gentoo

sys-apps/openrc:          0.20.5::gentoo

sys-apps/sandbox:         2.10-r1::gentoo

sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo

sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo

sys-devel/binutils:       2.25.1-r1::gentoo

sys-devel/gcc:            5.3.0::gentoo

sys-devel/gcc-config:     1.8-r1::gentoo

sys-devel/libtool:        2.4.6-r2::gentoo

sys-devel/make:           4.1-r1::gentoo

sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)

sys-libs/glibc:           2.22-r2::gentoo



ACCEPT_KEYWORDS=»amd64 ~amd64″

ACCEPT_LICENSE=»*»

CBUILD=»x86_64-pc-linux-gnu»

CFLAGS=»-march=native -O2 -pipe»

CHOST=»x86_64-pc-linux-gnu»

CONFIG_PROTECT=»/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt»

CONFIG_PROTECT_MASK=»/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo»

CXXFLAGS=»-march=native -O2 -pipe»

DISTDIR=»/usr/portage/distfiles»

EMERGE_DEFAULT_OPTS=»—jobs=9 —load-average=8″

FCFLAGS=»-O2 -pipe»

FEATURES=»assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr»

FFLAGS=»-O2 -pipe»

GENTOO_MIRRORS=»http://mirrors.163.com/gentoo/»

LANG=»zh_CN.UTF-8″

LDFLAGS=»-Wl,-O1 -Wl,—as-needed»

MAKEOPTS=»-j9 -l8″

PKGDIR=»/usr/portage/packages»

PORTAGE_CONFIGROOT=»/»

PORTAGE_RSYNC_OPTS=»—recursive —links —safe-links —perms —times —omit-dir-times —compress —force —whole-file —delete —stats —human-readable —timeout=180 —exclude=/distfiles —exclude=/local —exclude=/packages —exclude=/.git»

PORTAGE_TMPDIR=»/var/tmp»

USE=»X a52 aac acl acpi alsa amd64 avahi ayatana berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac foomatic fortran freerdp gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify m17n-lib mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcmcia pcre pdf perl phonon plasma png policykit postscript ppds qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 ssh ssl startup-notification static-libs svg tcpd telepathy tiff truetype udev udisks unicode upower usb vorbis vte wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib» ABI_X86=»64″ ALSA_CARDS=»ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci» APACHE2_MODULES=»authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias» CALLIGRA_FEATURES=»kexi words flow plan sheets stage tables krita karbon braindump author» CAMERAS=»ptp2″ COLLECTD_PLUGINS=»df interface irq load memory rrdtool swap syslog» CPU_FLAGS_X86=»mmx mmxext sse sse2″ ELIBC=»glibc» GPSD_PROTOCOLS=»ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx» INPUT_DEVICES=»evdev keyboard mouse synaptics» KERNEL=»linux» LCD_DEVICES=»bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text» LIBREOFFICE_EXTENSIONS=»presenter-console presenter-minimizer» OFFICE_IMPLEMENTATION=»libreoffice» PHP_TARGETS=»php5-5″ PYTHON_SINGLE_TARGET=»python2_7″ PYTHON_TARGETS=»python2_7 python3_4″ RUBY_TARGETS=»ruby20 ruby21″ USERLAND=»GNU» VIDEO_CARDS=»nvidia intel» XTABLES_ADDONS=»quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account»

Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

and my xorg.conf is use

Code:
nvidia-xconfig

as wiki saidhttps://wiki.gentoo.org/wiki/NVidia/nvidia-drivers:

Code:

# cat /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig:  version 364.12  (buildmeister@swio-display-x64-rhel04-01)  Wed Mar 16 21:56:36 PDT 2016

Section «ServerLayout»

    Identifier     «Layout0»

    Screen      0  «Screen0» 0 0

    InputDevice    «Keyboard0» «CoreKeyboard»

    InputDevice    «Mouse0» «CorePointer»

EndSection

Section «Files»

EndSection

Section «InputDevice»

    # generated from data in «/etc/conf.d/gpm»

    Identifier     «Mouse0»

    Driver         «mouse»

    Option         «Protocol»

    Option         «Device» «/dev/input/mice»

    Option         «Emulate3Buttons» «no»

    Option         «ZAxisMapping» «4 5»

EndSection

Section «InputDevice»

    # generated from default

    Identifier     «Keyboard0»

    Driver         «kbd»

EndSection

Section «Monitor»

    Identifier     «Monitor0»

    VendorName     «Unknown»

    ModelName      «Unknown»

    HorizSync       28.0 — 33.0

    VertRefresh     43.0 — 72.0

    Option         «DPMS»

EndSection

Section «Device»

    Identifier     «Device0»

    Driver         «nvidia»

    VendorName     «NVIDIA Corporation»

EndSection

Section «Screen»

    Identifier     «Screen0»

    Device         «Device0»

    Monitor        «Monitor0»

    DefaultDepth    24

    SubSection     «Display»

        Depth       24

    EndSubSection

EndSection

and im search in the forums and wiki more and more time but not fine, so i put this…

bytheway, why it has double

Code:
setlocale: unsupported locale setting

when im try

Code:
emerge

PS: i’m using chroot to check my gentoo config.

any help appreciate.

Last edited by se ven on Tue Apr 12, 2016 11:36 am; edited 1 time in total

Back to top

View user's profile Send private message

Maxxx
Guru
Guru

Joined: 12 Jan 2016
Posts: 593
Location: Italia

PostPosted: Thu Mar 24, 2016 8:29 am    Post subject: Reply with quote

I think that your problem is Nvidia driver… your Geforce GT 650m need 340.93 version, but you installed 364.12 version.

http://www.nvidia.com/Download/driverResults.aspx/91217/en-us

Back to top

View user's profile Send private message

davidm
Guru
Guru

Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Thu Mar 24, 2016 12:15 pm    Post subject: Reply with quote

Maxxx wrote:
I think that your problem is Nvidia driver… your Geforce GT 650m need 340.93 version, but you installed 364.12 version.

http://www.nvidia.com/Download/driverResults.aspx/91217/en-us

I could be mistaken but it seems to list GeForce 650M as supported by the beta driver:

http://www.nvidia.com/download/driverResults.aspx/100577/en-us

Quote:

GeForce 600M Series (Notebooks):

GeForce GTX 680MX, GeForce GTX 680M, GeForce GTX 675MX, GeForce GTX 675M, GeForce GTX 670MX, GeForce GTX 670M, GeForce GTX 660M, GeForce GT 650M, GeForce GT 645M, GeForce GT 640M, GeForce GT 640M LE, GeForce GT 635M, GeForce GT 630M, GeForce GT 625M, GeForce GT 620M, GeForce 610M

I also had an issue with sddm not starting on my GeForce GT 730 and downgrading the Nvidia driver resolved it for me. So it appears there may be some sort of issue.

https://forums.gentoo.org/viewtopic-t-1041184.html

Back to top

View user's profile Send private message

Maxxx
Guru
Guru

Joined: 12 Jan 2016
Posts: 593
Location: Italia

PostPosted: Thu Mar 24, 2016 1:22 pm    Post subject: Reply with quote

Quote:

I also had an issue with sddm not starting on my GeForce GT 730 and downgrading the Nvidia driver resolved it for me. So it appears there may be some sort of issue.

Yes… it could be

For first thing i would try with oldest nvidia driver

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Mar 24, 2016 2:27 pm    Post subject: Reply with quote

Probably there is some framebuffer enabled in kernel that grabs the device and the nvidia driver is unable to load.
Back to top

View user's profile Send private message

Maxxx
Guru
Guru

Joined: 12 Jan 2016
Posts: 593
Location: Italia

PostPosted: Thu Mar 24, 2016 2:48 pm    Post subject: Reply with quote

Yes, he should enable framebuffer in kernel menu, but not in submenu concerning nvidia framebuffer (these must be removed all).

I had do so, and in my case it works.
Back to top

View user's profile Send private message

NeddySeagoon
Administrator
Administrator

Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W

PostPosted: Thu Mar 24, 2016 10:15 pm    Post subject: Reply with quote

se ven,

Code:
[  2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64

[  2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432,

Intel and nVidia graphics … that’s the Optimus warning sign.

Also

Code:
[  2787.198] (II) NVIDIA dlloader X Driver  364.12  Wed Mar 16 20:16:45 PDT 2016

[  2787.198] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

[  2787.198] (—) using VT number 7

[  2787.202] (EE) No devices detected.

may mean that your nVidia chipset is not supported by driver version 364.12.

I didn’t ask google though.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-

those that do backups

those that have never had a hard drive fail.

Back to top

View user's profile Send private message

se ven
n00b
n00b

Joined: 22 Feb 2016
Posts: 18

PostPosted: Fri Mar 25, 2016 3:29 am    Post subject: Reply with quote

First, thanks for everyone.

Maxxx wrote:
Yes, he should enable framebuffer in kernel menu, but not in submenu concerning nvidia framebuffer (these must be removed all).

I had do so, and in my case it works.

yes. i enable framebuffer in `Frame Buffer Devices` and Disable all drivers, including Intel, nVidia, ATI in it;

Maxxx wrote:
I think that your problem is Nvidia driver… your Geforce GT 650m need 340.93 version, but you installed 364.12 version.

http://www.nvidia.com/Download/driverResults.aspx/91217/en-us


NeddySeagoon wrote:
Code:
[  2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64

[  2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432,

Intel and nVidia graphics … that’s the Optimus warning sign.

Er… iv just know it ‘probed’ my double graphics, one Intel and one nVidia which both in my PC, is that an Error? and what’s the deeper meaning about it? :?:

And, as everyone said im try install 340.93 version, but unfotunately, a new issue throw… «Unable to build the NVIDIA kernel module.»

and i don’t know what that means. may means this version is not fully compatible with my kernel? anyway im searching it now…

Code:

Kernel source path: ‘/usr/src/linux’

Kernel output path: ‘/usr/src/linux’

Performing rivafb check.

Performing nvidiafb check.

Performing Xen check.

Performing PREEMPT_RT check.

Cleaning kernel module build directory.

Building NVIDIA kernel module:

  Building: [##############################] 100%

ERROR: Unable to build the NVIDIA kernel module.

ERROR: Installation has failed.  Please see the file

       ‘/var/log/nvidia-installer.log’ for details.  You may find suggestions

       on fixing installation problems in the README available on the Linux

       driver download page at www.nvidia.com.

and my nvidia-installer.log look like this:

Code:

nvidia-installer log file ‘/var/log/nvidia-installer.log’

creation time: Fri Mar 25 10:16:07 2016

installer version: 340.93

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0

nvidia-installer command line:

    ./nvidia-installer

Unable to load: nvidia-installer ncurses user interface

Using built-in stream user interface

-> License accepted.

-> Installing NVIDIA driver version 340.93.

-> Performing CC sanity check with CC=»/usr/bin/cc».

-> Kernel source path: ‘/lib/modules/4.5.0-gentoo/source’

-> Kernel output path: ‘/lib/modules/4.5.0-gentoo/build’

-> Performing rivafb check.

-> Performing nvidiafb check.

-> Performing Xen check.

-> Performing PREEMPT_RT check.

-> Cleaning kernel module build directory.

   executing: ‘cd ./kernel; /usr/bin/make clean’…

-> Building NVIDIA kernel module:

   executing: ‘cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.5.0-gentoo/source SYSOUT=/lib/modules/4.5.0-gentoo/build NV_BUILD_MODULE_INSTANCES=’…

   NVIDIA: calling KBUILD…

   make[1]: Entering directory ‘/usr/src/linux-4.5.0-gentoo’

   /usr/bin/make -C /lib/modules/4.5.0-gentoo/build KBUILD_SRC=/usr/src/linux-4.5.0-gentoo

   -f /usr/src/linux-4.5.0-gentoo/Makefile modules

   make[2]: Entering directory ‘/usr/src/linux-4.5.0-gentoo’

   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (      

   echo >&2;                     

   echo >&2 »  ERROR: Kernel configuration is invalid.»;      

   echo >&2 »         include/generated/autoconf.h or include/config/auto.conf are missing.»;

   echo >&2 »         Run ‘make oldconfig && make prepare’ on kernel src to fix it.»;   

   echo >&2 ;                     

   /bin/false)

   mkdir -p /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_versions ; rm -f /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_versions/*

   /usr/bin/make -f /usr/src/linux-4.5.0-gentoo/scripts/Makefile.build obj=/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel

     cc -Wp,-MD,/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include -I/usr/src/linux-4.5.0-gentoo/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -I/usr/src/linux-4.5.0-gentoo/include -Iinclude -I/usr/src/linux-4.5.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.5.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.5.0-gentoo/include/linux/kconfig.h   -I/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1

    -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 —param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG   -I/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=»340.93″ -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=»nvidia»  -DMODULE  -D»KBUILD_STR(s)=

   #s» -D»KBUILD_BASENAME=KBUILD_STR(nv)»  -D»KBUILD_MODNAME=KBUILD_STR(nvidia)» -c -o /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_nv.o /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv.c

   In file included from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/stddef.h:1:0,

                    from /usr/src/linux-4.5.0-gentoo/include/linux/stddef.h:4,

                    from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/posix_types.h:4,

……

……more and more……

……

/usr/src/linux-4.5.0-gentoo/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’

      this_cpu_sub(*percpu_count, nr);

      ^

   In file included from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/stddef.h:1:0,

                    from /usr/src/linux-4.5.0-gentoo/include/linux/stddef.h:4,

                    from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/posix_types.h:4,

                    from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/types.h:13,

                    from /usr/src/linux-4.5.0-gentoo/include/linux/types.h:5,

                    from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/capability.h:16,

                    from /usr/src/linux-4.5.0-gentoo/include/linux/capability.h:15,

                    from /usr/src/linux-4.5.0-gentoo/include/linux/sched.h:15,

                    from /usr/src/linux-4.5.0-gentoo/include/linux/utsname.h:5,

                    from /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,

                    from /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:15:

   /usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:

   /usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h:734:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

     if (likely(sz < 0 || sz >= n))

                             ^

   /usr/src/linux-4.5.0-gentoo/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’

    # define likely(x) __builtin_expect(!!(x), 1)

                                           ^

   /usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:

   /usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h:752:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

     if (likely(sz < 0 || sz >= n))

                             ^

   /usr/src/linux-4.5.0-gentoo/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’

    # define likely(x) __builtin_expect(!!(x), 1)

                                           ^

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:359:12: error: void value not ignored as it ought to be

        return seq_printf(s, «Binary: «%s»n», registry_keys);

               ^

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c: In function ‘nv_procfs_read_text_file’:

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:555:12: error: void value not ignored as it ought to be

        return seq_puts(s, s->private);

               ^

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:556:1: warning: control reaches end of non-void function [-Wreturn-type]

    }

    ^

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:

   /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:360:1: warning: control reaches end of non-void function [-Wreturn-type]

    }

    ^

   /usr/src/linux-4.5.0-gentoo/scripts/Makefile.build:258: recipe for target ‘/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.o’ failed

   make[3]: *** [/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.o] Error 1

   /usr/src/linux-4.5.0-gentoo/Makefile:1391: recipe for target ‘_module_/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel’ failed

   make[2]: *** [_module_/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel] Error 2

   make[2]: Leaving directory ‘/usr/src/linux-4.5.0-gentoo’

   Makefile:146: recipe for target ‘sub-make’ failed

   make[1]: *** [sub-make] Error 2

   make[1]: Leaving directory ‘/usr/src/linux-4.5.0-gentoo’

   NVIDIA: left KBUILD.

   nvidia.ko failed to build!

   Makefile:182: recipe for target ‘nvidia.ko’ failed

   make: *** [nvidia.ko] Error 1

-> Error.

ERROR: Unable to build the NVIDIA kernel module.

ERROR: Installation has failed.  Please see the file ‘/var/log/nvidia-installer.log’ for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Last edited by se ven on Fri Mar 25, 2016 3:58 am; edited 1 time in total

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Fri Mar 25, 2016 3:50 am    Post subject: Reply with quote

What are you doing? Are you running nvidia installer? This is not how you install it in Gentoo. Besides, if this is Optimus as Neddy pointed out you need completely different approach.
Back to top

View user's profile Send private message

se ven
n00b
n00b

Joined: 22 Feb 2016
Posts: 18

PostPosted: Fri Mar 25, 2016 4:55 am    Post subject: Reply with quote

Quote:
What are you doing? Are you running nvidia installer? This is not how you install it in Gentoo. Besides, if this is Optimus as Neddy pointed out you need completely different approach.

Sorry, im not sure whats your mean pointed about your solution for my issues.

Of course i need different approach (may not completely…), but i need search other same issues which solved the problems before make my opinions.

and Of course it’s my point. i’ll choise what should i do or how.

and im running nvidia-installer to install it actually(i don’t know why not even now). and im no such care whats the Gentoo’s way in my_gentoo.

thank you for your reply.

bytheway, what’s the Gentoo’s way to install my Graphic s :?: i find the issue in wiki but not fine so im here… :roll:

Any help appreciate.

Back to top

View user's profile Send private message

Maxxx
Guru
Guru

Joined: 12 Jan 2016
Posts: 593
Location: Italia

PostPosted: Fri Mar 25, 2016 9:18 pm    Post subject: Reply with quote

If your kernel configuration is ok, you must uninstall current nvidia driver (or even other video driver)…

Then you must install right version of nvidia driver.

To do this, in package.mask file (or if package.mask is a directory you can create file mask) you must insert «>=x11-drivers/nvidia-drivers-340.96» line… in this way you can install only previous version of 340.96, which is 340.93-r1.

Now you can emerge nvidia driver: «emerge —ask x11-drivers/nvidia-drivers» and check that the version is right.

At the end of installation do these commands:

«nvidia-xconfig»

«eselect opengl set nvidia»

and

«gpasswd -a (user) video»

Try like this

Back to top

View user's profile Send private message

NeddySeagoon
Administrator
Administrator

Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W

PostPosted: Fri Mar 25, 2016 10:01 pm    Post subject: Reply with quote

se ven,

Google says that PCI ID 10de:0fd1 belongs to a nVidia GK107M [GeForce GT 650M].

Looking up GeForce GT 650M at the nVidia site says you need 361.28 for an amd64 system.

Later versions may or may not work.

As nvidia-drivers is a binary blob (the source code is not published) its often out of step with the kernel, and you have a very new kernel

/var/log/Xorg.0.log:
[  2787.186] Build Operating System: Linux 4.5.0-gentoo x86_64 Gentoo

You must not use nvidia-installer yourself. The Gentoo ebuild downloads the nvidia-installer, installs the binary blob and patches and builds the ‘shim’ code. If you run nvidia-installer yourself, you will be missing the shim code patches. Then you get to keep the pieces.

First, run nvidia-installer and tell it to uninstall. It probably has a -h or —help option to give you instructions

Code:
eix nvidia-drivers

* x11-drivers/nvidia-drivers

     Available versions:  [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd 304.131(0/304)^msd (~)304.131-r1(0/304)^msd (~)304.131-r4(0/304)^md 340.93-r1(0/340)^msd 340.96(0/340)^msd (~)340.96-r5(0/340)^md 346.96-r1(0/346)^msd (~)346.96-r6(0/346)^md 352.63(0/352)^msd 352.79(0/352)^msd (~)352.79-r4(0/352)^md (~)355.00.27(0/355.00)^fmd 355.11-r2(0/355)^msd (~)355.11-r4(0/355)^md 358.16-r1(0/358)^msd{tbz2} (~)358.16-r5(0/358)^md 361.28(0/361)^msd (~)361.28-r2(0/361)^md (~)364.12-r1(0/364)^md {+X acpi compat custom-cflags +driver gtk gtk2 gtk3 +kms multilib pax_kernel static-libs (+)tools uvm wayland KERNEL=»FreeBSD linux»}

Now ask emerge what it will install

Code:
emerge -pv x11-drivers/nvidia-drivers

It appears that 361.28 is stable so you should get at least that.

If so, emerge it for real. It will install nvidia-drivers the Gentoo way.

Optimus graphics systems are a whole new can of worms. Laptops are very power/space/weight conscious.

Once upon a time, laptop graphics systems were not very good. Then came the idea of having a high performance high power graphics system that could be switched in when needed. The killer here is the switch. It takes up space, weight and power. Such systems are called video multiplexing.

Multiplexing being the technical name for the switching.

The next generation were known as muxless because they don’t have this switch. Optimus is an example of this design. Its typically found in notebooks and laptops that feature both Intel and nVidia graphics.

The upside to removing the switch, in the power/weight/space savings. The down side is that the nVidia graphics chip is not connected to the display ever — at all. This means that if you do have an Optimus system and you succeed is making the nVidia driver run on its own, you will only get a black screen.

Optimus systems always use the Intel chipset to put the picture onto the display surface but they can use either chip set to render the image into the pixel buffer. Its important to know if you have an Optimus system or not before you go much further.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-

those that do backups

those that have never had a hard drive fail.

Back to top

View user's profile Send private message

se ven
n00b
n00b

Joined: 22 Feb 2016
Posts: 18

PostPosted: Thu Mar 31, 2016 4:14 am    Post subject: Reply with quote

Er…First apologize for my very late reply and thanks for any help.

So, :

NeddySeagoon wrote:

Optimus graphics systems are a whole new can of worms. Laptops are very power/space/weight conscious.

Once upon a time, laptop graphics systems were not very good. Then came the idea of having a high performance high power graphics system that could be switched in when needed. The killer here is the switch. It takes up space, weight and power. Such systems are called video multiplexing.

Multiplexing being the technical name for the switching.

The next generation were known as muxless because they don’t have this switch. Optimus is an example of this design. Its typically found in notebooks and laptops that feature both Intel and nVidia graphics.

The upside to removing the switch, in the power/weight/space savings. The down side is that the nVidia graphics chip is not connected to the display ever — at all. This means that if you do have an Optimus system and you succeed is making the nVidia driver run on its own, you will only get a black screen.

Optimus systems always use the Intel chipset to put the picture onto the display surface but they can use either chip set to render the image into the pixel buffer. Its important to know if you have an Optimus system or not before you go much further.



thanks for your reminding. it may the point of this question.

I check my laptop graphic and search it in nVidia and, my laptop graphics use a Optimus system it is…

Then, as https://wiki.gentoo.org/wiki/NVIDIA/Optimus said,

Double check the kernel .config just like this:

Code:

      Direct Rendering Manager  —>

         Direct Rendering Manager (Xfree86 4.1.0 and higher DRI support)   —>

            [*]   Enable legacy fbdev support for your modesetting driver

         <*> Intel 8xx/9xx/G3x/G4x/HD Graphics

         [*]   Enable preliminary support for prerelease Intel hardware by default



and it was selected at all. then:

http://us.download.nvidia.com/XFree86/Linux-x86_64/361.28/README/optimus.html

http://us.download.nvidia.com/XFree86/Linux-x86_64/361.28/README/randr14.html

after that, i edit my xorg.conf to:

Code:

Section «ServerLayout»

    Identifier «layout»

    Screen «nvidia»

    InputDevice    «Mouse0» «CorePointer»

    InputDevice    «Keyboard0» «CoreKeyboard»

    Inactive «intel»

EndSection

Section «Device»

        Identifier «nvidia»

        Driver «nvidia»

        BusID «01:00:0»

        Option «RegistryDwords» «EnableBrightnessControl=1»

EndSection

Section «Screen»

        Identifier «nvidia»

        Device «nvidia»

        Option «AllowEmptyInitialConfiguration»

EndSection

   

Section «Device»

        Identifier «intel»

        Driver «modesetting»

EndSection

Section «Screen»

        Identifier «intel»

        Device     «intel»

        Monitor    «Monitor0»

        SubSection «Display»

                Viewport   0 0

                Depth     1

        EndSubSection

        SubSection «Display»

                Viewport   0 0

                Depth     4

        EndSubSection

        SubSection «Display»

                Viewport   0 0

                Depth     8

        EndSubSection

        SubSection «Display»

                Viewport   0 0

                Depth     15

        EndSubSection

SubSection «Display»

                Viewport   0 0

                Depth     16

        EndSubSection

        SubSection «Display»

                Viewport   0 0

                Depth     24

        EndSubSection

EndSection

Section «Files»

        ModulePath   «/usr/lib64/xorg/modules»

        FontPath     «/usr/share/fonts/misc/»

        FontPath     «/usr/share/fonts/TTF/»

        FontPath     «/usr/share/fonts/OTF/»

        FontPath     «/usr/share/fonts/Type1/»

        FontPath     «/usr/share/fonts/100dpi/»

        FontPath     «/usr/share/fonts/75dpi/»

EndSection

Section «Module»

        Load  «modesetting»

        Load  «glx»

EndSection

Section «InputDevice»

        Identifier  «Keyboard0»

        Driver      «kbd»

EndSection

Section «InputDevice»

        Identifier  «Mouse0»

        Driver      «mouse»

        Option      «Protocol» «auto»

        Option      «Device» «/dev/input/mice»

        Option      «ZAxisMapping» «4 5 6 7»

EndSection

Section «Monitor»

        Identifier   «Monitor0»

        VendorName   «Monitor Vendor»

        ModelName    «Monitor Model»

EndSection

But The xrandr only return a:

Code:
Can’t open display :0

before i starting x;;

when i `startx` it’s only display a black screen with a cursor without flash on left top of screen. im not sure does the problem fixed, and i can though next step?

with quit the startx manually, The Xorg.0.log looks like this:

Code:

[   969.856]

X.Org X Server 1.18.2

Release Date: 2016-03-11

[   969.857] X Protocol Version 11, Revision 0

[   969.858] Build Operating System: Linux 3.13.0-83-generic x86_64 Gentoo

[   969.858] Current Operating System: Linux se_ven 4.5.0-gentoo #1 SMP Wed Mar 30 23:07:19 CST 2016 x86_64

[   969.859] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.5.0-gentoo root=/dev/sda9

[   969.860] Build Date: 29 March 2016  04:30:38PM

[   969.860]

[   969.861] Current version of pixman: 0.34.0

[   969.862]    Before reporting problems, check http://wiki.x.org

        to make sure that you have the latest version.

[   969.862] Markers: (—) probed, (**) from config file, (==) default setting,

        (++) from command line, (!!) notice, (II) informational,

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   969.865] (==) Log file: «/var/log/Xorg.1.log», Time: Thu Mar 31 10:39:35 2016

[   969.865] (==) Using config file: «/etc/X11/xorg.conf»

[   969.866] (==) Using config directory: «/etc/X11/xorg.conf.d»

[   969.867] (==) Using system config directory «/usr/share/X11/xorg.conf.d»

[   969.867] (==) ServerLayout «layout»

[   969.867] (**) |—>Screen «nvidia» (0)

[   969.867] (**) |   |—>Monitor «<default monitor>»

[   969.867] (**) |   |—>Device «nvidia»

[   969.867] (**) |   |—>GPUDevice «Device0»

[   969.867] (**) |   |—>GPUDevice «nvidia»

[   969.867] (**) |   |—>GPUDevice «intel»

[   969.867] (==) No monitor specified for screen «nvidia».

        Using a default monitor configuration.

[   969.867] (**) |—>Inactive Device «intel»

[   969.867] (**) |—>Input Device «Mouse0»

[   969.867] (**) |—>Input Device «Keyboard0»

[   969.867] (==) Automatically adding devices

[   969.867] (==) Automatically enabling devices

[   969.867] (==) Automatically adding GPU devices

[   969.867] (==) Max clients allowed: 256, resource mask: 0x1fffff

[   969.867] (**) 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/

[   969.867] (**) ModulePath set to «/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules»

[   969.867] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.

[   969.867] (WW) Disabling Mouse0

[   969.867] (WW) Disabling Keyboard0

[   969.867] (II) Loader magic: 0x812c60

[   969.867] (II) Module ABI versions:

[   969.867]    X.Org ANSI C Emulation: 0.4

[   969.867]    X.Org Video Driver: 20.0

[   969.867]    X.Org XInput driver : 22.1

[   969.867]    X.Org Server Extension : 9.0

[   969.868] (II) xfree86: Adding drm device (/dev/dri/card1)

[   969.868] (II) xfree86: Adding drm device (/dev/dri/card0)

[   969.870] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64

[   969.870] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288

[   969.870] (II) «glx» will be loaded. This was enabled by default and also specified in the config file.

[   969.870] (II) LoadModule: «modesetting»

[   969.870] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so

[   969.870] (II) Module modesetting: vendor=»X.Org Foundation»

[   969.870]    compiled for 1.18.2, module version = 1.18.2

[   969.870]    Module class: X.Org Video Driver

[   969.870]    ABI class: X.Org Video Driver, version 20.0

[   969.870] (II) LoadModule: «glx»

[   969.870] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so

[   969.873] (II) Module glx: vendor=»NVIDIA Corporation»

[   969.873]    compiled for 4.0.2, module version = 1.0.0

[   969.873]    Module class: X.Org Server Extension

[   969.873] (II) NVIDIA GLX Module  364.12  Wed Mar 16 20:39:46 PDT 2016

[   969.873] (II) LoadModule: «nvidia»

[   969.873] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so

[   969.874] (II) Module nvidia: vendor=»NVIDIA Corporation»

[   969.874]    compiled for 4.0.2, module version = 1.0.0

[   969.874]    Module class: X.Org Video Driver

[   969.874] (II) LoadModule: «modesetting»

[   969.874] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so

[   969.874] (II) Module modesetting: vendor=»X.Org Foundation»

[   969.874]    compiled for 1.18.2, module version = 1.18.2

[   969.874]    Module class: X.Org Video Driver

[   969.874]    ABI class: X.Org Video Driver, version 20.0

[   969.874] (II) UnloadModule: «modesetting»

[   969.874] (II) Unloading modesetting

[   969.874] (II) Failed to load module «modesetting» (already loaded, 0)

[   969.874] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

[   969.874] (II) NVIDIA dlloader X Driver  364.12  Wed Mar 16 20:16:45 PDT 2016

[   969.874] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

[   969.874] (—) using VT number 8

[   969.878] (II) modeset(0): using drv /dev/dri/card0

[   969.878] (II) Loading sub module «fb»

[   969.878] (II) LoadModule: «fb»

[   969.878] (II) Loading /usr/lib64/xorg/modules/libfb.so

[   969.878] (II) Module fb: vendor=»X.Org Foundation»

[   969.878]    compiled for 1.18.2, module version = 1.0.0

[   969.878]    ABI class: X.Org ANSI C Emulation, version 0.4

[   969.878] (II) Loading sub module «wfb»

[   969.878] (II) LoadModule: «wfb»

[   969.879] (II) Loading /usr/lib64/xorg/modules/libwfb.so

[   969.879] (II) Module wfb: vendor=»X.Org Foundation»

[   969.879]    compiled for 1.18.2, module version = 1.0.0

[   969.879]    ABI class: X.Org ANSI C Emulation, version 0.4

[   969.879] (II) Loading sub module «ramdac»

[   969.879] (II) LoadModule: «ramdac»

[   969.879] (II) Module «ramdac» already built-in

[   969.879] (EE) Screen 0 deleted because of no matching config section.

[   969.879] (II) UnloadModule: «modesetting»

[   969.879] (II) NVIDIA(0): Creating default Display subsection in Screen section 

        «nvidia» for depth/fbbpp 24/32

[   969.879] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32

[   969.879] (==) NVIDIA(0): RGB weight 888

[   969.879] (==) NVIDIA(0): Default visual is TrueColor

[   969.879] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)

[   969.879] (**) NVIDIA(0): Option «AllowEmptyInitialConfiguration»

[   969.879] (**) NVIDIA(0): Option «RegistryDwords» «EnableBrightnessControl=1»

[   969.879] (**) NVIDIA(0): Enabling 2D acceleration

[   969.881] (—) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0

[   969.881] (—) NVIDIA(0):     DFP-0

[   969.881] (—) NVIDIA(0):     DFP-1

[   969.881] (—) NVIDIA(0): DFP-0: disconnected

[   969.881] (—) NVIDIA(0): DFP-0: Internal TMDS

[   969.881] (—) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock

[   969.881] (—) NVIDIA(0): 

[   969.881] (—) NVIDIA(0): DFP-1: disconnected

[   969.881] (—) NVIDIA(0): DFP-1: Internal DisplayPort

[   969.881] (—) NVIDIA(0): DFP-1: 960.0 MHz maximum pixel clock

[   969.881] (—) NVIDIA(0):

[   969.882] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)

[   969.882] (—) NVIDIA(0): Memory: 2097152 kBytes

[   969.882] (—) NVIDIA(0): VideoBIOS: 80.07.49.00.01

[   969.882] (II) NVIDIA(0): Detected PCI Express Link width: 16X

[   969.882] (==) NVIDIA(0):

[   969.882] (==) NVIDIA(0): No modes were requested; the default mode «nvidia-auto-select»

[   969.882] (==) NVIDIA(0):     will be used as the requested mode.

[   969.882] (==) NVIDIA(0):

[   969.882] (—) NVIDIA(0): No enabled display devices found; starting anyway because

[   969.882] (—) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled

[   969.883] (II) NVIDIA(0): Validated MetaModes:

[   969.883] (II) NVIDIA(0):     «NULL»

[   969.883] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480

[   969.883] (WW) NVIDIA(0): Unable to get display device for DPI computation.

[   969.883] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default

[   969.883] (—) Depth 24 pixmap format is 32 bpp

[   969.883] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory

[   969.883] (II) NVIDIA:     access.

[   969.887] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon

[   969.887] (II) NVIDIA(0):     may not be running or the «AcpidSocketPath» X

[   969.887] (II) NVIDIA(0):     configuration option may not be set correctly.  When the

[   969.887] (II) NVIDIA(0):     may not be running or the «AcpidSocketPath» X

[   969.887] (II) NVIDIA(0):     configuration option may not be set correctly.  When the

[   969.887] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will

[   969.887] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For

[   969.887] (II) NVIDIA(0):     details, please see the «ConnectToAcpid» and

[   969.887] (II) NVIDIA(0):     «AcpidSocketPath» X configuration options in Appendix B: X

[   969.887] (II) NVIDIA(0):     Config Options in the README.

[   969.912] (II) NVIDIA(0): Built-in logo is bigger than the screen.

[   969.912] (II) NVIDIA(0): Setting mode «NULL»

[   969.919] (==) NVIDIA(0): Disabling shared memory pixmaps

[   969.919] (==) NVIDIA(0): Backing store enabled

[   969.919] (==) NVIDIA(0): Silken mouse enabled

[   969.919] (==) NVIDIA(0): DPMS enabled

[   969.919] (II) Loading sub module «x11glvnd»

[   969.919] (II) LoadModule: «x11glvnd»

[   969.920] (WW) Warning, couldn’t open module x11glvnd

[   969.920] (II) UnloadModule: «x11glvnd»

[   969.920] (II) Unloading x11glvnd

[   969.920] (II) x11glvnd Loading

[   969.920] (II) Loading sub module «dri2»

[   969.920] (II) LoadModule: «dri2»

[   969.920] (II) Module «dri2» already built-in

[   969.920] (II) NVIDIA(0): [DRI2] Setup complete

[   969.920] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

[   969.920] (—) RandR disabled

[   969.920] (II) Initializing extension GLX

[   969.920] (II) Indirect GLX disabled.

[   970.056] (II) config/udev: Adding input device Power Button (/dev/input/event2)

[   970.056] (**) Power Button: Applying InputClass «evdev keyboard catchall»

[   970.056] (II) LoadModule: «evdev»

[   970.056] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so

[   970.056] (II) Module evdev: vendor=»X.Org Foundation»

[   970.056]    compiled for 1.18.2, module version = 2.10.1

[   970.056]    Module class: X.Org XInput Driver

[   970.056]    ABI class: X.Org XInput driver, version 22.1

[   970.056] (II) Using input driver ‘evdev’ for ‘Power Button’

[   970.056] (**) Power Button: always reports core events

[   970.056] (**) evdev: Power Button: Device: «/dev/input/event2»

[   970.056] (—) evdev: Power Button: Vendor 0 Product 0x1

[   970.056] (—) evdev: Power Button: Found keys

[   970.056] (II) evdev: Power Button: Configuring as keyboard

[   970.056] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2»

[   970.056] (II) XINPUT: Adding extended input device «Power Button» (type: KEYBOARD, id 6)

[   970.056] (**) Option «xkb_rules» «evdev»

[   970.057] (II) config/udev: Adding input device Video Bus (/dev/input/event4)

[   970.057] (**) Video Bus: Applying InputClass «evdev keyboard catchall»

[   970.057] (II) Using input driver ‘evdev’ for ‘Video Bus’

[   970.057] (**) Video Bus: always reports core events

[   970.057] (**) evdev: Video Bus: Device: «/dev/input/event4»

[   970.057] (—) evdev: Video Bus: Vendor 0 Product 0x6

[   970.057] (—) evdev: Video Bus: Found keys

[   970.057] (II) evdev: Video Bus: Configuring as keyboard

[   970.057] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input4/event4»

[   970.057] (II) XINPUT: Adding extended input device «Video Bus» (type: KEYBOARD, id 7)

[   970.057] (**) Option «xkb_rules» «evdev»

[   970.058] (II) config/udev: Adding input device Power Button (/dev/input/event0)

[   970.058] (**) Power Button: Applying InputClass «evdev keyboard catchall»

[   970.058] (II) Using input driver ‘evdev’ for ‘Power Button’

[   970.058] (**) Power Button: always reports core events

[   970.058] (**) evdev: Power Button: Device: «/dev/input/event0»

[   970.058] (—) evdev: Power Button: Vendor 0 Product 0x1

[   970.058] (—) evdev: Power Button: Found keys

[   970.058] (II) evdev: Power Button: Configuring as keyboard

[   970.058] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input0/event0»

[   970.058] (II) XINPUT: Adding extended input device «Power Button» (type: KEYBOARD, id 8)

[   970.058] (**) Option «xkb_rules» «evdev»

[   970.058] (II) config/udev: Adding input device Video Bus (/dev/input/event3)

[   970.058] (**) Video Bus: Applying InputClass «evdev keyboard catchall»

[   970.058] (II) Using input driver ‘evdev’ for ‘Video Bus’

[   970.058] (**) Video Bus: always reports core events

[   970.058] (**) evdev: Video Bus: Device: «/dev/input/event3»

[   970.058] (—) evdev: Video Bus: Vendor 0 Product 0x6

[   970.058] (—) evdev: Video Bus: Found keys

[   970.058] (II) evdev: Video Bus: Configuring as keyboard

[   970.058] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:3a/LNXVIDEO:00/input/input3/event3»

[   970.058] (II) XINPUT: Adding extended input device «Video Bus» (type: KEYBOARD, id 9)

[   970.058] (**) Option «xkb_rules» «evdev»

[   970.059] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)   

[   970.059] (II) No input driver specified, ignoring this device.

[   970.059] (II) This device may have been added with another device file.

[   970.059] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)

[   970.059] (II) No input driver specified, ignoring this device.

[   970.059] (II) This device may have been added with another device file.

[   970.060] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event7)

[   970.060] (**) Logitech USB Optical Mouse: Applying InputClass «evdev pointer catchall»

[   970.060] (II) Using input driver ‘evdev’ for ‘Logitech USB Optical Mouse’

[   970.060] (**) Logitech USB Optical Mouse: always reports core events

[   970.060] (**) evdev: Logitech USB Optical Mouse: Device: «/dev/input/event7»

[   970.060] (—) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc077

[   970.060] (—) evdev: Logitech USB Optical Mouse: Found 12 mouse buttons

[   970.060] (—) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)

[   970.060] (—) evdev: Logitech USB Optical Mouse: Found relative axes

[   970.060] (—) evdev: Logitech USB Optical Mouse: Found x and y relative axes

[   970.060] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse

[   970.060] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support

[   970.060] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5 

[   970.060] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

[   970.060] (**) Option «config_info» «udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:046D:C077.0003/input/input17/event7»

[   970.060] (II) XINPUT: Adding extended input device «Logitech USB Optical Mouse» (type: MOUSE, id 10)

[   970.060] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.

[   970.060] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1

[   970.060] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0

[   970.060] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000

[   970.060] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4

[   970.061] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse1)

[   970.061] (II) No input driver specified, ignoring this device.

[   970.061] (II) This device may have been added with another device file.

[   970.061] (II) config/udev: Adding input device Laptop_Integrated_Webcam_HD (/dev/input/event10)

[   970.061] (**) Laptop_Integrated_Webcam_HD: Applying InputClass «evdev keyboard catchall»

[   970.061] (II) Using input driver ‘evdev’ for ‘Laptop_Integrated_Webcam_HD’

[   970.061] (**) Laptop_Integrated_Webcam_HD: always reports core events

[   970.061] (**) evdev: Laptop_Integrated_Webcam_HD: Device: «/dev/input/event10»

[   970.061] (—) evdev: Laptop_Integrated_Webcam_HD: Vendor 0x64e Product 0x8128

[   970.061] (—) evdev: Laptop_Integrated_Webcam_HD: Found keys

[   970.061] (II) evdev: Laptop_Integrated_Webcam_HD: Configuring as keyboard

[   970.061] (**) Option «config_info» «udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input11/event10»

[   970.061] (II) XINPUT: Adding extended input device «Laptop_Integrated_Webcam_HD» (type: KEYBOARD, id 11)

[   970.061] (**) Option «xkb_rules» «evdev»

[   970.062] (II) config/udev: Adding input device HDA Intel PCH Front Line Out (/dev/input/event12)

[   970.062] (II) No input driver specified, ignoring this device.

[   970.062] (II) This device may have been added with another device file.

[   970.062] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event13)

[   970.062] (II) No input driver specified, ignoring this device.

[   970.062] (II) This device may have been added with another device file.

[   970.062] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event14)

[   970.062] (II) No input driver specified, ignoring this device.

[   970.062] (II) This device may have been added with another device file.

[   970.063] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)

[   970.063] (II) No input driver specified, ignoring this device.

[   970.063] (II) This device may have been added with another device file.

[   970.063] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)

[   970.063] (**) AT Translated Set 2 keyboard: Applying InputClass «evdev keyboard catchall»

[   970.063] (II) Using input driver ‘evdev’ for ‘AT Translated Set 2 keyboard’

[   970.063] (**) AT Translated Set 2 keyboard: always reports core events

[   970.063] (**) evdev: AT Translated Set 2 keyboard: Device: «/dev/input/event5»

[   970.063] (—) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1

[   970.063] (—) evdev: AT Translated Set 2 keyboard: Found keys

[   970.063] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard

[   970.063] (**) Option «config_info» «udev:/sys/devices/platform/i8042/serio0/input/input5/event5»

[   970.063] (II) XINPUT: Adding extended input device «AT Translated Set 2 keyboard» (type: KEYBOARD, id 12)

[   970.063] (**) Option «xkb_rules» «evdev»

[   970.063] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)

[   970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «evdev touchpad catchall»

[   970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «evdev touchscreen catchall»

[   970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «touchpad catchall»

[   970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «Default clickpad buttons»

[   970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «touchpad catchall»

[   970.064] (II) LoadModule: «synaptics»

[   970.064] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so

[   970.064] (II) Module synaptics: vendor=»X.Org Foundation»

[   970.064]    compiled for 1.18.2, module version = 1.8.3

[   970.064]    Module class: X.Org XInput Driver

[   970.064]    ABI class: X.Org XInput driver, version 22.1

[   970.064] (II) Using input driver ‘synaptics’ for ‘SynPS/2 Synaptics TouchPad’

[   970.064] (**) SynPS/2 Synaptics TouchPad: always reports core events

[   970.064] (**) Option «Device» «/dev/input/event6»

[   970.088] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 — 5782 (res 57)

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 — 4972 (res 96)

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 — 255

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 — 15

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7

[   970.088] (**) Option «VertScrollDelta» «-111»

[   970.088] (**) Option «HorizScrollDelta» «-111»

[   970.088] (**) Option «VertEdgeScroll» «on»

[   970.088] (**) Option «TapButton1» «3»

[   970.088] (**) Option «TapButton2» «1»

[   970.088] (**) Option «CircularScrolling» «on»

[   970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

[   970.088] (**) SynPS/2 Synaptics TouchPad: always reports core events

[   970.100] (**) Option «config_info» «udev:/sys/devices/platform/i8042/serio1/input/input7/event6»

[   970.100] (II) XINPUT: Adding extended input device «SynPS/2 Synaptics TouchPad» (type: TOUCHPAD, id 13)

[   970.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5

[   970.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75

[   970.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.036

[   970.100] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1

[   970.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1

[   970.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000

[   970.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4

[   970.100] (—) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

[   970.100] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)

[   970.100] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass «touchpad ignore duplicates»

[   970.101] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event9)

[   970.101] (**) Dell WMI hotkeys: Applying InputClass «evdev keyboard catchall»

[   970.101] (II) Using input driver ‘evdev’ for ‘Dell WMI hotkeys’

[   970.101] (**) Dell WMI hotkeys: always reports core events

[   970.101] (**) evdev: Dell WMI hotkeys: Device: «/dev/input/event9»

[   970.101] (—) evdev: Dell WMI hotkeys: Vendor 0 Product 0

[   970.101] (—) evdev: Dell WMI hotkeys: Found keys

[   970.101] (II) evdev: Dell WMI hotkeys: Configuring as keyboard

[   970.101] (**) Option «config_info» «udev:/sys/devices/virtual/input/input10/event9»

[   970.101] (II) XINPUT: Adding extended input device «Dell WMI hotkeys» (type: KEYBOARD, id 14)

[   970.101] (**) Option «xkb_rules» «evdev»

[  1006.126] (II) evdev: Dell WMI hotkeys: Close

[  1006.126] (II) UnloadModule: «evdev»

[  1006.126] (II) UnloadModule: «synaptics»

[  1006.127] (II) evdev: AT Translated Set 2 keyboard: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.127] (II) evdev: Laptop_Integrated_Webcam_HD: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.127] (II) evdev: Logitech USB Optical Mouse: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.127] (II) evdev: Video Bus: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.127] (II) evdev: Power Button: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.127] (II) evdev: Video Bus: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.127] (II) evdev: Power Button: Close

[  1006.127] (II) UnloadModule: «evdev»

[  1006.130] (II) NVIDIA(GPU-0): Deleting GPU-0

[  1006.133] (II) Server terminated successfully (0). Closing log file.



Code:



[   969.874] (II) NVIDIA dlloader X Driver  364.12  Wed Mar 16 20:16:45 PDT 2016

[   969.874] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

[   969.874] (—) using VT number 8



and there is some problem i can’t understand:

Code:



[   969.879] (EE) Screen 0 deleted because of no matching config section.




what is the ‘Screen 0’? is that means i confugure it in somewhere out xorg.conf?

and:

Code:



[   969.883] (WW) NVIDIA(0): Unable to get display device for DPI computation.


Back to top

View user's profile Send private message

Maxxx
Guru
Guru

Joined: 12 Jan 2016
Posts: 593
Location: Italia

PostPosted: Thu Mar 31, 2016 7:44 am    Post subject: Reply with quote

In my xorg.conf, at «Screen» section, there is:

Identifier «Screen0»

Device «Device0»

Monitor «Monitor0»

In your xorg.conf there are 2 «screen» sections without Screen0… instead there is «nvidia», but nvidia must be in «Device» section.

In your previous xorg.conf, the one created by nvidia-xconfig, there was «Screen0» correctly.

Screen0 is the default screen for X11 and if you miss it in xorg.conf i think it don’t work.

I think that now your problem is this.

Back to top

View user's profile Send private message

NeddySeagoon
Administrator
Administrator

Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W

PostPosted: Thu Mar 31, 2016 5:32 pm    Post subject: Reply with quote

se ven,

In each section of xorg.conf is a line

Code:
Identifier «[string]»



Often its the only mandatory field in a section.

There are a few rules to follow to keep Xorg happy

All the sections of the same type must have unique

Code:
Identifier «[string]»

entries.

This is how Xorg tells multiple sections of the same type apart.

You can reuse

Code:
Identifier «[string]»

entries in different section types if you like but it will make your head hurt.

For your own sanity make all the

Code:
Identifier «[string]»

entries unique.

Xorg builds your X-server by starting with the

Code:
Section «ServerLayout»

part.

In your case it says to use a Screen section with Identifer «nvidia» and to input devices with section names «Mouse0» and «Keyboard0»

If these section call up other sections the entire list will be traversed.

Code:
Inactive «intel»

look like a bad option.

If your Intel graphics is inactive you will get nothing on the display. Its the only graphics you have that can transfer the image to the screen.

Walk the sections by hand to see what will be used in your X Server.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-

those that do backups

those that have never had a hard drive fail.

Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

You may come across the Fatal server error: No screen found Xorg error, unable to connect to X server: connection refused – No devices detected when executing the startx command in FreeBSD.

In this troubleshooting guide, I will show you how to fix this Xorg issue. The No screen found (ee) error looks like this:

How To Fix No Screen Found Xorg Error On FreeBSD. Source: nudesystems.com

The No screen found (EE) error is mainly caused by the X server [Xorg] being confused about which GPU should use as a primary, especially when your system is equipped with more than one discrete GPU.

The issue is easily fixed by adding the correct BusID in the xorg.conf for the discrete GPU that has your display connected.

I recently experienced this issue when installing FreeBSD with XFCE and NVIDIA proprietary drivers on bare metal on a system with dual-GPU [2x Gigabyte GTX 1070 graphics cards].

Here is how to fix the No screens found (EE) – unable to connect to X server error in a few simple steps:

  1. Log in as root user on FreeBSD. 
  2. Find the BusID for the primary GPU

List the graphics cards in your system by using the following command and take note of the VGA PCI Bus IDs.

pciconfig -l | grep VGA
How To Fix No Screen Found Xorg Error On FreeBSD - List Bus IDs. Source: nudesystems.com

Where [in my system]: 

pci0:0:2:0 is the built-in GPU

pci0:1:0:0 is the 1st discrete GPU [PCI slot closest to the CPU]

pci0:2:0:0 is the 2st discrete GPU

Your PCI IDs might look slightly different but you’ll get the point in a moment. 

Take note of the PCI ID [pci0:x:x:x:x] for the GPU that has your display connected. In my case, this is the pci0:1:0:0. 

If you don’t know which PCI slot has your primary GPU connected to the display, inspect your computer ports behind and check where, e.g., the HDMI cable is inserted.

Alternatively, you can find the PCI slot configured for the primary GPU in the BIOS settings for some motherboards [e.g., Gigabyte].

  1. Fix the No screen found Xorg error in xorg.conf 

Start by editing the xorg.conf file using the following command:

ee /etc/X11/xorg.conf

NOTE: The xorg.conf file should be generated automatically when installing your GPU drivers. If your xorg.conf is empty, most likely the automatic process failed to generate the file. On NVIDIA, use the nvidia-xconfig command to generate the xorg.conf file. You need to install nvidia-xconfig first [pkg install nvidia-xonfig].

Look for the Section “Device” and add the following line:

BusID        “PCI:<the Bus ID for the GPU connected to your display>

How To Fix No Screen Found Xorg Error On FreeBSD - Edit xorg.conf. Source: nudesystems.com

IMPORTANT: the PCI bus should NOT include the domain ID, e.g., PCI0:x:x:x

Save the xorg.conf file by pressing ESC, then press twice the “a” key to save and exit the file. 

  1. Gracefully reboot the system
shutdown -r now 
  1. Test the X server on FreeBSD

Upon rebooting FreeBSD, log in as root user. Issue the following command to test if the X server detects and use the correct GPU:

startx
How To Fix No Screen Found Xorg Error On FreeBSD - startx. Source: nudesystems.com

The X server is up and running. Now you’re ready to go one step further and install your favorite Desktop Environment or Window Manager on FreeBSD. I’ll keep my system like this as the old-school look is growing on me.

TIP: You can return back to the shell by pressing CTRL+ALT+F2 if needed. You can also get back to X by pressing CTRL+ALT+F9.

There you go! This is how you fix the Fatal server error: No screen found (EE) – unable to connect to X server: connection refused [No devices detected] on FreeBSD. Here you can find more information on how to configure Xorg on FreeBSD.

I hope you found this troubleshooting guide useful. If so, do me a favor and share it online with your friends and colleagues. This way we can give FreeBSD the attention it deserves.

Stay safe!

Leonard Cucos

Leonard Cucos is an engineer with over 20 years of IT/Telco experience managing large UNIX/Linux-based server infrastructures, IP and Optics core networks, Information Security [red/blue], Data Science, and FinTech.

I opened an ubuntu virtual machine on gcloud and tried to install GUI(window-user interface) I installed Xfce with

 apt-get install xfce4

command. But
i get

no screens found(EE)

error.I tried «gnome» «KDE» but same result and i don’t know why. I searched online and tried everyway as ı know but no success.

The full error is

current Operating System: Linux instance-5 4.13.0-1008-gcp #11-Ubuntu
SMP Thu Jan 25 11:08:44 UTC 2018 x86_64 Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-4.13.0-1008-gcp
root=UUID=b6adc449-5e3d-4331-ba6b-6e99a75fa48e ro
scsi_mod.use_blk_mq=Y console=ttyS0 Build Date: 13 October 2017
01:57:05PM xorg-server 2:1.18.4-0ubuntu0.7 (For technical support
please see http://www.ubuntu.com/support) Current version of pixman:
0.33.6
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: Tue Jan 30 12:24:29 2018
(==) Using system config directory «/usr/share/X11/xorg.conf.d» (EE)
Fatal server error: (EE) no screens found(EE)

Why i am getting this error? Is this because of gcloud servers or something else?
Please help.

Zachary Newman's user avatar

asked Jan 30, 2018 at 12:36

rmznbyk 1's user avatar

At present there is no GPU installed on any of the VMs and having a graphical desktop on them is not so straight forward. There is a GPU feature request which you can follow by pressing on the star on Public Issue Tracker (PIT) link.

To be able to have and use a graphical desktop you can configure VNC remote access for your VM as described in the URL links 2 and/or 3.

Keep in mind that although above link 2 or 3 steps seem to have succeeded, these are third-party websites containing information that isn’t provided by Google and its contents cannot be guaranteed. Also since there is no GPU installed, this installation might fail for high resolution desktop.

answered Feb 2, 2018 at 11:04

JMD's user avatar

JMDJMD

5902 silver badges8 bronze badges

Содержание

  1. Arch Linux
  2. #1 2020-10-19 18:44:04
  3. [SOLVED][X11 config] (EE) no screens found(EE)
  4. #2 2020-10-19 18:47:50
  5. Re: [SOLVED][X11 config] (EE) no screens found(EE)
  6. #3 2020-10-19 19:52:48
  7. Re: [SOLVED][X11 config] (EE) no screens found(EE)
  8. #4 2020-10-19 21:07:35
  9. Re: [SOLVED][X11 config] (EE) no screens found(EE)
  10. #5 2020-10-19 23:21:51
  11. Re: [SOLVED][X11 config] (EE) no screens found(EE)
  12. Не запускаются иксы
  13. Ee fatal server error ee no screens found ee

Arch Linux

You are not logged in.

#1 2020-10-19 18:44:04

[SOLVED][X11 config] (EE) no screens found(EE)

I tried to my own X11 configuration file. I have an Nvidia card on which are connected three monitors (a VGA, a DVI and a HDMI). For now, I just consider the monitor connected to VGA. So I created /etc/X11/xorg.conf.d/50-video.conf:

However, when I try to start X (with startx) it fails with `(EE) no screens found(EE)`. The logs are:

I defined a screen section so what is my mistake?

Last edited by orbarq (2020-10-21 09:10:12)

#2 2020-10-19 18:47:50

Re: [SOLVED][X11 config] (EE) no screens found(EE)

Why do you need an xorg.conf?

No, it didn’t «fix» anything. It just shifted the brokeness one space to the right. — jasonwryan
Closing — for deletion; Banning — for muppetry. — jasonwryan

#3 2020-10-19 19:52:48

Re: [SOLVED][X11 config] (EE) no screens found(EE)

As for why it fails, look at the first error message in the log.
But a static server config is rarely needed or a good idea.

Online

#4 2020-10-19 21:07:35

Re: [SOLVED][X11 config] (EE) no screens found(EE)

xorg seems to start with Driver «modesetting».

EDIT: I forgot to install xf86-video-nouveau. Now, I have the same behaviour than with «modesetting» driver:

Actually, each time I start X, I need to fix where my screens are:

So I would like to have this configuration permanently and this is the reason I try to make a xorg.conf (and also to learn how it works).

Now I tried this:

But it doesn’t work. I got things like

so I guess it is related to my problem (probably not an option of the driver)

Last edited by orbarq (2020-10-19 21:17:56)

#5 2020-10-19 23:21:51

Re: [SOLVED][X11 config] (EE) no screens found(EE)

Monitor assignments are dynamic and can hange when monitors are plugged in, powered on/off etc.
You can’t deal with dynamic assignments in a static conf-file .

The solution is to execute the xrandr commands in an xinit or xprofile startup file.
See https://wiki.archlinux.org/index.php/Au … rg_startup

Last edited by Lone_Wolf (2020-10-19 23:22:49)

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

(A works at time B) && (time C > time B ) ≠ (A works at time C)

Источник

Не запускаются иксы

Пытаюсь запустить игру в отдельном х-сервере, не стартуют.

Но гугление не дало результатов. Использую Intel вместо видеокарты.

от юзера пускаешь?

[ 12402.121] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

Хм. Что значит, что ты пускаешь от юзера? Как ты пускаешь и что именно?

Так, ок. Проверь, есть ли модуль ядра и загружен ли он:

Далее покажи права на /usr/bin/X:

lsmod | grep intel

Так, похоже, что у тебя нет модуля ядра. На всякий случай покажи весь вывод lsmod без grep.

lrwxrwxrwx. 1 root root 4 Дек 10 02:39 /usr/bin/X -> Xorg

ls -l /usr/bin/Xorg

Как это нету модуля ядра?! — Кроме как с запуском отдельного Х-сервера, претензий не имею к видеодрайверам.

О, а вот тут есть i915

-rwxr-xr-x. 1 root root 281 Дек 10 02:39 /usr/bin/Xorg

Вот по идее он должен быть с suid битом. По крайней мере в Debian так.

Х сервер теперь может запускаться из-под пользователя, благодаря systemd-logind, это означает, что он должен запускаться из того же терминала, который был использован для входа. Переадресация stderr препятствует этому. Старое поведение можно восстановить с помощью файла Xorg.wrap (см. man xorg.wrap). Имейте ввиду, что запуск Х сервера через login-manager пока производится по-старинке от рута.

После обновления выяснилось, что в этом режиме можно запустить только одну сессию иксов одновременно. Попытка запуска следующей без закрытия предыдущей (независимо от номера консоли и значения DISPLAY) проваливается из-за какого-то бардака с правами на доступ к устройству TTY, которое принадлежит сначала пользователю, в процессе запуска иксов меняет владельца на рут, а потом обратно.

Я помню, при самом первой попытке запуска отдельного Х, иксы ругались, что нужно поправить значение в /etc/X11/Xwrapper.config , что я и сделал (изменил allowed_users=anybody благодаря гуглежу).

Теперь вот пришел сюда с этой проблемой, уже новой.

Попробуй поменять права на Xorg: # chmod 4755 /usr/bin/Xorg Должно стать: -rwsr-xr-x. 1 root root /usr/bin/Xorg

Источник

Ee fatal server error ee no screens found ee

and my lspci gives my video card lists below:

Код:
.
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Dell 7 Series/C210 Series Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)
Subsystem: Dell GK107M [GeForce GT 650M]
01:00.1 Unassigned class [ffff]: NVIDIA Corporation GK107 HDMI Audio Controller (rev ff)
07:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
Subsystem: Dell AR8151 v2.0 Gigabit Ethernet
.
Код:
# cat /var/log/Xorg.0.log
[ 2787.185]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[ 2787.185] X Protocol Version 11, Revision 0
[ 2787.186] Build Operating System: Linux 4.5.0-gentoo x86_64 Gentoo
[ 2787.186] Current Operating System: Linux se_ven 4.5.0-gentoo #1 SMP Wed Mar 23 15:00:18 CST 2016 x86_64
[ 2787.186] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.5.0-gentoo root=/dev/sda9
[ 2787.187] Build Date: 21 March 2016 07:51:12PM
[ 2787.187]
[ 2787.187] Current version of pixman: 0.34.0
[ 2787.188] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2787.188] Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2787.190] (==) Log file: «/var/log/Xorg.0.log», Time: Thu Mar 24 09:35:23 2016
[ 2787.191] (==) Using config file: «/etc/X11/xorg.conf»
[ 2787.191] (==) Using config directory: «/etc/X11/xorg.conf.d»
[ 2787.192] (==) Using system config directory «/usr/share/X11/xorg.conf.d»
[ 2787.192] (==) ServerLayout «Layout0»
[ 2787.192] (**) |—>Screen «Screen0» (0)
[ 2787.192] (**) | |—>Monitor «Monitor0»
[ 2787.192] (**) | |—>Device «Device0»
[ 2787.192] (**) | |—>GPUDevice «nvidia»
[ 2787.192] (**) | |—>GPUDevice «Device0»
[ 2787.192] (**) |—>Input Device «Keyboard0»
[ 2787.192] (**) |—>Input Device «Mouse0»
[ 2787.192] (==) Automatically adding devices
[ 2787.192] (==) Automatically enabling devices
[ 2787.192] (==) Automatically adding GPU devices
[ 2787.192] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2787.192] (==) 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/
[ 2787.192] (**) ModulePath set to «/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules»
[ 2787.192] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
[ 2787.192] (WW) Disabling Keyboard0
[ 2787.192] (WW) Disabling Mouse0
[ 2787.192] (II) Loader magic: 0x812c60
[ 2787.192] (II) Module ABI versions:
[ 2787.192] X.Org ANSI C Emulation: 0.4
[ 2787.192] X.Org Video Driver: 20.0
[ 2787.192] X.Org XInput driver : 22.1
[ 2787.192] X.Org Server Extension : 9.0
[ 2787.193] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64
[ 2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x. /524288
[ 2787.195] (II) LoadModule: «glx»
[ 2787.195] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 2787.198] (II) Module glx: vendor=»NVIDIA Corporation»
[ 2787.198] compiled for 4.0.2, module version = 1.0.0
[ 2787.198] Module class: X.Org Server Extension
[ 2787.198] (II) NVIDIA GLX Module 364.12 Wed Mar 16 20:39:46 PDT 2016
[ 2787.198] (II) LoadModule: «nvidia»
[ 2787.198] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 2787.198] (II) Module nvidia: vendor=»NVIDIA Corporation»
[ 2787.198] compiled for 4.0.2, module version = 1.0.0
[ 2787.198] Module class: X.Org Video Driver
[ 2787.198] (II) NVIDIA dlloader X Driver 364.12 Wed Mar 16 20:16:45 PDT 2016
[ 2787.198] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2787.198] (—) using VT number 7

[ 2787.202] (EE) No devices detected.
[ 2787.202] (EE)
Fatal server error:
[ 2787.202] (EE) no screens found(EE)
[ 2787.202] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2787.202] (EE) Please also check the log file at «/var/log/Xorg.0.log» for additional information.
[ 2787.202] (EE)

and emerge —info:

Код:
# emerge —info
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-5.3.0, glibc-2.22-r2, 3.13.0-83-generic x86_64)
=================================================================
System uname: Linux-3.13.0-83-generic-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem: 16313748 total, 5404488 free
KiB Swap: 4000764 total, 4000764 free
Timestamp of repository gentoo: Tue, 22 Mar 2016 07:15:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r2::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.22.1::gentoo
dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake: 3.5.0::gentoo
dev-util/pkgconfig: 0.29.1::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.20.5::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 5.3.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc: 2.22-r2::gentoo
.
ACCEPT_KEYWORDS=»amd64

amd64″
ACCEPT_LICENSE=»*»
CBUILD=»x86_64-pc-linux-gnu»
CFLAGS=»-march=native -O2 -pipe»
CHOST=»x86_64-pc-linux-gnu»
CONFIG_PROTECT=»/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt»
CONFIG_PROTECT_MASK=»/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo»
CXXFLAGS=»-march=native -O2 -pipe»
DISTDIR=»/usr/portage/distfiles»
EMERGE_DEFAULT_OPTS=»—jobs=9 —load-average=8″
FCFLAGS=»-O2 -pipe»
FEATURES=»assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr»
FFLAGS=»-O2 -pipe»
GENTOO_MIRRORS=»http://mirrors.163.com/gentoo/»
LANG=»zh_CN.UTF-8″
LDFLAGS=»-Wl,-O1 -Wl,—as-needed»
MAKEOPTS=»-j9 -l8″
PKGDIR=»/usr/portage/packages»
PORTAGE_CONFIGROOT=»/»
PORTAGE_RSYNC_OPTS=»—recursive —links —safe-links —perms —times —omit-dir-times —compress —force —whole-file —delete —stats —human-readable —timeout=180 —exclude=/distfiles —exclude=/local —exclude=/packages —exclude=/.git»
PORTAGE_TMPDIR=»/var/tmp»
USE=»X a52 aac acl acpi alsa amd64 avahi ayatana berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac foomatic fortran freerdp gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify m17n-lib mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcmcia pcre pdf perl phonon plasma png policykit postscript ppds qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 ssh ssl startup-notification static-libs svg tcpd telepathy tiff truetype udev udisks unicode upower usb vorbis vte wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib» ABI_X86=»64″ ALSA_CARDS=»ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci» APACHE2_MODULES=»authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias» CALLIGRA_FEATURES=»kexi words flow plan sheets stage tables krita karbon braindump author» CAMERAS=»ptp2″ COLLECTD_PLUGINS=»df interface irq load memory rrdtool swap syslog» CPU_FLAGS_X86=»mmx mmxext sse sse2″ ELIBC=»glibc» GPSD_PROTOCOLS=»ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx» INPUT_DEVICES=»evdev keyboard mouse synaptics» KERNEL=»linux» LCD_DEVICES=»bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text» LIBREOFFICE_EXTENSIONS=»presenter-console presenter-minimizer» OFFICE_IMPLEMENTATION=»libreoffice» PHP_TARGETS=»php5-5″ PYTHON_SINGLE_TARGET=»python2_7″ PYTHON_TARGETS=»python2_7 python3_4″ RUBY_TARGETS=»ruby20 ruby21″ USERLAND=»GNU» VIDEO_CARDS=»nvidia intel» XTABLES_ADDONS=»quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account»
Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

and my xorg.conf is use

as wiki saidhttps://wiki.gentoo.org/wiki/NVidia/nvidia-drivers:

Код:
# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 364.12 (buildmeister@swio-display-x64-rhel04-01) Wed Mar 16 21:56:36 PDT 2016

Section «ServerLayout»
Identifier «Layout0»
Screen 0 «Screen0» 0 0
InputDevice «Keyboard0» «CoreKeyboard»
InputDevice «Mouse0» «CorePointer»
EndSection

Section «Files»
EndSection

# generated from data in «/etc/conf.d/gpm»
Identifier «Mouse0»
Driver «mouse»
Option «Protocol»
Option «Device» «/dev/input/mice»
Option «Emulate3Buttons» «no»
Option «ZAxisMapping» «4 5»
EndSection

# generated from default
Identifier «Keyboard0»
Driver «kbd»
EndSection

Section «Monitor»
Identifier «Monitor0»
VendorName «Unknown»
ModelName «Unknown»
HorizSync 28.0 — 33.0
VertRefresh 43.0 — 72.0
Option «DPMS»
EndSection

Section «Device»
Identifier «Device0»
Driver «nvidia»
VendorName «NVIDIA Corporation»
EndSection

Section «Screen»
Identifier «Screen0»
Device «Device0»
Monitor «Monitor0»
DefaultDepth 24
SubSection «Display»
Depth 24
EndSubSection
EndSection

and im search in the forums and wiki more and more time but not fine, so i put this.

bytheway, why it has double

Код:
setlocale: unsupported locale setting

when im try

PS: i’m using chroot to check my gentoo config.

any help appreciate.

Последний раз редактировалось: se ven (вт апр 12, 2016 11:36 am), всего редактировалось 1 раз

Вернуться к началу

Maxxx
Guru

Зарегистрирован: 12 янв 2016
Сообщений: 593
Откуда: Italia

Добавлено: чт мар 24, 2016 8:29 am Заголовок сообщения:
I think that your problem is Nvidia driver. your Geforce GT 650m need 340.93 version, but you installed 364.12 version.

http://www.nvidia.com/Download/driverResults.aspx/91217/en-us

Вернуться к началу

davidm
Guru

Зарегистрирован: 26 апр 2009
Сообщений: 557
Откуда: US

Добавлено: чт мар 24, 2016 12:15 pm Заголовок сообщения:
Maxxx писал(а):
I think that your problem is Nvidia driver. your Geforce GT 650m need 340.93 version, but you installed 364.12 version.

I could be mistaken but it seems to list GeForce 650M as supported by the beta driver:

Цитата:
GeForce 600M Series (Notebooks):

GeForce GTX 680MX, GeForce GTX 680M, GeForce GTX 675MX, GeForce GTX 675M, GeForce GTX 670MX, GeForce GTX 670M, GeForce GTX 660M, GeForce GT 650M, GeForce GT 645M, GeForce GT 640M, GeForce GT 640M LE, GeForce GT 635M, GeForce GT 630M, GeForce GT 625M, GeForce GT 620M, GeForce 610M

I also had an issue with sddm not starting on my GeForce GT 730 and downgrading the Nvidia driver resolved it for me. So it appears there may be some sort of issue.

https://forums.gentoo.org/viewtopic-t-1041184.html

Вернуться к началу
Maxxx
Guru

Зарегистрирован: 12 янв 2016
Сообщений: 593
Откуда: Italia

Добавлено: чт мар 24, 2016 1:22 pm Заголовок сообщения:
Цитата:
I also had an issue with sddm not starting on my GeForce GT 730 and downgrading the Nvidia driver resolved it for me. So it appears there may be some sort of issue.

Yes. it could be

For first thing i would try with oldest nvidia driver

Вернуться к началу
Buffoon
Veteran

Зарегистрирован: 17 июн 2015
Сообщений: 1369
Откуда: EU or US

Добавлено: чт мар 24, 2016 2:27 pm Заголовок сообщения:
Probably there is some framebuffer enabled in kernel that grabs the device and the nvidia driver is unable to load.
Вернуться к началу
Maxxx
Guru

Зарегистрирован: 12 янв 2016
Сообщений: 593
Откуда: Italia

Добавлено: чт мар 24, 2016 2:48 pm Заголовок сообщения:
Yes, he should enable framebuffer in kernel menu, but not in submenu concerning nvidia framebuffer (these must be removed all).
I had do so, and in my case it works.
Вернуться к началу
NeddySeagoon
Administrator

Зарегистрирован: 05 июл 2003
Сообщений: 51836
Откуда: 56N 3W

Добавлено: чт мар 24, 2016 10:15 pm Заголовок сообщения:
se ven,

Код:
[ 2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64
[ 2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432,

Intel and nVidia graphics . that’s the Optimus warning sign.

Also

Код:
[ 2787.198] (II) NVIDIA dlloader X Driver 364.12 Wed Mar 16 20:16:45 PDT 2016
[ 2787.198] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2787.198] (—) using VT number 7

[ 2787.202] (EE) No devices detected.

may mean that your nVidia chipset is not supported by driver version 364.12.
I didn’t ask google though.
_________________
Regards,

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

Вернуться к началу
se ven
n00b

Зарегистрирован: 22 фев 2016
Сообщений: 18

Добавлено: пт мар 25, 2016 3:29 am Заголовок сообщения:
First, thanks for everyone.

Maxxx писал(а):
Yes, he should enable framebuffer in kernel menu, but not in submenu concerning nvidia framebuffer (these must be removed all).

I had do so, and in my case it works.

yes. i enable framebuffer in `Frame Buffer Devices` and Disable all drivers, including Intel, nVidia, ATI in it;

Maxxx писал(а):
I think that your problem is Nvidia driver. your Geforce GT 650m need 340.93 version, but you installed 364.12 version.

Код:
[ 2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64
[ 2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432,

Intel and nVidia graphics . that’s the Optimus warning sign.

Er. iv just know it ‘probed’ my double graphics, one Intel and one nVidia which both in my PC, is that an Error? and what’s the deeper meaning about it?

And, as everyone said im try install 340.93 version, but unfotunately, a new issue throw. «Unable to build the NVIDIA kernel module.»

and i don’t know what that means. may means this version is not fully compatible with my kernel? anyway im searching it now.

Код:
Kernel source path: ‘/usr/src/linux’
Kernel output path: ‘/usr/src/linux’
Performing rivafb check.
Performing nvidiafb check.
Performing Xen check.
Performing PREEMPT_RT check.
Cleaning kernel module build directory.
Building NVIDIA kernel module:
Building: [##############################] 100%

ERROR: Unable to build the NVIDIA kernel module.

ERROR: Installation has failed. Please see the file
‘/var/log/nvidia-installer.log’ for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.

and my nvidia-installer.log look like this:

Код:
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Mar 25 10:16:07 2016
installer version: 340.93

nvidia-installer command line:
./nvidia-installer

Unable to load: nvidia-installer ncurses user interface

Using built-in stream user interface
-> License accepted.
-> Installing NVIDIA driver version 340.93.
-> Performing CC sanity check with CC=»/usr/bin/cc».
-> Kernel source path: ‘/lib/modules/4.5.0-gentoo/source’
-> Kernel output path: ‘/lib/modules/4.5.0-gentoo/build’
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make clean’.
-> Building NVIDIA kernel module:
executing: ‘cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.5.0-gentoo/source SYSOUT=/lib/modules/4.5.0-gentoo/build NV_BUILD_MODULE_INSTANCES=’.
NVIDIA: calling KBUILD.
make[1]: Entering directory ‘/usr/src/linux-4.5.0-gentoo’
/usr/bin/make -C /lib/modules/4.5.0-gentoo/build KBUILD_SRC=/usr/src/linux-4.5.0-gentoo
-f /usr/src/linux-4.5.0-gentoo/Makefile modules
make[2]: Entering directory ‘/usr/src/linux-4.5.0-gentoo’
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 » ERROR: Kernel configuration is invalid.»;
echo >&2 » include/generated/autoconf.h or include/config/auto.conf are missing.»;
echo >&2 » Run ‘make oldconfig && make prepare’ on kernel src to fix it.»;
echo >&2 ;
/bin/false)
mkdir -p /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_versions ; rm -f /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_versions/*
/usr/bin/make -f /usr/src/linux-4.5.0-gentoo/scripts/Makefile.build obj=/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel
cc -Wp,-MD,/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include -I/usr/src/linux-4.5.0-gentoo/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.5.0-gentoo/include -Iinclude -I/usr/src/linux-4.5.0-gentoo/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.5.0-gentoo/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.5.0-gentoo/include/linux/kconfig.h -I/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1
-DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 —param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=»340.93» -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=»nvidia» -DMODULE -D»KBUILD_STR(s)=
#s» -D»KBUILD_BASENAME=KBUILD_STR(nv)» -D»KBUILD_MODNAME=KBUILD_STR(nvidia)» -c -o /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/.tmp_nv.o /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv.c
In file included from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.5.0-gentoo/include/linux/stddef.h:4,
from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/posix_types.h:4,
.
. more and more.
.
/usr/src/linux-4.5.0-gentoo/include/linux/percpu-refcount.h:276:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
In file included from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.5.0-gentoo/include/linux/stddef.h:4,
from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/types.h:13,
from /usr/src/linux-4.5.0-gentoo/include/linux/types.h:5,
from /usr/src/linux-4.5.0-gentoo/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.5.0-gentoo/include/linux/capability.h:15,
from /usr/src/linux-4.5.0-gentoo/include/linux/sched.h:15,
from /usr/src/linux-4.5.0-gentoo/include/linux/utsname.h:5,
from /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-linux.h:44,
from /tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:15:
/usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h:734:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz = n))
^
/usr/src/linux-4.5.0-gentoo/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.5.0-gentoo/arch/x86/include/asm/uaccess.h:752:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz = n))
^
/usr/src/linux-4.5.0-gentoo/include/linux/compiler.h:165:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:359:12: error: void value not ignored as it ought to be
return seq_printf(s, «Binary: »%s»n», registry_keys);
^
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c: In function ‘nv_procfs_read_text_file’:
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:555:12: error: void value not ignored as it ought to be
return seq_puts(s, s->private);
^
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:556:1: warning: control reaches end of non-void function [-Wreturn-type]
>
^
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c: In function ‘nv_procfs_read_registry’:
/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.c:360:1: warning: control reaches end of non-void function [-Wreturn-type]
>
^
/usr/src/linux-4.5.0-gentoo/scripts/Makefile.build:258: recipe for target ‘/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.o’ failed
make[3]: *** [/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel/nv-procfs.o] Error 1
/usr/src/linux-4.5.0-gentoo/Makefile:1391: recipe for target ‘_module_/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel’ failed
make[2]: *** [_module_/tmp/selfgz3541/NVIDIA-Linux-x86_64-340.93/kernel] Error 2
make[2]: Leaving directory ‘/usr/src/linux-4.5.0-gentoo’
Makefile:146: recipe for target ‘sub-make’ failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory ‘/usr/src/linux-4.5.0-gentoo’
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:182: recipe for target ‘nvidia.ko’ failed
make: *** [nvidia.ko] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Последний раз редактировалось: se ven (пт мар 25, 2016 3:58 am), всего редактировалось 1 раз

Вернуться к началу
Buffoon
Veteran

Зарегистрирован: 17 июн 2015
Сообщений: 1369
Откуда: EU or US

Добавлено: пт мар 25, 2016 3:50 am Заголовок сообщения:
What are you doing? Are you running nvidia installer? This is not how you install it in Gentoo. Besides, if this is Optimus as Neddy pointed out you need completely different approach.
Вернуться к началу
se ven
n00b

Зарегистрирован: 22 фев 2016
Сообщений: 18

Добавлено: пт мар 25, 2016 4:55 am Заголовок сообщения:
Цитата:
What are you doing? Are you running nvidia installer? This is not how you install it in Gentoo. Besides, if this is Optimus as Neddy pointed out you need completely different approach.

Sorry, im not sure whats your mean pointed about your solution for my issues.

Of course i need different approach (may not completely. ), but i need search other same issues which solved the problems before make my opinions.

and Of course it’s my point. i’ll choise what should i do or how.

and im running nvidia-installer to install it actually(i don’t know why not even now). and im no such care whats the Gentoo’s way in my_gentoo.

thank you for your reply.

bytheway, what’s the Gentoo’s way to install my Graphic s i find the issue in wiki but not fine so im here.

Any help appreciate.

Вернуться к началу
Maxxx
Guru

Зарегистрирован: 12 янв 2016
Сообщений: 593
Откуда: Italia

Добавлено: пт мар 25, 2016 9:18 pm Заголовок сообщения:
If your kernel configuration is ok, you must uninstall current nvidia driver (or even other video driver).
Then you must install right version of nvidia driver.
To do this, in package.mask file (or if package.mask is a directory you can create file mask) you must insert «>=x11-drivers/nvidia-drivers-340.96» line. in this way you can install only previous version of 340.96, which is 340.93-r1.
Now you can emerge nvidia driver: «emerge —ask x11-drivers/nvidia-drivers» and check that the version is right.
At the end of installation do these commands:

«eselect opengl set nvidia»

«gpasswd -a (user) video»

Try like this

Вернуться к началу
NeddySeagoon
Administrator

Зарегистрирован: 05 июл 2003
Сообщений: 51836
Откуда: 56N 3W

Добавлено: пт мар 25, 2016 10:01 pm Заголовок сообщения:
se ven,

Google says that PCI ID 10de:0fd1 belongs to a nVidia GK107M [GeForce GT 650M].
Looking up GeForce GT 650M at the nVidia site says you need 361.28 for an amd64 system.
Later versions may or may not work.

As nvidia-drivers is a binary blob (the source code is not published) its often out of step with the kernel, and you have a very new kernel

/var/log/Xorg.0.log:
[ 2787.186] Build Operating System: Linux 4.5.0-gentoo x86_64 Gentoo

You must not use nvidia-installer yourself. The Gentoo ebuild downloads the nvidia-installer, installs the binary blob and patches and builds the ‘shim’ code. If you run nvidia-installer yourself, you will be missing the shim code patches. Then you get to keep the pieces.

First, run nvidia-installer and tell it to uninstall. It probably has a -h or —help option to give you instructions

Код:
eix nvidia-drivers
* x11-drivers/nvidia-drivers
Available versions: [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd 304.131(0/304)^msd (

)304.131-r4(0/304)^md 340.93-r1(0/340)^msd 340.96(0/340)^msd (

)346.96-r6(0/346)^md 352.63(0/352)^msd 352.79(0/352)^msd (

)364.12-r1(0/364)^md

Now ask emerge what it will install

Код:
emerge -pv x11-drivers/nvidia-drivers

It appears that 361.28 is stable so you should get at least that.
If so, emerge it for real. It will install nvidia-drivers the Gentoo way.

Optimus graphics systems are a whole new can of worms. Laptops are very power/space/weight conscious.
Once upon a time, laptop graphics systems were not very good. Then came the idea of having a high performance high power graphics system that could be switched in when needed. The killer here is the switch. It takes up space, weight and power. Such systems are called video multiplexing.
Multiplexing being the technical name for the switching.

The next generation were known as muxless because they don’t have this switch. Optimus is an example of this design. Its typically found in notebooks and laptops that feature both Intel and nVidia graphics.
The upside to removing the switch, in the power/weight/space savings. The down side is that the nVidia graphics chip is not connected to the display ever — at all. This means that if you do have an Optimus system and you succeed is making the nVidia driver run on its own, you will only get a black screen.

Optimus systems always use the Intel chipset to put the picture onto the display surface but they can use either chip set to render the image into the pixel buffer. Its important to know if you have an Optimus system or not before you go much further.
_________________
Regards,

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

Вернуться к началу
se ven
n00b

Зарегистрирован: 22 фев 2016
Сообщений: 18

Добавлено: чт мар 31, 2016 4:14 am Заголовок сообщения:
Er. First apologize for my very late reply and thanks for any help.

So, :

NeddySeagoon писал(а):
Optimus graphics systems are a whole new can of worms. Laptops are very power/space/weight conscious.
Once upon a time, laptop graphics systems were not very good. Then came the idea of having a high performance high power graphics system that could be switched in when needed. The killer here is the switch. It takes up space, weight and power. Such systems are called video multiplexing.
Multiplexing being the technical name for the switching.

The next generation were known as muxless because they don’t have this switch. Optimus is an example of this design. Its typically found in notebooks and laptops that feature both Intel and nVidia graphics.
The upside to removing the switch, in the power/weight/space savings. The down side is that the nVidia graphics chip is not connected to the display ever — at all. This means that if you do have an Optimus system and you succeed is making the nVidia driver run on its own, you will only get a black screen.

Optimus systems always use the Intel chipset to put the picture onto the display surface but they can use either chip set to render the image into the pixel buffer. Its important to know if you have an Optimus system or not before you go much further.

thanks for your reminding. it may the point of this question.

I check my laptop graphic and search it in nVidia and, my laptop graphics use a Optimus system it is.

Double check the kernel .config just like this:

Код:
Direct Rendering Manager —>
Direct Rendering Manager (Xfree86 4.1.0 and higher DRI support) —>
[*] Enable legacy fbdev support for your modesetting driver
Intel 8xx/9xx/G3x/G4x/HD Graphics
[*] Enable preliminary support for prerelease Intel hardware by default

and it was selected at all. then:

after that, i edit my xorg.conf to:

Код:
Section «ServerLayout»
Identifier «layout»
Screen «nvidia»
InputDevice «Mouse0» «CorePointer»
InputDevice «Keyboard0» «CoreKeyboard»
Inactive «intel»
EndSection

Section «Device»
Identifier «nvidia»
Driver «nvidia»
BusID «01:00:0»
Option «RegistryDwords» «EnableBrightnessControl=1»
EndSection

Section «Screen»
Identifier «nvidia»
Device «nvidia»
Option «AllowEmptyInitialConfiguration»
EndSection

Section «Device»
Identifier «intel»
Driver «modesetting»
EndSection

Section «Screen»
Identifier «intel»
Device «intel»
Monitor «Monitor0»
SubSection «Display»
Viewport 0 0
Depth 1
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 4
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 8
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 15
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 16
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section «Files»
ModulePath «/usr/lib64/xorg/modules»
FontPath «/usr/share/fonts/misc/»
FontPath «/usr/share/fonts/TTF/»
FontPath «/usr/share/fonts/OTF/»
FontPath «/usr/share/fonts/Type1/»
FontPath «/usr/share/fonts/100dpi/»
FontPath «/usr/share/fonts/75dpi/»
EndSection

Section «Module»
Load «modesetting»
Load «glx»
EndSection

Section «InputDevice»
Identifier «Keyboard0»
Driver «kbd»
EndSection

Section «InputDevice»
Identifier «Mouse0»
Driver «mouse»
Option «Protocol» «auto»
Option «Device» «/dev/input/mice»
Option «ZAxisMapping» «4 5 6 7»
EndSection

Section «Monitor»
Identifier «Monitor0»
VendorName «Monitor Vendor»
ModelName «Monitor Model»
EndSection

But The xrandr only return a:

Код:
Can’t open display :0

before i starting x;;

when i `startx` it’s only display a black screen with a cursor without flash on left top of screen. im not sure does the problem fixed, and i can though next step?

with quit the startx manually, The Xorg.0.log looks like this:

Код:
[ 969.856]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[ 969.857] X Protocol Version 11, Revision 0
[ 969.858] Build Operating System: Linux 3.13.0-83-generic x86_64 Gentoo
[ 969.858] Current Operating System: Linux se_ven 4.5.0-gentoo #1 SMP Wed Mar 30 23:07:19 CST 2016 x86_64
[ 969.859] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.5.0-gentoo root=/dev/sda9
[ 969.860] Build Date: 29 March 2016 04:30:38PM
[ 969.860]
[ 969.861] Current version of pixman: 0.34.0
[ 969.862] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 969.862] Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 969.865] (==) Log file: «/var/log/Xorg.1.log», Time: Thu Mar 31 10:39:35 2016
[ 969.865] (==) Using config file: «/etc/X11/xorg.conf»
[ 969.866] (==) Using config directory: «/etc/X11/xorg.conf.d»
[ 969.867] (==) Using system config directory «/usr/share/X11/xorg.conf.d»
[ 969.867] (==) ServerLayout «layout»
[ 969.867] (**) |—>Screen «nvidia» (0)
[ 969.867] (**) | |—>Monitor » »
[ 969.867] (**) | |—>Device «nvidia»
[ 969.867] (**) | |—>GPUDevice «Device0»
[ 969.867] (**) | |—>GPUDevice «nvidia»
[ 969.867] (**) | |—>GPUDevice «intel»
[ 969.867] (==) No monitor specified for screen «nvidia».
Using a default monitor configuration.
[ 969.867] (**) |—>Inactive Device «intel»
[ 969.867] (**) |—>Input Device «Mouse0»
[ 969.867] (**) |—>Input Device «Keyboard0»
[ 969.867] (==) Automatically adding devices
[ 969.867] (==) Automatically enabling devices
[ 969.867] (==) Automatically adding GPU devices
[ 969.867] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 969.867] (**) 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/
[ 969.867] (**) ModulePath set to «/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules»
[ 969.867] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
[ 969.867] (WW) Disabling Mouse0
[ 969.867] (WW) Disabling Keyboard0
[ 969.867] (II) Loader magic: 0x812c60
[ 969.867] (II) Module ABI versions:
[ 969.867] X.Org ANSI C Emulation: 0.4
[ 969.867] X.Org Video Driver: 20.0
[ 969.867] X.Org XInput driver : 22.1
[ 969.867] X.Org Server Extension : 9.0
[ 969.868] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 969.868] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 969.870] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64
[ 969.870] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x. /524288
[ 969.870] (II) «glx» will be loaded. This was enabled by default and also specified in the config file.
[ 969.870] (II) LoadModule: «modesetting»
[ 969.870] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 969.870] (II) Module modesetting: vendor=»X.Org Foundation»
[ 969.870] compiled for 1.18.2, module version = 1.18.2
[ 969.870] Module class: X.Org Video Driver
[ 969.870] ABI class: X.Org Video Driver, version 20.0
[ 969.870] (II) LoadModule: «glx»
[ 969.870] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 969.873] (II) Module glx: vendor=»NVIDIA Corporation»
[ 969.873] compiled for 4.0.2, module version = 1.0.0
[ 969.873] Module class: X.Org Server Extension
[ 969.873] (II) NVIDIA GLX Module 364.12 Wed Mar 16 20:39:46 PDT 2016
[ 969.873] (II) LoadModule: «nvidia»
[ 969.873] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 969.874] (II) Module nvidia: vendor=»NVIDIA Corporation»
[ 969.874] compiled for 4.0.2, module version = 1.0.0
[ 969.874] Module class: X.Org Video Driver
[ 969.874] (II) LoadModule: «modesetting»
[ 969.874] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 969.874] (II) Module modesetting: vendor=»X.Org Foundation»
[ 969.874] compiled for 1.18.2, module version = 1.18.2
[ 969.874] Module class: X.Org Video Driver
[ 969.874] ABI class: X.Org Video Driver, version 20.0
[ 969.874] (II) UnloadModule: «modesetting»
[ 969.874] (II) Unloading modesetting
[ 969.874] (II) Failed to load module «modesetting» (already loaded, 0)
[ 969.874] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 969.874] (II) NVIDIA dlloader X Driver 364.12 Wed Mar 16 20:16:45 PDT 2016
[ 969.874] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 969.874] (—) using VT number 8

[ 969.878] (II) modeset(0): using drv /dev/dri/card0
[ 969.878] (II) Loading sub module «fb»
[ 969.878] (II) LoadModule: «fb»
[ 969.878] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 969.878] (II) Module fb: vendor=»X.Org Foundation»
[ 969.878] compiled for 1.18.2, module version = 1.0.0
[ 969.878] ABI class: X.Org ANSI C Emulation, version 0.4
[ 969.878] (II) Loading sub module «wfb»
[ 969.878] (II) LoadModule: «wfb»
[ 969.879] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 969.879] (II) Module wfb: vendor=»X.Org Foundation»
[ 969.879] compiled for 1.18.2, module version = 1.0.0
[ 969.879] ABI class: X.Org ANSI C Emulation, version 0.4
[ 969.879] (II) Loading sub module «ramdac»
[ 969.879] (II) LoadModule: «ramdac»
[ 969.879] (II) Module «ramdac» already built-in
[ 969.879] (EE) Screen 0 deleted because of no matching config section.
[ 969.879] (II) UnloadModule: «modesetting»
[ 969.879] (II) NVIDIA(0): Creating default Display subsection in Screen section
«nvidia» for depth/fbbpp 24/32
[ 969.879] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 969.879] (==) NVIDIA(0): RGB weight 888
[ 969.879] (==) NVIDIA(0): Default visual is TrueColor
[ 969.879] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 969.879] (**) NVIDIA(0): Option «AllowEmptyInitialConfiguration»
[ 969.879] (**) NVIDIA(0): Option «RegistryDwords» «EnableBrightnessControl=1»
[ 969.879] (**) NVIDIA(0): Enabling 2D acceleration
[ 969.881] (—) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 969.881] (—) NVIDIA(0): DFP-0
[ 969.881] (—) NVIDIA(0): DFP-1
[ 969.881] (—) NVIDIA(0): DFP-0: disconnected
[ 969.881] (—) NVIDIA(0): DFP-0: Internal TMDS
[ 969.881] (—) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 969.881] (—) NVIDIA(0):
[ 969.881] (—) NVIDIA(0): DFP-1: disconnected
[ 969.881] (—) NVIDIA(0): DFP-1: Internal DisplayPort
[ 969.881] (—) NVIDIA(0): DFP-1: 960.0 MHz maximum pixel clock
[ 969.881] (—) NVIDIA(0):
[ 969.882] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)
[ 969.882] (—) NVIDIA(0): Memory: 2097152 kBytes
[ 969.882] (—) NVIDIA(0): VideoBIOS: 80.07.49.00.01
[ 969.882] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 969.882] (==) NVIDIA(0):
[ 969.882] (==) NVIDIA(0): No modes were requested; the default mode «nvidia-auto-select»
[ 969.882] (==) NVIDIA(0): will be used as the requested mode.
[ 969.882] (==) NVIDIA(0):
[ 969.882] (—) NVIDIA(0): No enabled display devices found; starting anyway because
[ 969.882] (—) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 969.883] (II) NVIDIA(0): Validated MetaModes:
[ 969.883] (II) NVIDIA(0): «NULL»
[ 969.883] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 969.883] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 969.883] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 969.883] (—) Depth 24 pixmap format is 32 bpp
[ 969.883] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 969.883] (II) NVIDIA: access.
[ 969.887] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 969.887] (II) NVIDIA(0): may not be running or the «AcpidSocketPath» X
[ 969.887] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 969.887] (II) NVIDIA(0): may not be running or the «AcpidSocketPath» X
[ 969.887] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 969.887] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 969.887] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 969.887] (II) NVIDIA(0): details, please see the «ConnectToAcpid» and
[ 969.887] (II) NVIDIA(0): «AcpidSocketPath» X configuration options in Appendix B: X
[ 969.887] (II) NVIDIA(0): Config Options in the README.
[ 969.912] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[ 969.912] (II) NVIDIA(0): Setting mode «NULL»
[ 969.919] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 969.919] (==) NVIDIA(0): Backing store enabled
[ 969.919] (==) NVIDIA(0): Silken mouse enabled
[ 969.919] (==) NVIDIA(0): DPMS enabled
[ 969.919] (II) Loading sub module «x11glvnd»
[ 969.919] (II) LoadModule: «x11glvnd»
[ 969.920] (WW) Warning, couldn’t open module x11glvnd
[ 969.920] (II) UnloadModule: «x11glvnd»
[ 969.920] (II) Unloading x11glvnd
[ 969.920] (II) x11glvnd Loading
[ 969.920] (II) Loading sub module «dri2»
[ 969.920] (II) LoadModule: «dri2»
[ 969.920] (II) Module «dri2» already built-in
[ 969.920] (II) NVIDIA(0): [DRI2] Setup complete
[ 969.920] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 969.920] (—) RandR disabled
[ 969.920] (II) Initializing extension GLX
[ 969.920] (II) Indirect GLX disabled.
[ 970.056] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 970.056] (**) Power Button: Applying InputClass «evdev keyboard catchall»
[ 970.056] (II) LoadModule: «evdev»
[ 970.056] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 970.056] (II) Module evdev: vendor=»X.Org Foundation»
[ 970.056] compiled for 1.18.2, module version = 2.10.1
[ 970.056] Module class: X.Org XInput Driver
[ 970.056] ABI class: X.Org XInput driver, version 22.1
[ 970.056] (II) Using input driver ‘evdev’ for ‘Power Button’
[ 970.056] (**) Power Button: always reports core events
[ 970.056] (**) evdev: Power Button: Device: «/dev/input/event2»
[ 970.056] (—) evdev: Power Button: Vendor 0 Product 0x1
[ 970.056] (—) evdev: Power Button: Found keys
[ 970.056] (II) evdev: Power Button: Configuring as keyboard
[ 970.056] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2»
[ 970.056] (II) XINPUT: Adding extended input device «Power Button» (type: KEYBOARD, id 6)
[ 970.056] (**) Option «xkb_rules» «evdev»
[ 970.057] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 970.057] (**) Video Bus: Applying InputClass «evdev keyboard catchall»
[ 970.057] (II) Using input driver ‘evdev’ for ‘Video Bus’
[ 970.057] (**) Video Bus: always reports core events
[ 970.057] (**) evdev: Video Bus: Device: «/dev/input/event4»
[ 970.057] (—) evdev: Video Bus: Vendor 0 Product 0x6
[ 970.057] (—) evdev: Video Bus: Found keys
[ 970.057] (II) evdev: Video Bus: Configuring as keyboard
[ 970.057] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input4/event4»
[ 970.057] (II) XINPUT: Adding extended input device «Video Bus» (type: KEYBOARD, id 7)
[ 970.057] (**) Option «xkb_rules» «evdev»
[ 970.058] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 970.058] (**) Power Button: Applying InputClass «evdev keyboard catchall»
[ 970.058] (II) Using input driver ‘evdev’ for ‘Power Button’
[ 970.058] (**) Power Button: always reports core events
[ 970.058] (**) evdev: Power Button: Device: «/dev/input/event0»
[ 970.058] (—) evdev: Power Button: Vendor 0 Product 0x1
[ 970.058] (—) evdev: Power Button: Found keys
[ 970.058] (II) evdev: Power Button: Configuring as keyboard
[ 970.058] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input0/event0»
[ 970.058] (II) XINPUT: Adding extended input device «Power Button» (type: KEYBOARD, id 8)
[ 970.058] (**) Option «xkb_rules» «evdev»
[ 970.058] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[ 970.058] (**) Video Bus: Applying InputClass «evdev keyboard catchall»
[ 970.058] (II) Using input driver ‘evdev’ for ‘Video Bus’
[ 970.058] (**) Video Bus: always reports core events
[ 970.058] (**) evdev: Video Bus: Device: «/dev/input/event3»
[ 970.058] (—) evdev: Video Bus: Vendor 0 Product 0x6
[ 970.058] (—) evdev: Video Bus: Found keys
[ 970.058] (II) evdev: Video Bus: Configuring as keyboard
[ 970.058] (**) Option «config_info» «udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:3a/LNXVIDEO:00/input/input3/event3»
[ 970.058] (II) XINPUT: Adding extended input device «Video Bus» (type: KEYBOARD, id 9)
[ 970.058] (**) Option «xkb_rules» «evdev»
[ 970.059] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[ 970.059] (II) No input driver specified, ignoring this device.
[ 970.059] (II) This device may have been added with another device file.
[ 970.059] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[ 970.059] (II) No input driver specified, ignoring this device.
[ 970.059] (II) This device may have been added with another device file.
[ 970.060] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event7)
[ 970.060] (**) Logitech USB Optical Mouse: Applying InputClass «evdev pointer catchall»
[ 970.060] (II) Using input driver ‘evdev’ for ‘Logitech USB Optical Mouse’
[ 970.060] (**) Logitech USB Optical Mouse: always reports core events
[ 970.060] (**) evdev: Logitech USB Optical Mouse: Device: «/dev/input/event7»
[ 970.060] (—) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc077
[ 970.060] (—) evdev: Logitech USB Optical Mouse: Found 12 mouse buttons
[ 970.060] (—) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[ 970.060] (—) evdev: Logitech USB Optical Mouse: Found relative axes
[ 970.060] (—) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[ 970.060] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[ 970.060] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[ 970.060] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 970.060] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 970.060] (**) Option «config_info» «udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:046D:C077.0003/input/input17/event7»
[ 970.060] (II) XINPUT: Adding extended input device «Logitech USB Optical Mouse» (type: MOUSE, id 10)
[ 970.060] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[ 970.060] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 970.060] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
[ 970.060] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[ 970.060] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[ 970.061] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse1)
[ 970.061] (II) No input driver specified, ignoring this device.
[ 970.061] (II) This device may have been added with another device file.
[ 970.061] (II) config/udev: Adding input device Laptop_Integrated_Webcam_HD (/dev/input/event10)
[ 970.061] (**) Laptop_Integrated_Webcam_HD: Applying InputClass «evdev keyboard catchall»
[ 970.061] (II) Using input driver ‘evdev’ for ‘Laptop_Integrated_Webcam_HD’
[ 970.061] (**) Laptop_Integrated_Webcam_HD: always reports core events
[ 970.061] (**) evdev: Laptop_Integrated_Webcam_HD: Device: «/dev/input/event10»
[ 970.061] (—) evdev: Laptop_Integrated_Webcam_HD: Vendor 0x64e Product 0x8128
[ 970.061] (—) evdev: Laptop_Integrated_Webcam_HD: Found keys
[ 970.061] (II) evdev: Laptop_Integrated_Webcam_HD: Configuring as keyboard
[ 970.061] (**) Option «config_info» «udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input11/event10»
[ 970.061] (II) XINPUT: Adding extended input device «Laptop_Integrated_Webcam_HD» (type: KEYBOARD, id 11)
[ 970.061] (**) Option «xkb_rules» «evdev»
[ 970.062] (II) config/udev: Adding input device HDA Intel PCH Front Line Out (/dev/input/event12)
[ 970.062] (II) No input driver specified, ignoring this device.
[ 970.062] (II) This device may have been added with another device file.
[ 970.062] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event13)
[ 970.062] (II) No input driver specified, ignoring this device.
[ 970.062] (II) This device may have been added with another device file.
[ 970.062] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event14)
[ 970.062] (II) No input driver specified, ignoring this device.
[ 970.062] (II) This device may have been added with another device file.
[ 970.063] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[ 970.063] (II) No input driver specified, ignoring this device.
[ 970.063] (II) This device may have been added with another device file.
[ 970.063] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[ 970.063] (**) AT Translated Set 2 keyboard: Applying InputClass «evdev keyboard catchall»
[ 970.063] (II) Using input driver ‘evdev’ for ‘AT Translated Set 2 keyboard’
[ 970.063] (**) AT Translated Set 2 keyboard: always reports core events
[ 970.063] (**) evdev: AT Translated Set 2 keyboard: Device: «/dev/input/event5»
[ 970.063] (—) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 970.063] (—) evdev: AT Translated Set 2 keyboard: Found keys
[ 970.063] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 970.063] (**) Option «config_info» «udev:/sys/devices/platform/i8042/serio0/input/input5/event5»
[ 970.063] (II) XINPUT: Adding extended input device «AT Translated Set 2 keyboard» (type: KEYBOARD, id 12)
[ 970.063] (**) Option «xkb_rules» «evdev»
[ 970.063] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[ 970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «evdev touchpad catchall»
[ 970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «evdev touchscreen catchall»
[ 970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «touchpad catchall»
[ 970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «Default clickpad buttons»
[ 970.064] (**) SynPS/2 Synaptics TouchPad: Applying InputClass «touchpad catchall»
[ 970.064] (II) LoadModule: «synaptics»
[ 970.064] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[ 970.064] (II) Module synaptics: vendor=»X.Org Foundation»
[ 970.064] compiled for 1.18.2, module version = 1.8.3
[ 970.064] Module class: X.Org XInput Driver
[ 970.064] ABI class: X.Org XInput driver, version 22.1
[ 970.064] (II) Using input driver ‘synaptics’ for ‘SynPS/2 Synaptics TouchPad’
[ 970.064] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 970.064] (**) Option «Device» «/dev/input/event6»
[ 970.088] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 — 5782 (res 57)
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 — 4972 (res 96)
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 — 255
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 — 15
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 970.088] (**) Option «VertScrollDelta» «-111»
[ 970.088] (**) Option «HorizScrollDelta» «-111»
[ 970.088] (**) Option «VertEdgeScroll» «on»
[ 970.088] (**) Option «TapButton1» «3»
[ 970.088] (**) Option «TapButton2» «1»
[ 970.088] (**) Option «CircularScrolling» «on»
[ 970.088] (—) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 970.088] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 970.100] (**) Option «config_info» «udev:/sys/devices/platform/i8042/serio1/input/input7/event6»
[ 970.100] (II) XINPUT: Adding extended input device «SynPS/2 Synaptics TouchPad» (type: TOUCHPAD, id 13)
[ 970.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 970.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[ 970.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.036
[ 970.100] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 970.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 970.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 970.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 970.100] (—) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 970.100] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 970.100] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass «touchpad ignore duplicates»
[ 970.101] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event9)
[ 970.101] (**) Dell WMI hotkeys: Applying InputClass «evdev keyboard catchall»
[ 970.101] (II) Using input driver ‘evdev’ for ‘Dell WMI hotkeys’
[ 970.101] (**) Dell WMI hotkeys: always reports core events
[ 970.101] (**) evdev: Dell WMI hotkeys: Device: «/dev/input/event9»
[ 970.101] (—) evdev: Dell WMI hotkeys: Vendor 0 Product 0
[ 970.101] (—) evdev: Dell WMI hotkeys: Found keys
[ 970.101] (II) evdev: Dell WMI hotkeys: Configuring as keyboard
[ 970.101] (**) Option «config_info» «udev:/sys/devices/virtual/input/input10/event9»
[ 970.101] (II) XINPUT: Adding extended input device «Dell WMI hotkeys» (type: KEYBOARD, id 14)
[ 970.101] (**) Option «xkb_rules» «evdev»
[ 1006.126] (II) evdev: Dell WMI hotkeys: Close
[ 1006.126] (II) UnloadModule: «evdev»
[ 1006.126] (II) UnloadModule: «synaptics»
[ 1006.127] (II) evdev: AT Translated Set 2 keyboard: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.127] (II) evdev: Laptop_Integrated_Webcam_HD: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.127] (II) evdev: Logitech USB Optical Mouse: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.127] (II) evdev: Video Bus: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.127] (II) evdev: Power Button: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.127] (II) evdev: Video Bus: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.127] (II) evdev: Power Button: Close
[ 1006.127] (II) UnloadModule: «evdev»
[ 1006.130] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 1006.133] (II) Server terminated successfully (0). Closing log file.

Код:
.
[ 969.874] (II) NVIDIA dlloader X Driver 364.12 Wed Mar 16 20:16:45 PDT 2016
[ 969.874] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 969.874] (—) using VT number 8

.

and there is some problem i can’t understand:

Код:
.
[ 969.879] (EE) Screen 0 deleted because of no matching config section.
.

what is the ‘Screen 0’? is that means i confugure it in somewhere out xorg.conf?
and:

Код:
.
[ 969.883] (WW) NVIDIA(0): Unable to get display device for DPI computation.
.
Вернуться к началу
Maxxx
Guru

Зарегистрирован: 12 янв 2016
Сообщений: 593
Откуда: Italia

Добавлено: чт мар 31, 2016 7:44 am Заголовок сообщения:
In my xorg.conf, at «Screen» section, there is:

Identifier «Screen0»
Device «Device0»
Monitor «Monitor0»

In your xorg.conf there are 2 «screen» sections without Screen0. instead there is «nvidia», but nvidia must be in «Device» section.
In your previous xorg.conf, the one created by nvidia-xconfig, there was «Screen0» correctly.
Screen0 is the default screen for X11 and if you miss it in xorg.conf i think it don’t work.

I think that now your problem is this.

Вернуться к началу
NeddySeagoon
Administrator

Зарегистрирован: 05 июл 2003
Сообщений: 51836
Откуда: 56N 3W

Добавлено: чт мар 31, 2016 5:32 pm Заголовок сообщения:
se ven,

In each section of xorg.conf is a line

Код:
Identifier «[string]»

Often its the only mandatory field in a section.

There are a few rules to follow to keep Xorg happy
All the sections of the same type must have unique

Код:
Identifier «[string]»

entries.
This is how Xorg tells multiple sections of the same type apart.

You can reuse

Код:
Identifier «[string]»

entries in different section types if you like but it will make your head hurt.
For your own sanity make all the

Код:
Identifier «[string]»

entries unique.

Xorg builds your X-server by starting with the

Код:
Section «ServerLayout»

part.
In your case it says to use a Screen section with Identifer «nvidia» and to input devices with section names «Mouse0» and «Keyboard0»
If these section call up other sections the entire list will be traversed.

look like a bad option.
If your Intel graphics is inactive you will get nothing on the display. Its the only graphics you have that can transfer the image to the screen.

Walk the sections by hand to see what will be used in your X Server.
_________________
Regards,

Источник

Adblock
detector

Hello everyone, and thank you for taking the time to help me. When I delete /etc/X11/xorg.conf then Xorg starts normally. But if I run nvidia-xconfig and it creates a /etc/X11/xorg.conf file then Xorg won’t boot and I get this log file instead. So do I really need the file1 /etc/X11/xorg.conf at all?

[  9768.914] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  9768.915] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[  9768.916] (II) xfree86: Adding drm device (/dev/dri/card0)
[  9768.916] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  9768.916] (II) xfree86: Adding drm device (/dev/dri/card1)
[  9768.916] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[  9768.917] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[  9768.917] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:3800 rev 11, Mem @ 0xb5000000/4194304, 0xc0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[  9768.917] (--) PCI: (0:9:0:0) 10de:1290:17aa:3800 rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128
[  9768.917] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  9768.917] (II) LoadModule: "glx"
[  9768.918] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  9768.921] (II) Module glx: vendor="NVIDIA Corporation"
[  9768.921]    compiled for 4.0.2, module version = 1.0.0
[  9768.921]    Module class: X.Org Server Extension
[  9768.921] (II) NVIDIA GLX Module  378.13  Tue Feb  7 18:25:34 PST 2017
[  9768.921] (II) LoadModule: "nvidia"
[  9768.921] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  9768.921] (II) Module nvidia: vendor="NVIDIA Corporation"
[  9768.921]    compiled for 4.0.2, module version = 1.0.0
[  9768.921]    Module class: X.Org Video Driver
[  9768.921] (II) NVIDIA dlloader X Driver  378.13  Tue Feb  7 18:01:51 PST 2017
[  9768.921] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  9768.921] (II) systemd-logind: releasing fd for 226:1
[  9768.922] (EE) No devices detected.
[  9768.922] (EE) 
Fatal server error:
[  9768.922] (EE) no screens found(EE) 
[  9768.922] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  9768.922] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  9768.922] (EE) 
[  9768.941] (EE) Server terminated with error (1). Closing log file.

When I start Xorg with «startx» and everyting works fine like it normally does without the xorg.conf file, then how do I know that Nvidia drivers are actually loaded? This is what «lsmod» returned:

[root@archlinux ~]# lsmod | grep nvidia
nvidia_drm             49152  0
nvidia_modeset        794624  1 nvidia_drm
nvidia              12197888  1 nvidia_modeset
drm_kms_helper        126976  2 i915,nvidia_drm
drm                   294912  6 i915,nvidia_drm,drm_kms_helper

Just for reference glxgears returns this also when I don’t have a xorg.conf file:

[root@archlinux ~]# glxgears
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

Thanks for any help anyone is willing to provide!!!

Last edited by m33b0 (2017-02-27 18:41:11)

I’m trying to build the Xorg X Window System Environment as outlined in Beyond Linux From Scratch Version 8.0. My BLFS system resides in a Virtual Machine using VirtualBox Version 5.0.10 r104061.

I followed the steps as outlined in Chapter 24. X Window System Environment. However, when I finished my installation and tried startx, I got the output below:-

Release Date: 2017-01-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.5 x86_64 
Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro
Build Date: 01 March 2017  10:04:52PM

Current version of pixman: 0.34.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: Wed Mar 22 21:42:24 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(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.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

And I see the following log in /var/log/Xorg.0.log

   57.972]
X.Org X Server 1.19.1
Release Date: 2017-01-11
[    57.974] X Protocol Version 11, Revision 0
[    57.974] Build Operating System: Linux 4.9.5 x86_64
[    57.975] Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64
[    57.975] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro
[    57.975] Build Date: 01 March 2017  10:04:52PM
[    57.975]
[    57.975] Current version of pixman: 0.34.0
[    57.975]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    57.975] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    57.978] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017
[    57.990] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    57.992] (==) No Layout section.  Using the first Screen section.
[    57.992] (==) No screen section available. Using defaults.
[    57.992] (**) |-->Screen "Default Screen Section" (0)
[    57.992] (**) |   |-->Monitor "<default monitor>"
[    57.992] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    57.992] (**) |   |-->Device "radeon"
[    57.992] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    57.992] (==) Automatically adding devices
[    57.992] (==) Automatically enabling devices
[    57.992] (==) Automatically adding GPU devices
[    57.994] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    57.999] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc/".
[    57.999]    Entry deleted from font path.
[    57.999]    (Run 'mkfontdir' on "/usr/share/fonts/X11/misc/").
[    58.002] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/100dpi/".
[    58.002]    Entry deleted from font path.
[    58.002]    (Run 'mkfontdir' on "/usr/share/fonts/X11/100dpi/").
[    58.003] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/75dpi/".
[    58.003]    Entry deleted from font path.
[    58.003]    (Run 'mkfontdir' on "/usr/share/fonts/X11/75dpi/").
[    58.003] (==) FontPath set to:
        /usr/share/fonts/X11/TTF/,
        /usr/share/fonts/X11/OTF/,
        /usr/share/fonts/X11/Type1/
[    58.003] (==) ModulePath set to "/usr/lib/xorg/modules"
[    58.003] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    58.003] (II) Loader magic: 0x810c40
[    58.003] (II) Module ABI versions:
[    58.003]    X.Org ANSI C Emulation: 0.4
[    58.003]    X.Org Video Driver: 23.0
[    58.003]    X.Org XInput driver : 24.1
[    58.003]    X.Org Server Extension : 10.0
[    58.007] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216, BIOS @ 0x????????/131072
[    58.007] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    58.007] (II) LoadModule: "glx"
[    58.008] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    58.040] (II) Module glx: vendor="X.Org Foundation"
[    58.040]    compiled for 1.19.1, module version = 1.0.0
[    58.040]    ABI class: X.Org Server Extension, version 10.0
[    58.040] (II) LoadModule: "ati"
[    58.041] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    58.042] (II) Module ati: vendor="X.Org Foundation"
[    58.042]    compiled for 1.19.1, module version = 7.8.0
[    58.042]    Module class: X.Org Video Driver
[    58.042]    ABI class: X.Org Video Driver, version 23.0
[    58.042] (EE) No drivers available.
[    58.042] (EE)
Fatal server error:
[    58.044] (EE) no screens found(EE)
[    58.045] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    58.046] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    58.046] (EE)
[    58.046] (EE) Server terminated with error (1). Closing log file.

I’ve tried rebuilding the kernel with

Device Drivers  --->
  Graphics support  --->
   <*> Direct Rendering Manager (XFree86 ... support) --->  [CONFIG_DRM]
   <*> DRM driver for VMware Virtual GPU                    [CONFIG_DRM_VMWGFX]
      [*]   Enable framebuffer console under vmwgfx by default [CONFIG_DRM_VMWGFX_FBCON]

and

Device Drivers  --->
  Graphics support  --->
   <> Direct Rendering Manager (XFree86 ... support) --->  [CONFIG_DRM]

and in both cases got the same error message. This is the output of lspci for the graphics adapter

00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter

Any idea why the screens are failing to load?

Change of mind. Here’re some of the configuration files that may be relevant just in case the fault is mine…
Note: I also tried the «NVIDIA 96.43.xx Legacy driver» (96.43.23) (from their website), but «make install» error’s out.
Also, I ONLY tried «Xorg -configure» AFTER the auto-configuration failed (repeatedly).

Xorg.1.log
[ 2272.277]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 2272.277] X Protocol Version 11, Revision 0
[ 2272.277] Build Operating System: FreeBSD 12.0-RELEASE-p7 i386
[ 2272.277] Current Operating System: FreeBSD inspiron 12.0-RELEASE-p7 FreeBSD 12.0-RELEASE-p7 GENERIC i386
[ 2272.278] Build Date: 06 July 2019 08:16:31AM
[ 2272.278]
[ 2272.278] Current version of pixman: 0.34.0
[ 2272.278] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2272.278] Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2272.278] (==) Log file: «/var/log/Xorg.1.log», Time: Mon Jul 15 15:48:30 2019
[ 2272.286] (==) Using config directory: «/usr/local/etc/X11/xorg.conf.d»
[ 2272.286] (==) No Layout section. Using the first Screen section.
[ 2272.286] (==) No screen section available. Using defaults.
[ 2272.286] (**) |—>Screen «Default Screen Section» (0)
[ 2272.286] (**) | |—>Monitor «<default monitor>»
[ 2272.286] (==) No device specified for screen «Default Screen Section».
Using the first device section listed.
[ 2272.286] (**) | |—>Device «NVIDIA Card»
[ 2272.286] (==) No monitor specified for screen «Default Screen Section».
Using a default monitor configuration.
[ 2272.287] (==) Automatically adding devices
[ 2272.287] (==) Automatically enabling devices
[ 2272.287] (==) Not automatically adding GPU devices
[ 2272.287] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2272.288] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/
[ 2272.288] (==) ModulePath set to «/usr/local/lib/xorg/modules»
[ 2272.288] (II) The server relies on devd to provide the list of input devices.
If no devices become available, reconfigure devd or disable AutoAddDevices.
[ 2272.288] (II) Loader magic: 0x8249000
[ 2272.288] (II) Module ABI versions:
[ 2272.288] X.Org ANSI C Emulation: 0.4
[ 2272.288] X.Org Video Driver: 20.0
[ 2272.288] X.Org XInput driver : 22.1
[ 2272.288] X.Org Server Extension : 9.0
[ 2272.289] (—) PCI:*(0:1:0:0) 10de:0174:1028:00d4 rev 163, Mem @ 0xfc000000/16777216, 0xe0000000/134217728, 0xdff80000/524288, BIOS @ 0x????????/65536
[ 2272.289] (II) LoadModule: «glx»
[ 2272.290] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 2272.539] (II) Module glx: vendor=»NVIDIA Corporation»
[ 2272.540] compiled for 4.0.2, module version = 1.0.0
[ 2272.540] Module class: X.Org Server Extension
[ 2272.540] (II) NVIDIA GLX Module 340.107 Thu May 24 17:12:39 PDT 2018
[ 2272.540] (II) LoadModule: «nvidia»
[ 2272.540] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 2272.543] (II) Module nvidia: vendor=»NVIDIA Corporation»
[ 2272.543] compiled for 4.0.2, module version = 1.0.0
[ 2272.543] Module class: X.Org Video Driver
[ 2272.543] (II) NVIDIA dlloader X Driver 340.107 Thu May 24 16:52:39 PDT 2018
[ 2272.543] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2272.544] (—) Using syscons driver with X support (version 2.0)
[ 2272.544] (—) using VT number 9

[ 2272.635] (II) Loading sub module «fb»
[ 2272.635] (II) LoadModule: «fb»
[ 2272.635] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 2272.636] (II) Module fb: vendor=»X.Org Foundation»
[ 2272.636] compiled for 1.18.4, module version = 1.0.0
[ 2272.636] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2272.636] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 2272.637] (II) Loading sub module «wfb»
[ 2272.637] (II) LoadModule: «wfb»
[ 2272.637] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 2272.638] (II) Module wfb: vendor=»X.Org Foundation»
[ 2272.638] compiled for 1.18.4, module version = 1.0.0
[ 2272.638] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2272.638] (II) Loading sub module «ramdac»
[ 2272.638] (II) LoadModule: «ramdac»
[ 2272.639] (II) Module «ramdac» already built-in
[ 2272.639] (WW) NVIDIA(0): The NVIDIA GeForce4 440 Go GPU installed in this system is
[ 2272.639] (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers.
[ 2272.639] (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for
[ 2272.639] (WW) NVIDIA(0): more information. The 340.107 NVIDIA driver will ignore
[ 2272.639] (WW) NVIDIA(0): this GPU. Continuing probe…
[ 2272.639] (EE) No devices detected.
[ 2272.639] (EE)
Fatal server error:
[ 2272.639] (EE) no screens found(EE)
[ 2272.639] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2272.639] (EE) Please also check the log file at «/var/log/Xorg.1.log» for additional information.
[ 2272.640] (EE)
[ 2272.656] (EE) Server terminated with error (1). Closing log file.

Xorg.0.log
[ 1163.474]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 1163.475] X Protocol Version 11, Revision 0
[ 1163.475] Build Operating System: FreeBSD 12.0-RELEASE-p7 i386
[ 1163.475] Current Operating System: FreeBSD inspiron 12.0-RELEASE-p7 FreeBSD 12.0-RELEASE-p7 GENERIC i386
[ 1163.475] Build Date: 06 July 2019 08:16:31AM
[ 1163.475]
[ 1163.475] Current version of pixman: 0.34.0
[ 1163.475] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1163.475] Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1163.476] (==) Log file: «/var/log/Xorg.0.log», Time: Mon Jul 15 15:30:01 2019
[ 1163.477] (==) Using config directory: «/usr/local/etc/X11/xorg.conf.d»
[ 1163.483] (==) No Layout section. Using the first Screen section.
[ 1163.483] (==) No screen section available. Using defaults.
[ 1163.484] (**) |—>Screen «Default Screen Section» (0)
[ 1163.484] (**) | |—>Monitor «<default monitor>»
[ 1163.484] (==) No device specified for screen «Default Screen Section».
Using the first device section listed.
[ 1163.484] (**) | |—>Device «NVIDIA Card»
[ 1163.484] (==) No monitor specified for screen «Default Screen Section».
Using a default monitor configuration.
[ 1163.484] (==) Automatically adding devices
[ 1163.484] (==) Automatically enabling devices
[ 1163.484] (==) Not automatically adding GPU devices
[ 1163.484] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1163.485] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/
[ 1163.485] (==) ModulePath set to «/usr/local/lib/xorg/modules»
[ 1163.485] (II) The server relies on devd to provide the list of input devices.
If no devices become available, reconfigure devd or disable AutoAddDevices.
[ 1163.485] (II) Loader magic: 0x8249000
[ 1163.485] (II) Module ABI versions:
[ 1163.485] X.Org ANSI C Emulation: 0.4
[ 1163.485] X.Org Video Driver: 20.0
[ 1163.485] X.Org XInput driver : 22.1
[ 1163.485] X.Org Server Extension : 9.0
[ 1163.486] (—) PCI:*(0:1:0:0) 10de:0174:1028:00d4 rev 163, Mem @ 0xfc000000/16777216, 0xe0000000/134217728, 0xdff80000/524288, BIOS @ 0x????????/65536
[ 1163.486] (II) LoadModule: «glx»
[ 1163.487] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 1163.730] (II) Module glx: vendor=»NVIDIA Corporation»
[ 1163.730] compiled for 4.0.2, module version = 1.0.0
[ 1163.730] Module class: X.Org Server Extension
[ 1163.730] (II) NVIDIA GLX Module 340.107 Thu May 24 17:12:39 PDT 2018
[ 1163.730] (II) LoadModule: «nvidia»
[ 1163.731] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 1163.733] (II) Module nvidia: vendor=»NVIDIA Corporation»
[ 1163.734] compiled for 4.0.2, module version = 1.0.0
[ 1163.734] Module class: X.Org Video Driver
[ 1163.734] (II) NVIDIA dlloader X Driver 340.107 Thu May 24 16:52:39 PDT 2018
[ 1163.734] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1163.734] (—) Using syscons driver with X support (version 2.0)
[ 1163.734] (—) using VT number 9

[ 1163.875] (II) Loading sub module «fb»
[ 1163.875] (II) LoadModule: «fb»
[ 1163.876] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 1163.877] (II) Module fb: vendor=»X.Org Foundation»
[ 1163.877] compiled for 1.18.4, module version = 1.0.0
[ 1163.877] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1163.877] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 1163.877] (II) Loading sub module «wfb»
[ 1163.877] (II) LoadModule: «wfb»
[ 1163.878] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 1163.879] (II) Module wfb: vendor=»X.Org Foundation»
[ 1163.879] compiled for 1.18.4, module version = 1.0.0
[ 1163.879] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1163.879] (II) Loading sub module «ramdac»
[ 1163.879] (II) LoadModule: «ramdac»
[ 1163.880] (II) Module «ramdac» already built-in
[ 1163.880] (WW) NVIDIA(0): The NVIDIA GeForce4 440 Go GPU installed in this system is
[ 1163.880] (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers.
[ 1163.880] (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for
[ 1163.880] (WW) NVIDIA(0): more information. The 340.107 NVIDIA driver will ignore
[ 1163.880] (WW) NVIDIA(0): this GPU. Continuing probe…
[ 1163.880] (EE) No devices detected.
[ 1163.880] (EE)
Fatal server error:
[ 1163.880] (EE) no screens found(EE)
[ 1163.880] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1163.880] (EE) Please also check the log file at «/var/log/Xorg.0.log» for additional information.
[ 1163.880] (EE)
[ 1163.967] (EE) Server terminated with error (1). Closing log file.

xorg.conf.new
Section «ServerLayout»
Identifier «X.org Configured»
Screen 0 «Screen0» 0 0
InputDevice «Mouse0» «CorePointer»
InputDevice «Keyboard0» «CoreKeyboard»
EndSection

Section «Files»
ModulePath «/usr/local/lib/xorg/modules»
FontPath «/usr/local/share/fonts/misc/»
FontPath «/usr/local/share/fonts/TTF/»
FontPath «/usr/local/share/fonts/OTF/»
FontPath «/usr/local/share/fonts/Type1/»
FontPath «/usr/local/share/fonts/100dpi/»
FontPath «/usr/local/share/fonts/75dpi/»
EndSection

Section «Module»
Load «glx»
EndSection

Section «InputDevice»
Identifier «Keyboard0»
Driver «kbd»
EndSection

Section «InputDevice»
Identifier «Mouse0»
Driver «mouse»
Option «Protocol» «auto»
Option «Device» «/dev/sysmouse»
Option «ZAxisMapping» «4 5 6 7»
EndSection

Section «Monitor»
Identifier «Monitor0»
VendorName «Monitor Vendor»
ModelName «Monitor Model»
EndSection

Section «Device»
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: «True»/»False»,
### <string>: «String», <freq>: «<f> Hz/kHz/MHz»,
### <percent>: «<f>%»
### [arg]: arg optional
#Option «ShadowFB» # [<bool>]
#Option «DefaultRefresh» # [<bool>]
#Option «ModeSetClearScreen» # [<bool>]
Identifier «Device0»
Driver «nvidia» <—I think this was originally «vesa», so I changed it, but it didn’t help
BusID «PCI:3:0:0» <—I added this per another «SOLVED» thread…it didn’t help
VendorName «NVIDIA Corporation» <—I added this as well, but it didn’t help
EndSection

Section «Screen»
Identifier «Screen0»
Device «Card0»
Monitor «Monitor0»
SubSection «Display»
Viewport 0 0
Depth 1
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 4
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 8
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 15
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 16
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 24
EndSubSection
EndSection

X server (init 5) startup issues after deploying NVIDIA graphics driver

You may end up breaking your Linux system’s graphics console (x session start up) after you deploy NVIDIA drivers.

If you have a look at your X server log you will notice the following. I had faced the same problem and I was able to solve it. I thought it would help you as well, please read through.

Following is the snip of  X server log:

[ 595.336] (--) NVIDIA(GPU-0):
[ 595.336] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 595.336] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 595.336] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 595.336] (--) NVIDIA(GPU-0):
[ 595.337] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 595.337] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[ 595.337] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[ 595.337] (--) NVIDIA(GPU-0):
[ 595.337] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 595.337] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[ 595.337] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
[ 595.337] (--) NVIDIA(GPU-0):
[ 595.337] (--) NVIDIA(GPU-0): DFP-4: disconnected
[ 595.337] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[ 595.337] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[ 595.337] (--) NVIDIA(GPU-0):
[ 595.337] (--) NVIDIA(GPU-0): DFP-5: disconnected
[ 595.337] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[ 595.337] (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
[ 595.337] (--) NVIDIA(GPU-0):
[ 595.337] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[ 595.337] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server
[ 595.337] (EE) NVIDIA(0): to start anyway
[ 595.337] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 595.405] (II) UnloadModule: "nvidia"
[ 595.405] (II) UnloadSubModule: "wfb"
[ 595.405] (II) UnloadSubModule: "fb"
[ 595.405] (EE) Screen(s) found, but none have a usable configuration.
[ 595.405] (EE)
Fatal server error:
[ 595.405] (EE) no screens found(EE)
[ 595.405] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 595.405] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 595.405] (EE)
[ 595.406] (EE) Server terminated with error (1). Closing log file.

Step 1: Make sure your NVIDIA driver is installed properly and your X server is running on Graphics card. In the following screenshot, the X server is NOT running on the graphics card. To fix this, do as in step 2.

nvidia-smi

nvidia-smi

If “nvidia-smi” command is not found, you may have to download suitable nvidia driver from the official website.

Note: Make sure you enter in to run-level 3 before installing nvidia driver. Also you have to blocklist “nouveau” driver before installing nvidia drivers.

Step 2:  Fix  xorg.conf file. Generate new xorg.conf  using “nvidia-xconfig” as follows. This will  replace your existing xorg.conf file  if any. However, it takes backup of your old config file. This will add proper entries of nvdia graphics device, screens etc., to the xorg.conf file.

# nvidia-xconfig --no-xinerama --probe-all-gpus --use-display-device=none

Option “–use-display-device=none” will help you to  resolve “no screens found ” issue. If your graphics machine is hosted in datacentre and you have not coonected any monitor to it, you must use this option.

Step 3:  Switch to run level 5

#init 5

Now you should be able to start your X session.

Step 4 :  Make sure your Xorg (X server) is running on graphics card by running “nvidia-smi”. See below screenshot.

nvidia-smi_with_X

Notice that “/usr/bin/X” is a process running on GPU using GPU cores and memory.

Hope this helped.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Eds ошибка iveco
  • Edm hard error sts 80000010
  • Editsf rome 2 как изменить течение времени
  • Editorinterop dll camtasia ошибка
  • Editor does not contain a main type eclipse ошибка

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии