| Summary: | M5RC qemu efimode: DVD installer does not start X-Server (unless explicitly choosing 32bpp) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Lutz Lacher <l.lacher> |
| Component: | Installer | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | thierry.vignaud, tmb |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: |
Xorg.0.log with cirrus graphic card
Xorg.0.log with std graphic card report.bug.xz from text installation report.bug.xz with standard commandline screenshot of grub in qemu |
||
|
Description
Lutz Lacher
2015-05-08 19:56:22 CEST
Created attachment 6480 [details]
Xorg.0.log with cirrus graphic card
Created attachment 6481 [details]
Xorg.0.log with std graphic card
Lutz Lacher
2015-05-08 19:59:24 CEST
Attachment 6481 mime type:
application/vnd.sun.xml.draw.template =>
text/plain
Lutz Lacher
2015-05-08 19:59:47 CEST
Attachment 6480 mime type:
application/octet-stream =>
text/plain I though I'd already reported that one but it looks like I did so only through mail CC:
(none) =>
thierry.vignaud, tmb Can you attach your /root/drakx/report.bug.xz please? Keywords:
(none) =>
NEEDINFO There's no /root/drakx/report.bug.xz, do i have to create it manually? No, it's created by the installer at the end of installation. So this is not a classical installation? Ok, i thougt it's generated in case of an error, e.g. if the X-Server doesn't start. The attached one is from an KDE-Installation with no online updates. Created attachment 6490 [details]
report.bug.xz from text installation
Created attachment 6491 [details]
report.bug.xz with standard commandline
Either this bug has an easy fix (Thierry? Thomas?), or it will have to be fixed for Mageia 6 I guess, we're really close to the final release. I think the problem is in the generated xorg.conf (/tmp/Xconf) in stage2. I've created an "Usb Install", and unsquashed the mdkinst.sqfs and changed some options of the configfile. It seems to me, that the X-Server breaks at the "Depth"-Configurations in the xorg.conf file, commenting them out makes the X-Server start as expected.
--- squashfs-root.org/usr/lib/libDrakX/install/gtk.pm 2015-04-20 22:52:03.000000000 +0200
+++ squashfs-root.new/usr/lib/libDrakX/install/gtk.pm 2015-05-14 12:55:56.908410525 +0200
@@ -283,9 +283,9 @@
Identifier "screen"
Device "device"
Monitor "monitor"
- DefaultColorDepth $depth
+# DefaultColorDepth $depth
Subsection "Display"
- Depth $depth
+# Depth $depth
Modes $resolution
EndSubsection
EndSection
Another workaround: setting the depth in the grub.cfg to 32 makes the X-Server start with the default mdkinst.sqfs
diff -u grub.cfg.org grub.cfg
--- grub.cfg.org 2015-05-14 13:17:44.000000000 +0200
+++ grub.cfg 2015-05-14 13:29:34.000000000 +0200
@@ -9,7 +9,7 @@
if loadfont ${prefix}/fonts/unicode.pf2
then
insmod gfxterm
- set gfxmode=1024x768,800x600,640x480
+ set gfxmode=1024x768x32,800x600x32,640x480x32
set gfxpayload=keep
terminal_output gfxterm
fi
The next workaround, without altering anything on the DVD: Edit the grub section "Start Mageia 5 (Cauldron) Install", insert set gfxpayload=1024x768x32 before the kernel/linux-line (screenshot attached), works with both cirrus and std graphic card Created attachment 6545 [details]
screenshot of grub in qemu
It's strange that fb fails with 24bpp... (==) Depth 24 pixmap format is 32 bpp (EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode (EE) FBDEV(0): mode initialization failed (EE) Fatal server error: (EE) AddScreen/ScreenInit failed for driver 0 Summary:
M5RC qemu efimode: DVD installer does not start X-Server =>
M5RC qemu efimode: DVD installer does not start X-Server (unless explicitly choosing 32bpp) (In reply to Lutz Lacher from comment #13) > The next workaround, without altering anything on the DVD: > > Edit the grub section "Start Mageia 5 (Cauldron) Install", insert > > set gfxpayload=1024x768x32 > > before the kernel/linux-line (screenshot attached), works with both cirrus > and std graphic card The above workaround works only with -vga std, for the cirrus card you have to reduce the resolution to 800x600x32
Samuel Verschelde
2015-06-02 14:56:07 CEST
Keywords:
NEEDINFO =>
(none) No problem with MGA5 final (Mageia-5-x86_64-DVD.iso) anymore, this bug can be closed, i think. Thank you. thanks Status:
NEW =>
RESOLVED |