You are not logged in.

#1 2011-08-06 15:30:41

vectorman
Member
Registered: 2011-04-26
Posts: 16

[Solved] Default resolution changed and won't go back

--Specs: intel 945 chipset, Laptop, KMS enabled

I wanted to use the vga port on my laptop to watch a flick, but it didn't work automatically.  After consulting the wiki I created a 10-monitor.conf file and set the resolution to 1360-768 (which is supported by the external monitor, but I don't think by my laptop screen.)  After killing X with the intent to restart it, I was surprised to see the console output displaying on the external monitor and my laptop, but x wouldn't start with the error: 'no monitors/screens found' or something to that effect (sorry, I forgot the exact error message.)  After coming to the realization that I probably only needed to restart x or use xrandr (both options I wish the wiki had made much clearer) I deleted the 10-monitor.conf file and things work again -- except at the wrong resolution.  A reboot doesn't fix things at all, and I'd like to have things autodetected back to proper order.

I have KMS enabled and that usually set the resolution perfectly, but even after deleting that 10-monitor.conf file the resolution detected is 1024x768...  I'd prefer to have things the way they were and use xrandr to turn on/off my external monitor and set its resolution.  Anyone know why my system is autodetecting the wrong resolution and can help me get back to normal?

Last edited by vectorman (2011-08-06 16:52:22)

Offline

#2 2011-08-06 15:39:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Default resolution changed and won't go back

What the output of 'xrandr'? Do you still have the Intel drivers installed?

Offline

#3 2011-08-06 16:17:49

vectorman
Member
Registered: 2011-04-26
Posts: 16

Re: [Solved] Default resolution changed and won't go back

I have the intel drivers installed.  xrandr outputs:

Screen 0: minimum 320 x 200, current 2726 x 768, maximum 4096 x 4096
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1366x768       60.0*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 connected 1360x768+1366+0 (normal left inverted right x axis y axis) 1018mm x 572mm
   1920x1080      59.9 +
   1600x1200      60.0  
   1280x1024      75.0     60.0  
   1360x768       60.0* 
   1024x768       75.1     70.1     60.0  
   800x600        72.2     75.0     60.3  
   640x480        72.8     75.0     60.0  
   720x400        70.1  

Offline

#4 2011-08-06 16:22:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Default resolution changed and won't go back

What's wrong again? Do you want to set 1920x1080 on VGA1?
What tool is detecting 1024x768 resolution?

Offline

#5 2011-08-06 16:33:04

vectorman
Member
Registered: 2011-04-26
Posts: 16

Re: [Solved] Default resolution changed and won't go back

lsdv1 defaults to 1024x768, it used to be 1366x768 before i created (then deleted) the config file.

EDIT: I can see the black borders, so I know it's 1024x768

EDIT2: I'd just like things to revert to default: 1366x768, and no external monitor (I can use xrandr)

Last edited by vectorman (2011-08-06 16:34:44)

Offline

#6 2011-08-06 16:34:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Default resolution changed and won't go back

Can you set the correct resolution with xrandr?

Offline

#7 2011-08-06 16:34:54

vectorman
Member
Registered: 2011-04-26
Posts: 16

Re: [Solved] Default resolution changed and won't go back

ya

EDIT:  My wording was confusing, sorry.  Before, KMS would set my resolution to 1366x768 24bit, but now I have black lines on the left and right of my screen when I startx

Last edited by vectorman (2011-08-06 16:38:57)

Offline

#8 2011-08-06 16:38:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Default resolution changed and won't go back

Have you tried with the config fie again?

Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nouveau" #Choose the driver used for this monitor
EndSection

Section "Screen"
    Identifier    "Screen0"  #Collapse Monitor and Device section to Screen section
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  24 #Choose the depth (16||24)
    SubSection "Display"
        Depth     24
        Modes     "1440x900_60.00" #Choose the resolution
    EndSubSection
EndSection

Adjust for your settings.

Offline

#9 2011-08-06 16:40:03

vectorman
Member
Registered: 2011-04-26
Posts: 16

Re: [Solved] Default resolution changed and won't go back

When I did that the first time and tried to startx I got an error message and things wouldn't start, but I'll try again.

Offline

#10 2011-08-06 16:49:42

vectorman
Member
Registered: 2011-04-26
Posts: 16

Re: [Solved] Default resolution changed and won't go back

Problem solved!  I didn't get black bars when I unplugged the monitor and started x!

My laptop's screen doesn't support 1360x768, but my monitor (TV screen) does, yet the monitor doesn't support 1366x768.  I'm assuming that the resolution automatically switched to the next smaller resolution that BOTH supported (1024x768) and gave my laptop black bars to compensate and keep the original aspect ratio.

Problem solved, and thanks for your support karol!

EDIT: I'll mark the thread as solved as soon as I find out how!

Last edited by vectorman (2011-08-06 16:50:43)

Offline

Board footer

Powered by FluxBB