scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Monitor mode problem!
nyanyo
 Posted: Jun 25 2012, 02:27 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









Hi All.

My problem is with mode of monitor. SL 6.2(carbon) 64 bits, when I connected extra monitor I have just 1280 to 1080. My monitor is 1680X1050. And in settings I can't change! I try change xorg, but without result.

Maybe, somebody can help me????
PMEmail Poster
^
nyanyo
 Posted: Jun 25 2012, 02:46 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









My problem close to this http://scientificlinuxforum.org/index.php?showtopic=1265

But everything what write in this topic didn't help me!!! http://dl.dropbox.com/u/2835777/BangHead1.gif
PMEmail Poster
^
tux99
 Posted: Jun 25 2012, 02:54 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









Post the output of /var/log/Xorg.0.log to pastebin.org and then post the link to it here.

Also please tell us what hardware you are using (brand and model of monitors and/or laptop and graphics card), the more details, the better.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 27 2012, 08:09 AM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12










This is /var/log/Xorg.0.log - http://pastebin.com/gKf8YFBq.

about my Hardware.

lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
0a:00.0 SD Host controller: O2 Micro, Inc. Device 8221 (rev 05)
0a:00.1 Mass storage controller: O2 Micro, Inc. Device 8231 (rev 03)

lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator
Bus 001 Device 004: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator
Bus 001 Device 005: ID 1bcf:2802 Sunplus Innovation Technology Inc.
Bus 002 Device 003: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 001 Device 006: ID 046d:0a0b Logitech, Inc. ClearChat Pro USB
Bus 001 Device 007: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 008: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard Hub
Bus 001 Device 009: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard

Leptop Dell e6420 with intell video, and Monitor HP Compaq LA2205wg.


PMEmail Poster
^
tux99
 Posted: Jun 27 2012, 03:40 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









Why is the log output showing 3 configured screens?

Can you also post the xorg.conf file to pastebin?

Also what I don't understand is why are you using the VESA xorg driver rather than the Intel driver?

With the Intel driver I would assume you don't need 'nomodeset' in grub, I think modeset should be active with the Intel driver (but I don't have recent experience with the Intel driver so I'm not sure).

QUOTE
#[  4932.240] (==) Using config file: "/etc/X11/xorg.conf"
#[  4932.240] (==) ServerLayout "X.org Configured"
#[  4932.240] (**) |-->Screen "Screen0" (0)
#[  4932.240] (**) |  |-->Monitor "Monitor0"
#[  4932.240] (**) |  |-->Device "Card0"
#[  4932.240] (**) |-->Screen "Screen1" (1)
#[  4932.240] (**) |  |-->Monitor "Monitor1"
#[  4932.240] (**) |  |-->Device "Card1"
#[  4932.241] (**) |-->Screen "Screen2" (2)
#[  4932.241] (**) |  |-->Monitor "Monitor2"
#[  4932.241] (**) |  |-->Device "Card2"


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 27 2012, 04:47 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









Here is xorg.conf:

QUOTE
Section "ServerLayout"
Identifier    "X.org Configured"
Screen      0  "Screen0" 0 0
Screen      1  "Screen1" RightOf "Screen0"
Screen      2  "Screen2" RightOf "Screen1"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath  "/usr/lib64/xorg/modules"
FontPath    "catalogue:/etc/X11/fontpath.d"
FontPath    "built-ins"
EndSection

Section "Module"
Load  "dbe"
Load  "dri2"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "record"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option    "Protocol" "auto"
Option    "Device" "/dev/input/mice"
Option    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier  "Monitor0"
VendorName  "Monitor Vendor"
ModelName    "Monitor Model"
Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Monitor"
Identifier  "Monitor1"
VendorName  "Monitor Vendor"
ModelName    "Monitor Model"
Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Monitor"
Identifier  "Monitor2"
VendorName  "Monitor Vendor"
ModelName    "Monitor Model"
Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "DRI"                # [<bool>]
        #Option    "ColorKey"            # <i>
        #Option    "VideoKey"            # <i>
        #Option    "FallbackDebug"      # [<bool>]
        #Option    "Tiling"              # [<bool>]
        #Option    "LinearFramebuffer"  # [<bool>]
        #Option    "Shadow"              # [<bool>]
        #Option    "SwapbuffersWait"    # [<bool>]
        #Option    "TripleBuffer"        # [<bool>]
        #Option    "XvMC"                # [<bool>]
        #Option    "XvPreferOverlay"    # [<bool>]
        #Option    "DebugFlushBatches"  # [<bool>]
        #Option    "DebugFlushCaches"    # [<bool>]
        #Option    "DebugWait"          # [<bool>]
        #Option    "HotPlug"            # [<bool>]
        #Option    "RelaxedFencing"      # [<bool>]
