qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: no start on amd64 (was "Nothing happens")
  2005-07-31 13:19 ` Johannes Schindelin
@ 2005-07-31 13:58   ` Rudi Lippert
  2005-07-31 14:19     ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Rudi Lippert @ 2005-07-31 13:58 UTC (permalink / raw)
  To: qemu-devel

Thanks for your reply.
I only created the bt because someone said it might help.
configure output looks fairly good to me, but I don't know much about those
things.
Is there anything else that might help understanding the problem?
Btw: Qemu is not even taking up CPU.


Install prefix    /usr
BIOS directory    /usr/share/qemu
binary directory  /usr/bin
Manual directory  /usr/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /var/tmp/portage/qemu-softmmu-0.7.1/work/qemu-0.7.1
C compiler        gcc
Host C compiler   gcc
make              make
host CPU          x86_64
host big endian   no
target list       i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
gprof enabled     no
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
FMOD support      no
kqemu support     yes


Johannes Schindelin wrote:
> Hi,
> 
> actually it looks more like the program was compiled with
> "-fomit-frame-pointer". For that reason, you only get correct names (and
> EIPs) for library calls.
> 
> Since QEmu uses as many physical registers as it can get, it is sensible
> to omit the frame pointer, because it has no meaning anyway once you are
> in translated code.
> 
> However, in your case I think it is more an SDL problem. Are you sure that
> the video mode you are trying to set is supported on your system? Could
> also be some sort of XShm hickup.
> 
> Ciao,
> Dscho
> 
> --
> Viruses love Micros**t

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: no start on amd64 (was "Nothing happens")
  2005-07-31 13:58   ` [Qemu-devel] " Rudi Lippert
@ 2005-07-31 14:19     ` Johannes Schindelin
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Schindelin @ 2005-07-31 14:19 UTC (permalink / raw)
  To: qemu-devel

Hi,

On Sun, 31 Jul 2005, Rudi Lippert wrote:

> Is there anything else that might help understanding the problem?

Do you have other programs running, which use SDL? Sorry, the configure
output does not help here.

> Btw: Qemu is not even taking up CPU.

That's right. It hangs in a select() when waiting for writable buffers.
That can mean a whole lot of anything. I doubt that you'll find out,
unless you're writing a small test program yourself, just initializing
SDL.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: no start on amd64 (was: "Nothing happens")
@ 2005-08-01 20:42 Rudi Lippert
  2005-08-01 21:02 ` Johannes Schindelin
  2005-08-01 21:06 ` J. Mayer
  0 siblings, 2 replies; 5+ messages in thread
From: Rudi Lippert @ 2005-08-01 20:42 UTC (permalink / raw)
  To: qemu-devel

So I packed all my C knowledge into a little test program, and here it is:

int main(int argc, char* argv) {
  SDL_Init(SDL_INIT_EVERYTHING);
  SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT);
  SDL_Quit();
}

Without SetVideoMode, it will terminate correctly. With SetVideoMode, it
needs to be kill9ed. I figured from the backtrace that it would be like that.

@Jocelyn: What are your use flags on libsdl? Mine are: +X +aalib +alsa -arts
+dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip
-nojoystick -novideo +opengl +oss -pic (-svga) +xinerama +xv
What do you think might cause the problem?

Cheers,
Rudi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: no start on amd64 (was: "Nothing happens")
  2005-08-01 20:42 [Qemu-devel] Re: no start on amd64 (was: "Nothing happens") Rudi Lippert
@ 2005-08-01 21:02 ` Johannes Schindelin
  2005-08-01 21:06 ` J. Mayer
  1 sibling, 0 replies; 5+ messages in thread
From: Johannes Schindelin @ 2005-08-01 21:02 UTC (permalink / raw)
  To: qemu-devel

Hi,

On Mon, 1 Aug 2005, Rudi Lippert wrote:

> So I packed all my C knowledge into a little test program, and here it is:
>
> int main(int argc, char* argv) {
>   SDL_Init(SDL_INIT_EVERYTHING);
>   SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT);

You could try to use specific bit depths, i.e. instead of 0 try 16, 32,
24, 8 (maybe even in that order).

>   SDL_Quit();
> }

I seem to recall that on my IRIX machine SDL could not find a video mode
unless the depth was specified exactly.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: no start on amd64 (was: "Nothing happens")
  2005-08-01 20:42 [Qemu-devel] Re: no start on amd64 (was: "Nothing happens") Rudi Lippert
  2005-08-01 21:02 ` Johannes Schindelin
@ 2005-08-01 21:06 ` J. Mayer
  1 sibling, 0 replies; 5+ messages in thread
From: J. Mayer @ 2005-08-01 21:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: Rudi Lippert

On Mon, 2005-08-01 at 22:42 +0200, Rudi Lippert wrote:
> So I packed all my C knowledge into a little test program, and here it is:
> 
> int main(int argc, char* argv) {
>   SDL_Init(SDL_INIT_EVERYTHING);
>   SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT);
>   SDL_Quit();
> }
> 
> Without SetVideoMode, it will terminate correctly. With SetVideoMode, it
> needs to be kill9ed. I figured from the backtrace that it would be like that.

It just tried this program with no problem (except it misses one line:
#include <SDL/SDL.h> ;-) ).


> @Jocelyn: What are your use flags on libsdl? Mine are: +X +aalib +alsa -arts
> +dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip
> -nojoystick -novideo +opengl +oss -pic (-svga) +xinerama +xv
> What do you think might cause the problem?

Here are the USE flags for libsdl on my machine:
+X +aalib +alsa -arts +dga +directfb +esd +fbcon +ggi -libcaca +nas
-noaudio -noflagstrip -nojoystick -novideo +opengl +oss +pic (-svga)
+xinerama +xv

The only difference I can see that seem to be video related is 'ggi'
support flag as I don't see why directfb and fbcon could influence the
way it acts under X...
Hope this can help you...

-- 
J. Mayer <l_indien@magic.fr>
Never organized

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-01 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 20:42 [Qemu-devel] Re: no start on amd64 (was: "Nothing happens") Rudi Lippert
2005-08-01 21:02 ` Johannes Schindelin
2005-08-01 21:06 ` J. Mayer
  -- strict thread matches above, loose matches on Subject: below --
2005-07-31 12:47 [Qemu-devel] no start on amd64 (was " Rudi Lippert
2005-07-31 13:19 ` Johannes Schindelin
2005-07-31 13:58   ` [Qemu-devel] " Rudi Lippert
2005-07-31 14:19     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).