How to install Linux with a broken secondary VGA

kuro_311

New Member
Joined
Sep 13, 2024
Messages
4
Reaction score
0
Credits
36
Hi everyone, so recently I'm trying to clean install Linux on a new SSD on an HP-bs1xx laptop.. This laptop has two VGA (Intel Dedicated + Radeon), but it seems like the Radeon driver is broken, so when I want to install Linux which I've burn the ISO file to a USB, it always gives this error

2.454277] UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-xufGPM/1 inux-hue-6.5-6.5.0/drivers/gpu/drm/radeon/radeon_atombios.c:2717:34
2.454286] index 16 is out of range for type 'UCHAR [1]
2.455141] UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-xufGPW/1 inux-hue-6.5-6.5.0/drivers/gpu/drm/radeon/radeon_atombios.c:2715:55
2.455148] index 1 1 is out of range for type 'UCHAR [1]'
2.4563121 UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-xufGPW/1
[2.4563161] index 2 is out of range for type 'ATOM_PPLIB_NONCLOCK_INFO [1]'
[2.4576031] UBSAN: array-index-out-of-bounds in /build/linux-hue-6.5-xufGPW/1
[2.4576751] index 2 is out of range for type 'ATOM_PPLIB_NONCLOCK_INFO [1]


Is there any solution for this error? Turning off the driver is not a problem for me
 
Last edited:


Welcome to the forums, crystal ball in hand, I am going to guess this is a 2015 machine with the AMD Radeon (TM) R7 M340, I didn't think it had duel graphics. so my first attempt would be to disable the Nvidia [as they often cause more problems than AMD] and try again, if you think the AMD is damaged then try it the other way
 
Hi and welcome to forums!

Which Linux are you installing? It looks like you're installing Ubuntu? I've seen this error already but don't recall which OS it was, I guess Ubuntu.
 
Hi and welcome to forums!

Which Linux are you installing? It looks like you're installing Ubuntu? I've seen this error already but don't recall which OS it was, I guess Ubuntu.
I'm installing Zorin, and yes it was Ubuntu based if I'm not mistaken
 
Since it's problem with Radeon driver you can try disabling it in BIOS.
But please be sure that Nvidia works otherwise you might soft brick your BIOS by not having video output.

And then run installation again.
I don't have any options to disable Radeon in my BIOS
 
Welcome to the forums, crystal ball in hand, I am going to guess this is a 2015 machine with the AMD Radeon (TM) R7 M340, I didn't think it had duel graphics. so my first attempt would be to disable the Nvidia [as they often cause more problems than AMD] and try again, if you think the AMD is damaged then try it the other way
How would I disable it? There's no option in the BIOS
 

Staff online


Top