320x240 screen mode not supported

Bug #183913 reported by Toni Ruottu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-mga (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I experienced some problems while trying to play game Eternal Daughter
with wine in Ubuntu. The game was unable to switch screen mode
to 320x240. 640x480 was used instead and the game ran in the upper
left corner of screen without any window decorations.

Moving the window with alt + mouse did not move the picture. Only the
window frame. The part of window without the picture had some random
stuff on it. Moving the window back to upper left corner brought the picture
back to the window.

My video card is Matrox Millennium G450 DH.

My wine review for the game is available at...
http://appdb.winehq.org/objectManager.php?sClass=version&iId=10439

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Are you experiencing this problem only with programs which are using wine?

If not, what other programs exhibit this issue?

Thanks!

Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

I have to apology. My original bug report has an error in it.
The video card is actually...
  01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA])
My monitor is ViewSonic VS10057

I finally got this to work yesterday by editing /etc/X11/xorg.conf

I added the following subsection to Monitor section...

        Mode "320x240"
                DotClock 15.50
                HTimings 320 328 360 420
                VTimings 240 241 242 250
                Flags "DoubleScan"
        EndMode

...and added the modes line under Screen section to contain the new mode...
                Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "320x240"

How ever all this was incredibly hard and took me one day to
figure out despite my technical orientation. So how should
Joe Average get this done?

Do we have a tag for things that "just work" under Windows,
but don't work in Ubuntu. I suppose this bug should be
tagged with such a tag.

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Toni,

Are you experiencing this problem only with programs which are using wine?

If not, what other programs exhibit this issue?

Thanks!

Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

Please point out a native application that changes the screen mode to
320x240 and I will tell you, if it works.

Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

Actually I don't see how it could work as the problem was in configuration of xorg.

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

I couldn't think of any, but after a quick search for other bugs about this issue I found this recently reported bug: bug 187906.

It is also about a game not playing correctly in 320x240. If it is possible, try to duplicate that bug with your original (non-working) xorg.conf settings and your new (working) xorg.conf settings.

Thanks!

Changed in xorg:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

