GithubHelp home page GithubHelp logo

Comments (7)

MJimitater avatar MJimitater commented on July 16, 2024

I had that problem too, until I created a file at /etc/X11/xorg.conf.d/nvidia.confand put

    Section "ServerLayout"
      Identifier "layout"
      Option "AllowNVIDIAGPUScreens"
    EndSection

in it. Then I rebooted and xrandr --listproviders showed NVIDA-G0

from mate-optimus.

a-m-s avatar a-m-s commented on July 16, 2024

I created that file, but it doesn't seem to have had an affect on my system.

from mate-optimus.

MJimitater avatar MJimitater commented on July 16, 2024

What driver are you using?

from mate-optimus.

a-m-s avatar a-m-s commented on July 16, 2024

NVidia 435.21 from Ubuntu 19.10. The driver appears to be working fine; it's just the optimus applet that would be nice to have.

from mate-optimus.

MJimitater avatar MJimitater commented on July 16, 2024

I see. I found this nice instruction, its for Mint actually, but works well for Ubuntu too. By following these instructions and also creating that file at /etc/X11/xorg.conf.d/nvidia.conf, I managed to have NVIDIA-G0 show up. Try it out and report back how it went :)

from mate-optimus.

a-m-s avatar a-m-s commented on July 16, 2024

I followed those instructions, I think.
Good:

  • I get the NVIDIA-G0 thing, so the applet detects the driver.
  • "On demand" mode works: glxinfo shows Intel by default, and shows NVidia with the magic environment variables.

Bad:

  • nvidia-settings shows no X display and has can't make application profiles with any actual settings in them.
  • Neither nvidia-settings nor mate-optimus-applet can change the mode. It looks like it's changed, but there's no actual difference in behaviour after reboot.
  • The applet is therefore not useful.

So, it seems like I can choose between full mode switching via the applet (if I patch it to allow NVIDIA-0), or on demand switching via environment variables, but not both. Oh well.

I still think the applet needs to recognise both strings.

from mate-optimus.

MJimitater avatar MJimitater commented on July 16, 2024

@a-m-s thanks, good to know. Yes, I agree that applet needs to recognize both strings.

from mate-optimus.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.