From owner-freebsd-x11@freebsd.org Thu Feb 9 13:33:37 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB0A8CD6D8D for ; Thu, 9 Feb 2017 13:33:37 +0000 (UTC) (envelope-from marc@blackend.org) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7B0E1CC8 for ; Thu, 9 Feb 2017 13:33:37 +0000 (UTC) (envelope-from marc@blackend.org) Received: from emphyrio.blackend.org (unknown [88.179.1.53]) by smtp2-g21.free.fr (Postfix) with ESMTPS id 50F7E20040E for ; Thu, 9 Feb 2017 14:33:29 +0100 (CET) Received: from emphyrio.blackend.org (localhost [127.0.0.1]) by emphyrio.blackend.org (8.15.2/8.15.2) with ESMTPS id v19DXSGY001544 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 9 Feb 2017 14:33:28 +0100 (CET) (envelope-from marc@emphyrio.blackend.org) Received: (from marc@localhost) by emphyrio.blackend.org (8.15.2/8.15.2/Submit) id v19DXS4T001543 for freebsd-x11@FreeBSD.org; Thu, 9 Feb 2017 14:33:28 +0100 (CET) (envelope-from marc) Date: Thu, 9 Feb 2017 14:33:27 +0100 From: Marc Fonvieille To: freebsd-x11@FreeBSD.org Subject: OpenGL, nvidia-driver-304 and permissions issue Message-ID: <20170209133327.GA1513@emphyrio.blackend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 13:33:38 -0000 Hello, On a 10.3-R desktop, I've just upgraded the installed packages to branches/2017Q1. Since, I'm unable to run OpenGL related applications as a vanilla user. Before, I was running ports close to branches/2016Q1 I have a Nvidia GeForce GTS 450 (x11/nvidia-driver-304, i.e., nvidia-driver-304-304.134). As root, glxgears runs fine. As a normal user: % glxgears X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 153 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 30 Current serial number in output stream: 31 I thought about the video group, but I don't have a video group and I just have /dev/nvidia0 and /dev/nvidiactl, no /dev/dri and such. Do I have to create the video group and change the group for /dev/nvidia* (currently, it's wheel)? For informations: # glxinfo | head -5 name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 Excerpts from /etc/X11/xorg.conf: Section "Module" Load "glx" Load "dri2" Load "extmod" Load "record" Load "dbe" Load "freetype" Load "type1" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTS 450" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "Stereo" "0" Option "nvidiaXineramaInfoOrder" "CRT-0" Option "metamodes" "1440x900 @2880x1800 +0+0" Option "SLI" "Off" Option "MultiGPU" "Off" Option "BaseMosaic" "off" SubSection "Display" Depth 24 EndSubSection EndSection Thanks for any advice. -- Marc