LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xrandr Problem (https://www.linuxquestions.org/questions/linux-newbie-8/xrandr-problem-787427/)

Libertes 02-06-2010 11:25 AM

Xrandr Problem
 
Hi,
here is my xrandr -q output

Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1680 x 1680

VGA connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1280x800 60.0*
1280x768 60.0
1024x768 60.0
800x600 60.3
640x480 59.9
LVDS connected (normal left inverted right x axis y axis)
1280x800 60.0 + 60.0
1280x768 60.0
1024x768 60.0
800x600 60.3
640x480 59.9
TMDS-1 connected (normal left inverted right x axis y axis)
1680x1050 60.0 + 60.0 60.0
1600x1200 60.0 59.9
1600x1024 60.0
1400x1050 74.8 70.0 60.0
1280x1024 75.0 59.9 60.0
1440x900 75.0 60.2 59.9
1280x960 60.0 59.9
1280x800 60.0
1152x864 75.0 74.8
1280x768 60.0
1280x720 59.9
1024x768 75.1 75.0 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 72.8 75.0 66.7 60.0 59.9
720x400 70.1
TV disconnected (normal left inverted right x axis y axis)

Distro is Debian Lenny.
Computer is Fujitsu Siemens Amilo Pro v3205 laptop.

My VGA is a 1680*1050 23" external monitor and i can only use 1280*800 of it.

How can i use 1680*1050 ?
Thanks a lot...

MTK358 02-06-2010 11:40 AM

So you have 3 monitors?

Do you want to use all of them, and in what layout?

Libertes 02-06-2010 11:49 AM

I have one monitor at laptop 1280*800 (original lcd of laptop)
I have one external monitor 1680*1050(23")

I do not have any other monitor.

But xrandr shows these three .
I only want to use VGA one but with 1680*1050 resolution not 1280*800.

How can i use it at 1680*1050?

MTK358 02-06-2010 11:54 AM

I wonder why xrandr shows 3.

I can't help until I know how each monitor you want is named.

So you're saying that one of the monitors you want is the one called "VGA", what are the others?

Libertes 02-06-2010 12:23 PM

VGA - External Monitor (23" 1680*1050 orginal resolution)
LVDS - Notebooks LCD (12.1" 1280*800 orginal resolution)
TMDS - I do not know what does it mean but it is seen above as output of xrandr.

I want to have 1680*1050 resolution at VGA (external monitor). How can i do it?

MTK358 02-06-2010 12:25 PM

Will you only use VGA or do you want a dual-monitor setup with VGA and LVDS (that is, the desktop spanning two monitors)?

If you want dual, then what should be the main monitor and what will be their layout?

Libertes 02-06-2010 12:33 PM

I only want VGA (external) with 1680*1050 .
Else does not matter. Others can be closed.

MTK358 02-06-2010 12:38 PM

What video card are you using?

What video driver are you using?

EDIT: also post the output of the command lspci | grep VGA

MTK358 02-06-2010 01:24 PM

If you don't know either of the two above questions and didn't install any video drivers, the output of the command in my previous post should be enough to continue.

Libertes 02-06-2010 01:28 PM

lspci | grep VGA result is

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)


My VGA controller is Intel Mobile 945GM, i tried to dload its drivers from intellinuxgraphics.org,
but i was not able to compile and install them.

I always had problems.
I use debian lenny

MTK358 02-06-2010 01:39 PM

Maybe the reason for the problem is that there is no driver.

But let's try this first:

Run this command as root:

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

If it complains that the file doesn't exist, that's OK.

Save the code below as "/etc/X11/xorg.conf":

Code:

Section "Device"
        Identifier "Default Device"
EndSection

Section "Screen"
        Identifier "Default Screen"
        SubSection "Display"
                Virtual 1680 1050
        EndSubSection
EndSection

Now log out and back in.

If it still isn't right, run this command (as a normal user now):

xrandr --output VGA --auto

If it still isn't right, run this:

xrandr --output VGA --mode 1680x1050

Libertes 02-06-2010 02:07 PM

i created a new xorg.conf as you said.
rebooted.

Computer screen opened the LCD (1280*800) monitor of laptop.
External monitor (1680*1050) was blank.

but only half of the LCD screen was seen to me other half was not seen.
so i couldnot able to open terminal to run your xrandr commands.

Then i rebooted from console and deleted that xorg,
and rebooted again.
What shall i do now?

MTK358 02-06-2010 02:35 PM

Do you have a file called .xinitrc in your home folder?

Libertes 02-06-2010 02:50 PM

i checked both roots home and my home
there is no file such as .xinitrc

minrich 02-06-2010 02:57 PM

on my 64bit debian lenny I have an xinitrc found at: /etc/X11/xinit/xinitrc but it only contains one line. Here is the full contents:

Quote:

#!/bin/bash
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession
Give me a few minutes and I will read your whole thread.


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