LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-27-2006, 09:28 AM   #1
secici
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
serious screen resolution problem 640X480


Hi guys;

I am a bit experienced on Sarge. But new to etch.

Installed on my old laptop Toshiba Satellite 4090 (Celeron400). Display Chipset: Trident Cyber 9525.

I recognized X server system changed to X.org.

I installed X.org and xfce4 from Netinstall CD. But the screen resolution is only 640x480, and this is the only option in my xfce4. I can edit xorg.conf file manually.

I can do the reconfiguration:
dpkg-reconfigure xserver-xorg

And recover the file by:
dexconf -o /etc/X11/xorg.conf

I can use all these tricks... But nothing changes. My desktop is still 640X480. Here is my last xorg.conf file:

Thanks for you all...

# xorg.conf (Xorg 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 commands as root:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
# dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "v4l"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "Trident Microsystems Cyber 9525"
Driver "trident"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Trident Microsystems Cyber 9525"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 01-27-2006, 10:26 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Section "Device"
Identifier "Trident Microsystems Cyber 9525"
Driver "trident"
EndSection
Does dpkg-reconfigure xserver-xorg generate that 'driver' selection by itself, or did you insert it? Maybe run it again, and try using a generic driver (Vesa?).
 
Old 01-27-2006, 11:12 AM   #3
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
You don't seem to have the HorizSync and VertRefresh lines in your monitor configuration. If your laptop's manual doesn't tell this info, you could try Kanotix (that uses Xorg, IIRC) and see if it gives you a better screen resolution, and then grab the HorizSync & VertRefresh values from Kanotix's xorg.conf.

Then run "dpkg-reconfigure xserver-xorg" again and choose "advanced" monitor configuration that will ask you these refresh values.
 
Old 01-28-2006, 07:36 AM   #4
secici
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Ok I tried some and will try your other advices.

Quote:
Maybe run it again, and try using a generic driver (Vesa?).
Yes I tried to select vesa. But it didn't change anything at first. But afterwards I selected both 1024x786 and 800x600. Then the default screen resolution changed to 800x600 (this is a progress) and the options are now: 640x480 and 800x600.

Quote:
you could try Kanotix (that uses Xorg, IIRC) and see if it gives you a better screen resolution,
yes I can try kanotix. But what is it? Is it an application that I can install using Synaptic?

Thanks for all your interest.
 
Old 01-28-2006, 09:22 AM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
yes I can try kanotix. But what is it? Is it an application that I can install using Synaptic?
Kanotix is a live-cd, just like Knoppix.

There's also a tool, called "xdebconfigurator", that's supposed to help in X configuration and you can install it using Synaptic.

After installing xdebconfigurator, you can type "su" to become the root user and then type "xdebconfigurator -x". The whole output of that command probably won't fit to one screen but you can scroll to the previous screen by pressing the Shift and the PageUp keys simultaneously.

Then you can switch to another virtual terminal by pressing the Alt and the F2 keys simultaneously. Then log in, "su" to root and type "dpkg-reconfigure xserver-xorg".

You can switch between virtual terminals with "Alt-F1" and "Alt-F2" and apply the xdebconfigurator output in "dpkg-reconfigure xserver-xorg".

Or you can download Kanotix, burn it to cdrom, use it as live-cd and take the Xorg values you need from there, like I suggested in my earlier post. Whatever seems more convenient to you. However, I think that Kanotix might give you more reliable info because it has pretty good hardware autoprobe tools.
 
Old 01-28-2006, 12:24 PM   #6
secici
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
both vesa driver and xdebconfigurator used together.

Solved my problem.

