Fedora Linux Support Community & Resources Center
  #1  
Old 17th April 2017, 02:51 PM
nyceyes Offline
Registered User
 
Join Date: Jan 2009
Location: New York City
Posts: 63
linuxfedorachrome
Question FC25 / NVIDIA/INTEL Optimus Hybrid Laptop: Blank Screen on xinit ...

Hello Friends:

After two days of working on this problem, which had several layers, I may be close, but need your help.
When I run the following command to start the X-GUI display and XFCE4-based desktop; the many daemons
all start, but the laptop screen goes blank. I can tell everything is running by ssh'ing
into the laptop.

Code:
user@linux$ exec xinit ${HOME}/.xinitrc-xfce  <-- start X using .xinitrc-xfce file (shown later)
As I walk you through this, everything looks great, yet something is missing or incorrect.
Note that this laptop has been running Fedora 22, 23, 24, 25 with the proprietary NVIDIA
driver for 2-years; no issues. This just started after a 'dnf update'.

See below. Any ideas? Thank you in advance.

BEGIN INFORMATION:
Note that I point certain things out throughout, using arrows (like this, <---).

Here is the issue captured in the log file. Notice where it says Could not find provider
with name modesetting. Yet I show you later that it does exist.

Code:
X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System:  4.9.3-200.fc25.x86_64 
Current Operating System: Linux y700 4.10.9-200.fc25.x86_64 #1 SMP Mon Apr 10 14:48:16 UTC 2017 x86_64

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.9-200.fc25.x86_64 root=/dev/sda2 ro nomodeset gfxpayload=vga=normal quiet rd.driver.blacklist=nouveau net.ifnames=0 biosdevname=0 LANG=en_US.UTF-8

Build Date: 15 March 2017  06:37:12PM
Build ID: xorg-x11-server 1.19.3-1.fc25 
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: Sun Apr 16 22:36:59 2017
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Could not find provider with name modesetting  <-- # This exists in the filesystem (shown later).  

(xfsettingsd:2860): xfsettingsd-CRITICAL **: Stored Xfconf properties disable all outputs, aborting. <-- # Could be an effect of the issue above. Not sure.
Here is the '${HOME}/.xinitrc-xfce' file that I launched X with (above):

Code:
xrandr --setprovideroutputsource modesetting NVIDIA-0 <-- This emits the "modesetting" error above.
xrandr --auto
synclient TapButton1=1 TapButton2=3 TapButton3=2
exec xfce4-session || exec xterm -fg red
And here we manually prove that NVIDIA-0 is a provider; but using modesetting is a problem.

Code:
user@y700$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x1b9 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-0  <--- Good!

user@y700$ xrandr --setprovideroutputsource modesetting NVIDIA-0
Could not find provider with name modesetting   <--- Not Good. Why?

user@y700$ xrandr --auto
And here is O/S, Hardware and Driver related information:

Code:
- Fedora O/S ........................: 25 (FC-25)
- Kernel ............................: 4.10.9-200.fc25.x86_64
- Integrated Graphics Device ........: Intel HD Graphics-530  <---- Unused
- External Graphics Device ..........: NVIDIA GeForce GTX 960M
- BIOS Graphics Card Setting ........: Switchable Mode
- Window Manager ....................: XFCE4
- Display ...........................: Laptop LCD (external monitor not used).
- NVIDIA Driver .....................: Linux Driver Provided By NVIDIA: v378.13  (Note: Had to be patched from an NVIDIA patch to compile correctly)
- INTEL HD Driver ...................: i915 / modesetting
  • No nvidia RPM packages are installed (meaning, "rpm -qa | grep -i nvidia" returns nothing). Proprietary only.
  • There are xorg-x11-* RPM packages installed, and are listed at the end of this post.

Here is the /etc/X11/xorg.conf file (I hand crafted this myself):

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen         0 "Laptop-LCD-with-NVIDIA" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    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     "Laptop-LCD"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier     "nVidia-GTX-960M"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    VendorName     "NVIDIA Corporation"
    #Option         "AllowEmptyInitialConfiguration"
EndSection

Section "Device" 
    Identifier     "Intel-HD-Graphics-530" 
    Driver         "modesetting" 
    BusID          "PCI:0:2:0" 
    VendorName     "Intel Corporation"
EndSection 

Section "Screen"
    Identifier     "Laptop-LCD-with-NVIDIA"
    Device         "nVidia-GTX-960M"
    GPUDevice      "nVidia-GTX-960M"
    Monitor        "Laptop-LCD"
    Option         "UseDisplayDevice" "none" # Tried commended and un-commented.
    # Uncomment the above line if your computer has no display devices
    # connected to the NVIDIA GPU.  Leave it commented if you have display
    # devices connected to the NVIDIA GPU that you would like to use. 
EndSection

Section "Screen" 
    Identifier     "Laptop-LCD-with-INTEL" 
    Device         "Intel-HD-Graphics-530" 
    GPUDevice      "Intel-HD-Graphics-530" 
    Monitor        "Laptop-LCD"
    #Option        "UseDisplayDevice" "none" 
EndSection
And finally the sorted list of xorg-x11-* RPM packages installed (sorry for the verbosity):

