Bug 32596

Summary: Mageia 9 not booting with Ryzen 7 7700, apparent XFdrake xorg.conf problem
Product: Mageia Reporter: Ezequiel Partida <ezequiel_partida>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, fri, lewyssmith, mageia
Version: 9   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Fronzen boot Ryzen 7 7700

Description Ezequiel Partida 2023-12-05 13:22:32 CET
Created attachment 14198 [details]
Fronzen boot Ryzen 7  7700

Description of problem:

It got stuck at boot (Picture1 attacked)

I got in to recovery mode and noticed that /etc/X11/xorg.conf had VESA and not amdgpu so I deleted it and restarted. kernel 5.4.9-4 was installed at the moment with no updates installed.

After deleting /etc/X11/xorg.conf everything works fine.

$ lspci -nnk

14:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c5)
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu


$ lspci -nnk | grep VGA
14:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c5)

$ inxi -G
Graphics:
  Device-1: AMD Raphael driver: amdgpu v: kernel
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
    loaded: amdgpu,v4l unloaded: fbdev,modesetting,vesa dri: radeonsi
    gpu: amdgpu resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.9 renderer: AMD Radeon Graphics
    (raphael_mendocino LLVM 15.0.6 DRM 3.52 6.4.9-desktop-4.mga9)


Mageia Control Center / Setup The Graphical Server wants to install vesa and not amgdpu.

It seems the APU is not detected yet by XFdrake.

I also tried using netinstaller and I had the same problem, I had my Nvidia 2060  installed at the time.

I will keep the NVIDIA card out at the moment if you guys need me to do more testing on this.

Regards
ZekeMX
Comment 1 Lewis Smith 2023-12-05 20:54:54 CET
Thank you for the report.
Can you please clarify what the circumstances: did the freeze happen during installation, or when first booting the installed system?
Did you install with propretary video (normally applies to nVidia), or not?

It looks like the problem is that Mageia chooses 'vesa' rather than 'amdgpu'.
Are the lspci & inxi outputs above from the 'corrected' system? What were they when the fault happened (you were able to boot into Rescue mode to see)?

CC'ing a couple of people who might comment.

CC: (none) => davidwhodgins, lewyssmith, mageia

Comment 2 Martin Whitaker 2023-12-05 22:14:04 CET
Yes, the GPU ID [1002:164e] is not listed in /usr/share/ldetect-lst/pcitable.gz, so drakx11 does not know which driver to use. It should let you manually select the correct driver though.

Deleting /etc/X11/xorg.conf is a valid alternative - that allows the X server to automatically select which driver to use.

The Live ISOs should work on this system, because they default to having no xorg.conf.
Comment 3 Ezequiel Partida 2023-12-06 03:30:15 CET
(In reply to Lewis Smith from comment #1)
> Thank you for the report.
> Can you please clarify what the circumstances: did the freeze happen during
> installation, or when first booting the installed system?
> Did you install with propretary video (normally applies to nVidia), or not?
> 
> It looks like the problem is that Mageia chooses 'vesa' rather than 'amdgpu'.
> Are the lspci & inxi outputs above from the 'corrected' system? What were
> they when the fault happened (you were able to boot into Rescue mode to see)?
> 
> CC'ing a couple of people who might comment.

When I did the install using netinstaller something else happen. It did install the nvidia propietary drivers but it went directly to recovery mode, but I didn´t look in to it so I did a secon install but with Classic install and I took the nvidia out, this is where I noticed that stoped at first boot.
Comment 4 Ezequiel Partida 2023-12-06 03:31:24 CET
(In reply to Martin Whitaker from comment #2)
> Yes, the GPU ID [1002:164e] is not listed in
> /usr/share/ldetect-lst/pcitable.gz, so drakx11 does not know which driver to
> use. It should let you manually select the correct driver though.
> 
> Deleting /etc/X11/xorg.conf is a valid alternative - that allows the X
> server to automatically select which driver to use.
> 
> The Live ISOs should work on this system, because they default to having no
> xorg.conf.

Exactly, Unfortunately I had a problem once with live iso since mageia-prime seamed not to work correctly.
Comment 5 Martin Whitaker 2023-12-06 10:39:32 CET
The nvidia drivers not working is a different issue. You should open a separate bug report for that.
Comment 6 Lewis Smith 2023-12-10 20:54:30 CET
(In reply to Martin Whitaker from comment #2)
> Yes, the GPU ID [1002:164e] is not listed in
> /usr/share/ldetect-lst/pcitable.gz, so drakx11 does not know which driver to
> use. It should let you manually select the correct driver though.
So it looks as if the question might be:
"Did the Classic Installer allow you [Ezequiel] to configure the graphics and do what Martin suggests? Could it be that if drakx11 does not recognise the graphics hardware, it fails to ask you to chose the driver?"
Comment 7 Ezequiel Partida 2024-02-19 21:58:27 CET
Yes, the Classic installer works great without any problems.
Comment 8 Morgan Leijström 2024-02-20 23:02:40 CET
(In reply to Ezequiel Partida from comment #7)
> Yes, the Classic installer works great without any problems.

Did the default automatic choice work, or did you have to select another?
(if so which)?

CC: (none) => fri

Comment 9 Ezequiel Partida 2024-04-17 17:44:58 CEST
Hello,

Sorry for the delayed answer,

I moved back to the classic install and it works great!.

Thanks Morgan
Comment 10 Morgan Leijström 2024-04-17 18:32:01 CEST
I take it that Mageia 9 defaults work, and also current updates.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME