Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Nvidia G03 for Leap 15.2

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,152
    Blog Entries
    15

    Default Re: Nvidia G03 for Leap 15.2

    Quote Originally Posted by fperal View Post
    if installed that way, it will be necesary to redo it everytime the kernel changes, true?
    Hi
    If it's just a rebuild (last two numbers) unlikely, if a version change, likely. In Leap it's just likely to set a lower resolution at boot (well that's what happens for me in GNOME), I just switch to a tty, login as root, drop to runlevel three, rebuild the driver and switch back to runlevel 5 and all is good.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  2. #12
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,155

    Default AW: Nvidia G03 for Leap 15.2

    Moved from Multimedia to Hardware

  3. #13

    Default Re: Nvidia G03 for Leap 15.2

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It's working, help a user on IRC the other day get his 8400M up and running on Leap 15.2... install the hard way with the 5.7 patched driver installer at the following link;

    https://www.if-not-true-then-false.c...vidia-guide/4/

    My notebook just zypper dup'ed to 15.2 and transformed to a paperweight... So I should migrate to fedora now?

    I tried to follow the instructions there (uninstall the nvidia repo G03 rpms for 15.1 then run the nvidia340-installer and rebootet (multiple times). When trying to start an X session (startx or display manager) the notebook freezes. Something's missing.

    Any help appreciated. In the meantime I'll try this patch thing although the installation went fine without error messages.

  4. #14

    Default Re: Nvidia G03 for Leap 15.2

    Quote Originally Posted by joba_1 View Post
    My notebook just zypper dup'ed to 15.2 and transformed to a paperweight... So I should migrate to fedora now?

    I tried to follow the instructions there (uninstall the nvidia repo G03 rpms for 15.1 then run the nvidia340-installer and rebootet (multiple times). When trying to start an X session (startx or display manager) the notebook freezes. Something's missing.

    Any help appreciated. In the meantime I'll try this patch thing although the installation went fine without error messages.

    you can try to remove the nvidia G03 and install noveau, it should work.
    I'm using it. OpenGL is not working, I miss the cube animation, but the system works.

    best regards

  5. #15
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,155

    Default AW: Nvidia G03 for Leap 15.2

    Otherwise you have to patch the Nvidia 340 driver for kernel 5.3 from Leap 15.2.

    Or your System isn't fully upgrade to Leap 15.2?
    Last edited by Sauerland; 24-Nov-2020 at 15:49.

  6. #16

    Thumbs up Re: Nvidia G03 for Leap 15.2

    Hi,

    thanks for the hints. After some more back and forth (but basically running the patched installer letting it configure everything as default and reboot several times) it works again. Just in case someone has similar problems, here is the lspci of my builtin graphic card and the relevant commands.

    Code:
    # lspci | grep VGA
    01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [NVS 3100M] (rev a2)
    # uname -r
    5.3.18-lp152.50-default
    


    Code:
    systemctl set-default multi-user.target
    reboot
    Code:
    zypper rm nvidia-gfxG03-kmp-default nvidia-glG03 nvidia-uvm-gfxG03-kmp-default
    mkdir nv.tmp && cd nv.tmp
    wget https://nvidia.if-not-true-then-false.com/NVIDIA-Linux-x86_64-340.108-patched-kernel-5.8.run
    chmod +x NVIDIA-Linux-x86_64-340.108-patched-kernel-5.8.run
    ./NVIDIA-Linux-x86_64-340.108-patched-kernel-5.8.run
    Code:
    systemctl set-default graphical.target 
    reboot
    Is there some automation I can use to let it do whatever is necessary after kernel updates, similar to what the nvidia repo did?

  7. #17

    Default Re: Nvidia G03 for Leap 15.2

    Maybe a warning is in order here: the code above downloads a script and patched binary kernel module code from the internet and runs this as root. Generally not a good idea, but what choice do you have now?

    Quote Originally Posted by joba_1 View Post
    Hi,

    ...

    Code:
    zypper rm nvidia-gfxG03-kmp-default nvidia-glG03 nvidia-uvm-gfxG03-kmp-default
    mkdir nv.tmp && cd nv.tmp
    wget https://nvidia.if-not-true-then-false.com/NVIDIA-Linux-x86_64-340.108-patched-kernel-5.8.run
    chmod +x NVIDIA-Linux-x86_64-340.108-patched-kernel-5.8.run
    ./NVIDIA-Linux-x86_64-340.108-patched-kernel-5.8.run

  8. #18
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,155

    Default AW: Nvidia G03 for Leap 15.2

    I wrote two scripts and run them as root after kernel update:

    First named systemreboot:
    Code:
    #!/bin/bash
    
    systemctl set-default multi-user.target
    reboot
    That enables init3 and reboots the system.

    After rebooting (in text mode) I login with root and root-password and execute a script named nvidia-install
    Code:
    #!/bin/bash
    
    #change to the directory where nvidia driver is stored
    cd /home/stephan/bin/nvidia/
    
    #execute the script
    ./NVIDIA-Linux-x86_64-455.45.01.run -a -q
    #./nvidia-installer
    
    #Execute a custom script
    #./NVIDIA-Linux-x86_64-455.28-custom.run -a -q
    
    #wait for purge-kernels.service
    top
    
    #change back to RunLevel 5
    systemctl set-default graphical.target
    
    #reboot the system
    reboot
    top is only because purge-kernel-service running longer as the nvidia-installer. So I wait that purge-kernel-service has ended.

    both scripts are stored in /usr/local/bin.

  9. #19
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,155

    Default AW: Nvidia G03 for Leap 15.2

    Maybe dkms is also working, I do not know.

  10. #20

    Default Re: AW: Nvidia G03 for Leap 15.2

    Quote Originally Posted by Sauerland View Post
    Maybe dkms is also working, I do not know.
    @Sauerland: Can you help us to get nouveau running having hw-acceleration? I can find a lot of sources describing nouveau basic features, but none giving working hw-acceleration for me.

    Your Repo does have nvidia-firmware, which i can see is used by nouveau:
    >modinfo nouveau
    filename: /lib/modules/5.3.18-lp152.57-default/kernel/drivers/gpu/drm/nouveau/nouveau.ko
    firmware: nvidia/gp100/gr/sw_method_init.bin
    firmware: nvidia/gp100/gr/sw_bundle_init.bin
    firmware: nvidia/gp100/gr/sw_nonctx.bin
    firmware: nvidia/gp100/gr/sw_ctx.bin
    firmware: nvidia/gp100/gr/gpccs_sig.bin
    [...]
    description: nVidia Riva/TNT/GeForce/Quadro/Tesla/Tegra K1+
    author: Nouveau Project
    suserelease: openSUSE Leap 15.2
    srcversion: 0CAFF6B8487A560805B48B9
    alias: pci:v000012D2d*sv*sd*bc03sc*i*
    alias: pci:v000010DEd*sv*sd*bc03sc*i*
    depends: drm,drm_kms_helper,ttm,mxm-wmi,button,wmi,video,i2c-algo-bit
    retpoline: Y
    intree: Y
    name: nouveau
    vermagic: 5.3.18-lp152.57-default SMP mod_unload modversions

    i guess like this, no need to extract firmware from orginal drivers needed as described by https://nouveau.freedesktop.org/VideoAcceleration.html ?

    strange is, that i cannot see the firmware for nvidia beeing loaded in dmesg anywhere...
    i have # lspci | grep NVIDIA
    01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [GeForce GT 240M] (rev a2)
    which should be VP4.0

    if i try to extract the firmware from NVIDIA to /lib/firmware/nouveau as described there, also there is nothing that is beeing loaded in dmesg. Am i missing anything?

    For the current Video/3d- Support actually this is software(?):
    libvdpau1 will not use nouveau by default - it is fixed to nvidia, which is not there, so i set /etc/environement to include:
    export VDPAU_DRIVER=nouveau
    export LIBVA_DRIVER_NAME=nouveau

    this is resulting in software gl and video decoding (if i am right):
    > vainfo
    libva info: VA-API version 1.9.0
    libva info: User environment variable requested driver 'nouveau'
    libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
    libva info: Found init function __vaDriverInit_1_5
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.9 (libva 2.5.0)
    vainfo: Driver version: Mesa Gallium driver 19.3.4 for NVA5

    > vdpauinfo
    display: :0 screen: 0
    API version: 1
    Information string: G3DVL VDPAU Driver Shared Library version 1.0
    ...

    so ok, but how to switch to hardware decoding and gl now as my nvidia is VP4.0 and should do this...?

    Do i have to remove packages for Mesa or others? If yes, which? How to tell nouveau to use hardware instead of software?

    Regards, Daniel

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

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