Page 11 of 15 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 143

Thread: Trouble with installing Nvida 390 driver on Ubuntu 18.10

  1. #101
    Join Date
    Jun 2007
    Beans
    17,319

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Quote Originally Posted by roadrash View Post
    Thanks for that info on the drivers oldfred thats very useful.

    Ok I am ready for a fresh start now we know the graphics card ik OK. So I have now put on a fresh install of Ubuntu 18.04.1 LTS on the compter and done all updates.

    Normaly now I would usually start by:

    1) install lightdm and make it default
    2) install Mate desktop, log out and back into Mate desktop.
    3) in terminal, purge nvida.
    4) open drivers and install driver of choice and reboot
    5) in recovery root terminal do "nvidia-xconfig" +reboot

    Can you converse with each other and come up with a list of steps you want me to take this time and I will get to work on it.
    Cheers everyone and fingers crossed.
    My view is to not complicate it.

    Fresh install 18.04
    Run these commands
    sudo apt update
    sudo apt upgrade
    sudo apt install inxi
    reboot

    Then run inxi -SG & post results, comment on how it performs.

    After that run
    sudo apt install nvidia-driver-390
    reboot

    If it boots up ok run inxi command again, ect.
    If it boots to greeter but then not to the desktop go to a tty, login & run these 4 separate commands

    Code:
    cat /var/log/Xorg.0.log > x.log
    journalctl -b -0 > jct.log
    sudo apt purge nvidia*
    sudo apt autoremove
    reboot
    If it doesn't boot up (black screen, then reboot > go to recovery > fsck > root shell prompt
    run these 4 separate commands, replacing username with your username
    Code:
    cat /var/log/Xorg.0.log > /home/username/x1.log
    **removed, log useless from reovery console**
    sudo apt purge nvidia*
    sudo apt autoremove
    reboot
    Post saved logs, will be in home folder
    Last edited by mc4man; December 4th, 2018 at 12:46 AM. Reason: removed useless command

  2. #102
    Join Date
    Apr 2005
    Location
    Huntingdon U.K.
    Beans
    114

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Quote Originally Posted by mc4man View Post
    My view is to not complicate it.

    Fresh install 18.04
    Run these commands
    sudo apt update
    sudo apt upgrade
    sudo apt install inxi
    reboot

    Then run inxi -SG & post results, comment on how it performs.
    Ive done apt-get upgrade as I hadnt done that
    here are the results of inxi -SG
    Code:
    System:    Host: jon-desktop Kernel: 4.15.0-39-generic x86_64
               bits: 64
               Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.1 LTS
    Graphics:  Card: NVIDIA GF100 [GeForce GTX 480]
               Display Server: x11 (X.Org 1.19.6 )
               drivers: fbdev,nouveau (unloaded: modesetting,vesa)
               Resolution: 640x480@73.00hz
               OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
               version: 3.3 Mesa 18.0.5
    Not sure about the latest Nvidia 390 driver because it was the later Windows drivers that played havoc with the GTX480. I did notice that the 9800GT & the GTX480 utilise the same driver.

    Quote Originally Posted by mc4man View Post
    My view is to not complicate it.

    After that run
    sudo apt install nvidia-driver-390
    reboot

    If it boots up ok run inxi command again, ect.
    If it boots to greeter but then not to the desktop go to a tty, login & run these 4 separate commands
    Sorry for delay I had a doctors appointment and I have been having a nightmare trying to get these pastes done. Got a whole reply typed it then couldn't get pastebin to work because I only have a resolution on the desktop of 640x400 and there was no embed option I ended up losing it all.
    Anyway after installing the 390- driver it got stuck with the message "waiting for boot process to finish" or something and I had to press reset.
    here is paste of jornalct;. xorg for some reason didnt work so will try again.
    https://pastebin.com/embed_js/KV7rCfQD
    Last edited by howefield; December 7th, 2018 at 01:54 PM. Reason: posts merged.
    User #386576 with the Linux Counter, http://counter.li.org

  3. #103
    Join Date
    Nov 2009
    Beans
    3,336

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    There is a problem here - that I have not seen show up before ..... others are reporting similar on the nvidia site too ...

    Dec 03 17:28:45 jon-desktop kernel: NVRM: RmInitAdapter failed! (0x26:0x65:1123)
    Dec 03 17:28:45 jon-desktop kernel: NVRM: rm_init_adapter failed for device bearing minor number 0
    Dec 03 17:28:45 jon-desktop systemd-udevd[267]: Process \'/usr/bin/nvidia-smi\' failed with exit code 6.

  4. #104
    Join Date
    Apr 2005
    Location
    Huntingdon U.K.
    Beans
    114

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Hey guys I think we are onto something here. After that last failure and no log file. I went to recovery root terminal and did a apt purge nvidia* then did a apt autoremove and it took a lot out. So I rebooted and installed the 390 driver again, rebooted and this time it booted to a desktop although very low res again. So I checked the drivers again and it showed the 390 driver installed. I then looked in the /etc/X11/ folder but there was no xorg.conf or xorg.0.log so i opened terminal and issued a sudo nvidia-xconfig. This created a xorg.conf file and then rebooted again.
    Its still in low res but went to utube and videos played smooth so hardware acceleration is working.
    Here is the output of inxi -SG

    Code:
     System:    Host: jon-desktop Kernel: 4.15.0-39-generic x86_64
               bits: 64
               Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.1 LTS
    Graphics:  Card: NVIDIA GF100 [GeForce GTX 480]
               Display Server: x11 (X.Org 1.19.6 )
               drivers: fbdev,nouveau (unloaded: modesetting,vesa)
               Resolution: 640x480@73.00hz
               OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
               version: 3.3 Mesa 18.0.5
    here is the xorg.conf.

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 390.77  (buildmeister@swio-display-x64-rhel04-14)  Tue Jul 10 23:19:22 PDT 2018
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        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
    A result I think. What do we do to cure the resolution, edit xorg.config like in the past? The nvidia settings only give information and some stuff about profiles but nothing to change any settings or the resolution.
    User #386576 with the Linux Counter, http://counter.li.org

  5. #105
    Join Date
    Nov 2009
    Beans
    3,336

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    You could try arandr if you are happy with what you have - but its still using

    drivers: fbdev,nouveau


    sudo apt install arandr

    arandr

    Post a screen shot of what you see too please ........ it may just say default .... with no other choices.

  6. #106
    Join Date
    Apr 2005
    Location
    Huntingdon U.K.
    Beans
    114

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Oh damn I thought it was working. If thats the case then I bet if i increase the resolution the video playback suffers hugely. I still want to get the proper driver installed and enabled if we can. I think there is a little progress but it needs a bit more work. What is arandr? i did have a play with some use of of xrandr & changing xorg.conf earlier in my attempts to get a usable resolution when i first started with trying to get the driver to work but got nowhere. I don't want so break anything now or mess anything up really by editing config files etc.
    What is this error youve seen all about? is the same problem i have?
    User #386576 with the Linux Counter, http://counter.li.org

  7. #107
    Join Date
    Nov 2009
    Beans
    3,336

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Well I was trying to stay off the thread - to let the one person show the way - so to speak ...... otherwise - we may go off on a tangent .....

    arandr is a graphical display of your sceen and there is no editing of files involved in it .........
    https://christian.amsuess.com/tools/arandr/
    but if you want to wait for Mc4man to add some more
    and just follow the one lead then do so ... as I do not want to move you away from what you are doing ........ but had to say its not using nvidia yet
    and the errors I have seen have been discussed in many places on the web ........
    Last edited by 23dornot23d; December 3rd, 2018 at 10:03 PM.

  8. #108
    Join Date
    Jun 2007
    Beans
    17,319

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Quote Originally Posted by roadrash View Post
    Hey guys I think we are onto something here. After that last failure and no log file. I went to recovery root terminal and did a apt purge nvidia* then did a apt autoremove and it took a lot out. So I rebooted and installed the 390 driver again, rebooted and this time it booted to a desktop although very low res again. So I checked the drivers again and it showed the 390 driver installed. I then looked in the /etc/X11/ folder but there was no xorg.conf or xorg.0.log so i opened terminal and issued a sudo nvidia-xconfig. This created a xorg.conf file and then rebooted again.
    Its still in low res but went to utube and videos played smooth so hardware acceleration is working.
    Here is the output of inxi -SG

    Code:
     System:    Host: jon-desktop Kernel: 4.15.0-39-generic x86_64
               bits: 64
               Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.1 LTS
    Graphics:  Card: NVIDIA GF100 [GeForce GTX 480]
               Display Server: x11 (X.Org 1.19.6 )
               drivers: fbdev,nouveau (unloaded: modesetting,vesa)
               Resolution: 640x480@73.00hz
               OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
               version: 3.3 Mesa 18.0.5
    Well you are not using the nvidia drivers, seems to be just nouveau. As far as OpenGl it's using llvmpipe. So after all that it's just the same as what you'd see after a fresh install (compare your inxi -SG from this post (106) & post 103, exactly the same.


    I've only laptops now so can't say why the driver won't load for your machine, maybe look into removing all of the packaged nvidia driver and install the upstream driver
    (- different process, research on how to do so before attempting.

    This is the upstream driver for your card
    https://www.nvidia.com/Download/driv...x/137276/en-us
    Last edited by mc4man; December 4th, 2018 at 12:33 AM.

  9. #109
    Join Date
    Jun 2007
    Beans
    17,319

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Out of curiosity what does this report?
    Code:
    cat /proc/cmdline

  10. #110
    Join Date
    Apr 2005
    Location
    Huntingdon U.K.
    Beans
    114

    Re: Trouble with installing Nvida 390 driver on Ubuntu 18.10

    Quote Originally Posted by mc4man View Post
    Out of curiosity what does this report?
    Code:
    cat /proc/cmdline
    her you go...

    [cat]cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-4.15.0-39-generic root=UUID=21ee5a99-e0d6-4062-b94b-2c8ff4ec7d34 ro nomodeset quiet splash vt.handoff=1
    [/code]

    Cant nvidia be forced if its possible maybe blacklist nouveau or something?
    Can you give me a easy way of getting a higher resolution to work with 640x480 is awkward

    I just did a check for updates and noticed there was a message pop up saying "configuring nvidia-dkms-390" should it do that checking for updates? I didnt do the updates because it was a "Ubuntu base" and I know this in the past has broke the nvidia driver.
    Last edited by howefield; December 7th, 2018 at 03:04 PM. Reason: posts merged.
    User #386576 with the Linux Counter, http://counter.li.org

Page 11 of 15 FirstFirst ... 910111213 ... LastLast

Bookmarks

Posting Permissions

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