LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   x hangs from sometimes (https://www.linuxquestions.org/questions/arch-29/x-hangs-from-sometimes-930980/)

raleeha 02-23-2012 10:58 PM

x hangs from sometimes
 
hi folks,

i would consider i'm really new to archlinux, but i wanted to try some new..

What i get is some kind of strange error messages like

Code:

[    8.894078] nouveau: probe of 0000:01:00.0 failed with error -22
Code:

[    8.888725] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown
Code:

[    0.255051] pnp 00:07: can't evaluate _CRS: 12298
Code:

[    0.254854] ACPI Error: Field [IRQL] at 208 exceeds Buffer [BUF0] size 192 (bits) (20110623/dsopcode-236)
[    0.254905] ACPI Error: Method parse/execution failed [\_SB_.PCI0.ISA_.FDC0._CRS] (Node d30262b8), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[    0.254987] ACPI Error: Method execution failed [\_SB_.PCI0.ISA_.FDC0._CRS] (Node d30262b8), AE_AML_BUFFER_LIMIT (20110623/uteval-103)

i'm using archlinux kernel version like:

Code:

[    0.000000] Linux version 3.2.6-2-ARCH (tobias@T-POWA-LX) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Feb 16 10:23:00 UTC 2012
[    0.000000] BIOS-provided physical RAM map:

the Xorg.0.log shows me:

Code:

[  112.015] (II) Loading extension MIT-SCREEN-SAVER
[  112.095] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  112.099] (EE) Failed to load module "nv" (module does not exist, 0)
[  112.102] (EE) Failed to load module "nvidia" (module does not exist, 0)
[  112.116] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  112.095] (WW) Warning, couldn't open module nouveau
[  112.098] (WW) Warning, couldn't open module nv
[  112.102] (WW) Warning, couldn't open module nvidia
[  112.115] (WW) Warning, couldn't open module fbdev
[  112.808] (WW) VESA(0): Unable to estimate virtual size

seems to be the system needs any more driver like nv nouveau nvidia fbdev

Does anyone got same messages ?

Any suggestions will be appreciated.

thanks raleeha

liberalchrist 02-24-2012 04:03 PM

Looks like you are missing the Xorg driver bundle. The kernel is detecting an NVidia card and trying all the normal options for NVidia before defaulting to the framebuffer. Since you have none of the above, you get all errors. I don't know off the top of my head what Arch calls this package, but once you install that, something will work. Like many people, though, I usually opt for the proprietary driver from NVidia.

SilentSam 03-09-2012 11:30 AM

The most generic driver package is xf86-video-nv, which provides the 'nv' driver. It's part of the xorg-drivers group. It doesn't provide any 3D acceleration though, so I only keep it around as a fallback (I still use a /etc/X11/xorg.conf file to configure my X)

You probably want to install the nvidia binary drivers
Code:

pacman -Sy nvidia
Or you may want to use the open source nouveau drivers. I gave the ArchWiki link because, quite frankly, I've never had them work properly.

I use the proprietary drivers, but they've dropped support for older nvidia cards, so if your card is an older nvidia card one day it may stop working after an upgrade.

raleeha 03-09-2012 01:15 PM

many thanks for your replies

i tried to install the nouveau driver and the nvidia driver but no success..the strange thing is i can start X via startx command when i install the xf86-video-vesa driver.. i think my hardware on this computer is too old for archlinux system..

SilentSam 03-09-2012 01:42 PM

what hardware do you have?
Code:

lshw -C video
You may need to install lshw via pacman

edit: was X crashing when you installed nvidia/nouveau, or did you get a black screen? If the latter, you probably need to generate an /etc/X11/xorg.conf file and specify resolutions/modelines.

raleeha 03-09-2012 09:38 PM

lshw -C video:

Code:

*-display UNCLAIMED   
      description: VGA compatible controller
      product: NV34 [GeForce FX 5200]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 32 bits
      clock: 66MHz
      capabilities: pm agp agp-3.0 vga_controller vga_palette cap_list
      configuration: latency=64 maxlatency=1 mingnt=5
      resources: memory:f0000000-f0ffffff memory:e8000000-efffffff memory:f1000000-f101ffff

