LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-23-2023, 11:52 AM   #1
Lindgren
LQ Newbie
 
Registered: Jan 2013
Location: Sweden
Distribution: Various
Posts: 17

Rep: Reputation: Disabled
Question qemu: SVGA issue in 800x600?


Hi

Having a bit of trouble trying to have a descent picture running old games in msdos through qemu. It looks fine as long as I run it in the really low res, but in highest setting of 800x600 with svga setting it looks just horrible:

qemu has some "-vga" settings like, std, cirrus, vmware and so on and I have tried 'em all - none of them look good unless I run the game in 300x200 mode. I have even tried and run with different bioses as found in /usr/share/qemu.

What might really make this work?

qemu runs in i386 mode with "-vga std" here
Attached Thumbnails
Click image for larger version

Name:	duke3d_1_2023-11-23_18-39-28.jpg
Views:	10
Size:	124.7 KB
ID:	42107   Click image for larger version

Name:	duke3d_2_2023-11-23_18-39-28.jpg
Views:	11
Size:	99.6 KB
ID:	42108  
 
Old 11-23-2023, 12:56 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,503

Rep: Reputation: Disabled
If genuine DOS games, maybe try Dosbox/Dosemu.

https://www.dosbox.com/

http://www.dosemu.org/
 
Old 11-23-2023, 01:39 PM   #3
Lindgren
LQ Newbie
 
Registered: Jan 2013
Location: Sweden
Distribution: Various
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
If genuine DOS games, maybe try Dosbox/Dosemu.

https://www.dosbox.com/

http://www.dosemu.org/
I have tested dosbox already and it was ridiculously slow, (dosemu just segfaulted and I havent given it more time than that) but still seems to be pretty much the same thing. Dosbox looked good in a small window when I run it from the computer it was installed on, but I want/need to run it from a network attached computer, so from the beginning I tried running dosbox through ssh forwarding but it ran slow too and very sensitive for changes, like switching to fullscreen. The virtual environment I have running currently through qemu is as fast as it gets and works just perfectly - only it does not support svga/vesa as it seems.
 
Old 11-23-2023, 04:36 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,462
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Duke 3D runs fine here under DOSBox... not slow at all. Their compatibility page shows that it has been 100% supported since ~2004: https://www.dosbox.com/comp_list.php...=1744&letter=D

The key combo to switch to full screen is Alt&Enter. You have to remember that it is a low-res game, so will look terrible on a modern screen.
Quote:
Originally Posted by Lindgren View Post
I want/need to run it from a network attached computer
So set up an NFS share.
 
Old 11-23-2023, 04:57 PM   #5
Lindgren
LQ Newbie
 
Registered: Jan 2013
Location: Sweden
Distribution: Various
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
Duke 3D runs fine here under DOSBox... not slow at all. Their compatibility page shows that it has been 100% supported since ~2004: https://www.dosbox.com/comp_list.php...=1744&letter=D

The key combo to switch to full screen is Alt&Enter. You have to remember that it is a low-res game, so will look terrible on a modern screen.

So set up an NFS share.
I don't know why it runs slower but it did, 4-5 fps maybe. I found no way to make it run better, only slower still I found it to run so fine and cleanly under qemu just so annoying with the vesa problem there, I am compiling virtualbox atm to see if there is a better driver there. Connectivity over the network is not the issue, I want it to run over some kind of socket-session to other machines, not only the files. VNC was nice but it will likely have be rdp or something because of sound.

I got the feeling that dosbox hade most trouble with scaling it to the entire screen, not only that it was slow but that was why I found scaling the picture over vnc to be far more efficient - otherwise I would have to run my 4K monitor at 800x600 which is even more pain and I don't even know if it would go that low.
 
Old 11-23-2023, 07:15 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,462
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by Lindgren View Post
Connectivity over the network is not the issue, I want it to run over some kind of socket-session to other machines
But you're talking about single user programs which were designed to run on single user machines.

Of course, you can also do this stuff in a browser these days:https://playclassic.games/games/firs...d-online/play/

Emulated hardware is always going to be slower than emulated software. I do remember the hardware requirements for a smooth experience in DOSBox being quite high 20 years ago, but any halfway modern PC (newer than ~2012) should not have any difficulty. My computer here doesn't even have a discrete GPU and I don't have any speed-related issues.
 
  


Reply

Tags
dos, qemu



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 On
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
QEMU VMWare SVGA II Adapter driver for windows xp guest 10110111 Linux - Software 1 06-26-2009 05:28 PM
SVGA Issue Ace Blackwell Linux - Software 1 05-04-2008 07:21 AM
VMWare Help, SVGA Problem aslocal Linux - General 1 01-26-2002 09:48 PM
XF86.SVGA Missing - Please Help! Tmaster100 Linux - Newbie 2 01-16-2002 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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