UNRESOLVED - Broken gpu driver

I just read somewhere that in bios there might be a switch for hybrid gpu. @Tom do you have a mode in bios called display and can you switch that to hybrid ?

@Aravisian, nope. Want to try 5.10 ?

1 Like

Set it to hybrid, but nothing changed

We are making progress, lets focus on the intel card

sudo prime-select intel

Create the file /usr/share/X11/org.conf.d/20-intel.conf

  1. sudo -i
  2. gedit /usr/share/X11/org.conf.d/20-intel.conf
  3. Add
Section "Device"
    Identifier "Intel Integrated Driver"
    Driver "intel"
EndSection
  1. Save

GRUB_CMDLINE_LINUX or GRUB_CMDLINE_LINUX_DEFAULT? And remove the quiet splash?

Leave that part

Also reading on the nvidia forums for prime

Ok brightness and internet controls are back and its using the integrated graphics, so I can't use the gpu?

Yes we can, i want to fix that as well for you.

Can you check if the nvidia-x-server now starts

1 Like

No, nothing happens

Oke, we try something else.

Please try this:

  • add ‘nogpumanager’ kernel parameter
  • delete /usr/share/X11/xorg.conf.d/11-nvidia-offload.conf
  • create /etc/X11/xorg.conf with contents:
Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    BusID          "PCI:0:2:0"
EndSection

The 11-nvidia-offload.conf file doesn't exist

1 Like

Oke thats good,

Kerel parameter would like this

GRUB_CMDLINE_LINUX_DEFAULT="nogpumanager"

Not sure if you have more parameters added

sudo update-grub

yes, I still have the splash added

Oke after that splash add the nogpumanager

sudo upgrade-grub

Edit the file /etc/X11/xorg.conf

The file already exists

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.94


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    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"
    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

Replace

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

With

Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    BusID          "PCI:0:2:0"
EndSection

Do I leave the org.conf.d file?

Yeah would not harm i guess (you can always rename it), also if this does not work you can revert it back.

Try to reboot

It's back to no brightness settings and internet, graphics are back to llvm

Oke, revert it back please.

This is frustrating ...

When you go to bios and revert the hybrid part what happens ?

Agreed. I need to be somewhere at 6pm (my time), so you are on your own.:wink:

1 Like