X Not Starting in VMWare After NVidia Driver Installed

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












So I have an Ubuntu Gnome boot partition on a physical drive on my system that is working as expected when using it on its own.



I also configured VMWare in another OS on another drive to point to and boot the physical device on which Ubuntu resides.



This worked fine using the vmware gfx driver for the VM and the nouveau driver otherwise. However, after replacing nouveau with the nvidia-390 driver, I can now no longer get X/GDM to start when booting in VMWare.
It appears to be related to X being unable to load the GLX extension using the vmware driver.



Any way that I can get this configuration working again?



Here's the relevant output of lspci in VM:



$ lspci | grep VGA
00:0f.0 VGA compatible controller: VMware SVGA II Adapter


And with the system running on the hardware itself:



$ lspci | grep VGA
65:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)


Here's my Xorg.log from the VM: Xorg.log







share|improve this question


























    up vote
    1
    down vote

    favorite












    So I have an Ubuntu Gnome boot partition on a physical drive on my system that is working as expected when using it on its own.



    I also configured VMWare in another OS on another drive to point to and boot the physical device on which Ubuntu resides.



    This worked fine using the vmware gfx driver for the VM and the nouveau driver otherwise. However, after replacing nouveau with the nvidia-390 driver, I can now no longer get X/GDM to start when booting in VMWare.
    It appears to be related to X being unable to load the GLX extension using the vmware driver.



    Any way that I can get this configuration working again?



    Here's the relevant output of lspci in VM:



    $ lspci | grep VGA
    00:0f.0 VGA compatible controller: VMware SVGA II Adapter


    And with the system running on the hardware itself:



    $ lspci | grep VGA
    65:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)


    Here's my Xorg.log from the VM: Xorg.log







    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      So I have an Ubuntu Gnome boot partition on a physical drive on my system that is working as expected when using it on its own.



      I also configured VMWare in another OS on another drive to point to and boot the physical device on which Ubuntu resides.



      This worked fine using the vmware gfx driver for the VM and the nouveau driver otherwise. However, after replacing nouveau with the nvidia-390 driver, I can now no longer get X/GDM to start when booting in VMWare.
      It appears to be related to X being unable to load the GLX extension using the vmware driver.



      Any way that I can get this configuration working again?



      Here's the relevant output of lspci in VM:



      $ lspci | grep VGA
      00:0f.0 VGA compatible controller: VMware SVGA II Adapter


      And with the system running on the hardware itself:



      $ lspci | grep VGA
      65:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)


      Here's my Xorg.log from the VM: Xorg.log







      share|improve this question














      So I have an Ubuntu Gnome boot partition on a physical drive on my system that is working as expected when using it on its own.



      I also configured VMWare in another OS on another drive to point to and boot the physical device on which Ubuntu resides.



      This worked fine using the vmware gfx driver for the VM and the nouveau driver otherwise. However, after replacing nouveau with the nvidia-390 driver, I can now no longer get X/GDM to start when booting in VMWare.
      It appears to be related to X being unable to load the GLX extension using the vmware driver.



      Any way that I can get this configuration working again?



      Here's the relevant output of lspci in VM:



      $ lspci | grep VGA
      00:0f.0 VGA compatible controller: VMware SVGA II Adapter


      And with the system running on the hardware itself:



      $ lspci | grep VGA
      65:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1)


      Here's my Xorg.log from the VM: Xorg.log









      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 20 at 17:00

























      asked Apr 19 at 14:50









      Blaise Ritchie

      62




      62




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          You should be very careful trying to mix a legitimate Dual Boot environment with a VM environment. VMware actually makes a note in their documentation that this can sometimes lead to 'undefined behavior' in the guest VMs and lead to other problems. In fact, they try very hard to dissuade people from doing what you're trying.



          You should pick one type of setup, or the other:



          • Virtual Machine

          • Dual Boot

          Sticking to one or the other will help to protect you from having to install two sets of drivers and help stop your system from having multiple incompatible driver sets installed and running simultaneously.



          You should really only be doing a Dual Boot, or a VM, and not mix-and-match the two together - it causes undefined behavior and driver conflicts like this one.





          Original content of the "Remove the nVidia drivers from the VM" answer is available here.







          share|improve this answer






















          • I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
            – Blaise Ritchie
            Apr 20 at 16:34










          • @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
            – Thomas Ward♦
            Apr 20 at 16:46










          • Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
            – Blaise Ritchie
            Apr 20 at 16:58










          • @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
            – Thomas Ward♦
            Apr 20 at 16:59











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026423%2fx-not-starting-in-vmware-after-nvidia-driver-installed%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          You should be very careful trying to mix a legitimate Dual Boot environment with a VM environment. VMware actually makes a note in their documentation that this can sometimes lead to 'undefined behavior' in the guest VMs and lead to other problems. In fact, they try very hard to dissuade people from doing what you're trying.



          You should pick one type of setup, or the other:



          • Virtual Machine

          • Dual Boot

          Sticking to one or the other will help to protect you from having to install two sets of drivers and help stop your system from having multiple incompatible driver sets installed and running simultaneously.



          You should really only be doing a Dual Boot, or a VM, and not mix-and-match the two together - it causes undefined behavior and driver conflicts like this one.





          Original content of the "Remove the nVidia drivers from the VM" answer is available here.







          share|improve this answer






















          • I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
            – Blaise Ritchie
            Apr 20 at 16:34










          • @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
            – Thomas Ward♦
            Apr 20 at 16:46










          • Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
            – Blaise Ritchie
            Apr 20 at 16:58










          • @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
            – Thomas Ward♦
            Apr 20 at 16:59















          up vote
          1
          down vote













          You should be very careful trying to mix a legitimate Dual Boot environment with a VM environment. VMware actually makes a note in their documentation that this can sometimes lead to 'undefined behavior' in the guest VMs and lead to other problems. In fact, they try very hard to dissuade people from doing what you're trying.



          You should pick one type of setup, or the other:



          • Virtual Machine

          • Dual Boot

          Sticking to one or the other will help to protect you from having to install two sets of drivers and help stop your system from having multiple incompatible driver sets installed and running simultaneously.



          You should really only be doing a Dual Boot, or a VM, and not mix-and-match the two together - it causes undefined behavior and driver conflicts like this one.





          Original content of the "Remove the nVidia drivers from the VM" answer is available here.







          share|improve this answer






















          • I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
            – Blaise Ritchie
            Apr 20 at 16:34










          • @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
            – Thomas Ward♦
            Apr 20 at 16:46










          • Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
            – Blaise Ritchie
            Apr 20 at 16:58










          • @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
            – Thomas Ward♦
            Apr 20 at 16:59













          up vote
          1
          down vote










          up vote
          1
          down vote









          You should be very careful trying to mix a legitimate Dual Boot environment with a VM environment. VMware actually makes a note in their documentation that this can sometimes lead to 'undefined behavior' in the guest VMs and lead to other problems. In fact, they try very hard to dissuade people from doing what you're trying.



          You should pick one type of setup, or the other:



          • Virtual Machine

          • Dual Boot

          Sticking to one or the other will help to protect you from having to install two sets of drivers and help stop your system from having multiple incompatible driver sets installed and running simultaneously.



          You should really only be doing a Dual Boot, or a VM, and not mix-and-match the two together - it causes undefined behavior and driver conflicts like this one.





          Original content of the "Remove the nVidia drivers from the VM" answer is available here.







          share|improve this answer














          You should be very careful trying to mix a legitimate Dual Boot environment with a VM environment. VMware actually makes a note in their documentation that this can sometimes lead to 'undefined behavior' in the guest VMs and lead to other problems. In fact, they try very hard to dissuade people from doing what you're trying.



          You should pick one type of setup, or the other:



          • Virtual Machine

          • Dual Boot

          Sticking to one or the other will help to protect you from having to install two sets of drivers and help stop your system from having multiple incompatible driver sets installed and running simultaneously.



          You should really only be doing a Dual Boot, or a VM, and not mix-and-match the two together - it causes undefined behavior and driver conflicts like this one.





          Original content of the "Remove the nVidia drivers from the VM" answer is available here.








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 20 at 17:04

























          answered Apr 19 at 15:07









          Thomas Ward♦

          41.4k23112166




          41.4k23112166











          • I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
            – Blaise Ritchie
            Apr 20 at 16:34










          • @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
            – Thomas Ward♦
            Apr 20 at 16:46










          • Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
            – Blaise Ritchie
            Apr 20 at 16:58










          • @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
            – Thomas Ward♦
            Apr 20 at 16:59

















          • I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
            – Blaise Ritchie
            Apr 20 at 16:34










          • @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
            – Thomas Ward♦
            Apr 20 at 16:46










          • Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
            – Blaise Ritchie
            Apr 20 at 16:58










          • @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
            – Thomas Ward♦
            Apr 20 at 16:59
















          I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
          – Blaise Ritchie
          Apr 20 at 16:34




          I need the nvidia driver for when I boot the ubuntu system itself. Not sure if I made it clear in the original post, but my VM points at a physical drive on my system that I use to dual boot. I also have the VM gfx drivers installed, but I'm trying to get them to coexist.
          – Blaise Ritchie
          Apr 20 at 16:34












          @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
          – Thomas Ward♦
          Apr 20 at 16:46




          @BlaiseRitchie I'm confused - is Ubuntu inside a VM, or installed as a dual boot with your Windows OS on the computer itself? You only can use the nVidia drivers if it's in a dual boot with the Windows OS. The VM otherwise doesn't see an nVidia card, and having them on the VM is pointless at that point. Why do you need the nVidia graphics driver on the VM if the VM is never going to see the nVidia card?
          – Thomas Ward♦
          Apr 20 at 16:46












          Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
          – Blaise Ritchie
          Apr 20 at 16:58




          Ubuntu is installed on a partition on an SSD. I can dual boot into it fine and load the nVidia drivers and start gdm3/X/Gnome. However, in my Windows dual boot, I created a VMWare VM but instead of a virtual hard disk file, I have VMWare using the physical disk on which my Ubuntu dual boot resides. I can't start X in the VM mode after switching from nouveau to nVidia in dual boot mode.
          – Blaise Ritchie
          Apr 20 at 16:58












          @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
          – Thomas Ward♦
          Apr 20 at 16:59





          @BlaiseRitchie I should point out that VMware makes a note that doing that can be 'dangerous' for unspecified reasons. You need to update your question to make a note about this. But you can't install the nVidia drivers and have them as 'active' if the VMware driver(s) are also active - it causes some incompatibilities. Either stick to this being a full VM or stick to the DualBoot. Don't try and mix dualboot and VM boot, it introduces issues such as these you're seeing.
          – Thomas Ward♦
          Apr 20 at 16:59


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026423%2fx-not-starting-in-vmware-after-nvidia-driver-installed%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491