Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] - nvidia optimus - intel only no devices detected
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
markbrazil
n00b
n00b


Joined: 29 Nov 2015
Posts: 6
Location: Sydney, Australia

PostPosted: Sun Nov 29, 2015 8:40 am    Post subject: [SOLVED] - nvidia optimus - intel only no devices detected Reply with quote

hi all,
i've gone through lots of forums and just cannot seem to get X started on my nvidia optimus laptop.

I followed this guide, which is very good but get same message

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

I also followed this

http://blog.fkmclane.net/nvidia-optimus-gentoo and get same message

now focusing on just the intel part. But have the same error all the way through. Hoping for some pointers.

Here are some details,

Xorg.0.log
Code:

[   192.428]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   192.428] X Protocol Version 11, Revision 0
[   192.428] Build Operating System: Linux 4.1.12-alt461-amd64 x86_64 Gentoo
[   192.428] Current Operating System: Linux localhost 4.2.6-gentoo #3 SMP Sun Nov 29 12:14:13 AEDT 2015 x86_64
[   192.428] Kernel command line: BOOT_IMAGE=/__active/rootvol/boot/vmlinuz-4.2.6-gentoo root=/dev/sda3 ro rootflags=subvol=__active/rootvol init=/usr/lib/systemd/systemd
[   192.428] Build Date: 28 November 2015  03:28:58PM
[   192.428] 
[   192.428] Current version of pixman: 0.32.8
[   192.428]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   192.428] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   192.428] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 29 19:19:06 2015
[   192.428] (==) Using config file: "/etc/X11/xorg.conf"
[   192.428] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   192.428] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   192.428] (==) ServerLayout "layout"
[   192.428] (**) |-->Screen "screen-intel" (0)
[   192.428] (**) |   |-->Monitor "<default monitor>"
[   192.428] (**) |   |-->Device "intel"
[   192.428] (==) No monitor specified for screen "screen-intel".
   Using a default monitor configuration.
[   192.428] (==) Automatically adding devices
[   192.428] (==) Automatically enabling devices
[   192.428] (==) Automatically adding GPU devices
[   192.428] (==) 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/
[   192.428] (**) ModulePath set to "/usr/lib64/xorg/modules"
[   192.428] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   192.428] (II) Loader magic: 0x812d40
[   192.428] (II) Module ABI versions:
[   192.428]    X.Org ANSI C Emulation: 0.4
[   192.428]    X.Org Video Driver: 19.0
[   192.428]    X.Org XInput driver : 21.0
[   192.428]    X.Org Server Extension : 9.0
[   192.429] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[   192.430] (II) xfree86: Adding drm device (/dev/dri/card0)
[   192.430] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 7 paused 0
[   192.435] (--) PCI:*(0:0:2:0) 8086:0416:17aa:221e rev 6, Mem @ 0xb3400000/4194304, 0x80000000/536870912, I/O @ 0x00005000/64
[   192.435] (--) PCI: (0:1:0:0) 10de:11fc:17aa:221e rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   192.435] (II) LoadModule: "glx"
[   192.435] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   192.435] (II) Module glx: vendor="X.Org Foundation"
[   192.435]    compiled for 1.17.4, module version = 1.0.0
[   192.435]    ABI class: X.Org Server Extension, version 9.0
[   192.435] (==) AIGLX enabled
[   192.435] (==) Matched intel as autoconfigured driver 0
[   192.435] (==) Matched intel as autoconfigured driver 1
[   192.435] (==) Matched modesetting as autoconfigured driver 2
[   192.435] (==) Matched fbdev as autoconfigured driver 3
[   192.435] (==) Matched vesa as autoconfigured driver 4
[   192.435] (==) Assigned the driver to the xf86ConfigLayout
[   192.435] (II) LoadModule: "intel"
[   192.435] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   192.435] (II) Module intel: vendor="X.Org Foundation"
[   192.435]    compiled for 1.17.4, module version = 2.99.917
[   192.435]    Module class: X.Org Video Driver
[   192.435]    ABI class: X.Org Video Driver, version 19.0
[   192.435] (II) LoadModule: "modesetting"
[   192.435] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   192.435] (II) Module modesetting: vendor="X.Org Foundation"
[   192.435]    compiled for 1.17.4, module version = 1.17.4
[   192.435]    Module class: X.Org Video Driver
[   192.435]    ABI class: X.Org Video Driver, version 19.0
[   192.435] (II) LoadModule: "fbdev"
[   192.435] (WW) Warning, couldn't open module fbdev
[   192.435] (II) UnloadModule: "fbdev"
[   192.435] (II) Unloading fbdev
[   192.435] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   192.435] (II) LoadModule: "vesa"
[   192.436] (WW) Warning, couldn't open module vesa
[   192.436] (II) UnloadModule: "vesa"
[   192.436] (II) Unloading vesa
[   192.436] (EE) Failed to load module "vesa" (module does not exist, 0)
[   192.436] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   192.436] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   192.436] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   192.436] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   192.436] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   192.436] (++) using VT number 3

