On 8 January 2016 at 17:14, James Hogarth <james.hogarth(a)gmail.com> wrote:
On 8 Jan 2016 02:21, "Earl A Ramirez" <earlaramirez(a)gmail.com> wrote:
>
>
>
> On 8 January 2016 at 02:22, James Hogarth <james.hogarth(a)gmail.com>
wrote:
>>
>>
>> On 7 Jan 2016 5:00 p.m., "Earl A Ramirez"
<earlaramirez(a)gmail.com>
wrote:
>> >
>> >
>> >
>> > On 8 January 2016 at 01:15, James Hogarth <james.hogarth(a)gmail.com>
wrote:
>> >>
>> >>
>> >>
>> >> On 7 January 2016 at 15:11, Earl A Ramirez
<earlaramirez(a)gmail.com>
wrote:
>> >>>
>> >>> Dear All,
>> >>>
>> >>> I have a ASUS laptop with NVIDIA Optimus technology, therefore, I
used the Fedora documentation [0] to install bumbleeble using the third
party managed driver to install NVIDIA. After the installation I am no
longer seeing the NVIDIA when I use 'lspci | grep VGA'; however, when I use
'lspci | egrep 'VGA|3D'' I can see the NVIDIA video card.
>> >>>
>> >>> $ lspci | grep VGA
>> >>> 00:02.0 VGA compatible controller: Intel Corporation Device 191b
(rev 06)
>> >>>
>> >>> $ lspci | egrep 'VGA|3D'
>> >>> 00:02.0 VGA compatible controller: Intel Corporation Device 191b
(rev 06)
>> >>> 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX
960M]
(rev a2)
>> >>>
>> >>> Also I no longer see the vgaswitcheroo under /sys/kernel/debug/.
When I try to boot with the kernel that NVIDIA was build on; the laptop
locks up just before the GUI and you will hear the fans blowing and the
only way around it is to power the laptop down. I have tried booting into
that kernel with different kernel parameters; E.g. nomodeset
rd.driver.blacklist=nouveau and even i915.preliminary_hw_support=1 and all
options and combinations fails.
>> >>>
>> >>> However when I boot from the kernel that NVIDIA was not compiled
on
I can the the get a display that says "oops something went wrong, please
try again" and there is an option to log out, I can also switch to another
virtual console and have full access to the OS. I get the same behaviour
even if I use nomodeset; however, if I use i915.preliminary_hw_support=1 I
get the appropriate resolution.
>> >>>
>> >>> Can anyone shed some light on how to get the GUI, with bumblebee
or
even the Intel graphic drivers?
>> >>>
>> >>> The packages that were installed are:
>> >>> $ rpm -qa | egrep 'bumblebee|bbswitch|primus|VirtualGL'
>> >>> primus-1.1.03282015-2.fc23.x86_64
>> >>> bumblebee-nvidia-352.63-2.fc23.x86_64
>> >>> bbswitch-dkms-0.8.0-2.fc23.x86_64
>> >>> bumblebee-nonfree-release-1.2-1.noarch
>> >>> VirtualGL-2.4-5.fc23.i686
>> >>> bumblebee-release-1.2-1.noarch
>> >>> primus-1.1.03282015-2.fc23.i686
>> >>> VirtualGL-2.4-5.fc23.x86_64
>> >>> bumblebee-3.2.1-9.fc23.x86_64
>> >>>
>> >>
>> >> <snip>
>> >>
>> >> Sounds like we practically the same laptop ...
>> >>
>> >> This will go a lot easier for you if you install kernel 4.3.3-300
from updates-testing as that has the full skylake i915 support (so don't
do preliminary_hw_support on that).
>> >>
>> >> This looks suspicious ... Xorg should not see the NVIDIA driver if
you've managed to follow the bumblebee instructions correctly:
>> >>
>> >> (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
>> >> [ 4.334] (II) Module glx: vendor="NVIDIA Corporation"
>> >> [ 4.334] compiled for 4.0.2, module version = 1.0.0
>> >> [ 4.334] Module class: X.Org Server Extension
>> >> [ 4.335] (II) NVIDIA GLX Module 358.16 Mon Nov 16 18:54:01 PST
2015
>> >>
>> >> Compare this to mine where optirun/bumblebee/primus works fine:
>> >>
>> >> [ 23.343] (II) LoadModule: "glx"
>> >> [ 23.343] (II) Loading
/usr/lib64/xorg/modules/extensions/libglx.so
>> >> [ 23.345] (II) Module glx:
vendor="X.Org Foundation"
>> >> [ 23.345] compiled for 1.18.0, module version = 1.0.0
>> >> [ 23.345] ABI class: X.Org Server Extension, version 9.0
>> >>
>> >> If the NVIDIA GLX libraries are loaded into xorg it'll trash your
intel stuff ...
>> >>
>> >> Are you sure you didn't install the NVIDIA proprietary drivers
(rpmfusion, negativo17 or directly) in some way other than only through the
bumblebee non-free repo?
>> >>
>> >> This is my configuration:
>> >> $ rpm -qa | grep -E
'nvidia|bumblebee|bbswitch|primus|VirtualGL'
>> >> primus-1.1.03282015-2.fc23.i686
>> >> bumblebee-3.2.1-9.fc23.x86_64
>> >> VirtualGL-2.4-5.fc23.i686
>> >> bumblebee-release-1.2-1.noarch
>> >> bumblebee-nvidia-352.63-2.fc23.x86_64
>> >> VirtualGL-2.4-5.fc23.x86_64
>> >> bbswitch-dkms-0.8.0-2.fc23.x86_64
>> >> bumblebee-nonfree-release-1.2-1.noarch
>> >> primus-1.1.03282015-2.fc23.x86_64
>> >>
>> >> GRUB_CMDLINE_LINUX has in it nouveau.modeset=0 and
rd.driver.blacklist=nouveau
>> >>
>> >> Before I updated to 4.3.3 today the preliminary_hw_support=1 was
needed as well.
>> >>
>> >> What's the output of bumblebee-nvidia --check for you ?
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> users mailing list
>> >> users(a)lists.fedoraproject.org
>> >> To unsubscribe or change subscription options:
>> >>
https://admin.fedoraproject.org/mailman/listinfo/users
>> >> Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct
>> >> Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines
>> >> Have a question? Ask away:
http://ask.fedoraproject.org
>> >>
>> > Hello James,
>> >
>> > Thanks, this is the output from bumblebee-nvidia --check
>> >
>> > bumblebee-nvidia --check
>> > --force compile selected via
/etc/sysconfig/nvidia/compile-nvidia-driver
>> > Warning! This NVIDIA driver has not compiled successfully before on
kernel 4.2.3-300.fc23.x86_64!
>> > Warning! This NVIDIA driver userland
>> > /usr/lib64/nvidia-bumblebee/libGL.so.1 library is missing!
>> >
>> >
>> > Warning! nvidia.ko was not created in in the kernel tree!
>> > modinfo output for NVIDIA:
>> >
>> > modinfo: ERROR: Module nvidia not found.
>> >
>> > Check bbswitch kernel module...
>> >
>> > Warning! bbswitch is not loaded into this kernel!
>> > Since bbswitch is not loaded into the kernel, lets do additional
checks on it...
>> > dkms status bbswitch output:
>> > bbswitch, 0.8.0, 4.2.8-300.fc23.x86_64, x86_64: installed
>> >
>> > if the bbswitch package is installed, you may wish to try:
>> > /usr/sbin/dkms add -m bbswitch -v 0.8.0
>> > /usr/sbin/dkms build -m bbswitch -v 0.8.0
>> > /usr/sbin/dkms install -m bbswitch -v 0.8.0
>> > /sbin/modprobe bbswitch
>> >
>> > To get clues as to why bbswitch is failing on this kernel...
>> > All NVIDIA checks completed, but there were 1 or more failures...
>> > Try running this script with the --debug option to find clues about
what has
>> > gone wrong with the NVIDIA driver compile process.
>> >
>> > When I use the debug option I was prompt to install the NVIDIA driver
manually; which I did and this may cause the suspicion that you saw. I will
enable and install the kernel from testing and give it a try and report
back.
>> >
>> > The next step will be to install all packages for bumblebee and
NVIDIA and to a clean install. It may worth mentioning that I had to
install Fedora by adding the nomodeset to the kernel argument because I was
not able to boot the OS initially.
>> >
>> >
>>
>> Yeah I had the same experience...
>>
>> From an initial clean install these are the steps:
>>
>> 1) boot with the nouveau modeset and blacklist arguments to disable
nouveau. If nouveau is running (check with lsmod) the nvidia proprietary
driver will fail to load correctly after compiling leading to the situation
you see.
>> 2) if kernel < 4.3 use the preliminary hw argument
>> 3) install bumblebee free and nonfree (managed) repos
>> 4) install bumblebee bumblebee-nvidia dkms bbswitch.dkms kernel-devel
etc (basically copy paste the f22+ multilib install line from BB wiki page)
>> 5) reboot
>> 6) as root run bumblebee-nvidia --check
>>
>> You may need to poke the bbswitch dkms manually.
>>
>> After this `glxinfo|grep -i vendor` should show Intel and `optirun
glxinfo|grep -i vendor` should show nvidia
>>
>> Without going as far as a clean install you may be able to clean up the
proprietary driver ... Depends how much customisation you got to beyond
that install as to the worth doing so.
>>
>>
>> --
>> users mailing list
>> users(a)lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>>
https://admin.fedoraproject.org/mailman/listinfo/users
>> Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct
>> Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away:
http://ask.fedoraproject.org
>>
>
> Thanks for the info James
>
> I performed a clean install and used the preliminary hw argument for the
the default kernel 4.2.x and everything worked fine; enabled
fedora-updates-testing repo and installed kernel 4.3 added the
nouveau.modeset=0 and rd.driver.blacklist=nouveau to the kernel argument
and it fails when it tried to load the USB drivers.
>
USB drivers? Surprising and sounds quite the regression. This is of course
why it's in testing and not released yet ;)
I'd be interested in the logs from that 4.3 boot and I'm sure the kernel
devs will be too.
Or if it died before journalling went persistent a screenshot of an
attorneys attempted 4.3 boot would be appreciated.
--
users mailing list
users(a)lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct
Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away:
http://ask.fedoraproject.org
I will grab what I can for you and send it your way in a few hours; I
noticed that the previous e-mail required moderated because of the length
so I cut it down a bit:
I installed bumblebee from the managed repo and after reboot I was able to
see the vendor for
glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center
and for optirun glxinfo | grep -i vendor I was able to see NVIDIA as the
vendor; at this time everything was working as expected; therefore, I went
to remove the nomodeset and add preliminary hw to /etc/default/grub, update
grub grub2-mkconfig /boot/efi/EFI/fedora/grub.cfg and reboot.
A few seconds after I get the login screen the fan will be blowing at full
blast and it will lock up and I can only power down the laptop, which was
the same thing that I experienced previously. I am only able to boot on the
kernel that came with the initial Fedora 23 install 4.2.3-300.
Below are the output of Xorg.0.log and Xorg.8.log respectively:
Xorg.0.log:
================================================================
[ 22.721] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener()
failed
[ 22.721] _XSERVTransMakeAllCOTSServerListeners: server already running
[ 22.722]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 22.722] X Protocol Version 11, Revision 0
[ 22.722] Build Operating System: 4.2.5-300.fc23.x86_64
[ 22.722] Current Operating System: Linux dev-lapf23
4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64
[ 22.723] Kernel command line: BOOT_IMAGE=/vmlinuz-4.2.3-300.fc23.x86_64
root=/dev/mapper/dev--lap-root ro rd.lvm.lv=dev-lap/root rd.lvm.lv=dev-lap/swap
nomodeset nouveau.modeset=0 rd.driver.blacklist=nouveau
[ 22.723] Build Date: 16 November 2015 10:08:25AM
[ 22.723] Build ID: xorg-x11-server 1.18.0-2.fc23
[ 22.723] Current version of pixman: 0.33.6
[ 22.723] Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest version.
[ 22.723] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22.723] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 8
04:50:22 2016
[ 22.723] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 22.723] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 22.723] (==) No Layout section. Using the first Screen section.
[ 22.723] (==) No screen section available. Using defaults.
[ 22.723] (**) |-->Screen "Default Screen Section" (0)
[ 22.723] (**) | |-->Monitor "<default monitor>"
[ 22.724] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 22.724] (==) Automatically adding devices
[ 22.724] (==) Automatically enabling devices
[ 22.724] (==) Automatically adding GPU devices
[ 22.724] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 22.724] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 22.724] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 22.724] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 22.724] (II) Loader magic: 0x81cde0
[ 22.724] (II) Module ABI versions:
[ 22.724] X.Org ANSI C Emulation: 0.4
[ 22.724] X.Org Video Driver: 20.0
[ 22.724] X.Org XInput driver : 22.1
[ 22.724] X.Org Server Extension : 9.0
[ 22.725] (++) using VT number 2
[ 22.727] (II) systemd-logind: took control of session
/org/freedesktop/login1/session/_31
[ 22.729] (--) PCI:*(0:0:2:0) 8086:191b:1043:1c5d rev 6, Mem @
0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @
0x????????/131072
[ 22.729] (--) PCI: (0:1:0:0) 10de:139b:1043:1c5d rev 162, Mem @
0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @
0x0000e000/128, BIOS @ 0x????????/524288
[ 22.729] (II) LoadModule: "glx"
[ 22.729] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 22.730] (II) Module glx:
vendor="X.Org Foundation"
[ 22.730] compiled for 1.18.0, module version = 1.0.0
[ 22.730] ABI class: X.Org Server Extension, version 9.0
[ 22.730] (==) AIGLX enabled
[ 22.730] (==) Matched intel as autoconfigured driver 0
[ 22.730] (==) Matched modesetting as autoconfigured driver 1
[ 22.730] (==) Matched fbdev as autoconfigured driver 2
[ 22.730] (==) Matched vesa as autoconfigured driver 3
[ 22.731] (==) Assigned the driver to the xf86ConfigLayout
[ 22.731] (II) LoadModule: "intel"
[ 22.731] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 22.731] (II) Module intel:
vendor="X.Org Foundation"
[ 22.731] compiled for 1.17.99.901, module version = 2.99.917
[ 22.731] Module class: X.Org Video Driver
[ 22.731] ABI class: X.Org Video Driver, version 20.0
[ 22.731] (II) LoadModule: "modesetting"
[ 22.731] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 22.731] (II) Module modesetting:
vendor="X.Org Foundation"
[ 22.731] compiled for 1.18.0, module version = 1.18.0
[ 22.731] Module class: X.Org Video Driver
[ 22.731] ABI class: X.Org Video Driver, version 20.0
Xorg.8.log
======================================================================
[ 246.224]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 246.224] X Protocol Version 11, Revision 0
[ 246.224] Build Operating System: 4.2.5-300.fc23.x86_64
[ 246.224] Current Operating System: Linux dev-lapf23
4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015 x86_64
[ 246.224] Kernel command line: BOOT_IMAGE=/vmlinuz-4.2.8-300.fc23.x86_64
root=/dev/mapper/dev--lap-root ro rd.lvm.lv=dev-lap/root rd.lvm.lv=dev-lap/swap
i915.preliminary_hw_support=1 nouveau.modeset=0 rd.driver.blacklist=nouveau
[ 246.224] Build Date: 16 November 2015 10:08:25AM
[ 246.224] Build ID: xorg-x11-server 1.18.0-2.fc23
[ 246.224] Current version of pixman: 0.33.6
[ 246.224] Before reporting problems, check
http://wiki.x.org
to make sure that you have the latest version.
[ 246.224] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 246.224] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Jan 8
04:29:46 2016
[ 246.225] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 246.225] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 246.225] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 246.226] (==) ServerLayout "Layout0"
[ 246.226] (==) No screen section available. Using defaults.
[ 246.226] (**) |-->Screen "Default Screen Section" (0)
[ 246.226] (**) | |-->Monitor "<default monitor>"
[ 246.226] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 246.226] (**) | |-->Device "DiscreteNvidia"
[ 246.226] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 246.226] (**) Option "IgnoreABI" "1"
[ 246.226] (**) Option "AutoAddDevices" "false"
[ 246.226] (**) Option "AutoAddGPU" "false"
[ 246.226] (**) Ignoring ABI Version
[ 246.226] (**) Not automatically adding devices
[ 246.226] (==) Automatically enabling devices
[ 246.226] (**) Not automatically adding GPU devices
[ 246.226] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 246.226] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 246.226] (++) ModulePath set to
"/usr/lib64/nvidia-bumblebee/xorg,/usr/lib64/xorg/modules"
[ 246.226] (==) |-->Input Device "<default pointer>"
[ 246.226] (==) |-->Input Device "<default keyboard>"
[ 246.226] (==) The core pointer device wasn't specified explicitly in
the layout.
Using the default mouse configuration.
[ 246.226] (==) The core keyboard device wasn't specified explicitly in
the layout.
Using the default keyboard configuration.
[ 246.226] (II) Loader magic: 0x81cde0
[ 246.226] (II) Module ABI versions:
[ 246.226] X.Org ANSI C Emulation: 0.4
[ 246.226] X.Org Video Driver: 20.0
[ 246.226] X.Org XInput driver : 22.1
[ 246.226] X.Org Server Extension : 9.0
[ 246.228] (--) using VT number 2
[ 246.228] (II) systemd-logind: logind integration requires -keeptty and
-keeptty was not provided, disabling logind integration
[ 246.229] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 246.229] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 246.229] (EE) /dev/dri/card0: failed to set DRM interface version 1.4:
Permission denied
[ 246.231] (--) PCI:*(0:1:0:0) 10de:139b:1043:1c5d rev 162, Mem @
0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @
0x0000e000/128, BIOS @ 0x????????/524288
[ 246.231] (II) LoadModule: "glx"
[ 246.231] (II) Loading
/usr/lib64/nvidia-bumblebee/xorg/modules/extensions/libglx.so
[ 246.236] (II) Module glx: vendor="NVIDIA Corporation"
[ 246.236] compiled for 4.0.2, module version = 1.0.0
[ 246.236] Module class: X.Org Server Extension
[ 246.236] (II) NVIDIA GLX Module 352.63 Sat Nov 7 20:52:00 PST 2015
[ 246.236] (II) LoadModule: "nvidia"
[ 246.236] (II) Loading
/usr/lib64/nvidia-bumblebee/xorg/modules/drivers/nvidia_drv.so
[ 246.237] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 246.237] compiled for 4.0.2, module version = 1.0.0
[ 246.237] Module class: X.Org Video Driver
[ 246.237] (II) LoadModule: "mouse"
[ 246.237] (WW) Warning, couldn't open module mouse
[ 246.237] (II) UnloadModule: "mouse"
[ 246.237] (II) Unloading mouse
--
Kind Regards
Earl Ramirez