I selected 1152X852 like resolution (I don't remeber exactly) with the classic three (1024x768 800x600 640x480) and the default was 1024x768@70Hz

But xdebconfigurator not enough all by itself. It wasn't a solution in my first attempts.

Thank you all!!!
 
Old 01-28-2006, 01:09 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Solved my problem ... not enough all by itself. It wasn't a solution in my first attempts.
If we could give you a perfect solution every time, it wouldn't be nearly as much fun. Advice is intended to get you on the right track. Glad it worked.
 
Old 01-28-2006, 05:19 PM   #8
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
thought you might like this http://tuxmobil.org/toshiba.html. There are some debian installs on your lappy with XF86Config-4 files. Good luck.
 
Old 02-07-2006, 11:04 AM   #9
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Hi, I am running debian too and having a similar problem. I am trying to reconfigure the xserver so i can get a higher resolution but i am still stuck w/ 800x600. I managed to install xdebconfigurator but i dont have the xserver-xorg thing installed. I tried to apt-cache to it but it returns me nothing, what is the exact package's name so i can look for it?

when i try to use it this is the msg i get:
/usr/sbin/dpkg-reconfigure: xserver-xorg is not installed

Thanks for any help,
 
Old 02-07-2006, 12:06 PM   #10
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
I managed to install xdebconfigurator but i dont have the xserver-xorg thing installed. I tried to apt-cache to it but it returns me nothing, what is the exact package's name so i can look for it?
Debian stable doesn't have Xorg, it uses the XFree86 version of X Window System. Try "dpkg-reconfigure xserver-xfree86" instead.
 
Old 02-07-2006, 01:37 PM   #11
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Does pkg read-edid(apt-get install read-edid) work for lappy screens too to help xdebconfigurator?
One user with same lappy used HorizSync 28-50 and VertRefresh 43-75 with default depth 16 with vesa driver too.

Last edited by lestoil; 02-07-2006 at 01:43 PM.
 
Old 02-07-2006, 03:25 PM   #12
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Thanks guys. The option of dkpg-reconfigure xserver-xfree86 worked for me. But only w/ the vesa driver i could support 24 bits colour. Now i am going for my audio system. Thanks veru much for your help!
 
Old 02-07-2006, 03:39 PM   #13
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Does pkg read-edid(apt-get install read-edid) work for lappy screens too to help xdebconfigurator?
Should be worth a try, I think. If you're not happy with the results, you can always run "dpkg-reconfigure xserver-xfree86" (or "dpkg-reconfigure xserver-xorg") again to change the settings.

In theory, you should be able to get a decent Xserver configuration if you just run as root "xdebconfigurator && dexconf". (xdebconfigurator auto-probes your display hardware and writes the probed info to debconf's database; dexconf writes the debconf database info to the Xserver config file.) But in practice this doesn't always work.

EDIT:
Personally, I usually first run "xdebconfigurator && dexconf" and then edit the Xserver config file manually.

I don't install local font server, so I comment out the "unix/:7100" fontpath. On the other hand, I install msttcorefonts and x-ttcidfont-conf, so I add the fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" on top of other fontpaths. (Later on, I run "dpkg-reconfigure libpango1.0-common", "dpkg-reconfigure fontconfig" and "fc-cache -fv".)

To get the mouse wheel working, I add the option "ZAxisMapping" "4 5" and change the mouse protocol to "ImPS/2" (because that's the correct protocol for my mouse although xdebconfigurator thinks it's PS/2). I also change the HorizSync and VertRefresh ranges to what the monitor's manufacturer recommends. I have one system that has nvidia card and the binary driver needs a modeline in xorg.conf that I get with xvidtune.

Here is the Linux Documentation Project's HOWTO that's supposed to be obsoleted by the new features in Xserver but it's still good info for troubleshooting when your display refuses to work as expected: http://tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/

Last edited by Dead Parrot; 02-08-2006 at 06:44 AM.
 
  


Reply



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
Only 640x480 screen resolution on ubuntu 5.10 nickleus Linux - Newbie 6 02-20-2006 02:01 AM
X server working only at 640x480 resolution pymehta Linux - Hardware 4 08-22-2005 04:07 AM
X server working only at 640x480 resolution pymehta Linux - Hardware 1 08-21-2005 03:33 PM
The best resolution i get is an 640x480..... I don't know why? billygoat Red Hat 3 07-08-2004 06:41 AM
Mandrake 9.2 XF86 Resolution problem - 640x480 eitan1989 Linux - Hardware 8 12-07-2003 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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