Bug 313629 - KDE screen goes black when trying to create SDL window with Xen
Summary: KDE screen goes black when trying to create SDL window with Xen
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 15:42 UTC by Fernando Chaves
Modified: 2018-04-16 20:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the SDL window working in fluxbox (314.38 KB, image/png)
2013-01-21 16:17 UTC, Fernando Chaves
Details
Screenshot showing the SDL window working in pure X - just xterm (391.61 KB, image/png)
2013-01-21 16:18 UTC, Fernando Chaves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Chaves 2013-01-21 15:42:36 UTC
Normally, when you start a Xen domU virtual machine with sdl=1 in his configuration file in Xen, a window pops up with the screen framebuffer of the virtual machine, so you can control it with mouse and keyboard (just like VNC - also there is a "vnc=1" option in Xen). 

Note: If you close this window, the virtual machine is destroyed (hard shutdown).

Reproducible: Always

Steps to Reproduce:
1. Login normally in KDE
2. Create a Xen config file with "sdl = 1" in it. Let's call it "myxen.txt"
Example:
    name = "myxen"
    builder = "hvm"
    memory = 128
    vcpus = 1
    disk = [ ]
    vnc = 0
    sdl = 1

3. Start the domU with "xl create myxen.txt"
3. See a black screen. Done.
Actual Results:  
- The screen goes black, with a freezed mouse cursor and a static "_" in the top left corner of the screen. I must press Ctrl + Alt + F1 then Ctrl + Alt + F7 to bring KDE back.
- Sometimes it swaps to tty1 (sometimes tty2), showing a login prompt. I must press Ctrl + Alt + F7 to bring KDE back.
- My SDL window is not created. VM does not start.

The VM can't start, since the SDL window have not been created.
xl says: "libxl: error: libxl_dm.c:1245:libxl__destroy_device_model: Device Model already exited"

Expected Results:  
Create a SDL window so I can view/control the Virtual Machine.

Hardware tested:
MB: Striker II Formula
CPU: Core 2 Quad Q9650
VGA: Quadro FX580 (with Nouveau driver)

MB: G31-based motherboard (don't know the manufacturer)
CPU: Pentuim D E5300
VGA: GeForce 9800GT (tested both with nvidia and nouveau drivers)
Comment 1 Fernando Chaves 2013-01-21 16:17:48 UTC
Created attachment 76608 [details]
Screenshot showing the SDL window working in fluxbox
Comment 2 Fernando Chaves 2013-01-21 16:18:37 UTC
Created attachment 76609 [details]
Screenshot showing the SDL window working in pure X - just xterm
Comment 3 Fernando Chaves 2013-01-22 19:49:32 UTC
UPDATE: 
Starting the session "fluxbox" from KDM and starting the VM, the problem happens.
Starting fluxbox by editing .xinitrc or something, everything works normally.
Comment 4 Nate Graham 2018-04-16 20:22:59 UTC
KDM is unmaintained and not used in KDE Plasma 5.

SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/