Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Mar 2015 17:20:08 +0100
From:      David S <cinch@bitmail.cc>
To:        freebsd-current@freebsd.org
Subject:   Re: upgrading current -> graphics bug
Message-ID:  <54F9D3B8.9050308@bitmail.cc>
In-Reply-To: <20150305203858.GA80059@k8-bsd.hsd1.ga.comcast.net>
References:  <54F8B653.606@bitmail.cc> <20150305203858.GA80059@k8-bsd.hsd1.ga.comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi Roberto,

i just discovered, that when i stop xorg and unload the nvidia driver 
(kldunload nvidia) the problem goes away.


> 1-Is it a laptop, server or desktop? intel or amd?

It's a desktop with an Intel chipset (Core i5-2500K cpu)

> 2-Are you building xorg as a port or installed a pre-compiled pkg?

pre-compiled xorg pkg

> 3-Are you loading drm modules in /boot/loader.conf or do you let
> xorg auto load the kernel modules for your card?

/boot/loader.conf loads the propietary NVidia driver: nvidia_load=YES
and my xorg.conf also loads a nvidia driver: Driver "nvidia"

> 4-What graphics card is it? ATI or NVIDIA?

it's a GeForce GTX 760 PCIe card

> 5-Are you configuring xorg with xorg.conf(deprecated) or starting
> xorg with 'startx'(xinit) or are you using a display manager(xdm)?

i started with a barebones xorg.conf and had to put in the monitor 
h-sync and v-sync values. i've attached the file.

> 6-Have you read 24.6.1 #13 in the Handbook?

yes i've been doing that.


cheers,
david

[-- Attachment #2 --]
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"

	# fix: mouse stops working ...
	Option "AutoAddDevices" "False"
	Option "AllowEmptyInput" "False"
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/"

	FontPath     "/usr/local/lib/X11/fonts/LinLibertineG/"
	FontPath     "/usr/local/lib/X11/fonts/GentiumBasic/"
	FontPath     "/usr/local/lib/X11/fonts/Carlito/"
	FontPath     "/usr/local/lib/X11/fonts/Caladea/"
	FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
EndSection

Section "Module"
	Load  "dri2"
	Load  "extmod"
	Load  "record"
	Load  "dri"
	Load  "dbe"
	Load  "glx"
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"
	HorizSync    24 - 80
	VertRefresh  24 - 60
	Option       "DPMS"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1920x1200"
	EndSubSection
EndSection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54F9D3B8.9050308>