[   192.436] (--) controlling tty is VT number 3, auto-enabling KeepTty
[   192.436] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150522
[   192.436] (WW) Falling back to old probe method for modesetting
[   192.436] (EE) No devices detected.
[   192.436] (EE)
Fatal server error:
[   192.436] (EE) no screens found(EE)
[   192.436] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   192.436] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   192.436] (EE)




lspci | grep VGA
Code:

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)


simple xorg.conf
Code:

Section "ServerLayout"
    Identifier      "layout"
    Screen       0  "screen-intel"
    #Inactive        "intel"
EndSection


Section "Device"
    Identifier      "intel"
    #Driver          "modesetting"
    BusID           "PCI:00:02.0"
EndSection

Section "Screen"
    Identifier      "screen-intel"
    Device          "intel"
EndSection


make.conf
Code:

# profile used for building.
USE="bindist mmx sse sse2 sse3 ssse3 sse4_1 sse4_2 X gnome pulseaudio alsa gtk dbus systemd java samba bluetooth -kde"
VIDEO_CARDS="intel i965 nvidia"
INPUT_DEVICES="evdev keyboard mouse synaptics"



full emerge --info
Code:

Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r1, 4.2.6-gentoo x86_64)
=================================================================
System uname: Linux-4.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4910MQ_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:    16017044 total,  15298704 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sun, 29 Nov 2015 00:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
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="ftp://ftp.swin.edu.au/gentoo"
LANG="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 java jpeg lcms ldap libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" 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="intel i965 nvidia" 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


Last edited by markbrazil on Tue Dec 01, 2015 2:53 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 29, 2015 10:18 am    Post subject: Reply with quote

markbrazil,

Welcome to Gentoo.

You are very close. The Optimus graphics system is one and a half graphics systems.
The Intel one is complete. The nVidia part has no way to communicate to the display surface, so you need to use the Intel chip to render the display at all times.
The nVidia chip can draw into the pixel buffer for the Intel chip to render on the display.

Try this wiki page.
If you don't want the nVidia binary blob driver, using nouveau is covered on another page.

With /etc/X11/xorg.conf missing or renamed, so its not found, Xorg should work with the Intel driver. It looks like your setup is correct for that.
However,
Code:
[   192.429] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
may or may not be a problem.
If you want Gnome, you need systemd.
_________________
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
markbrazil
n00b
n00b


Joined: 29 Nov 2015
Posts: 6
Location: Sydney, Australia

PostPosted: Mon Nov 30, 2015 3:14 am    Post subject: Reply with quote

hi NeddySeagoon,

Thank you.

Sorry I should have mentioned, systemd is working fine. This is my second system. I have another desktop with gnome, systemd, and a nvidia card. All working well.

I did start with the wiki you have linked, and no xorg.conf. I used the wiki to check my kernel settings. But with no xorg.conf I get a stack trace. That is what led me to the other web pages.

original error without xorg.conf
Code:

