Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Nvidia Drivers not configured properly

  1. #1

    Default Nvidia Drivers not configured properly

    I tried installing Nvidia drivers with Yast using the community repository. After I install it, opening the Nvidia settings brings up a message telling me to run Nvidia-Xconfig. I do but after reboot the system hangs at boot. I can't quite remember what its stuck at but I've reinstalled a few times. Kind of frustrating . If I installed leap, maybe It would just work with no fussing around? im not too sure.

    Edit: Also should mention its running Intel graphics, but it also has Nvidia geforce 940MX.

  2. #2
    Join Date
    Apr 2016
    Location
    North America
    Posts
    457

    Default Re: Nvidia Drivers not configured properly

    If you enabled "Force Composition Pipeline" and it was added to /etc/X11/xorg.conf, that can cause the desktop to freeze when loading.

    From "man nvidia-xconfig"

    A backup of the original configuration is created with ".backup" appended. For example, if your X configuration is /etc/X11/xorg.conf then nvidia-xconfig will copy it to /etc/X11/xorg.conf.backup before writing the new configuration.
    --restore-original-backup
    Restore a backup of the X configuration that was made before any changes were made by nvidia-xconfig, if such a backup
    is available. This type of backup is made by nvidia-xconfig before it modifies an X configuration file that it has not
    previously touched; this is assumed to be an X configuration file that predates the involvement of the NVIDIA X
    driver. As an example, nvidia-xconfig will copy an X configuration file at /etc/X11/xorg.conf to
    /etc/X11/xorg.conf.nvidia-xconfig-original the first time it makes changes to that file.
    nvidia-xconfig
    Reads an existing X config file and adapts it to use the NVIDIA driver. If no X config file can be found, a new one
    is created at /etc/X11/XF86Config with default settings.
    Code:
    ls -l /etc/X11

  3. #3
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,888

    Default AW: Nvidia Drivers not configured properly

    Edit: Also should mention its running Intel graphics, but it also has Nvidia geforce 940MX.
    Optimus Graphics?

    That is only supported by bumblebee.

    Please post:
    Code:
    /sbin/lspci -nnk | grep -EiA3 'vga|3d|display'

  4. #4

    Default Re: Nvidia Drivers not configured properly

    Yes I am aware of Bumblebee but on Ubuntu based distros the Nvidia X server settings allowed me to just run the graphics card.
    My output is
    00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02)
    Subsystem: Acer Incorporated [ALI] Device [1025:111a]
    Kernel driver in use: i915
    Kernel modules: i915
    --
    01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:179c] (rev a2)
    Subsystem: Acer Incorporated [ALI] Device [1025:111a]
    Kernel modules: nouveau, nvidia_drm, nvidia
    03:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)

    Their is no force composition pipeline in
    /etc/X11/xorg.conf.

    When I run the nvidia-xconfig - it says their was no config file to begin with, so It creates a new one. System hangs at boot, and going into a tty console makes the monitor flash like a rave so I have to try to get in from the grub.

  5. #5
    Join Date
    Apr 2016
    Location
    North America
    Posts
    457

    Default Re: Nvidia Drivers not configured properly

    System hangs at boot...
    At what point exactly?

    Why are you running nvidia-xconfig? What are you trying to change?

  6. #6
    Join Date
    Apr 2016
    Location
    North America
    Posts
    457

    Default Re: Nvidia Drivers not configured properly

    If you never get to the display manager, try:
    Reboot and press E at GRUB2, then add nomodeset and 3 to the group "splash=silent quiet showopts". For example: "splash=silent quiet nomodeset 3 showopts"

    Then you can at least check and modify xorg.conf, or restore the original as shown above.

    You can also boot from a snapshot in GRUB2 if all else fails.

    Which package are you using:
    x11-video-nvidiaG02, x11-video-nvidiaG03 or x11-video-nvidiaG04?

  7. #7

    Default Re: Nvidia Drivers not configured properly

    Nvm, my system dosen't really hang at boot, it just sits at a tty1 screen and flashes a few times before I start typing. I'm using Nvidia-Xconfig becuase the Nvidia x server settings tell me to run it or edit the file. I'm not sure what "nomodeset 3" in the bios does, and I'm not really sure how to start editing the xconfig file.

  8. #8
    Join Date
    Apr 2016
    Location
    North America
    Posts
    457

    Default Re: Nvidia Drivers not configured properly

    I'm not %100 sure about nomodeset, because I've been unable to find the official documentation for it.
    However, it seemingly prevents drivers like nvidia and nouveau from being loaded prior to X being loaded.
    3 ensures you boot to a virtual console (multi-user.target)

    To edit xorg.conf

    Code:
    vim /etc/X11/xorg.conf
    https://github.com/yuanqing/vim-basics

    Although if you don't know what the problem is, you probably just want to revert the file.

    Code:
    nvidia-xconfig --restore-original-backup
    or

    undochange [options] number1..number2 [files]
    Undo changes done between snapshot number1 and number2.
    http://snapper.io/manpages/snapper.html

  9. #9
    Join Date
    Apr 2016
    Location
    North America
    Posts
    457

    Default Re: Nvidia Drivers not configured properly

    I'm using Nvidia-Xconfig becuase the Nvidia x server settings tell me to run it or edit the file.
    I've never had that happen; although, I install "the hard way".
    Is it telling you that after you try to change something specific?

  10. #10
    Join Date
    Apr 2016
    Location
    North America
    Posts
    457

    Default Re: Nvidia Drivers not configured properly

    For reference, here is the xorg.conf created for my system by the official 390.25 driver installer:

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 390.25  (buildmeister@swio-display-x86-rhel47-03)  Wed Jan 24 20:46:04 PST 2018
    
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    
    Section "Files"
    EndSection
    
    
    Section "InputDevice"
        # generated from data in "/etc/sysconfig/mouse"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "IMPS/2"
        Option         "Device" "/dev/input/mice"
        Option         "Emulate3Buttons" "yes"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •