[elrepo] Dual boot rhel 7.5 - gui not starting

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at univ-grenoble-alpes.fr
Fri Jun 1 08:57:46 EDT 2018


For some reason you keep top-posting on this thread, but whatever.

Thanks for forwarding my previous message Akemi, my email address 
changed and I hadn't updated it. This one should go through.


John: that is the same issue I was having.
 From notes I took at the time:

nvidia-x11-drv includes the subdir:
/usr/lib64/xorg/modules/extensions/nvidia

X.org should not be picking it up for the intel gpu given the bumblebee 
config, but for some reason it seems it tries to. This leads to a 
failure to start X.
I solved this by:
sudo mv /usr/lib64/xorg/modules/extensions/nvidia /usr/lib64/xorg
and editing /etc/bumblebee/bumblebee.conf so that XorgModulePath (in the 
driver-nvidia section) points to the new /usr/lib64/xorg/nvidia/ instead 
of the old /usr/lib64/xorg/modules/extensions/nvidia/ subdir.

I'm sure there's a more elegant solution, but this worked for me. It 
does require doing the move again each time there's an nvidia driver 
update...

Note that /var/log/Xorg.0.log should have stuff for your primary (intel) 
gpu, while /var/log/Xorg.8.log should have the nvidia stuff.

HTH



On 06/01/2018 05:50 AM, John Adegbile wrote:
> So I scrutinized my Xorg.log file as suggested and found some lines 
> showing failures:
> 
> /[    28.568] (EE) Failed to load 
> /usr/lib64/xorg/modules/extensions/nvidia/libglx.so: 
> libnvidia-tls.so.390.59: cannot open shared object file: No such file or 
> directory/
> /[    28.568] (II) UnloadModule: "glx"/
> /[    28.568] (II) Unloading glx/
> /[    28.568] (EE) Failed to load module "glx" (loader failed, 7)/
> /.../
> /.../
> /[    28.700] (EE) [drm] Failed to open DRM device for (null): -2/
> /[    28.710] (II) modeset(0): using drv /dev/dri/card1/
> /[    28.710] (WW) Falling back to old probe method for fbdev/
> 
> I checked the directories and the missing shared object is actually in 
> /usr/lib64/nvidia. However, I have configured my bumblebee.conf file 
> exactly as specified in the bumblebee wiki which has the XorgModulePath 
> specifying the directory path which fails above.
> 
> I don't think I should be attempting to change the directory path for 
> XorgModulePath to point to /usr/lib64/nvidia since the bumblebee wiki 
> does not say to do that.
> 
> 
> On Tue, 29 May 2018 at 09:58, Akemi Yagi <amyagi at gmail.com 
> <mailto:amyagi at gmail.com>> wrote:
> 
>     On Sat, May 26, 2018 at 4:40 PM, Akemi Yagi <amyagi at gmail.com
>     <mailto:amyagi at gmail.com>> wrote:
>      > On Sat, May 26, 2018 at 2:45 PM, John Adegbile
>     <johnadegbile at gmail.com <mailto:johnadegbile at gmail.com>> wrote:
>      >>
>      >> On Sat, 26 May 2018 at 01:13, Akemi Yagi <amyagi at gmail.com
>     <mailto:amyagi at gmail.com>> wrote:
>      >>>
>      >>> On Fri, May 25, 2018 at 7:20 PM, John Adegbile
>     <johnadegbile at gmail.com <mailto:johnadegbile at gmail.com>>
>      >>> wrote:
>      >>> > Hello,
>      >>> >
>      >>> > I am struggling a bit to get a GUI installation completed on
>     my MSI
>      >>> > GS63VR
>      >>> > laptop. It comes with windows 10 and I have dual booted with
>     RHEL 7.5 .
>      >>> > I
>      >>> > have completed the rhel installation and have installed the
>     nvidia
>      >>> > drivers
>      >>> > from elrepo.
>      >>> >
>      >>> > I can't get the GUI to work though. Would someone kindly be
>     able to give
>      >>> > me
>      >>> > some pointers as to where I'm going wrong? I have enabled default
>      >>> > graphical.target via systemctl but the GUI does not launch.
>     The error I
>      >>> > get
>      >>> > when I attempt to run startx manually is:
>      >>> >
>      >>> > [  1740.462] (EE) Screen(s) found, but none have a usable
>     configuration.
>      >>> > Fatal server error:
>      >>> > [  1740.462] (EE) no screens found(EE)
>      >>> > [  1740.463] (EE)
>      >>> >
>      >>> > Output of lspci is:
>      >>> > 00:02.0 VGA compatible controller: Intel Corporation Device
>     591b (rev
>      >>> > 04)
>      >>> > 01:00.0 VGA compatible controller: NVIDIA Corporation GP106M
>     [GeForce
>      >>> > GTX
>      >>> > 1060 Mobile] (rev a1)
>      >>> >
>      >>> > Output of nvidia-detect is:
>      >>> > Probing for supported NVIDIA devices...
>      >>> > [10de:1c20] NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile]
>      >>> > This device requires the current 390.59 NVIDIA driver kmod-nvidia
>      >>> > [8086:591b] Intel Corporation Device 591b
>      >>> >
>      >>> > RPMs installed:
>      >>> > nvidia-x11-drv-390.59-1.el7_5.elrepo.x86_64
>      >>> > yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
>      >>> > kmod-nvidia-390.59-1.el7_5.elrepo.x86_64
>      >>> > nvidia-detect-390.59-1.el7.elrepo.x86_64
>      >>> >
>      >>> > uname -a:
>      >>> > 3.10.0-862.3.2.el7.x86_64
>      >>> >
>      >>> > Thanks in advance
>      >>> >
>      >>> > J
>      >>>
>      >>> You seem to have two graphics devices, an integrated graphics
>     (Intel)
>      >>> and an Nvidia card. Can you disable the former in the BIOS? If
>     this is
>      >>> not possible, you need to make use of the Nvidia Optimus
>     technology.
>      >>> For detailed instructions, please see the bumblebee wiki page at:
>      >>>
>      >>> http://elrepo.org/tiki/bumblebee
>      >>>
>      >>> Akemi
>      >
>      >> Thanks for the tip.
>      >>
>      >> I installed and configured bumblebee (using primus as an
>     alternative to
>      >> optirun). I followed the instructions and machine now hangs when
>     I get to:
>      >> [OK] Started GNOME display Manager.
>      >> [OK] Started Virtualization daemon.
>      >
>      > Did you see any error message while installing the required packages?
>      > No steps missed when configuring it?
>      >
>      > Not using it myself, I cannot provide better support than referring
>      > you to what has already been written. There is an instruction note
>      > given by a CentOS user:
>      >
>      >
>     https://www.centos.org/forums/viewtopic.php?f=49&t=61162&start=10#p266381
>      >
>      > It's basically the same except the addition of the last step (10).
>      >
>      > Akemi
> 
>     I'm copying a message from Nicolas Thierry-Mieg below. Hope this helps
>     you figure out why things are not working.
> 
>     Akemi
> 
>     "you might have some useful info in /var/log/Xorg.*
> 
>     I had set up bumblebee on my son's laptop in the past and had to move
>     some things around, because [some reason, can't remember the details
>     but it was something like X not looking in the correct folders for the
>     2 cards]. Carefully reading through the Xorg.* logfiles had allowed me
>     to find the source problem. I can look it up one of these evenings if
>     needed."


More information about the elrepo mailing list