Bug 34842 - X-server not working on Compaq laptop
Summary: X-server not working on Compaq laptop
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Giuseppe Ghibò
QA Contact:
URL:
Whiteboard:
Keywords: 10alpha1
Depends on:
Blocks:
 
Reported: 2025-12-12 11:07 CET by Herman Viaene
Modified: 2026-01-04 10:02 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
inxi command results (4.52 KB, text/plain)
2025-12-12 11:08 CET, Herman Viaene
Details
output of lsmod (8.38 KB, text/plain)
2025-12-23 15:20 CET, Herman Viaene
Details
xorgconf when working (2.52 KB, text/plain)
2025-12-23 17:04 CET, Herman Viaene
Details

Description Herman Viaene 2025-12-12 11:07:51 CET
Description of problem:
After an apprently successfull installation of MGA10 alpha1, I only can start the instance on run level 2.
All "startx"s commands fail for all DE's installed (Plasma, Xfce4, MATE and Icewm)


Version-Release number of selected component (if applicable):
MGA10 alpha1

How reproducible:
Allways.
This problem occurred also in the backport installation of kernel 6.12.60 in MGA9, except that there MATE worked OK, Plasma and Xfce4 did not.
Comment 1 Herman Viaene 2025-12-12 11:08:36 CET
Created attachment 15208 [details]
inxi command results
Frédéric "LpSolit" Buclin 2025-12-13 03:58:32 CET

Keywords: (none) => 10alpha1

Comment 2 katnatek 2025-12-13 18:18:18 CET
I think your issue is similiar to mine
https://bugs.mageia.org/show_bug.cgi?id=34846

Please in recovery mode run drakx11 and set modesettings as video driver
katnatek 2025-12-13 19:14:36 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=34846
CC: (none) => j.alberto.vc

Comment 3 Giuseppe Ghibò 2025-12-15 09:51:23 CET
Why you don't try the live plasma instead?

CC: (none) => ghibomgx

Comment 4 Herman Viaene 2025-12-15 10:00:59 CET
See the riseup pad: that works. That is why I have to wipe it out and start over again to do what Comment 2 asks.
Comment 5 Herman Viaene 2025-12-15 18:13:09 CET
Installed m10 afresh on Compaq laptop, followed instructions in Comment 2 and rebooted, with the normal boot: hangs again , X does not start.
Comment 6 katnatek 2025-12-15 18:26:13 CET
Look like your system have other issue
Other thing you can try is remove or rename /etc/X11/xorg.conf
Comment 7 Herman Viaene 2025-12-16 13:25:57 CET
You mean like:
boot in recovery mode
rename /etc/X11/xorg.conf to /etc/X11/xorg.conf.20251216
run drakx11
reboot normally.
Result: nihil as far as X server is concerned.
Comment 8 Giuseppe Ghibò 2025-12-16 13:30:21 CET
(In reply to Herman Viaene from comment #7)

> You mean like:
> boot in recovery mode
> rename /etc/X11/xorg.conf to /etc/X11/xorg.conf.20251216
> run drakx11
> reboot normally.
> Result: nihil as far as X server is concerned.

I think he means rename or discard /etc/X11/xorg.conf, then start in a configuration where there isn't any xorg.conf file (so don't run drakx11 later), not clean xorg.conf and recreate.

Also if that doesn't work try with passing:

radeon.si_support=1 radeon.cik_support=1 amdgpu.si_support=0 amdgpu.cik_support=0

or

radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1

at boot cmdline.
Comment 9 Herman Viaene 2025-12-16 14:15:24 CET
First try:
boot in recovery mode
remove /etc/X11/xorg.conf
reboot
Noppes, nihil, niente, no X server.
Second try:
First option to add to boot cmdline (painfull as this involves typing QWERTY on an AZERTY keyboard) that made it! Tried both xfce4 as plasma, seems to work OK.
Comment 10 Lewis Smith 2025-12-17 17:19:31 CET
Assigning to you, Giuseppe, as you are already onto it.

Assignee: bugsquad => ghibomgx
CC: ghibomgx => (none)

