> On Mon, 27 Apr 2020 16:33:54 -0000
> "stan" ; wrote:
> 
> 
> I recall you saying
> that you have no way of turning off the intel gpu from the bios.  Is
> that true?  

Unfortunately no way to switch off the Intel Graphics from the BIOS.

> Check at the website of the builder of your laptop, and
> maybe ask them if it is possible.  That's the simplest solution.  No
> dice?

I can try but most probably they wont reply, even if they did I don't think 
they would know anything about Linux or open-source drivers. They are focussed 
for Windows. 

 
> I was going to suggest building a kernel without the intel driver 

Ok before I about compiling my own kernel I would like to inform you about what 
I have done so far.

So I have followed the instructions of :

https://help.ubuntu.com/community/HybridGraphics

The first thing it asks you to do is add a kernel parameter to 
GRUB_CMDLINE_LINUX, so I added the following parameter :

radeon.modeset=1

Now I rebooted and checked the status as per the instructions in the page. I 
used the command:

sudo cat /sys/kernel/debug/vgaswitcheroo/switch

Output:
0:DIS: :DynOff:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

So far so good.
This makes sense since I suspected the Integrated Graphics was being used and 
the Discrete Graphics card ie. AMD was off.

The tutorial then instructs to turn on the discrete graphics and connect it to 
the graphics output using these two commands:

sudo echo ON > /sys/kernel/debug/vgaswitcheroo/switch
sudo echo DIS > /sys/kernel/debug/vgaswitcheroo/switch

Now is were things get weird.

Running these two commands with "sudo" results in a permission denied error.

bash: /sys/kernel/debug/vgaswitcheroo/switch: Permission denied

Which is weird, I mean what the hell is the point of using "sudo".

Running these commands as root - DOES ABSOLUTELY NOTHING.
No error. No lockup. Nothing.

I even checked the status using the command mentioned above and it still gave 
me the same output where the discrete graphics is turned off and the integrated 
one is used.

I have to tell you, I was doing all this in Wayland and not X.

Weirldy after modifying the GRUB_CMDLINE_LINUX I am getting "radeon" in my boot 
log.
You can find my entire log here:
https://pastebin.com/3wqhaDAY

(I hope I am not exposing any sensitive information)


So any suggestions ? Anything at all ?

Regards,
Sreyan 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to