![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 5
|
xrandr custom resolution
Hi.
I would like to have a 960x600@60 resolution on my Ubuntu 9.04, Fujistu-Siemens Esprimo v5535 with sis mirage 3 video card. Is that possible on my video card and how to add custom resolutions in general (with xrandr or some other way) ? Where have all configuration lines from xorg.conf gone in 9.04 ? I could set resolutions in xorg.conf but I think that's not the way in 9.04. How would <modeline> parameter have to look for 960x600@60 ? Thanks Haris |
|
|
|
|
|
#2 | ||
|
Ubuntu addict and loving it
![]() Join Date: Jan 2006
Location: Sunny Southend-on-Sea
Beans: 4,346
Ubuntu 9.04 Jaunty Jackalope
|
Re: xrandr custom resolution
Isn't 1280×800 the native resolution for that screen? It's likely to look bad at a non-native resolution.
Quote:
according to this page.
__________________
Quote:
|
||
|
|
|
|
|
#3 | |
|
Fresh Brewed Ubuntu
![]() Join Date: Jul 2006
Location: Oklahoma, US
Beans: 1,333
Ubuntu 9.10 Karmic Koala
|
Re: xrandr custom resolution
Quote:
First you'll need to generate a modeline for that resolution: Code:
gtf 960 600 60 Code:
# 960x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 45.98 MHz Modeline "960x600_60.00" 45.98 960 1000 1096 1232 600 601 604 622 -HSync +Vsync Code:
xrandr --newmode "960x600_60.00" 45.98 960 1000 1096 1232 600 601 604 622 -HSync +Vsync Code:
xrandr --addmode LVDS 960x600_60.00 Code:
xrandr --output LVDS --mode 960x600_60.00 You can script all your resolution changes depending on the active interface, but that's a little beyond the scope of the question. Here is a page with some info on persistence in xrandr changes: https://wiki.ubuntu.com/X/Config/Resolution. Good luck
__________________
Sony VGN-NR385E C2D@1.83Ghz,200Gb HD,2Gb RAM-Karmic Asus eeePC 900 Celeron@900Mhz,16Gb SSD,2Gb RAM-Karmic UNR/nlited XP Compaq Deskpro P3@966Mhz,80Gb&320Gb HD,512Mb RAM-Intrepid Server |
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 5
|
Re: xrandr custom resolution
I got this output:
xrandr: Configure crtc 0 failed I can only set 640x480 and 800x600 which where available after Ubuntu install. In Windows XP I can set 640x480, 800x600, 1024x768 and 1280x800 with original driver and with default Microsoft driver 1280x768 added to original resolutrions. I tried get-edid but nothing came up. I also tried to add my 800x600 resolution from gtf result but Ubuntu switched to default 800x600 which it set after install. For any custom resolution I get the same message. This is what I get with xrandr --verbose: 800x600 (0x102) 29.3MHz *current h: width 800 start 0 end 0 total 800 skew 0 clock 36.6KHz v: height 600 start 0 end 0 total 600 clock 61.0Hz 640x480 (0x103) 18.4MHz h: width 640 start 0 end 0 total 640 skew 0 clock 28.8KHz v: height 480 start 0 end 0 total 480 clock 60.0Hz 960x600 (0x11d) 46.0MHz -HSync +VSync h: width 960 start 1000 end 1096 total 1232 skew 0 clock 37.3KHz v: height 600 start 601 end 604 total 622 clock 60.0Hz First two resolutions were created by Ubuntu, and third by me. Can I get zeros at start and end columns because I noticed that every resolution I create has some number for start and end and they do not work. Those two which have zeros for start and end work. I don't have LVDS output, only "default" output. Last edited by haris.bogdanovic; May 21st, 2009 at 04:25 PM.. |
|
|
|
|
|
#5 | ||
|
Ubuntu addict and loving it
![]() Join Date: Jan 2006
Location: Sunny Southend-on-Sea
Beans: 4,346
Ubuntu 9.04 Jaunty Jackalope
|
Re: xrandr custom resolution
Quote:
To the OP: Normally, resolution problems are caused by one of the monitor, the graphics card, or the graphics driver not passing the EDID information to X that lets it automatically set the correct refresh rate, and so it defaults to really low values that won't damage any monitors. You can manually set the values for your monitor by putting the VertRefresh and HorizSync ranges in your xorg.conf. You should be able to get these numbers from the manual or specifications for your monitor. These values go in the "Monitor" Section of xorg.conf. You can edit xorg.conf with Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup gksudo gedit /etc/X11/xorg.conf Code:
Section "Monitor"
Identifier "Configured Monitor"
HorizSync aa-bb
VertRefresh cc-dd
EndSection
__________________
Quote:
|
||
|
|
|
|
|
#6 | |
|
Fresh Brewed Ubuntu
![]() Join Date: Jul 2006
Location: Oklahoma, US
Beans: 1,333
Ubuntu 9.10 Karmic Koala
|
Re: xrandr custom resolution
Quote:
I'll bet that would wreak sheer hell on subpixel font rendering as well.
__________________
Sony VGN-NR385E C2D@1.83Ghz,200Gb HD,2Gb RAM-Karmic Asus eeePC 900 Celeron@900Mhz,16Gb SSD,2Gb RAM-Karmic UNR/nlited XP Compaq Deskpro P3@966Mhz,80Gb&320Gb HD,512Mb RAM-Intrepid Server |
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 5
|
Re: xrandr custom resolution
The only reason I would like to have 960x600 reslution is because I hjave a 16:10 screen and the only resolution that's available is 1280x800, that is to small for me.
I can increase dpi but web pages don't look as they should and I'd like to make web content. Any 16:10 resolution around 960x600 would be fine. I guess I will have to learn to calculate modeline by hand because obviously calculators on some web pages don't give me correct results, as well as gtf in command line. And changing xorg.conf is, I guess, not the way in 9.04 because it is practically empty on install. By the way, where are all configuration options gone from xorg.conf in 9.04 ? Last edited by haris.bogdanovic; May 22nd, 2009 at 07:39 AM.. |
|
|
|
|
|
#8 | ||
|
Ubuntu addict and loving it
![]() Join Date: Jan 2006
Location: Sunny Southend-on-Sea
Beans: 4,346
Ubuntu 9.04 Jaunty Jackalope
|
Re: xrandr custom resolution
Quote:
Good web designers know that their users will be viewing the site at any number of resolutions and make their sites scale accordingly. People don't all use 640×480 any more. If the writing's small for you, increase the font size. It's easy enough to do it for the whole system. You'll have a much better experience than running your monitor in blurry mode.
__________________
Quote:
|
||
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 5
|
Re: xrandr custom resolution
Nobody said that 960x600 or any other smaller 16:10 resolution is blurry.
I didn't succeed to display any of these resolutionso I don't know how they look. I was calculatinfg how many pixels could my monitor display: Lowest common deominator of 640, 800 and 1280 is 6400 and 6400/960 is not a whole number so I guess 960x600 would be blurry but there are other smaller 16:10 resolutions and I didn'T even get 800x600 to work (with modeline that calculator on web or gtf created) so as I said I will have to learn to calculate modeline by hand to get even 800x600 to work. I know that users see web pages at many resolutions but they all use 96 dpi, standard font size and resolution which has the same aspect ratio as monitor. Last edited by haris.bogdanovic; May 22nd, 2009 at 05:26 PM.. |
|
|
|
|
|
#10 | |||
|
Ubuntu addict and loving it
![]() Join Date: Jan 2006
Location: Sunny Southend-on-Sea
Beans: 4,346
Ubuntu 9.04 Jaunty Jackalope
|
Re: xrandr custom resolution
Quote:
Quote:
But they certainly don't all use the same font size or DPI. There are over a billion Internet users in the world using all sorts of devices to connect, including netbooks and mobile phones. You need to broaden your horizons when it comes to web development.
__________________
Quote:
|
|||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|