Code:
xorg-x11-drv-amdgpu-1.3.0-1.fc25.x86_64
xorg-x11-drv-ati-7.7.1-1.20160928git3fc839ff.fc25.x86_64
xorg-x11-drv-dummy-0.3.7-1.fc25.x86_64
xorg-x11-drv-evdev-2.10.5-1.fc25.x86_64
xorg-x11-drv-evdev-devel-2.10.5-1.fc25.i686
xorg-x11-drv-evdev-devel-2.10.5-1.fc25.x86_64
xorg-x11-drv-fbdev-0.4.3-25.fc25.x86_64
xorg-x11-drv-geode-2.11.18-2.fc25.i686
xorg-x11-drv-intel-2.99.917-26.20160929.fc25.x86_64
xorg-x11-drv-libinput-0.23.0-3.fc25.x86_64
xorg-x11-drv-libinput-devel-0.23.0-3.fc25.i686
xorg-x11-drv-libinput-devel-0.23.0-3.fc25.x86_64
xorg-x11-drv-nouveau-1.0.13-1.fc25.x86_64
xorg-x11-drv-openchrome-0.5.0-2.fc25.x86_64
xorg-x11-drv-qxl-0.1.5-2.fc25.x86_64
xorg-x11-drv-synaptics-1.9.0-1.fc25.x86_64
xorg-x11-drv-synaptics-devel-1.9.0-1.fc25.i686
xorg-x11-drv-synaptics-devel-1.9.0-1.fc25.x86_64
xorg-x11-drv-vesa-2.3.2-25.fc25.x86_64
xorg-x11-drv-vmware-13.2.1-1.fc25.x86_64
xorg-x11-drv-wacom-0.34.2-1.fc25.x86_64
xorg-x11-drv-wacom-devel-0.34.2-1.fc25.i686
xorg-x11-drv-wacom-devel-0.34.2-1.fc25.x86_64
xorg-x11-fonts-ethiopic-7.5-16.fc24.noarch
xorg-x11-fonts-ISO8859-1-100dpi-7.5-15.fc23.noarch
xorg-x11-fonts-Type1-7.5-16.fc24.noarch
xorg-x11-font-utils-7.5-32.fc25.x86_64
xorg-x11-proto-devel-7.7-20.fc25.noarch
xorg-x11-resutils-7.5-12.fc23.x86_64
xorg-x11-server-common-1.19.3-1.fc25.x86_64
xorg-x11-server-devel-1.19.3-1.fc25.i686
xorg-x11-server-devel-1.19.3-1.fc25.x86_64
xorg-x11-server-source-1.19.3-1.fc25.noarch
xorg-x11-server-utils-7.7-20.fc25.x86_64
xorg-x11-server-Xdmx-1.19.3-1.fc25.x86_64
xorg-x11-server-Xephyr-1.19.3-1.fc25.x86_64
xorg-x11-server-Xnest-1.19.3-1.fc25.x86_64
xorg-x11-server-Xorg-1.19.3-1.fc25.x86_64 --this provides (among other things)--|
   /usr/lib64/xorg/modules/drivers/modesetting_drv.so <-------------------------|

xorg-x11-server-Xspice-0.1.5-2.fc25.x86_64
xorg-x11-server-Xvfb-1.19.3-1.fc25.x86_64
xorg-x11-server-Xwayland-1.19.3-1.fc25.x86_64
xorg-x11-util-macros-1.19.0-5.fc24.noarch
xorg-x11-utils-7.5-21.fc24.x86_64
xorg-x11-xauth-1.0.9-5.fc24.x86_64
xorg-x11-xinit-1.3.4-13.fc25.x86_64
xorg-x11-xinit-session-1.3.4-13.fc25.x86_64
xorg-x11-xkb-utils-7.7-17.fc24.x86_64
P.S. Although bumblebee RPMs are loaded, the service isn't started (no daemon running). I just mention this here for completeness.

Last edited by nyceyes; 17th April 2017 at 03:25 PM.
Reply With Quote
  #2  
Old 18th April 2017, 01:59 AM
nyceyes Offline
Registered User
 
Join Date: Jan 2009
Location: New York City
Posts: 63
linuxchrome
SOLVED: Re: FC25 / NVIDIA/INTEL Optimus Hybrid Laptop: Blank Screen on xinit ...

I worked with someone over at the NVIDIA devtalk forum, and here is the solution:

https://devtalk.nvidia.com/default/t...8-13-patched-/
Reply With Quote
Reply

Tags
blank, fc25, hybrid, laptop, nvidia or intel, optimus, screen, xinit

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with hybrid gpu 3 monitors NVidia + Intel caipirovisk Installation, Upgrades and Live Media 0 24th January 2014 12:11 AM
Optimus card -- nvidia running or intel? matchcase Hardware & Laptops 2 17th July 2013 09:27 AM
force intel card with nvidia optimus slune Hardware & Laptops 2 5th June 2013 08:57 PM
force intel card with nvidia optimus slune Hardware & Laptops 1 4th June 2013 04:21 PM
[SOLVED] Optimus nvidia and intel, gnome will always fallback akiross Using Fedora 1 17th February 2013 09:02 AM


Current GMT-time: 20:36 (Thursday, 27-07-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat