LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-08-2013, 02:47 PM   #1
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
QEMU >v1.5.0 Defaults to GTK Display


Has anybody been successful enabling the new QEMU default GTK display using Slackware?

I've been playing around with QEMU 1.5.3 and 1.6.0 and haven't found the right combination yet to get the GTK display working. SDL display is working normally. The reason for working on the GTK display is based on the QEMU developer threads hinting SDL may be deprecated in future releases.

My host is 64 bit -current and the guests are both 32 bit 14.0 and 64 bit 14.0. The host and guests are full installs. Guest LILO is set to "vga=normal" to avoid using a framebuffer. The dependencies appear to be included in the Slackware provided packages (gtk-2.0 dev and vte dev). I've compiled using "--with-gtkabi=2.0" and even tried "--with-gtkabi-3.0" after installing VTE3 from SlackBuilds. No joy!

Any ideas? TIA.
 
Old 09-09-2013, 12:20 AM   #2
jprzybylski
Member
 
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 99

Rep: Reputation: 23
Just built qemu-1.6 on Slackware 14.0 on my little netbook (poor thing is not made for this) and gtk works fine.

Dumb question - during the configure step, did you pass '--enable-gtk'?
 
Old 09-09-2013, 07:18 AM   #3
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by jprzybylski View Post
...during the configure step, did you pass '--enable-gtk'?
Good question. Yes I tried it with and without that config option. No difference in the display functionality when running GTK. I'm wondering if it's something in the guest that has to be changed?
 
Old 09-09-2013, 01:18 PM   #4
jprzybylski
Member
 
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 99

Rep: Reputation: 23
Quote:
Originally Posted by Chuck56 View Post
Good question. Yes I tried it with and without that config option. No difference in the display functionality when running GTK. I'm wondering if it's something in the guest that has to be changed?
Display functionality - as in the gtk window never pops up, just the sdl one? Because running qemu-system-xxx with '-display gtk' might help.

Or if you mean that the gtk window does pop up, but the guests are acting strangely, then I am sadly out of ideas. I've never had a problem with Slackware in a VM.
 
Old 09-09-2013, 02:43 PM   #5
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
They work just fine other than the gtk display. I can access the guests with ssh or telnet into the ttyS0 while "-display gtk" is in effect (either blank or white vertical lines). When using "-display sdl" the display works as expected in addition to ssh and telnet.
Attached Thumbnails
Click image for larger version

Name:	guest2.png
Views:	192
Size:	186.4 KB
ID:	13374   Click image for larger version

Name:	guest3.png
Views:	156
Size:	83.9 KB
ID:	13375  
 
Old 09-09-2013, 11:01 PM   #6
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
I have actually had the same problem as you Chuck56 with the gtk thing in the newer qemu. My choice was to revert to using -sdl as well.
 
Old 09-09-2013, 11:26 PM   #7
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I'm going to wait for GTK feature to mature a bit more. SDL works so I'll stick with it for now. Thanks for the confirmation TommyC7.
 
Old 10-28-2013, 06:19 PM   #8
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Having upgraded from qemu 1.2 to 1.6 wasn't quite sure what I was looking at when booting up a WIN98 image. It starts OK with the splash screen then just gives up, resolving to vertical lines and the splash screen squashed vertically and repeated horizontally.

Eventually I came across the "-display sdl" option which resolved this issue.

Done a bit of digging and fell across this thread. My question is what is sdl and how is gtk different?

And, will sdl be taken away some time in the future?

Alex
 
Old 10-28-2013, 08:00 PM   #9
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by aikempshall View Post
...My question is what is sdl and how is gtk different?

And, will sdl be taken away some time in the future?

Alex
SDL is a library for up to 8 subsystems included display drivers:

SDL Library Documentation

The QEMU team already replaced the gtk display library for sdl display library as the default. It's just a matter of time before they retire the sdl display library completely.

Features/GtkDisplayState

It's good to see QEMU under active development. Sometimes it can be hard to keep up with.
 
  


Reply



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
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
LXer: Implementation Qemu-kvm 0.15.0, SpiceServer and Spice-Gtk-0.7 on Ubuntu 11.10 KVM Server the m LXer Syndicated Linux News 0 08-30-2011 04:40 PM
[SOLVED] ubuntu 9.10 defaults to black screen and prompt. no gtk window. python prob? drogue Ubuntu 1 11-30-2009 05:08 PM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 02:51 AM
X-gtk-display gabsik Linux - Software 10 02-01-2006 01:53 PM

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

All times are GMT -5. The time now is 05:28 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