You are not logged in.

#1 2009-08-07 19:50:25

essence-of-foo
Member
Registered: 2008-07-12
Posts: 84

external monitor is not listed by xrandr

Hi,

I have an external monitor (VGA) connected to my laptop. All worked fine until the last nvidia-package update. X would no longer start up and therefore I decided to use the free nv driver instead (xf86-video-nv package). I updated my xorg.conf and everything was fine except that my external monitor isn't recognized.

I own 2 external Monitors with VGA. When connected, both show the same picture as the internal monitor of my laptop but the picture is "shaking" the whole time. Doesn't look very healthy at all...
(And I don't want a duplication but an extension of screen space)

When I invoke xrandr it only lists my internal display. So I suppose the problem lies below all the Xorg.conf stuff. But I have no idea where to look for the cause of the problem.
Is the kernel responsible of recognizing my monitors? Or is it a differenz component? How can I find out if the kernel(if responsible) has recognized my monitor?

My system is up to date. No packages are held back. The relevant hardware is:
Nvidia GeForce 7400
Fujitsu Siemens (no model specification available)
Samsung Syncmaster 2243 BW

the following daemons are running:
crond  dbus  hal  netfs  network  smartd  syslog-ng

Last edited by essence-of-foo (2009-08-07 20:13:08)

Offline

#2 2009-08-08 01:20:59

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: external monitor is not listed by xrandr

Hello essence-of-foo!

1. You can create an xorg.conf with X -configure or with hwd, or try it without xorg.conf.
2. Which version of kernel/driver do you use ?
3. Is it a 32/64 bit system ?
4. Maybe you can show some related log files, like xorg.log, error.log, syslog.

Offline

#3 2009-08-08 13:41:56

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: external monitor is not listed by xrandr

hmm why dont u use the nvidia pakage ? Then you could use nvidia-utils for twinview

Offline

#4 2009-08-10 18:54:30

essence-of-foo
Member
Registered: 2008-07-12
Posts: 84

Re: external monitor is not listed by xrandr

Thanks for your replies.

djszapi wrote:

1. You can create an xorg.conf with X -configure or with hwd, or try it without xorg.conf.

Does that mean that xrandr looks into the xorg.conf to see if there are more monitors?
I tried both methods.
X -configure created an xorg.xonf with the instruction to use the nvdia driver. The result was (as expected) that the screen of my monitor stays black and only sysreq could help me to reboot. I edited the file to let the xserver use the nv driver but this changed almost nothing except that I still could use the ctrl+alt+F1... keys to get back to the virtual console (remember: X was all black. No windowmanager ect. )
Using no xorg.conf has the same results as my current xorg.conf which I will paste later in this post. edit: The xorg.conf generated by X -configure has been attached too

2. Which version of kernel/driver do you use ?

As I wrote - everything is up to date.
That means:

Name                 : kernel26
Version              : 2.6.30.4-1

Name                 : nvidia
Version              : 185.18.31-1

Name                 : xf86-video-nv
Version              : 2.1.14-1

Name                 : xorg-server
Version              : 1.6.3-2

Name                 : hal
Version              : 0.5.12git20090421.4fc367-2

3. Is it a 32/64 bit system ?

32 bits

4. Maybe you can show some related log files, like xorg.log, error.log, syslog.

Of couse:

xorg.conf (written by me):

Section "ServerLayout"
    Identifier    "Builtin Default Layout"
    Screen        0 "Screen0" 0 0
    Screen        1 "Screen1" RightOf "Screen0"
EndSection

Section "ServerFlags"
    Option        "Xinerama" "0"
EndSection

#--- first screen settings

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    Option         "TwinView" "0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nv"
    BoardName    "GeForce Go 7400"
    BusID        "PCI:1:0:0"
    Screen        0
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    ModelName    "Nvidia Default Flat Panel"
    HorizSync    29.0 - 49.0
    VertRefresh    0.0 - 61.0
EndSection

#--- second screen settings

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    Option        "TwinView" "0"
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nv"
    BoardName    "GeForce Go 7400"
    BusID        "PCI:1:0:0"
    Screen        1
EndSection

Section "Monitor"
    Identifier    "Monitor1"
    ModelName    "Samsung SyncMaster"
    #HorizSync    30.0 - 81.0
    #VertRefresh    56.0 - 75.0
    Option        "RandRRotation" "yes"
EndSection

errors.log:

Aug  6 19:09:34 Linuxbox kernel: NOHZ: local_softirq_pending 80

syslog.log

Aug 10 18:02:02 Linuxbox syslog-ng[3632]: syslog-ng starting up; version='3.0.3'

hmm why dont u use the nvidia pakage ? Then you could use nvidia-utils for twinview

I did. But since the last update I can't use the Xserver any more with the nvidia driver. And nvidia's tools only work when the driver is already working in the background.


However I'm still wondering which component is responsible for recognizing the monitor. This will probalbly help me to investigate the problem.

edit: xorg.conf generated by X -configure and edited by me:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "record"
    Load  "extmod"
    Load  "dbe"
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"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nv"
    VendorName  "nVidia Corporation"
    BoardName   "G72M [GeForce Go 7400]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

I changed the driver to "nv" and removed the glx module because the xserver was complaining. But this didn't change anything. The error messages are:

X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-ARCH i686 
Current Operating System: Linux Linuxbox 2.6.30-ARCH #1 SMP PREEMPT Fri Jul 31 18:10:38 UTC 2009 i686
Build Date: 03 August 2009  08:45:00PM
 
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 10 21:03:11 2009
(++) Using config file: "xorg.conf.new"
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
error setting MTRR (base = 0xb0000000, size = 0x04000000, type = 1) Invalid argument (22)

Last edited by essence-of-foo (2009-08-10 19:10:58)

Offline

#5 2009-08-11 06:26:48

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: external monitor is not listed by xrandr

It might not be what you want , like . But i have an nvidia 7300 GS and i use the standard 'nvidia' package and just use  nvidia-settings  to configure my Xorg and write it to Xorg.conf . I don't know if the nv driver has any tool for this or lacks support for multiple monitors etc.

Offline

Board footer

Powered by FluxBB