Re: AMD GPU not used by Fedora 31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/20 1:12 PM, Sreyan Chakravarty wrote:
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.

I'm pretty sure if you do that, you will have a bad situation. You will end up stuck with the efi frame buffer which is really slow.

So I have followed the instructions of :

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

Not the highlighted caveat: "if your machine has a hardware mux" which it seems likely that yours doesn't.

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".

Those instructions can't work. The problem is that the redirection is done by the shell before sudo is run. So you've opened the "file" as your user and it doesn't matter what user the command is run as, it can't write to the file descriptor.

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

Because there's nothing it can do.

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

fbcon: i915drmfb (fb0) is primary device
i915 0000:00:02.0: fb0: i915drmfb frame buffer device
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux