From owner-freebsd-questions@FreeBSD.ORG Sun Aug 14 04:52:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02A711065670 for ; Sun, 14 Aug 2011 04:52:15 +0000 (UTC) (envelope-from gurpreet007@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABC78FC15 for ; Sun, 14 Aug 2011 04:52:14 +0000 (UTC) Received: by bkat8 with SMTP id t8so3149654bka.13 for ; Sat, 13 Aug 2011 21:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=v88GjgOkBmQTs+yD8GAlIDDogn3vPElLU4YI8PM8wG8=; b=N3gswrJeuA9xJSF4LDe88a4tHACs+A6cc0RYQOYndF3rzRPZAb+b8EvIDNPijWUWxU JW80RfDL9oxD6vrN9RhG7RTnndBGMWdiERR3zWDYpgGzl0BaCZ3dRSreJjgSVj22AuE+ JnNAV2P0fmL1ZPTil73P/80kSLPf/ud6Ano5c= Received: by 10.204.41.72 with SMTP id n8mr977149bke.345.1313297533374; Sat, 13 Aug 2011 21:52:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.100.198 with HTTP; Sat, 13 Aug 2011 21:51:52 -0700 (PDT) In-Reply-To: <20110814032206.49ad7062.freebsd@edvax.de> References: <20110814032206.49ad7062.freebsd@edvax.de> From: Gurpreet Singh Date: Sun, 14 Aug 2011 10:21:52 +0530 Message-ID: To: Polytropon , FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: System lockups in X with nVidia GeForce 7600 GS (G73) and Gtk+ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2011 04:52:15 -0000 On Sun, Aug 14, 2011 at 6:52 AM, Polytropon 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: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] 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? ------------------------------------------------------------