[   107.720]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   107.720] X Protocol Version 11, Revision 0
[   107.720] Build Operating System: Linux 4.1.12-alt461-amd64 x86_64 Gentoo
[   107.720] Current Operating System: Linux localhost 4.2.6-gentoo #3 SMP Sun Nov 29 12:14:13 AEDT 2015 x86_64
[   107.720] Kernel command line: BOOT_IMAGE=/__active/rootvol/boot/vmlinuz-4.2.6-gentoo root=/dev/sda3 ro rootflags=subvol=__active/rootvol init=/usr/lib/systemd/systemd
[   107.720] Build Date: 28 November 2015  03:28:58PM
[   107.720] 
[   107.720] Current version of pixman: 0.32.8
[   107.720]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   107.720] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   107.720] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 30 14:06:08 2015
[   107.725] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   107.725] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   107.725] (==) No Layout section.  Using the first Screen section.
[   107.725] (==) No screen section available. Using defaults.
[   107.725] (**) |-->Screen "Default Screen Section" (0)
[   107.725] (**) |   |-->Monitor "<default monitor>"
[   107.726] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   107.726] (==) Automatically adding devices
[   107.726] (==) Automatically enabling devices
[   107.726] (==) Automatically adding GPU devices
[   107.726] (==) 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/
[   107.726] (**) ModulePath set to "/usr/lib64/xorg/modules"
[   107.726] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   107.726] (II) Loader magic: 0x812d40
[   107.726] (II) Module ABI versions:
[   107.726]    X.Org ANSI C Emulation: 0.4
[   107.726]    X.Org Video Driver: 19.0
[   107.726]    X.Org XInput driver : 21.0
[   107.726]    X.Org Server Extension : 9.0
[   107.727] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[   107.727] (II) xfree86: Adding drm device (/dev/dri/card0)
[   107.727] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 7 paused 0
[   107.732] (--) PCI:*(0:0:2:0) 8086:0416:17aa:221e rev 6, Mem @ 0xb3400000/4194304, 0x80000000/536870912, I/O @ 0x00005000/64
[   107.732] (--) PCI: (0:1:0:0) 10de:11fc:17aa:221e rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   107.732] (II) LoadModule: "glx"
[   107.732] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   107.732] (II) Module glx: vendor="X.Org Foundation"
[   107.732]    compiled for 1.17.4, module version = 1.0.0
[   107.732]    ABI class: X.Org Server Extension, version 9.0
[   107.732] (==) AIGLX enabled
[   107.732] (==) Matched intel as autoconfigured driver 0
[   107.732] (==) Matched intel as autoconfigured driver 1
[   107.732] (==) Matched modesetting as autoconfigured driver 2
[   107.732] (==) Matched fbdev as autoconfigured driver 3
[   107.732] (==) Matched vesa as autoconfigured driver 4
[   107.732] (==) Assigned the driver to the xf86ConfigLayout
[   107.732] (II) LoadModule: "intel"
[   107.732] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   107.732] (II) Module intel: vendor="X.Org Foundation"
[   107.732]    compiled for 1.17.4, module version = 2.99.917
[   107.732]    Module class: X.Org Video Driver
[   107.732]    ABI class: X.Org Video Driver, version 19.0
[   107.732] (II) LoadModule: "modesetting"
[   107.732] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   107.732] (II) Module modesetting: vendor="X.Org Foundation"
[   107.732]    compiled for 1.17.4, module version = 1.17.4
[   107.732]    Module class: X.Org Video Driver
[   107.732]    ABI class: X.Org Video Driver, version 19.0
[   107.732] (II) LoadModule: "fbdev"
[   107.732] (WW) Warning, couldn't open module fbdev
[   107.732] (II) UnloadModule: "fbdev"
[   107.732] (II) Unloading fbdev
[   107.733] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   107.733] (II) LoadModule: "vesa"
[   107.733] (WW) Warning, couldn't open module vesa
[   107.733] (II) UnloadModule: "vesa"
[   107.733] (II) Unloading vesa
[   107.733] (EE) Failed to load module "vesa" (module does not exist, 0)
[   107.733] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   107.733] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   107.733] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   107.733] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   107.733] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   107.733] (++) using VT number 2

