From owner-freebsd-x11@freebsd.org Sat Dec 12 22:39:16 2015 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 E519BA14CD4; Sat, 12 Dec 2015 22:39:15 +0000 (UTC) (envelope-from arcade@b1t.name) Received: from limbo.b1t.name (limbo.b1t.name [78.25.32.206]) by mx1.freebsd.org (Postfix) with ESMTP id 5ABC01AB6; Sat, 12 Dec 2015 22:39:14 +0000 (UTC) (envelope-from arcade@b1t.name) Received: from limbo.b1t.name (limbo.b1t.name [78.25.32.206]) by limbo.b1t.name (Postfix) with ESMTPSA id 79CCB72; Sun, 13 Dec 2015 00:39:11 +0200 (EET) Subject: Re: problems running OpenGL code To: freebsd-x11@freebsd.org, freebsd questions list References: <566C3DAD.8090809@hiwaay.net> <20151212173509.fba928df.freebsd@edvax.de> <566C51CB.8040604@hiwaay.net> <566C536F.8080507@hiwaay.net> <566C5966.8020403@hiwaay.net> <566C75F3.1090801@b1t.name> <566C94A6.1090703@hiwaay.net> From: Volodymyr Kostyrko Message-ID: <566CA20C.4050307@b1t.name> Date: Sun, 13 Dec 2015 00:39:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <566C94A6.1090703@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2015 22:39:16 -0000 On 12.12.2015 23:40, William A. Mahaffey III wrote: > xorg.conf was/is still using the VESA driver, do I need any changes > there as well ? yep > 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 This one is not needed mostly, you are specifying defaults. > Section "Module" > Load "dbe" > Load "dri" > Load "dri2" > Load "extmod" > Load "record" > Load "glx" > EndSection Same here, server will try to load them anyway. > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "vboxmouse" > EndSection You have two definitions for mouse, make `Identifier` different or... actually I don't know which one would be selected. > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > #Option "ShadowFB" # [] > #Option "DefaultRefresh" # [] > #Option "ModeSetClearScreen" # [] > Identifier "Card0" > Driver "vesa" > VendorName "Advanced Micro Devices, Inc. [AMD/ATI]" > BoardName "Kabini [Radeon HD 8280 / R3 Series]" > BusID "PCI:0:1:0" > EndSection > > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > Identifier "Card0" > Driver "vboxvideo" > VendorName "InnoTek Systemberatung GmbH" > BoardName "VirtualBox Graphics Adapter" > BusID "PCI:0:2:0" > EndSection Same here, you are defining one `Identifier` twice. And yes, here you need to specify your driver. Mine looks like: Section "Device" Identifier "Integrated" Driver "ati" EndSection My config also has this: Section "ServerFlags" Option "AIGLX" "True" Option "BlankTime" "0" Option "StandByTime" "0" Option "SuspendTime" "0" Option "OffTime" "10" Option "AutoAddDevices" "False" Option "AllowEmptyInput" "False" Option "Log" "Sync" Option "DRI2" "On" EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "On" Option "RENDER" "on" Option "DAMAGE" "on" EndSection I'm not saying you need to put all of that in your config, I haven't tested whether all of that is still needed today. You know, time passes by and you have no time to fix those thing since everything is still working fine. For example I think whole `Extensions` section became useless... PS: Thanks man, made me review my own config so I'll go testing now. :) -- Sphinx of black quartz judge my vow.