We no longer list the exact resolutions in xorg.conf in general. Try moving aside your xorg.conf and running - it should pick up the 320x240 resolution and permit its use. (If it doesn't, _that_ is a bug.)

Changed in xorg:
status: Confirmed → Won't Fix
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

I moved the configuration aside and restarted xorg.
That didn't help. Then I ran "sudo dpkg-reconfigure -phigh xserver-xorg"
to create a new config file and restarted xorg again. That didn't help
either.

I'm still using Ubuntu 7.10. Is that a problem?

I attached a screen shot displaying the bug.

Changed in xorg:
status: Won't Fix → New
Revision history for this message
Bryce Harrington (bryce) wrote :

Yes, try it with Hardy please.

Changed in xorg:
status: New → Incomplete
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

Nothing changed in Hardy regarding this bug. I removed my conf file again and also automatically created a new one again. It didn't help.

Changed in xorg:
status: Incomplete → New
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

Please try the game to see, if the problem exists on other hardware too...

mkdir ed
cd ed
sudo apt-get install wine
wget http://www.derekyu.com/games/ed.zip
unzip ed.zip
wine Eternal\ Daughter.exe

You may use F2 key to pass the animation at beginning.
This should get you into the main menu.
Press down arrow twice and return to quit the game.

Revision history for this message
Bryce Harrington (bryce) wrote :

Unfortunately the ed.zip file is taking too long to download, but I'll take your word for it and set to confirmed for now.

Changed in xorg:
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

most likely due to the mga driver not supporting randr-1.2. You could try building the experimental driver from debian-experimental (1.9.100..)

http://packages.debian.org/source/experimental/xserver-xorg-video-mga

Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

Sorry to say, but with that version the situation is even worse. See attachment.

Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

Thinkpad T500 with ATI Technologies Inc Mobility Radeon HD 3650 is able to enter the screen mode, but the gnome-panels remain above the (fullscreen) game window.

affects: xserver-xorg-video-mga (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
summary: - 320x240 screen mode not supported
+ [RV280] 320x240 screen mode not supported
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [RV280] 320x240 screen mode not supported

Hi, it's been a long time since we touched base on this bug, and I wanted to just see if it is still an issue for you with newer Ubuntu? Would you mind testing if it is still present in the development release? You can download Karmic Alpha-4 here (you can probably just set up wine and install the game in the LiveCD environment to try reproducing):

http://www.ubuntu.com/testing/karmic/alpha4

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

If I try it and it doesn't work, is someone going to fix it before Karmic gets released? Otherwise I'd rather just test it later when I happen to have the new version at hand.

Revision history for this message
Bryce Harrington (bryce) wrote :

If you wait and test it later, then it will *not* get fixed for Karmic, and you'll be asked to re-test it again against Karmic+1 before we can send it upstream.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

In that case I opt to test it with Karmic once it has been released, and if it doesn't work I retest it with Karmic+1, when I happen to have that at hand. I'm not going to take the risk that someone might not work on it before Karmic, even if I tested it. The time when this gets fixed is not that crusial for me. How ever, I hope you prevent the bug for timeouting, since if the bug timeouts I might forget about it for a long period which would unnecessarily delay the test results.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

A new version of the -ati driver is now available in Karmic.

This is a significant update to -ati which brings in kernel mode-setting
(currently disabled) and scores of fixes for DRI2, EXA, etc.

I've posted the new version of this driver to the following PPA,
would you mind testing it and seeing if it resolves the bug you
reported?

  https://edge.launchpad.net/~bryceharrington/+archive/ppa/+sourcepub/709908/+listing-archive-extra

If you're not running this release of Ubuntu, you can try booting the Karmic
LiveCD and loading the PPA onto it, and then log out/in to restart X.
ISOs are available at http://cdimages.ubuntu.com/releases/

After testing Karmic, report back here whether it's still an issue or not,
and if it is please post a fresh Xorg.0.log and 'dmesg' output.

Note there could be new bugs... please file these as new reports using
the command 'ubuntu-bug xorg'.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

I made some tests with *Jaunty*, as that is what I happen to have installed on my systems.

On Jaunty the bug does not exist for "ATI Technologies Inc Mobility Radeon HD 3650"

On Jaunty the problem depicted in my screen shot from 2008-09-04 is still relevant for "Matrox Graphics, Inc. MGA G400/G450 (rev 82)"

I don't seem to own an "ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA])" video card anymore. It must have belonged to some of the old PCs I got rid of earlier.

I'll update the MGA situation once I update that particular system to Karmic.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hmm ok seems there is some confusion as to whether your card is an ATI or Matrox. ;-)

Since it sounds like the ati issue is either gone or at least cannot be debugged any further due to no hardware on hand, I'll retarget this bug to Matrox.

It is not necessary for you to retest matrox on Karmic (unless you wish), as it is the -ati update we're focusing on right now, and I don't think there have been any major updates to -mga in karmic.

affects: xserver-xorg-video-ati (Ubuntu) → xserver-xorg-video-mga (Ubuntu)
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

The confusion is my fault. At some point I just noticed I had been testing on multiple systems. After that I wanted to find out whether or not the bug was video card specific. It turns out to be such and Matrox seems to currently have the error, so concentrating on Matrox in future will probably make sense. Although I was expecting there to be some common library for scaling between different resolutions.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi REPORTER,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect BUGNUMBER

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug BUGNUMBER in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/BUGNUMBER

Changed in xserver-xorg-video-mga (Ubuntu):
status: Incomplete → New
status: New → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi Toni,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 183913

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 183913 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/183913

Changed in xserver-xorg-video-mga (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Toni Ruottu (toni-ruottu) wrote :

I'm afraid I cannot test this, as I do not have a Matrox card anymore.

madbiologist (me-again)
summary: - [RV280] 320x240 screen mode not supported
+ 320x240 screen mode not supported
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-mga (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-mga (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.