* [Qemu-devel] Cirrus VGA
@ 2004-06-05 10:41 Fabrice Bellard
2004-06-05 12:50 ` Karel Gardas
2004-06-05 12:55 ` Antony T Curtis
0 siblings, 2 replies; 7+ messages in thread
From: Fabrice Bellard @ 2004-06-05 10:41 UTC (permalink / raw)
To: qemu-devel
Hi,
The initial version of the Cirrus VGA support is now commited. It is
currently not enabled as they are some pending issues to solve. gcc 3.x
is required to compile it as I use the anonymous structure extension of
gcc to ease the merge.
During the merge, I modified the VGA emulation so that it is easier to
add new VGA compatible cards.
Fabrice.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Cirrus VGA
2004-06-05 10:41 [Qemu-devel] Cirrus VGA Fabrice Bellard
@ 2004-06-05 12:50 ` Karel Gardas
2004-06-05 12:55 ` Antony T Curtis
1 sibling, 0 replies; 7+ messages in thread
From: Karel Gardas @ 2004-06-05 12:50 UTC (permalink / raw)
To: qemu-devel
Fabrice,
just one question: which chip exactly does it emulate? i.e. I still have
crashing issues with Solaris9 X11 on top of emulated VGA, so I would like
to use something better...
Thanks a lot,
Karel
On Sat, 5 Jun 2004, Fabrice Bellard wrote:
> Hi,
>
> The initial version of the Cirrus VGA support is now commited. It is
> currently not enabled as they are some pending issues to solve. gcc 3.x
> is required to compile it as I use the anonymous structure extension of
> gcc to ease the merge.
>
> During the merge, I modified the VGA emulation so that it is easier to
> add new VGA compatible cards.
>
> Fabrice.
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Cirrus VGA
2004-06-05 10:41 [Qemu-devel] Cirrus VGA Fabrice Bellard
2004-06-05 12:50 ` Karel Gardas
@ 2004-06-05 12:55 ` Antony T Curtis
2004-06-05 14:16 ` Juergen Lock
1 sibling, 1 reply; 7+ messages in thread
From: Antony T Curtis @ 2004-06-05 12:55 UTC (permalink / raw)
To: qemu-devel
On Sat, 2004-06-05 at 11:41, Fabrice Bellard wrote:
> Hi,
>
> The initial version of the Cirrus VGA support is now commited. It is
> currently not enabled as they are some pending issues to solve. gcc 3.x
> is required to compile it as I use the anonymous structure extension of
> gcc to ease the merge.
>
> During the merge, I modified the VGA emulation so that it is easier to
> add new VGA compatible cards.
I've checked out a copy from cvs ... and have found FreeBSD 5-CURRENT's
gcc doesn't like the anonymous structure use.
Anyways, I compiled it, tweeked pc.c to use the cirrus driver and
downloaded a CL-GD543x bios from http://www.linuks.mine.nu/ree/video/
So far, looks good... FreeBSD happily changes text modes including the
VESA extended text modes. Haven't tested graphics modes yet.
--
Antony T Curtis <antony.t.curtis@ntlworld.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Cirrus VGA
2004-06-05 12:55 ` Antony T Curtis
@ 2004-06-05 14:16 ` Juergen Lock
[not found] ` <1086448947.6650.358.camel@pcgem.rdg.cyberkinetica.com>
0 siblings, 1 reply; 7+ messages in thread
From: Juergen Lock @ 2004-06-05 14:16 UTC (permalink / raw)
To: antony.t.curtis; +Cc: qemu-devel
In article <1086440144.6650.353.camel@pcgem.rdg.cyberkinetica.com> you write:
>On Sat, 2004-06-05 at 11:41, Fabrice Bellard wrote:
>> Hi,
>>
>> The initial version of the Cirrus VGA support is now commited. It is
>> currently not enabled as they are some pending issues to solve. gcc 3.x
>> is required to compile it as I use the anonymous structure extension of
>> gcc to ease the merge.
>>
>> During the merge, I modified the VGA emulation so that it is easier to
>> add new VGA compatible cards.
>
>I've checked out a copy from cvs ... and have found FreeBSD 5-CURRENT's
>gcc doesn't like the anonymous structure use.
>
gcc (GCC) 3.3.3 (Debian 20040422) also doesnt like it...
Maybe it should be taken out of the default build until FreeBSD
and debian get an updated gcc version?
>Anyways, I compiled it,
Does the lang/gcc33 port work? or what compiler did you use?
> tweeked pc.c to use the cirrus driver and
>downloaded a CL-GD543x bios from http://www.linuks.mine.nu/ree/video/
>
>So far, looks good... FreeBSD happily changes text modes including the
>VESA extended text modes. Haven't tested graphics modes yet.
>
X would be interesting as with the default vga driver it doesnt work...
Juergen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Cirrus VGA
[not found] ` <1086448947.6650.358.camel@pcgem.rdg.cyberkinetica.com>
@ 2004-06-05 20:46 ` Juergen Lock
0 siblings, 0 replies; 7+ messages in thread
From: Juergen Lock @ 2004-06-05 20:46 UTC (permalink / raw)
To: antony.t.curtis; +Cc: qemu-devel
In article <1086448947.6650.358.camel@pcgem.rdg.cyberkinetica.com> you write:
>-=-=-=-=-=-
>
>On Sat, 2004-06-05 at 15:16, Juergen Lock wrote:
>
>Maybe good if I actually attach my diff...
:)
>--
>Antony T Curtis <antony.t.curtis@ntlworld.com>
>
>-=-=-=-=-=-
>
>diff -bur ../cvs/qemu/configure qemu/configure
>--- ../cvs/qemu/configure Sat Jun 5 13:25:07 2004
>+++ qemu/configure Sat Jun 5 14:33:58 2004
>@@ -418,8 +418,13 @@
> echo "TARGET_DIRS=$target_list" >> $config_mak
>
> if [ "$bsd" = "yes" ] ; then
>+ echo "#define HAVE_TERMIOS_H" >> $config_h
>+ echo "#define HAVE_SYS_IOCTL_H" >> $config_h
>+ echo "#define HAVE_SYS_FILIO_H" >> $config_h
> echo "#define O_LARGEFILE 0" >> $config_h
>+ echo "#define off64_t off_t" >> $config_h
> echo "#define lseek64 lseek" >> $config_h
>+ echo "#define mkstemp64 mkstemp" >> $config_h
> echo "#define ftruncate64 ftruncate" >> $config_h
> echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h
> echo "#define _BSD 1" >> $config_h
These are fixed in the port btw.
>...
>diff -bur ../cvs/qemu/vl.c qemu/vl.c
>--- ../cvs/qemu/vl.c Sat Jun 5 13:25:07 2004
>+++ qemu/vl.c Sat Jun 5 13:50:36 2004
>...
>@@ -1051,10 +1064,18 @@
> #ifdef _BSD
> static int tun_open(char *ifname, int ifname_size)
> {
>- int fd;
>+ int fd = -1, i;
> char *dev;
> struct stat s;
>
>+ for (i = 0; fd < 0 && i < 4; i++) {
>+ char vnname[16];
>+ snprintf(vnname,16,"/dev/vmnet%d",i);
>+ fd = open(vnname, O_RDWR);
>+ }
>+
>+
>+ if (fd < 0)
> fd = open("/dev/tap", O_RDWR);
> if (fd < 0) {
> fprintf(stderr, "warning: could not open /dev/tap: no virtual
>network emulation\n");
Huh? Is the vmware networking module compatible to if_tap somehow?
And is there a description of its features somewhere?
Curious,
Juergen
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] Cirrus VGA
@ 2004-06-06 16:01 Fabrice Bellard
2004-06-06 23:04 ` port update (was: Re: [Qemu-devel] Cirrus VGA) Juergen Lock
0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Bellard @ 2004-06-06 16:01 UTC (permalink / raw)
To: qemu-devel
Hi,
The emulated Cirrus PCI VGA adapter CLGD 5446 begins to be usable with
XFree86/Linux and Windows 98 SE. To make tests, use the CVS and use the
followings options: "-pci -cirrusvga". You must install the new Cirrus
specific VGA BIOS before trying.
The depths 8, 15, 16 and 24(at 32 bpp) are supported at any resolution.
24 bpp is implemented but not tested. ISA mode (GLGD 5430) is
implemented but has not been tested yet.
Fabrice.
^ permalink raw reply [flat|nested] 7+ messages in thread
* port update (was: Re: [Qemu-devel] Cirrus VGA)
2004-06-06 16:01 [Qemu-devel] Cirrus VGA Fabrice Bellard
@ 2004-06-06 23:04 ` Juergen Lock
0 siblings, 0 replies; 7+ messages in thread
From: Juergen Lock @ 2004-06-06 23:04 UTC (permalink / raw)
To: qemu-devel
Oops, meant to Cc this to the list...
In article <40C33FD1.4060004@bellard.org> you write:
>Hi,
>
>The emulated Cirrus PCI VGA adapter CLGD 5446 begins to be usable with
>XFree86/Linux and Windows 98 SE. To make tests, use the CVS and use the
>followings options: "-pci -cirrusvga". You must install the new Cirrus
>specific VGA BIOS before trying.
>...
Yes, X on FreeSBIE now works with -pci -cirrusvga. Thanx!
I liked this so much i updated the port again :) Update can be
fetched at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=67639&f=raw
Have fun!
Juergen
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-06-06 22:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-06 16:01 [Qemu-devel] Cirrus VGA Fabrice Bellard
2004-06-06 23:04 ` port update (was: Re: [Qemu-devel] Cirrus VGA) Juergen Lock
-- strict thread matches above, loose matches on Subject: below --
2004-06-05 10:41 [Qemu-devel] Cirrus VGA Fabrice Bellard
2004-06-05 12:50 ` Karel Gardas
2004-06-05 12:55 ` Antony T Curtis
2004-06-05 14:16 ` Juergen Lock
[not found] ` <1086448947.6650.358.camel@pcgem.rdg.cyberkinetica.com>
2004-06-05 20:46 ` Juergen Lock
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).