Ask Your Question
1

FC25 / NVIDIA/INTEL Optimus Hybrid Laptop: Blank Screen on xinit ...

asked 2017-04-17 01:08:46 -0500

nyceyes gravatar image

updated 2017-04-17 09:29:03 -0500

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.

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:

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.

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 caused by issue above.

Here is the '${HOME}/.xinitrc-xfce' file that I launched X with (above):

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.

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:

- 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 ...
(more)
edit retag flag offensive close merge delete

Comments

Hey, you wanna use nvidia discrete card only, so why are you trying to configure intel graphics and/or bumblebee? You have a system that can switch graphic card in bios, set it to nvidia and use it, no need for strange configuration settings.

fcomida gravatar imagefcomida ( 2017-04-17 04:35:03 -0500 )edit

Hi fcomida. You're correct but my laptop (a Lenovo Y700) only has two BIOS modes: "switchable" (dynamically switch between INTEL and NVIDIA) and "internal" (INTEL only). There is no "discreet" mode, sadly. As for bumblebee, I rarely use it. I have it just to test glxglears and other sanity checks every once in a blue moon, otherwise I forget the RPMs are there, and it's not enabled to start automatically. I just mentioned it for completeness. =:)

nyceyes gravatar imagenyceyes ( 2017-04-17 08:23:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-04-17 19:55:56 -0500

nyceyes gravatar image

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

https://devtalk.nvidia.com/default/to...

edit flag offensive delete link more

Comments

Where is @leigh123linux ?

gobigobi66 gravatar imagegobigobi66 ( 2017-04-18 23:53:15 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-04-17 01:08:46 -0500

Seen: 464 times

Last updated: Apr 17 '17