Opened 10 years ago

Closed 9 years ago

Last modified 20 months ago

#3681 closed defect (fixed)

Emulation must use more than 75 dpi

Reported by: bert Owned by: jg
Priority: normal Milestone:
Component: distro Version:
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no


In emulation, the X server defaults to 1024x768 at 75 dpi, making some fonts very tiny (like in the Sugar first-time name chooser). Adding a Monitor section to xorg.conf with "DisplaySize 130 97.5" results in DPI set to (200, 201) which much more resembles the XO font sizes.

Change History (13)

comment:1 Changed 10 years ago by jg

  • Milestone changed from Untriaged to First Deployment, V1.0

Seems like a good suggestion.

comment:2 Changed 10 years ago by ThePerturbator

The Exact Changes are:

+ Section "Monitor"
+ Identifier "Foo"
+ DisplaySize 130 97.5
+ EndSection

Section "Screen"

Identifier "Screen0"
Device "Videocard0"

+ Monitor "Foo"

comment:3 Changed 9 years ago by bert

  • Summary changed from Emulation should use 200 dpi to Emulation must use more than 75 dpi

After a bit of testing it occurred to me that 170 dpi might be better for emulation (which is to 200 dpi as 1024 is to 1200).

+Section "Monitor" 
+    Identifier "Monitor0" 
+    DisplaySize 153 115 

 Section "Screen" 
     Identifier "Screen0" 
     Device "Videocard0" 
+    Monitor "Monitor0"

With this, fonts and labels appear not quite as oversized as with 200 dpi. In any case, the 75 dpi we have now are unacceptable with their 5 pixel fonts.

comment:4 Changed 9 years ago by AlbertCahalan

Since the whole point is to emulate a XO, the only correct choice is 200 dpi.

1024x768 is no good. If 1200x900 is unusable on too many monitors, try 1280x960. Modern monitors (produced in the past decade) are pretty tolerant of weird resolutions, so 1200x900 is probably good.

comment:5 Changed 9 years ago by bert

Not sure you understand the point, Albert. Other resolutions than 1024x768 would be very helpful, but this is the only thing we got in Qemu for now - which is funny since in emulation there is no hardware limit so 1200x900 are entirely possible. So please, open another ticket to solve that if you want, but lets fix the 75 dpi here in the mean time. And if you try both 200 dpi and 170 dpi at 1024 you might agree the latter is better.

comment:6 Changed 9 years ago by vorburger

I tested the config proposed by bert above on a qemu on Windows with build 613; feedback: shows how the Write activity looks in with the non-modified standard image. shows how the same screen looks with the above config - clearly much better!

If we want to give people a nice out of the box experience with the emulator, this would be nice to address in future images. (Is it easy to do different xorg.conf for the real XO image vs. the one for qemu??)

comment:7 Changed 9 years ago by vorburger

PS: Until it's in the image, just mentioned this on for now.

comment:8 follow-up: Changed 9 years ago by vorburger

My Q> "Is it easy to do different xorg.conf for the real XO image vs. the one for qemu??"

A> There is a /etc/X11/qemu-xorg.conf (vs. geode-xorg.conf & dcon-xorg.conf) so different X configs are planned for - so let's change qemu-xorg.conf! (Noticed that the /etc/rc.d/init.d/olpc-configure does "cp -f /etc/X11/qemu-xorg.conf /etc/X11/xorg.conf" - so the image for the 'real' XO HW has a different olpc-configure script?)

comment:9 in reply to: ↑ 8 Changed 9 years ago by Jack

200 dpi
DisplaySize 130 97.5

170 dpi
DisplaySize 153 115

I tried both of these. I found the stock 75 dpi to be close to unusable. I tried 200 dpi first. It was much better than 75. I was playing with Chat and ran into a problem. The text was scrolling up farther than it should. After a while I could no longer see what was being said in the room. I would have to scroll up to read it after each sentence.
I tried again using 170 dpi. Chat no longer had the problem with scrolling up too far. I believe 170 is correct for qemu.

comment:10 Changed 9 years ago by sleet01

I have switched to 170 dpi under VirtualBox and find it eminently more usable; I would suggest making this the default setting for all pre-built VM images.

My build: 613 pre-built running on VirtualBox.

comment:11 Changed 9 years ago by MitchellNCharity

#4935 is a follow-up.

comment:12 Changed 9 years ago by bernie

  • Resolution set to fixed
  • Status changed from new to closed

I fixed it in joyride a while ago.

comment:13 Changed 20 months ago by Quozl

  • Milestone 8.2.0 (was Update.2) deleted

Milestone 8.2.0 (was Update.2) deleted

Note: See TracTickets for help on using tickets.