Identifier  "Card0"
Driver      "intel"
BusID      "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "ShadowFB"            # [<bool>]
        #Option    "Rotate"              # <str>
        #Option    "fbdev"              # <str>
        #Option    "debug"              # [<bool>]
Identifier  "Card1"
Driver      "fbdev"
BusID      "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "ShadowFB"            # [<bool>]
        #Option    "DefaultRefresh"      # [<bool>]
        #Option    "ModeSetClearScreen"  # [<bool>]
Identifier  "Card2"
Driver      "vesa"
BusID      "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device    "Card0"
Monitor    "Monitor0"
SubSection "Display"
  Viewport  0 0
  Depth    1
        Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    4
        Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    8
        Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    15
        Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    16
        Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    24
        Modes "1680×1050" "1600x900"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device    "Card1"
Monitor    "Monitor1"
SubSection "Display"
  Viewport  0 0
  Depth    1
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    4
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    8
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    15
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    16
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    24
Modes "1680×1050" "1600x900"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device    "Card2"
Monitor    "Monitor2"
SubSection "Display"
  Viewport  0 0
  Depth    1
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    4
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    8
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    15
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    16
Modes "1680×1050" "1600x900"
EndSubSection
SubSection "Display"
  Viewport  0 0
  Depth    24
Modes "1680×1050" "1600x900"
EndSubSection
EndSection


My experience with linux is not so big, that is why I ask help!!


Mod's edit: please use 'quote' instead of colored text when pasting large text
PMEmail Poster
^
tux99
 Posted: Jun 27 2012, 05:23 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









Hi nyanyo, first of all your xorg.conf contains an invalid character, you used '×' (multiply) instead of 'x' (letter x) in the definitons of "1680×1050".

This is most likely not the solution to all you problems but it still needs fixing everywhere in your xorg.conf as xorg fails to use the 1680x1050 mode because of that.

Also if you only have one external monitor then delete Screen2/Monitor2/Device2 as that's not needed.

Also change all Driver definitions to "intel" rather than "vesa" or "fbdev".


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 28 2012, 09:16 AM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









I did changes and my X was dead! I remove xorg and now can work!!

I don't what I can do more!!!
PMEmail Poster
^
tux99
 Posted: Jun 28 2012, 12:42 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









QUOTE (nyanyo @ Jun 28 2012, 11:16 AM)
I did changes and my X was dead! I remove xorg and now can work!!

I don't what I can do more!!!


Please provide the output of /var/log/Xorg.0.log again when X fails to start. Without complete error messages I cannot help you.