[   107.733] (--) controlling tty is VT number 2, auto-enabling KeepTty
[   107.733] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150522
[   107.733] (WW) Falling back to old probe method for modesetting
[   107.733] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[   107.733] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[   107.733] (II) intel(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[   107.733] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   107.733] (==) intel(0): RGB weight 888
[   107.733] (==) intel(0): Default visual is TrueColor
[   107.733] (EE)
[   107.733] (EE) Backtrace:
[   107.733] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58e216]
[   107.733] (EE) 1: /usr/bin/X (0x400000+0x1922f9) [0x5922f9]
[   107.733] (EE) 2: /lib64/libc.so.6 (0x7f45f8d35000+0x33550) [0x7f45f8d68550]
[   107.733] (EE)
[   107.733] (EE) Segmentation fault at address 0x0
[   107.733] (EE)
Fatal server error:
[   107.733] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   107.733] (EE)
[   107.733] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   107.733] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   107.733] (EE)
[   107.741] (EE) Server terminated with error (1). Closing log file.






NeddySeagoon wrote:
markbrazil,

Welcome to Gentoo.

You are very close. The Optimus graphics system is one and a half graphics systems.
The Intel one is complete. The nVidia part has no way to communicate to the display surface, so you need to use the Intel chip to render the display at all times.
The nVidia chip can draw into the pixel buffer for the Intel chip to render on the display.

Try this wiki page.
If you don't want the nVidia binary blob driver, using nouveau is covered on another page.

With /etc/X11/xorg.conf missing or renamed, so its not found, Xorg should work with the Intel driver. It looks like your setup is correct for that.
However,
Code:
[   192.429] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
may or may not be a problem.
If you want Gnome, you need systemd.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Nov 30, 2015 7:31 pm    Post subject: Reply with quote

markbrazil,

Until this line
Code:
[   107.733] (EE) Caught signal 11 (Segmentation fault). Server aborting
it was all going so well.
Xorg or one of the pieces, tried to access some memory that it doesn't own and it was killed by the kernel.

That's usually a software issue, not a configuration problem.

A bit of a shot in the dark ... what version of xf86-video-intel do you have?
If its not 2.99.917-r2, try upgrading.

Eventually, you will need x11-drivers/xf86-video-modesetting to drive your intel chip, so you can use the nVidia to render the images.
It should work unaided too. However you will need an xorg.conf to use it if both x11-drivers/xf86-video-modesetting and xf86-video-intel are installed as xf86-video-intel is a better driver.
Trying x11-drivers/xf86-video-modesetting is also worth while.
_________________
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
markbrazil
n00b
n00b


Joined: 29 Nov 2015
Posts: 6
Location: Sydney, Australia

PostPosted: Tue Dec 01, 2015 2:52 am    Post subject: Reply with quote

hi NeddySeagoon,

Bingo! It works. I emerged the latest xf86-video-intel (30thNov 2.99.917-r2) then restarted, no xorg.conf and it worked. Bumblebee also working fine. (glxspheres 60fps / optirun glxspheres 370fps)

Not sure why previous version of xf86-video-intel didn't

Thank you for your help.

Regards,
Mark.

NeddySeagoon wrote:
markbrazil,

Until this line
Code:
[   107.733] (EE) Caught signal 11 (Segmentation fault). Server aborting
it was all going so well.
Xorg or one of the pieces, tried to access some memory that it doesn't own and it was killed by the kernel.

That's usually a software issue, not a configuration problem.

A bit of a shot in the dark ... what version of xf86-video-intel do you have?
If its not 2.99.917-r2, try upgrading.

Eventually, you will need x11-drivers/xf86-video-modesetting to drive your intel chip, so you can use the nVidia to render the images.
It should work unaided too. However you will need an xorg.conf to use it if both x11-drivers/xf86-video-modesetting and xf86-video-intel are installed as xf86-video-intel is a better driver.
Trying x11-drivers/xf86-video-modesetting is also worth while.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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