You are not logged in.

#1 2011-11-04 13:45:58

sonay
Member
Registered: 2010-03-09
Posts: 75

[Solved]Netbook to output to LCD (resolution problems)

I have a netbook with a screen of resolution 1024x600 and a Samsung 940BW monitor with a screen resolution of 1440x900. I bought a vga cable to connect those monitors and connected. What I want is both monitors have their own resolution, i.e., Samsung to output at 1440x900 and netbook screen to 1024x600 and clone outputs, i.e., no panoramic output. I am using KDE and size and orientation settings is:

lvds1(connected):
Size =1024x600
Refresh = Auto
Orientation = No Rotation
Position = Absolute(0,0)

vga1(connected)
Size = 1024x768
Refresh = Auto
Orientation = No Rotation
Position = Absolute(0,0)

Primary Output = none

Here is the problems I'd like to solve:

1) Netbook screen output is missing certain parts from top to down, I believe that is the 168 pixels(height) difference from the Samsung monitor.

2) Samsung monitor can not be adjusted to output more than 1024x768.

useful lspci output:

00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (prog-if 00 [VGA controller]) 
        Subsystem: CLEVO/KAPOK Computer Device 1100                                                                          
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+                
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-                 
        Latency: 0                                                                                                           
        Interrupt: pin A routed to IRQ 42                                                                                    
        Region 0: Memory at f0300000 (32-bit, non-prefetchable) [size=512K]                                                  
        Region 1: I/O ports at 18e8 [size=8]                                                                                 
        Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]                                                      
        Region 3: Memory at f0000000 (32-bit, non-prefetchable) [size=1M]                                                    
        Expansion ROM at <unassigned> [disabled]                                                                             
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-                                                           
                Address: fee0300c  Data: 4159                                                                                
        Capabilities: [d0] Power Management version 2                                                                        
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)                                   
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-                                                       
        Kernel driver in use: i915                                                                                           
        Kernel modules: i915                                                                                                 
                                                                                                                             
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller                                      
        Subsystem: CLEVO/KAPOK Computer Device 1100                                                                          
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-                
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-                 
        Latency: 0                                                                                                           
        Region 0: Memory at f0380000 (32-bit, non-prefetchable) [disabled] [size=512K]                                       
        Capabilities: [d0] Power Management version 2                                                                        
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)                                   
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

xrandr -q output:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096                                                         
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 223mm x 125mm                                        
   1024x600       60.0*+                                                                                                     
   800x600        60.3     56.2                                                                                              
   640x480        59.9                                                                                                       
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm                                             
   1024x768       60.0*                                                                                                      
   800x600        60.3     56.2                                                                                              
   848x480        60.0                                                                                                       
   640x480        59.9 

xrandr -s 1440x900 -r 60.0 output:

Size 1400x900 not found in available modes

Last edited by sonay (2011-11-05 15:05:05)

Offline

#2 2011-11-05 03:14:31

sonay
Member
Registered: 2010-03-09
Posts: 75

Re: [Solved]Netbook to output to LCD (resolution problems)

OK, I solved it to a considerable degree by the help of "man xrandr":

First I needed to define a new mode:

cvt 1440 900 60 
xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

Then added the mode to VGA1 output:

xrandr --addmode VGA1 1440x900_60.00

Now comes the tricky part:

xrandr --fb 1440x900 --output LVDS1 --scale 1.40625x1.5 --output VGA1 --pos 0x0 --panning 1440x900+0+0/1440x900+0+0/64/64/64/64   

Since the command is using scaling, some resolution is lost for the netbook, but I can live with that as "xrandr --auto" reverts it back to the original settings.

Explanation of the funky 1.40625 and 1.5: 1440/1024=1.40625, 900/600=1.5

I am not sure but installation of xf86-video- fbdev maybe needed to use fb properly. I installed it due to a Xorg.log error, before finding out the solution

Last edited by sonay (2011-11-05 16:42:06)

Offline

Board footer

Powered by FluxBB