bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.33k stars 62 forks source link

[BUG]unable to install on fedora 40 #187

Open nagaisa opened 2 months ago

nagaisa commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Run sudo dnf copr enable epel-9-x86_64 and 'sudo dnf copr enable centos-stream+epel-next-9-x86_64'
  2. run 'sudo dnf install python3-envycontrol'
  3. :c

Expected behavior envycontrol to install Screenshots image

System Information:

Additional context Add any other context about the problem here. If possible try to reproduce the problem with --verbose flag and attach its output.

sunwire commented 2 months ago
  1. sudo dnf copr enable epel-9-x86_64 isn't a valid command. the format is copr_username/copr_projectname, so I guess based on the screenshot it should be sudo dnf copr enable thonkdifferent/envycontrol
  2. That repo provides envycontrol for a RHEL9 based distribution and it won't work on Fedora
  3. If you want to use envycontrol on Fedora use the source code or at your own risk you can use the appropriate repo
nagaisa commented 2 months ago
  1. sudo dnf copr enable epel-9-x86_64 isn't a valid command. the format is copr_username/copr_projectname, so I guess based on the screenshot it should be sudo dnf copr enable thonkdifferent/envycontrol

    1. That repo provides envycontrol for a RHEL9 based distribution and it won't work on Fedora

    2. If you want to use envycontrol on Fedora use the source code or at your own risk you can use the appropriate repo

when i tryed to do 'thonkdifferent/envycontrol' it didint work, giveing

Error: It wasn't possible to enable this project.
Repository 'fedora-40-x86_64' does not exist in project 'thonkdifferent/envycontrol'.
Available repositories: 'epel-9-x86_64', 'centos-stream+epel-next-9-x86_64'

but it showed those two as avaiable to so i used those. forgot to add that part to the post.

bayasdev commented 2 months ago

@nagaisa please use the @sunwire repo

nagaisa commented 2 months ago

@nagaisa please use the @sunwire repo

alredy trying, just had to wait a bit to do it as i had to wait for my laptop to charge some, will update once i do