SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-10-01 14:58:35

ottom
New Member
Registered: 2011-10-01
Posts: 5

[solved] Resolution problem

Hello!

I have got an old laptop (Amilo pro 2030) and I have tested many light distros with it. Always the same problem: picture is too big for screen. Panel is missing for example. I have tried change resolution and there are normal options for that but if I change it system crashes somehow. Only 1600*1200 works.. What can I do?! This must be some kind of driver problem..

Last edited by ottom (2011-10-03 17:06:04)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-10-01 15:07:13

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: [solved] Resolution problem

Hello, please post the output of xrandr (from terminal)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#3 2011-10-01 16:36:05

ottom
New Member
Registered: 2011-10-01
Posts: 5

Re: [solved] Resolution problem

here it is:

otto@otto:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1600 x 1200, maximum 1600 x 1200
default connected 1600x1200+0+0 0mm x 0mm
   1600x1200       0.0*
   1280x1024       0.0 
   1280x768        0.0 
   1024x768       61.0 
   800x600         0.0 
   720x576         0.0 
   720x540         0.0 
   800x480         0.0 
   720x480         0.0 
   640x480         0.0

Offline

#4 2011-10-02 01:43:23

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: [solved] Resolution problem

xrandr --output default --mode 1024x768

Try smile

The list shows the available resolutions, the little asterisk shows the selected one. The numbers (like 0.0 and 61.0) show the refresh rate. "default" in the line  above sends the command to the "default" display. If you had more than 1 screen connected, they had different names (VGA0, LVDS, etc.)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#5 2011-10-02 09:40:57

ottom
New Member
Registered: 2011-10-01
Posts: 5

Re: [solved] Resolution problem

I just tested that whith live USB. Outcome was same: screen flipped totally!

I also tested Puppy Linux from usb. It has simple tool (xorgwizard) to change drivers.. I put vesa 1024*768 and screen was perfect.  Problem is that I don't like Puppy:). Life is hard:D. So can I do something similar with crunchbang?

Last edited by ottom (2011-10-02 10:46:02)

Offline

#6 2011-10-02 11:54:58

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: [solved] Resolution problem

By flipping do you mean 'upside down'? Let me know smile

Of course you can edit the xorg.conf file, could you post yours here and we can manipulate it. Usually (!) it is in /etc/X11 but some people have no xorg.conf file, so don't worry if it is missing:

cat /etc/X11/xorg.conf

in terminal


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#7 2011-10-02 13:22:21

ottom
New Member
Registered: 2011-10-01
Posts: 5

Re: [solved] Resolution problem

By flipping I mean a total mess in the screen:). Like modern painting or something like that;). Nothing works.

command gives: "no such file or directory" .. so it might be missing..

Offline

#8 2011-10-02 13:31:50

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: [solved] Resolution problem

I did a quick google search and found a working xorg.conf file you can try:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
Boardname "vesa"
Busid "PCI:1:0:0"
Driver "openchrome"
Screen 0
Option "SWcursor" "true"
Option "EnableAGPDMA" "True"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1024x768"
Horizsync 31.5-50.0
Vertrefresh 56.0 - 65.0
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 60.0 1024 1048 1080 1280 768 769 772 795 +hsync
+vsync
modeline "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync
+vsync
modeline "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync
+vsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Modes "1024x768@60" "1280x768@60" "800x600@60" "1280x800@60" "800x600@56"
Virtual 1024 768
EndSubSection
EndSection

Create a /etc/X11/xorg.conf with sudo gedit /etc/X11/xorg.conf and paste this snippet in it.
Log out and in again (or restart gdm, or reboot)
If you won't get the X server to run, simply remove the file with sudo rm /etc/X11/xorg.conf and then startx

Reference:
https://bugs.launchpad.net/ubuntu/+sour … comments/6 is exactly this xorg.conf


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#9 2011-10-03 17:03:56

ottom
New Member
Registered: 2011-10-01
Posts: 5

Re: [solved] Resolution problem

Thank you! It worked perfectly!:D I don't know what I did but that doesn't matter:cool:

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo