LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2013, 09:03 AM   #1
comfree
LQ Newbie
 
Registered: Aug 2012
Location: Germany
Distribution: Slackware64-current, Slackware64 14.0
Posts: 28

Rep: Reputation: Disabled
Qemu on Slackware-current stays black


I recently ran into the problem that qemu on my slackware-current machine is not working properly.
When I try to start with:

Code:
qemu-kvm -cdrom opensuse.iso -m 4096 -smp 4
or with

Code:
qemu-system-x86_64 -cdrom opensuse.iso -enable-kvm -m 4096 -smp 4
Doesnt matter if I give it a less memory or less cpu power, its always the same.

The qemu window pops up but it stays black.
The intel-kvm and kvm modules are loaded.
This happens to me when using qemu:
  • 1.2 from alienbobs repo
  • 1.3 from slackys repo
  • 1.4 from slackbuilds 14.0 repo
  • 1.6 from slackbuilds current repo

With the versions 1.2, 1.3 and 1.4 I see the boot options from the iso, after selecting whatsoever it stays black.
My CPU is used a lot by qemu.

Does anybody know the problem here? I don't get it...
Even after building qemu without slackbuilds and my own options it won't work.
VirtualBox is working properly but I'd like to stay with qemu.

Thanks.
 
Old 09-27-2013, 09:30 AM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 96
This is what I have been using for quite some time, still works for me:
Code:
export QEMU_AUDIO_DRV=sdl
export SDL_AUDIODRIVER=alsa
qemu-kvm --enable-kvm -localtime -m 2G -sdl -display sdl -vga vmware -usbdevice tablet -smp 2 -net nic,model=virtio -net user -drive file=VirtualDrives/slackware-14.0.img,cache=none,if=ide &
your cdrom looks right, maybe add the -display or --enable-kvm?
 
1 members found this post helpful.
Old 09-27-2013, 09:31 AM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, Alma, OpenBSD, FreeBSD
Posts: 567

Rep: Reputation: Disabled
Your problem (or what I believe you describe as your problem) was previously discussed here:

http://www.linuxquestions.org/questi...ay-4175476392/

Last edited by TommyC7; 09-27-2013 at 09:39 AM.
 
1 members found this post helpful.
Old 09-27-2013, 09:41 AM   #4
comfree
LQ Newbie
 
Registered: Aug 2012
Location: Germany
Distribution: Slackware64-current, Slackware64 14.0
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks a lot! I did not try the -sdl option. It's working now!

Solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sometimes black screen after logout x in Slackware-Current hj_18 Slackware 3 03-03-2013 08:23 PM
[SOLVED] slackware current - xfce 4.10 shows completely blank black screen aaazen Slackware 8 08-05-2012 05:53 PM
Slackware current freeze with black screen zrdc28 Slackware 16 05-11-2012 09:52 AM
[SOLVED] Black screen after logout in Slackware-Current piratesmack Slackware 18 08-08-2010 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration