LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-04-2009, 04:30 PM   #1
frammy7
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Rep: Reputation: 0
Question Screen Resolution. with SiS graphics. Cant get xorg.conf to help...


I'm attempting to put Ubuntu 8.10 onto a HP T5720 thin client (don't ask why, its just me being geeky). but I'm having a few problems with getting a high screen resolution (eg. 1280x1024) > (which is a problem I seem to forever have with ALL Linux distros (on many different computers) and it keeps putting me off from using it instead of Windows...) - there must be a simple solution???
I've looked up some other posts/forums about getting it to work, but I'm still stuck - so hopefully someone can help me out?!

OK. my lspci | grep VGA shows:

Code:
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
(The HP T5720 has a SiS 741 graphics chip)

(which according to: http://ubuntuforums.org/showthread.php?t=450176 seems to say I have the SiS drivers installed?) and they are already ticked/installed according to Synaptic.

My xorg.conf just contains:

Code:
Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
and thats it.

And if I go to System > Preferences > Screen Resolution I can only set it as high as 1024 x 768 (or 800 x 600 if its feeling mean, it seems to change each time I boot).
If I do sudo dpkg-reconfigure xserver-xorg I just get a load of questions about my keyboard, and that's it, nothing about my screen.

I know the graphics in the T5720 can go higher, as when it was running XP Embedded it would do 1280 x 1024 and even higher! (and I know my monitor can easily display it)..
SO... is there any way to get Ubuntu to show 1280 x 1024?
Do I have the right drivers?
Do I have to edit the xorg.conf file - or can I populate it automatically? As it seems to be missing a few things?! If so, where do I get the info from?
(I don't want 3D or anything fancy... just a high resolution...)

A solution which will work in all Linux distros would be best... but any help would be really amazing!
 
Old 03-04-2009, 04:50 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, editing your xorg.conf might work... Either you have to set the modes in the 'device' section, or, more probably, in the 'Monitor' section, by editing the modeline options (just add the resolutions you need). However, this might not be enough, but I do know that some graphic drivers have a keyword that sets the resolutions in the device section. not using an SIS adapter now, I can't verify that. (I will though, when I get my hands on the laptop that uses it). for information about how to edit your xorg.conf, just type 'man xorg.conf' in a terminal.
I do admit I lost track of how Ubuntu manages the xorg.conf file...

Last edited by serafean; 03-04-2009 at 04:54 PM.
 
Old 03-05-2009, 04:38 AM   #3
frammy7
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by serafean View Post
Hi, editing your xorg.conf might work... Either you have to set the modes in the 'device' section, or, more probably, in the 'Monitor' section, by editing the modeline options (just add the resolutions you need). However, this might not be enough, but I do know that some graphic drivers have a keyword that sets the resolutions in the device section. not using an SIS adapter now, I can't verify that. (I will though, when I get my hands on the laptop that uses it). for information about how to edit your xorg.conf, just type 'man xorg.conf' in a terminal.
I do admit I lost track of how Ubuntu manages the xorg.conf file...
Thanks for your reply!

I've done a bit more reading and had a look at 'man xorg.conf'... Would it be fair to say that learning how to write/configure xorg.conf would allow me to set what resolutions/settings I would like + make them work each time I boot up the PC... and should be similar for any Linux distro?

Just I think I would be happy to learn how to write configure xorg.conf if it is the 'standard' way of doing it... I just need to find all the commands which tell me what modline options, etc I need to put into xorg.conf file - as its very blank at the moment!
 
Old 03-05-2009, 05:34 AM   #4
frammy7
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Exclamation

OK. things are going at about 100mph here...but... I think I have got it working!
My xorg.conf now just looks like

Code:
Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30-80
VertRefresh 56-75
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth     24
SubSection "Display"
Depth     24
Modes    "1280x1024" "1024x768"
EndEubSection
EndSection
and it seems to display 1280x1024 fine - at 75Hz. and it remembers it when I do a restart too - so thanks for the link to the xorg.conf manual - has been excellent!
If you have any advice about drivers, etc for the SiS adapters - or if there is a 'proper' way to set them up with a keyword, etc - it would be good to know!
Thanks again!
 
Old 03-05-2009, 09:14 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Sis graphics adapter are a PITA. They do have a 3D accelerated driver for Linux available, but they won't release it except to manufacturers, well technically if you e-mail one of the devs in charge he might e-mail it to you, although I've only heard of people getting the 2D accelerated driver from him. Also know that even with 3D accel, the adapter sucks huge much like any built-in graphics adapter.

At least nvidia and ATI release drivers to the public that are freely available, even tho the quality of the drivers is usually crappy.
 
Old 03-06-2009, 08:21 AM   #6
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, a really nice thing is to let X generate your xorg.conf. It will need a lot of editing, so I recommend o do it only to see all the option your driver has, as they are all listed, although commented, in the device section. just run
Code:
X -configure
from a terminal (the real one; into which yo get through ctrl+alt+F1). It will generate a xorg.conf.new and you'll get an example of xorg.conf, in most cases, fully populated. (I don't recommend using this file though, as Ubuntu manages it in a different way). To know which option does what, I think a "man sis" shold do the trick.(Why didn't I think of this sooner?)
As for SiS adapters, here is the site of the coder who did the opensource version.

Last edited by serafean; 03-06-2009 at 08:22 AM.
 
Old 08-30-2009, 01:02 AM   #7
rxcjack
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by frammy7 View Post
OK. things are going at about 100mph here...but... I think I have got it working!
My xorg.conf now just looks like

Code:
Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30-80
VertRefresh 56-75
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth     24
SubSection "Display"
Depth     24
Modes    "1280x1024" "1024x768"
EndEubSection
EndSection
and it seems to display 1280x1024 fine - at 75Hz. and it remembers it when I do a restart too - so thanks for the link to the xorg.conf manual - has been excellent!
If you have any advice about drivers, etc for the SiS adapters - or if there is a 'proper' way to set them up with a keyword, etc - it would be good to know!
Thanks again!
Hi! I'm having the same issue you did with the same graphics card. I tried using your custom xorg.conf. I restarted and Ubuntu was in "Low Graphics Mode." I went ahead and told it to start in Low Graphics Mode, and surprisingly enough, Ubuntu started in 1280x1024! Then I wanted to make sure this was permanent, so I restarted, but it gave me the Low Graphics error again. I checked the xorg.conf, and turns out the typo above "EndEubSection" was causing this. I fixed it to "EndSubSection", and to my dismay, restarting made it stop working and go back to 1024x768!

I've tried so many things today trying to get 1280x1024 working, to no avail except when in Low Graphics Mode. I've tried dpkg-reconfigure, which never asked my about my graphics card or monitor, I've tried editing xorg.conf myself.

When I edit xorg.conf myself and add Modes with "1280x1024", I can choose that resolution in System->Preferences->Display, but instead of stretching it to fix my external monitor, I have to move the mouse down the edge to "slide" the rest of the screen up.

Someone please help me.
 
Old 09-01-2009, 07:05 AM   #8
frammy7
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rxcjack View Post
Hi! I'm having the same issue you did with the same graphics card. I tried using your custom xorg.conf. I restarted and Ubuntu was in "Low Graphics Mode." I went ahead and told it to start in Low Graphics Mode, and surprisingly enough, Ubuntu started in 1280x1024! Then I wanted to make sure this was permanent, so I restarted, but it gave me the Low Graphics error again. I checked the xorg.conf, and turns out the typo above "EndEubSection" was causing this. I fixed it to "EndSubSection", and to my dismay, restarting made it stop working and go back to 1024x768!

I've tried so many things today trying to get 1280x1024 working, to no avail except when in Low Graphics Mode. I've tried dpkg-reconfigure, which never asked my about my graphics card or monitor, I've tried editing xorg.conf myself.

When I edit xorg.conf myself and add Modes with "1280x1024", I can choose that resolution in System->Preferences->Display, but instead of stretching it to fix my external monitor, I have to move the mouse down the edge to "slide" the rest of the screen up.

Someone please help me.
Hi rxcjack.

(Sorry for the old typo! I'm not sure where that came from since I did copy + paste!).

I can't 100% remember what I did to get it to work, as it was a while ago. My current xorg.conf file looks like this:

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
   Identifier    "Generic Keyboard"
   Driver        "kbd"
   Option        "XkbRules"    "xorg"
   Option        "XkbModel"    "pc105"
   Option        "XkbLayout"    "gb"
EndSection

Section "InputDevice"
   Identifier    "Configured Mouse"
   Driver        "mouse"
   Option        "CorePointer"
EndSection

Section "Device"
   Identifier    "Configured Video Device"
EndSection

Section "Monitor"
   Identifier    "Configured Monitor"
HorizSync 30-80
VertRefresh 56-75
EndSection

Section "Screen"
   Identifier    "Default Screen"
   Monitor        "Configured Monitor"
   Device        "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection

EndSection

Section "ServerLayout"
   Identifier    "Default Layout"
   Screen        "Default Screen"
EndSection
As you can see it now contains loads of other junk (which you shouldn't need), but the 'Screen' section is still the same - so in theory it should work... Have you checked that the 'HorizSync' and 'VertRefresh' in the 'Monitor' section are correct for your monitor? as I had to get those numbers from my monitors instruction manual.
Also, I assume the screen you are using can happily display 1280x1024? or is it a widescreen model? Is there an auto-adjust button on the monitor itself you could press to get it to resize the screen to fit?
 
  


Reply

Tags
graphics, ubuntu810, xorgconf



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome Screen Resolution doesn't match X11/xorg.conf - how do I edit my resolutions?! yitzle Linux - Desktop 12 03-15-2011 12:20 PM
Screen Resolution - Not picking up xorg.conf settings after restarting x jul_dea Linux - Hardware 7 06-20-2008 04:09 AM
My turn for screen resolution issues - Xorg.conf details... mitchell7man Linux - Hardware 7 06-02-2007 10:35 PM
Screen Resolution problems connected with xorg.conf and xorgconfig with Slackware 10 tvisher Linux - Newbie 17 04-03-2007 07:39 AM
Xorg.conf, custom screen resolution tntcoder Linux - Newbie 3 05-12-2006 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:35 AM.

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