Bug 10263 - screen not found error - Mageia 3 on qemu/kvm
Summary: screen not found error - Mageia 3 on qemu/kvm
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, PATCH
Depends on:
Blocks:
 
Reported: 2013-05-24 22:07 CEST by Anuj Singh
Modified: 2015-03-31 16:06 CEST (History)
2 users (show)

See Also:
Source RPM: ldetect-lst
CVE:
Status comment:


Attachments
fix default driver for Cirrus GD54xx (260 bytes, patch)
2013-05-28 18:23 CEST, Thierry Vignaud
Details | Diff

Description Anuj Singh 2013-05-24 22:07:10 CEST
Description of problem:
screen not found error - installed mageia 3 on qemu/kvm

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


How reproducible:
give X command from tty to start X-session

Steps to Reproduce:
1.
2.
3.

Logs:
[    17.673] 
X.Org X Server 1.13.4
Release Date: 2013-04-17
[    17.673] X Protocol Version 11, Revision 0
[    17.673] Build Operating System: Linux_3.4.34-server-1.mga2 Mageia
[    17.673] Current Operating System: Linux localhost 3.8.13-desktop-1.mga3 #1 SMP Tue May 14 19:05:25 UTC 2013 x86_64
[    17.673] Kernel command line: BOOT_IMAGE=linux root=/dev/vg-mga/root  splash quiet resume=/dev/vg-mga/swap vga=788
[    17.673] Build Date: 22 April 2013  06:27:52AM
[    17.673]  
[    17.673] Current version of pixman: 0.28.2
[    17.673]    Before reporting problems, check http://bugs.mageia.org
        to make sure that you have the latest version.
[    17.673] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.673] (==) Log file: "/var/log/Xorg.5.log", Time: Fri May 24 15:36:45 2013
[    17.673] (==) Using config file: "/etc/X11/xorg.conf"
[    17.673] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    17.673] (==) ServerLayout "layout1"
[    17.673] (**) |-->Screen "screen1" (0)
[    17.673] (**) |   |-->Monitor "monitor1"
[    17.673] (**) |   |-->Device "device1"
[    17.673] (**) Option "DontZap" "False"
[    17.673] (**) Option "AllowMouseOpenFail"
[    17.673] (==) Automatically adding devices
[    17.673] (==) Automatically enabling devices
[    17.673] (==) Automatically adding GPU devices
[    17.673] (==) FontPath set to:
        catalogue:/etc/X11/fontpath.d
[    17.673] (==) ModulePath set to "/usr/lib64/xorg/extra-modules,/usr/lib64/xorg/modules"
[    17.673] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    17.673] (II) Loader magic: 0x7fbc40
[    17.673] (II) Module ABI versions:
[    17.673]    X.Org ANSI C Emulation: 0.4
[    17.673]    X.Org Video Driver: 13.1
[    17.673]    X.Org XInput driver : 18.0
[    17.673]    X.Org Server Extension : 7.0
[    17.673] (II) config/udev: Adding drm device (/dev/dri/card0)
[    17.676] (--) PCI:*(0:0:2:0) 1013:00b8:1af4:1100 rev 0, Mem @ 0xfc000000/33554432, 0xfebf4000/4096, BIOS @ 0x????????/65536
[    17.677] (II) Open ACPI successful (/var/run/acpid.socket)
[    17.677] Initializing built-in extension Generic Event Extension
[    17.677] Initializing built-in extension SHAPE
[    17.677] Initializing built-in extension MIT-SHM
[    17.677] Initializing built-in extension XInputExtension
[    17.677] Initializing built-in extension XTEST
[    17.677] Initializing built-in extension BIG-REQUESTS
[    17.677] Initializing built-in extension SYNC
[    17.677] Initializing built-in extension XKEYBOARD
[    17.677] Initializing built-in extension XC-MISC
[    17.677] Initializing built-in extension SECURITY
[    17.677] Initializing built-in extension XINERAMA
[    17.677] Initializing built-in extension XFIXES
[    17.677] Initializing built-in extension XFree86-Bigfont
[    17.677] Initializing built-in extension RENDER
[    17.677] Initializing built-in extension RANDR
[    17.677] Initializing built-in extension COMPOSITE
[    17.677] Initializing built-in extension DAMAGE
[    17.677] Initializing built-in extension MIT-SCREEN-SAVER
[    17.678] Initializing built-in extension DOUBLE-BUFFER
[    17.678] Initializing built-in extension RECORD
[    17.678] Initializing built-in extension DPMS
[    17.678] Initializing built-in extension X-Resource
[    17.678] Initializing built-in extension XVideo
[    17.678] Initializing built-in extension XVideo-MotionCompensation
[    17.678] Initializing built-in extension XFree86-VidModeExtension
[    17.678] Initializing built-in extension XFree86-DGA
[    17.678] Initializing built-in extension XFree86-DRI
[    17.678] Initializing built-in extension DRI2
[    17.678] (II) "glx" will be loaded by default.
[    17.678] (II) LoadModule: "v4l"
[    17.678] (II) Loading /usr/lib64/xorg/modules/drivers/v4l_drv.so
[    17.678] (II) Module v4l: vendor="X.Org Foundation"
[    17.678]    compiled for 1.13.1.901, module version = 0.1.1
[    17.678]    ABI class: X.Org Video Driver, version 13.1
[    17.678] (II) LoadModule: "glx"
[    17.678] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    17.678] (II) Module glx: vendor="X.Org Foundation"
[    17.678]    compiled for 1.13.4, module version = 1.0.0
[    17.678]    ABI class: X.Org Server Extension, version 7.0
[    17.678] (==) AIGLX enabled
[    17.678] Loading extension GLX
[    17.678] (II) LoadModule: "cirrus"
[    17.678] (II) Loading /usr/lib64/xorg/modules/drivers/cirrus_drv.so
[    17.678] (II) Module cirrus: vendor="X.Org Foundation"
[    17.678]    compiled for 1.13.1.901, module version = 1.5.2
[    17.678]    Module class: X.Org Video Driver
[    17.678]    ABI class: X.Org Video Driver, version 13.1
[    17.678] (II) v4l driver for Video4Linux
[    17.678] (II) CIRRUS: driver for Cirrus chipsets: CLGD5430, CLGD5434-4, CLGD5434-8,
        CLGD5436, CLGD5446, CLGD5480, CL-GD5462, CL-GD5464, CL-GD5464BD,
        CL-GD5465, CL-GD7548, CL-GD7555, CL-GD7556