Comment 11 Herman Viaene 2025-12-23 14:09:31 CET
Tested again on round2: adding radeon.si_support=1 radeon.cik_support=1 amdgpu.si_support=0 amdgpu.cik_support=0 to command line has no result now.
Comment 12 Giuseppe Ghibò 2025-12-23 14:14:38 CET
So it works or doesn't anymore?
Comment 13 Herman Viaene 2025-12-23 14:45:45 CET
The first option does not work anymore, but the second does (didn't use that on in round1.
Now, using grub2, where can I edit that command line so it is permanent for this instance???
Comment 14 Giuseppe Ghibò 2025-12-23 14:50:19 CET
/etc/default/grub for adding (line GRUB_CMDLINE_LINUX_DEFAULT) then updating the config with update-grub2.

The config that works are with amdgpu or radeon as kernel module? And which entry in /etc/X11/xorg.conf if used? Does it work with modesetting and does it work with no /etc/X11/xorg.conf file at all?
Comment 15 Herman Viaene 2025-12-23 15:05:55 CET
In /etc/X11/xorg.conf I see driver "amdgpu".
I tried before with no /etc/X11/xorg.conf file, but that did not improve the situation.
kernel module??? No idea how to get there.
And one more question: does changing the /etc/default/grub impact only this particular instance, or all (I have two other M9 parttitions) on the laptop.
Comment 16 Herman Viaene 2025-12-23 15:20:06 CET
Created attachment 15248 [details]
output of lsmod
Comment 17 Giuseppe Ghibò 2025-12-23 15:34:20 CET
And in /etc/X11/xorg.conf the Device section when it's working is using Driver "amdgpu" or "radeon"? or "modesetting"?
Comment 18 Herman Viaene 2025-12-23 16:33:54 CET
Added the line in /etc/default/grub and run update-grub2. As I suspected/feared this reported:
Found M10 on sdax
Found M9 on sday
Found M9 on sdaz
and then completed.
Rebooted and checked the command lines: only one of the M9 instances has the assignments, not the other M9, not the M10.
Booting the M10 of course then does not start X server.
Grub 2 has aiisues when too many kernal modules are found on the machine, it looks like this is another one.
I will try refind but getting rid of grub is another matter.
Comment 19 Herman Viaene 2025-12-23 17:04:05 CET
Created attachment 15249 [details]
xorgconf when working
Comment 20 Felix Miata 2026-01-04 09:35:40 CET
All good here with a tad newer Kaveri GCN-2 GPU, and without /etc/X11/xorg.conf:
# inxi -GSaz --vs --za --hostname
inxi 3.3.40-00 (2025-11-25)
System:
  Host: ga88x Kernel: 6.12.63-desktop-1.mga10 arch: x86_64 bits: 64
    compiler: gcc v: 15.2.0 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz root=LABEL=<filter> noresume
    ipv6.disable=1 net.ifnames=0 mitigations=off consoleblank=0
    radeon.cik_support=0 amdgpu.cik_support=1
  Desktop: TDE (Trinity) v: R14.1.5 tk: Qt v: 3.5.0 wm: Twin v: 3.0
    with: kicker vt: 7 dm: 1: TDM 2: XDM Distro: Mageia 10
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
    vendor: Gigabyte driver: amdgpu v: kernel alternate: radeon arch: GCN-2
    code: Sea Islands process: GF/TSMC 16-28nm built: 2013-17 ports:
    active: DVI-D-1,HDMI-A-1 empty: VGA-1 bus-ID: 00:01.0 chip-ID: 1002:130f
    class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.21 compositor: Twin v: 3.0 driver: X:
    loaded: modesetting dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-D-1 pos: right model: Dell P2213 serial: <filter>
    built: 2013 res: mode: 1680x1050 hz: 60 scale: 100% (1) dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: mode: 1920x1200 hz: 60 scale: 100% (1)
    dpi: 94 gamma: 1.2 size: 519x324mm (20.43x12.76") diag: 612mm (24.1")
    ratio: 16:10 modes: max: 1920x1200 min: 640x480
  API: OpenGL v: 4.6 vendor: amd mesa v: 25.3.3 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri ACO
    DRM 3.61 6.12.63-desktop-1.mga10) device-ID: 1002:130f memory: 1000 MiB
    unified: no
  API: Vulkan v: 1.4.335 layers: 5 device: 0 type: integrated-gpu name: AMD
    Radeon R7 Graphics (RADV KAVERI) driver: mesa radv v: 25.3.3
    device-ID: 1002:130f surfaces: N/A device: 1 type: cpu name: llvmpipe
    (LLVM 20.1.8 256 bits) driver: mesa llvmpipe v: 25.3.3 (LLVM 20.1.8)
    device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, glxinfo, vulkaninfo x11: xdriinfo, xdpyinfo,
    xprop, xrandr
#
Note the different/fewer AMD-specific cmdline options I use - only: radeon.cik_support=0 amdgpu.cik_support=1
The .si options are specific to GCN-1 APUs, while .cik options are specific to GCN-2. That said, all four options are expected to become invalid post-6.17 kernels or sooner, with amdgpu module becoming preferred over radeon by default. With various distros and post-6.12 kernels I've been finding need to omit one or both for KMS to function, or completely non-functional KMS with or without them.

CC: (none) => mrmazda

Comment 21 Felix Miata 2026-01-04 10:02:23 CET
I just tried stable/testing desktop 6.18.2-5 with the .cik parameters omitted, 
# lsmod | sort | grep -E 'video|amdg'
amdgpu              14843904  0
amdxcp                 12288  1 amdgpu
cec                    98304  2 drm_display_helper,amdgpu
drm_buddy              28672  1 amdgpu
drm_client_lib         12288  2 amdgpu,radeon
drm_display_helper    299008  2 amdgpu,radeon
drm_exec               12288  2 amdgpu,radeon
drm_kms_helper        241664  5 drm_display_helper,amdgpu,radeon,drm_ttm_helper,drm_client_lib
drm_panel_backlight_quirks    12288  1 amdgpu
drm_suballoc_helper    16384  2 amdgpu,radeon
drm_ttm_helper         16384  2 amdgpu,radeon
gpu_sched              69632  1 amdgpu
i2c_algo_bit           16384  2 amdgpu,radeon
ttm                   118784  3 amdgpu,radeon,drm_ttm_helper
video                  77824  2 amdgpu,radeon
wmi                    28672  1 video
#
Xorg fails to start with:
[    11.144] (EE) open /dev/dri/card0: No such file or directory
and only three possible drm clues I managed to spot in dmesg:
[    7.014273] systemd[1]: Load Kernel Module drm was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!drm).
[   11.548713] fbcon: radeondrmfb (fb0) is primary device
[   11.664973] radeon 0000:00:01.0: [drm] fb0: radeondrmfb frame buffer device
#
I booted again with radeon.cik_support=0 amdgpu.cik_support=1 included, and all seems as well as with 6.12.63 including them.

Note You need to log in before you can comment on or make changes to this bug.