X hangs or crashes from time to time when i launch with vesa driver installed..without vesa it would not start X because im not able to create xorg file..i tried to put a xorg file but still get an error something like "no screens found"

SilentSam 03-12-2012 09:55 AM

Nvidia 5200 is an old card that is currently unsupported for the binary drivers.

Quote:

The most generic driver package is xf86-video-nv, which provides the 'nv' driver.
Did you try using this driver? I find this one to be the most supported. I'll see if I can copy/paste a working xorg.conf for your card as well, but keep in mind these things are monitor specific for the most part (especially modes/modelines)

Edit:
Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Wed Jun 13 16:54:14 PDT 2007

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

#Section "Files"
#    RgbPath        "/usr/X11R6/lib/X11/rgb"
#EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Unknown"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
  Modes      "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

This is a simple xorg.conf for a 19" widescreen monitor and the binary nvidia driver, which currently doesn't work with the 5200. The key here is the section:
Code:

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
EndSection

To use the nouveau driver, you would change this to:
Code:

Section "Device"
    Identifier    "Device0"
    Driver        "nouveau"
    VendorName    "NVIDIA Corporation"
EndSection

Or for the nv driver:
Code:

Section "Device"
    Identifier    "Device0"
    Driver        "nv"
    VendorName    "NVIDIA Corporation"
EndSection

------------------
Specifying an xorg.conf means you can have side by side drivers installed with no detection issues, however when an application wants to resize your resolution things can get problematic.
------------------
Edit2:
I just realized that there also is the AUR package for the supported older 173.xx nvidia binary driver as well: here

Worthy of note is that kernel upgrades can be difficult if choosing to go this path.

For ease of use and upgrades, I suggest using the nv driver.

raleeha 03-13-2012 07:48 AM

SilentSam: that was very helpful thanks..did not really know how to change xorg.conf..i ran X -configure and there was a xorg.conf.new created under root directory..i copied this file to /etc/X11..changed the line monitor (HorizSync/VertSync/1024y768/600x480)..and then it worked shows no error

think i need to know the better value for HorizSync and VertSync but its hard to find out without any documentation offline..maybe i can get some infos via lshw for monitor details

ok thats it many thanks

greetings raleeha

SilentSam 03-13-2012 09:25 AM

You should be able to find some good values following the instructions here.

Cheers

raleeha 03-15-2012 05:07 AM

i did an pacman -Syu but startx wont work with xf86-video-nv 2.1.1.8-5 so i decided to remove and reinstall xf86-video-vesa and now startx work well..i also renamed xorg.conf so there are no xorg setup configuration file..

why i should not use this standard driver? btw i will watch for further errors..

Code:

video                  9716  1 nouveau
mxm_wmi                1101  1 nouveau
wmi                    7263  1 mxm_wmi
i2c_algo_bit            4487  1 nouveau
drm_kms_helper        22653  1 nouveau
ttm                    45781  1 nouveau
drm                  151685  3 ttm,drm_kms_helper,nouveau

Code:

sudo pacman -Q nouveau-dri nouveau nv
Fehler: Paket 'nouveau-dri' wurde nicht gefunden.
Fehler: Paket 'nouveau' wurde nicht gefunden.
Fehler: Paket 'nv' wurde nicht gefunden.

How can i unload module nouveau? 'insmod' to load module and 'rmmod' to unload module

SilentSam 03-15-2012 11:45 AM

Code:

pacman -Q | grep nouveau
You probably have xf86-video-nouveau installed still.

You can remove nouveau by 1 of 3 ways:
1) $ rmmod nouveau (least permanent)
2) $ nano etc/modprobe.d/nouveau_blacklist.conf
-> In the file, write
Code:

blacklist nouveau
3) $ pacman -Rd nouveau-dri xf86-video-nouveau

The reason not to use vesa is that it is too generic a video driver. Certain resolutions are not available to it, and on top of that, since it is generic, there are a few hardware specific issues when using it.

Also, if you followed [urlhttps://wiki.archlinux.org/index.php/Nouveau]ArchWiki[/url], be sure to remove the additions you made to mkinitcpio.conf,


All times are GMT -5. The time now is 12:56 PM.