You can always change xorg.conf back to how it was before (if you didn't keep a backup copy then use the one you pasted here in this thread), but IMHO you should be able to boot xorg just fine (at least only with the laptop screen) without any xorg.conf file at all.



--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 28 2012, 02:10 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









This link http://pastebin.com/7cY6UujM to /var/log/Xorg.0.log.

X starts when I delete xorg.conf.
PMEmail Poster
^
tux99
 Posted: Jun 28 2012, 02:39 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









QUOTE (nyanyo @ Jun 28 2012, 04:10 PM)
This link http://pastebin.com/7cY6UujM to /var/log/Xorg.0.log.

X starts when I delete xorg.conf.


Ok, when you start X without xorg.conf does the external screen work too? If yes at what resolution?

Can you post the output of: xrandr --verbose


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 28 2012, 03:22 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









yes it work!

xrandr --verbose:

[Andrii@Andrii ~]$ xrandr --verbose
Screen 0: minimum 800 x 600, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 (0x108) normal (normal) 0mm x 0mm
Identifier: 0x107
Timestamp: 30295
Subpixel: horizontal rgb
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1280x1024 (0x108) 0.0MHz *current
h: width 1280 start 0 end 0 total 1280 skew 0 clock 0.0KHz
v: height 1024 start 0 end 0 total 1024 clock 0.0Hz
1024x768 (0x109) 48.0MHz
h: width 1024 start 0 end 0 total 1024 skew 0 clock 46.8KHz
v: height 768 start 0 end 0 total 768 clock 61.0Hz
800x600 (0x10a) 29.3MHz
h: width 800 start 0 end 0 total 800 skew 0 clock 36.6KHz
v: height 600 start 0 end 0 total 600 clock 61.0Hz
PMEmail Poster
^
tux99
 Posted: Jun 28 2012, 03:32 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









QUOTE (nyanyo @ Jun 28 2012, 05:22 PM)
yes it work!

xrandr --verbose:

[Andrii@Andrii ~]$ xrandr --verbose
Screen 0: minimum 800 x 600, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 (0x108) normal (normal) 0mm x 0mm


I'm confused, you need to be more detailed and precise in your answers otherwise it's very hard for me to understand the situation and to help you.
This xrandr output is showing only one screen at 1280x1024. Did you run xrandr when you had only the laptop screen on or only the external screen or both?


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 28 2012, 03:39 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









This what I show is only external screen!

In my case both screen didn't work! Or external or laptop!


My laptop screen,when I work on laptop have normal 1600x900 resolution.

And when I come to work and connecting to station, I can chose one in 3 possible resolution, what you already saw.


This is case!
PMEmail Poster
^
tux99
 Posted: Jun 28 2012, 03:49 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









Ok then, please post the output of xrandr -q when you are running with the internal laptop screen but also have the external screen switched on and connected (even if it doesn't display anything), without the xorg.conf file.

Also remove the 'nomodeset' parameter from the kernel line in /etc/grub.conf, I think the 'nomodeset' parameter is causing the Vesa driver to be used instead of the Intel driver.
Reboot after removing the 'nomodeset' parameter.

By the way is the external screen connected via VGA or HDMI?


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
tux99
 Posted: Jun 28 2012, 04:18 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









Also after removing the 'nomodeset' parameter you could try the following xorg.conf file:
(this assumes your monitor is connected via VGA, if it's via hdmi then replace monitor-VGA1 with monitor-DVI1)

CODE
Section "Monitor"
Identifier  "Monitor0"
VendorName  "Dell e6420"
ModelName   "Internal Screen"
Option      "PreferredMode"  "1600x900"
Option      "Position" "0 0"
EndSection

Section "Monitor"
Identifier  "Monitor1"
VendorName  "HP Compaq LA2205wg"
ModelName   "External Screen"
Option      "PreferredMode"  "1680x1050"
Option      "RightOf"  "Monitor0"
Modeline "1680x1050"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Device"
Identifier  "Card0"
Driver      "intel"
Option      "monitor-LVDS1" "Monitor0"
Option      "monitor-VGA1" "Monitor1"
EndSection


See also:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
http://intellinuxgraphics.org/dualhead.html


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 29 2012, 06:49 AM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12











I did :
[Andrii@Andrii ~]$ xrandr -q
Screen 0: minimum 1600 x 900, current 1600 x 900, maximum 1600 x 900
default connected 1600x900+0+0 0mm x 0mm
1600x900 0.0*

It with my laptop screen and connected external monitor. My monitor connected to laptop station and I just put laptop on station and everything work. Connection is HDMI.

PMEmail Poster
^
nyanyo
 Posted: Jun 29 2012, 07:03 AM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









THANK YOU VERY MUCH!!!!

I remove nomodeset and restart and now screen have normal resolution!!!

Can I ask one more question??

It's about audio:

I have connected audio headset, but sound is very low and when I put maximum value in system it didn't change anything!

PMEmail Poster
^
tux99
 Posted: Jun 29 2012, 01:00 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1120
Member No.: 224
Joined: 28-May 11









QUOTE (nyanyo @ Jun 29 2012, 09:03 AM)
THANK YOU VERY MUCH!!!!

I remove nomodeset and restart and now screen have normal resolution!!!


Just for clarity for anyone else having this issue: did you use the mini xorg.conf file I posted in my previous post or did it work without any xorg.conf?


QUOTE (nyanyo @ Jun 29 2012, 09:03 AM)
I have connected audio headset, but sound is very low and when I put maximum value in system it didn't change anything!


I assume you have pulseaudio installed (it's installed by default).
My recommendation would be to remove pulseaudio as it's just a nuisance, but unfortunately removing it is not easy. I wrote a howto which worked for me but I don't know if it works on every installation.
Proceed at your own risk:
http://scientificlinuxforum.org/index.php?showtopic=618


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
PM
^
nyanyo
 Posted: Jun 29 2012, 03:57 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 1644
Joined: 25-June 12









QUOTE
Just for clarity for anyone else having this issue: did you use the mini xorg.conf file I posted in my previous post or did it work without any xorg.conf?



No, I didn't. Just removed 'nomodeset'.
PMEmail Poster
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll