Hi guys.
Is there any possibility to activate more than one GPU running LibreELEC? My problem its that when I'm activating the iGPU together with my Radeon RX Vega 56 LibreELEC won't boot, it just stucks at the LibreELEC logo. If I disable the iGPU system runs just fine. Im totally new to Linux so I would be really grateful to fix this issue.
Radeon RX Vega 56 stuck at boot logo
-
Enzio -
November 3, 2019 at 1:45 PM -
Thread is Resolved
-
-
- Official Post
I changed the topic title into something more relevant, otherwise you might as well want help on choosing accessories for the tank of your goldfish.
-
Okay no problem, thank you. Hopefully someone have the knowledge that I don't
-
- Official Post
When iGPU and eGPU are enabled, then Linux should select one. Usually it's the eGPU. I guess it's an LE bug not to do so.
To use multiple GPU's at the same time needs compatible GPU's and special driver support. I don't know your iGPU, and I bet it's not compatible to your eGPU. Generally your eGPU can be clustered (adding more eGPU's) by using AMD CrossFire.
-
Thank you for the reply. The iGPU is an Intel HD630 and other one is a Sapphire Radeon RX Vega 56 Pulse 8GB.
They both work under Win10 without any conflicts where the Vega is the main GPU. The second OS is macOS Catalina and there you need to have them both activated to use Hardware Encoder for H264 & HEVC. Also here they both work flawlessly and the Vega is the main GPU.Is there a way to se if it’s a possible bug in LE?
-
- Official Post
Is there a way to see if it’s a possible bug in LE?
Stranding at the boot logo sounds like a sure bet.
We have a bug report sub-forum you can use.
It's important to follow the rules for bug reports.
Post the part of the EFI settings, which do not work for LE (enabled iGPU).
Provide a log file.
If you can login by SSH while stranding at boot logo, then the output of dmesg and lspci would be interesting.
-
- Official Post
LE supports a single GPU being used, and if you have multiple devices the one used is determined through udev, see:
LibreELEC.tv/97-xorg.rules at master · LibreELEC/LibreELEC.tv · GitHub
^ the i915 device will be detected first, the amdgpu or radeon drivers are later. The simplest option to prevent i915 from being used is to blacklist the kernel module so it's not loaded at boot, e.g.
This will prevent udev seeing the node from the driver and it should find the AMD card instead.
NB: the above assumes i915 is the module name. It's about 10-years since I booted LE on anything with an Intel GPU so check it's right first.
-
There is no i915.ko module to be blacklisted, the graphic drivers are part of the kernel.
Follow this post and add initcall_blacklist=i915_init.
-
Okay now we are talking Hebrew, I don’t have a clue how to do this? Where do I start?
-
Start with Accessing LibreELEC [LibreELEC.wiki] to access your system via ssh.
Then use the commands linked in #8 to add the boot parameter. Please ask when you are stuck somewhere.
-
Now I'm logged in to the system via ssh. I did try to paste commands from #8 but nothing happened, so now I'm stuck one again.
-
- Official Post
Now I'm logged in to the system via ssh. I did try to paste commands from #8 but nothing happened, so now I'm stuck one again.
Did you do this?
- mount -o remount,rw /flash
- nano /flash/syslinux.cfg (opens the config file with the nano editor)
- add initcall_blacklist=i915_init as the last line of the config file
- type the key combination STRG+O to write your changes into the config file
- type the key combination STRG+X to leave the nano editor
- reboot LE to see whether it as any effect
-
I had an RX Vega for a short while, I think this was all I did to get it working:
If I'm not mistaken, you should be able to download the file to /storage/.config/udev.rules.d and it should override the system one.
Also, you might have better luck with my Wayland image which runs Kodi on GBM/KMS (no Xorg).
-
Did you do this?
- mount -o remount,rw /flash
- nano /flash/syslinux.cfg (opens the config file with the nano editor)
- add initcall_blacklist=i915_init as the last line of the config file
- type the key combination STRG+O to write your changes into the config file
- type the key combination STRG+X to leave the nano editor
- reboot LE to see whether it as any effect
I managed to open the nano editor, but I'm not sure were exactly to copy the blacklist info. And when I type the SRTG+O I only type in the letters what am I missing? I'm confused why can't there be a LibreElec whit out this problem?
-
- Official Post
I managed to open the nano editor, but I'm not sure were exactly to copy the blacklist info. And when I type the SRTG+O I only type in the letters what am I missing? I'm confused why can't there be a LibreElec whit out this problem?
Oh man, we are really going into the total basics now.
If you open the file with nano /flash/syslinux.cfg, then watch for file content.
If there is no content (I don't have any content at my one), you can instantly start typing this:
If the file already has an APPEND line, add " initcall_blacklist=i915_init" at the end of that line.
After typing, find the key Strg on your keyboard. Sometimes the key is labeled as Ctrl or Control. It's on the bottom left of the keyboard.
Press that key, and while keeping it pressed, press the O key to store the config file.
After that, do the same with the X key to leave the editor.
Type reboot and press Enter to reboot LE.
-
Da Flex and others:
I'm really greatfull for your effort to try to help me. As I wrote earlierI'm totally new to Linux. I did Everything as you wrote but still the same problem. This is what my syslinux.cfg looks like.DEFAULT linux
PROMPT 0
LABEL linux
KERNEL /KERNEL
APPEND boot=UUID=5DBE-1C09 disk=UUID=3a4bdefa-03f7-4274-bc32-a678e035269d quiet
initcall_blacklist=i915_init
-
- Official Post
Sorry, I made an error at my explanation. According to mglae it has to be like this (merge last two lines):
DEFAULT linux
PROMPT 0
LABEL linux
KERNEL /KERNEL
APPEND boot=UUID=5DBE-1C09 disk=UUID=3a4bdefa-03f7-4274-bc32-a678e035269d quiet initcall_blacklist=i915_init
-
A massive thank you to all you guys, it worked. I'm so happy for you help. No I can start to search for other issues to fix. I'll be back