[    17.679] (++) using VT number 1

[    17.679] (WW) Falling back to old probe method for v4l
[    17.679] (WW) Falling back to old probe method for cirrus
[    17.679] (--) Assigning device section with no busID to primary device
[    17.679] (--) Chipset CLGD5446 found
[    17.679] (EE) cirrus: The PCI device 0xb8 at 00@00:02:0 has a kernel module claiming it.
[    17.679] (EE) cirrus: This driver cannot operate until it has been unloaded.
[    17.679] (EE) No devices detected.
[    17.679] 
Fatal server error:
[    17.679] no screens found
[    17.679] (EE) 
Please consult the The X.Org Foundation support 
         at http://bugs.mageia.org
 for help. 
[    17.679] (EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
[    17.679] (EE) 


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-05-24 23:08:29 CEST

CC: (none) => alien, thierry.vignaud

Comment 1 Thierry Vignaud 2013-05-24 23:32:46 CEST
It tried the "cirrus" driver whereas there's a KMS driver for this card now.
Can you report the result of the following command:
lspcidrake -v | grep Card

Also, can you confirm if picking the "modesetting" driver in XFdrake fixes your issue?
Just click on the "Graphic Card" button, then choose "modesetting" in the "xorg" branch of the tree.

Keywords: (none) => NEEDINFO
Source RPM: (none) => ldetect-lst

Comment 2 AL13N 2013-05-25 09:11:21 CEST
@thierry: i expect that this is the cirrus driver, because in KVM the default grapic emulated model is "cirrus". i too had weird issues in mga3 with cirrus model, i just switched in KVM settings to vga model instead. though i would hope qxl might become default for mga4
Comment 3 Anuj Singh 2013-05-25 17:33:54 CEST
Thierry:

[root@localhost ~]# lspcidrake -v | grep Card
Card:Cirrus Logic GD54xx-based cards: Cirrus Logic|GD 5446 [DISPLAY_VGA] (vendor:1013 device:00b8 subv:1af4 subd:1100)

When tried XFdrake and selected "modesetting" in the "xorg" which gave.
No package named x11-driver-video-modesetting
Comment 4 Anuj Singh 2013-05-25 17:58:24 CEST
Tried to install x11-driver-video-modesetting from local media.

[root@localhost ~]# mount | grep media
/dev/sr0 on /media type iso9660 (ro,relatime)
[root@localhost ~]# find /media/ -name "x11*" | grep -i mod
[root@localhost ~]# echo $?
1
[root@localhost ~]# urpmi x11-driver-video-modesetting
No package named x11-driver-video-modesetting
[root@localhost ~]# urpmi nmap


installing nmap-6.25-3.mga3.x86_64.rpm from /media/x86_64/media/core
Preparing...                     #################################################################################################################
      1/1: nmap                  #################################################################################################################
[root@localhost ~]#
Comment 5 Thierry Vignaud 2013-05-25 21:51:24 CEST
Just add the whole network media (in Mageia Control Center: "Software Media Manager" => "Add"
Comment 6 Anuj Singh 2013-05-25 22:53:58 CEST
Thanks, x11-driver-video-modesetting installation worked.
Comment 7 Thierry Vignaud 2013-05-28 17:56:33 CEST
Did it worked?
Thierry Vignaud 2013-05-28 18:22:28 CEST

Keywords: (none) => PATCH

Comment 8 Thierry Vignaud 2013-05-28 18:23:44 CEST
Created attachment 4061 [details]
fix default driver for Cirrus GD54xx

if the modesetting driver works fine, could you check that XFdrake generates the right config after running the following commands as root in a terminal:

cd /usr/share/ldetect-lst/
patch -p2 < /where/it/was/downloaded/10263.diff
Comment 9 Samuel Verschelde 2013-08-26 17:37:42 CEST
Thierry, was this patch applied, or else what are the next steps for this bug?
Comment 10 Thierry Vignaud 2015-02-11 09:30:36 CET
It wasn't applied because nobody tested it on real hardware
Comment 11 Marja Van Waes 2015-03-31 16:06:30 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

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


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