Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2011 10:21:52 +0530
From:      Gurpreet Singh <gurpreet007@gmail.com>
To:        Polytropon <freebsd@edvax.de>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: System lockups in X with nVidia GeForce 7600 GS (G73) and Gtk+
Message-ID:  <CANhJ6zS4P2E%2BsPQAgEqWH414P%2BtT6uQne%2BYBeXaMVV8dWCx25g@mail.gmail.com>
In-Reply-To: <20110814032206.49ad7062.freebsd@edvax.de>
References:  <20110814032206.49ad7062.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 14, 2011 at 6:52 AM, Polytropon <freebsd@edvax.de> wrote:

>
> Has anyone got the "nouveau" driver working, and if,
> how precisely has he done so?
>

I am using nouveau driver on FreeBSD 8.2 Release with resolution 1280x1024.
I have Nvidia GeForce 7025 card embedded in my Asus Mobo.
CPU: AMD Phenom(tm) II X2 545 Processor (3013.73-MHz K8-class CPU)

I am able to run nouveau driver by simply following the instructions given
in package xf86-video-nouveau's pkg-message file:
These are those instructions:
---------------Start------------------
Installing it should be as simple as below procedure provided you have
base sources in /usr/src.

    # cd /usr/src/sys
    # fetch http://people.freebsd.org/~rnoland/drm-nouveau-062309.patch
    # patch -sp0 -i drm-nouveau-062309.patch
    # cd modules/drm
    # make depend all install
---------------End------------------


Here is my Xorg's version:
---------------Start-----------------
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.2-RELEASE amd64
Current Operating System: FreeBSD amnesiac 8.2-RELEASE FreeBSD 8.2-RELEASE
#0: Thu Feb 17 02:41:51 UTC 2011
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
amd64
Build Date: 11 August 2011  11:06:01PM
---------------End------------------

And I didn't changed anything in my xorg.conf generate by Xorg -configure
except changing Driver nv to nouveau in Device section.
Here it is:
--------------Start------------------
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/lib/X11/fonts/misc/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
    FontPath     "/usr/local/lib/X11/fonts/OTF"
    FontPath     "/usr/local/lib/X11/fonts/Type1/"
    FontPath     "/usr/local/lib/X11/fonts/100dpi/"
    FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

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

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

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

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # <i>
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # <i>
        #Option     "DualHead"               # [<bool>]
    Identifier  "Card0"
    Driver      "nouveau"
    VendorName  "nVidia Corporation"
    BoardName   "C61 [GeForce 7025 / nForce 630a]"
    BusID       "PCI:0:13: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
-----------End----------------



> Is there an explaination of the lockups (always only
> in relation to Gtk+ triggering it)? Does it indicate
> a defective driver or a defective hardware? What do
> you think?
>

I once experienced such mysterious lockup since I started using FreeBSD 1
month ago. It left no traces which I could find.
If I can recall correctly I was using Firefox that time and 2/3 Eterms were
open. WM was Fluxbox.


Regards,
Gurpreet

-- 
------------------------------------------------------------
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANhJ6zS4P2E%2BsPQAgEqWH414P%2BtT6uQne%2BYBeXaMVV8dWCx25g>