Re: upgrading current -> graphics bug

2015-03-08 Thread Chris H
On Sun, 08 Mar 2015 13:01:14 +0300 Boris Samorodov  wrote

> 07.03.2015 19:07, David S пишет:
> >> FWIW the nVidia driver docs indicate that you should
> >> comment, or remove the reference to dri in xorg.conf
> >> #Load  "dri"
> >> but that dri2 is fine. Don't know that that has anything to
> >> do with your issue. But thought I'd mention it FWIW.
> > 
> > thanks, i missed that part. i took it out of xorg.conf and will see 
> > next time i upgrade if it helps.
> 
> I'm not sure why this step is recommended, because dri is auto-loaded
> anyway:
> -
> [41.540] (II) LoadModule: "dri"
> [41.541] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
> [41.569] (II) Module dri: vendor="X.Org Foundation"
> [41.569]compiled for 1.12.4, module version = 1.0.0
> [41.569]ABI class: X.Org Server Extension, version 6.0
> [41.569] (II) Loading extension XFree86-DRI
> [41.569] (II) LoadModule: "dri2"
> [41.570] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
> [41.582] (II) Module dri2: vendor="X.Org Foundation"
> [41.582]compiled for 1.12.4, module version = 1.2.0
> [41.582]ABI class: X.Org Server Extension, version 6.0
> [41.582] (II) Loading extension DRI2
> [41.582] (II) LoadModule: "nvidia"
> [41.582] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
> [41.720] (II) Module nvidia: vendor="NVIDIA Corporation"
> [41.720]compiled for 4.0.2, module version = 1.0.0
> [41.720]Module class: X.Org Video Driver
> [41.818] (II) NVIDIA dlloader X Driver  304.123  Wed Jul  2 10:50:21
> PDT 2014
I don't recall. The best I recall is that
1) to remove, or comment the line
2) that it (x11/xfree) version wasn't compatible with the nVidia version
I might also note that the port x11/nvidia-xconfig doesn't
place dri in the xorg.conf it creates, and comments, or
removes it, if it finds a previously created xorg.conf
that has that line.

--Chris
> -
> 
> -- 
> WBR, Boris Samorodov (bsam)
> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: upgrading current -> graphics bug

2015-03-08 Thread Boris Samorodov
07.03.2015 19:07, David S пишет:
>> FWIW the nVidia driver docs indicate that you should
>> comment, or remove the reference to dri in xorg.conf
>> #Load  "dri"
>> but that dri2 is fine. Don't know that that has anything to
>> do with your issue. But thought I'd mention it FWIW.
> 
> thanks, i missed that part. i took it out of xorg.conf and will see 
> next time i upgrade if it helps.

I'm not sure why this step is recommended, because dri is auto-loaded
anyway:
-
[41.540] (II) LoadModule: "dri"
[41.541] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
[41.569] (II) Module dri: vendor="X.Org Foundation"
[41.569]compiled for 1.12.4, module version = 1.0.0
[41.569]ABI class: X.Org Server Extension, version 6.0
[41.569] (II) Loading extension XFree86-DRI
[41.569] (II) LoadModule: "dri2"
[41.570] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[41.582] (II) Module dri2: vendor="X.Org Foundation"
[41.582]compiled for 1.12.4, module version = 1.2.0
[41.582]ABI class: X.Org Server Extension, version 6.0
[41.582] (II) Loading extension DRI2
[41.582] (II) LoadModule: "nvidia"
[41.582] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[41.720] (II) Module nvidia: vendor="NVIDIA Corporation"
[41.720]compiled for 4.0.2, module version = 1.0.0
[41.720]Module class: X.Org Video Driver
[41.818] (II) NVIDIA dlloader X Driver  304.123  Wed Jul  2 10:50:21
PDT 2014
-

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: upgrading current -> graphics bug

2015-03-07 Thread David S

Which SVN revision do you use? `uname -a` should tell it.


r279687   compiled on Fri Mar  6 16:47:15 CET 2015

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: upgrading current -> graphics bug

2015-03-07 Thread David S

FWIW the nVidia driver docs indicate that you should
comment, or remove the reference to dri in xorg.conf
#   Load  "dri"
but that dri2 is fine. Don't know that that has anything to
do with your issue. But thought I'd mention it FWIW.


thanks, i missed that part. i took it out of xorg.conf and will see 
next time i upgrade if it helps.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: upgrading current -> graphics bug

2015-03-06 Thread Chris H
On Fri, 06 Mar 2015 17:20:08 +0100 David S  wrote

> 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.
FWIW the nVidia driver docs indicate that you should
comment, or remove the reference to dri in xorg.conf
#   Load  "dri"
but that dri2 is fine. Don't know that that has anything to
do with your issue. But thought I'd mention it FWIW.

--Chris
> 
> > 6-Have you read 24.6.1 #13 in the Handbook?
> 
> yes i've been doing that.
> 
> 
> cheers,
> david


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: upgrading current -> graphics bug

2015-03-06 Thread Roberto Rodriguez Jr.
On Fri, Mar 06, 2015 at 09:55:54AM -0800, Kevin Oberman wrote:
> On Thu, Mar 5, 2015 at 12:38 PM, Roberto Rodriguez Jr. <
> witchdoctor@gmail.com> wrote:
> 
> >
> > 5-Are you configuring xorg with xorg.conf(deprecated) or starting
> > xorg with 'startx'(xinit) or are you using a display manager(xdm)?
> >
> 
> Huh? Since when is xorg.conf deprecated? While it is generally best to
OK, thanks. My mistake. I read such thing in wiki.archlinux.org
> start out with no xorg.conf file, reality is that you will most likely
> need  a small xorg.conf file with things like additional modules,
> additional fonts, setup of multiple displays, etc. As far as I know, the
Didn't know I needed to use the config file for those things. I use .xinitrc 
and other
files.
> use of the nvidia driver requires an xorg.conf file in all cases. (I have
> not had an nVidia card for a few years, so this may have changed.) It is
> certainly a good idea to keep the xorg.conf file as small as possible.
Good point keeping UNIX tradition, small and simple. 
I use AMD architecture, Im sure there is a difference with Intel in terms of 
process, files and commands. 
> I am also confused by the series of "or"s in that xorg.conf is entirely
> orthogonal to whether X is started with "startx" or a display manager.
Honestly I won't define that word now cuz I'm busy with family, hence my bad 
english. 
I am not completely accurate with the technology so I do not know if there 
actually is a difference between xdm and xinit. Did not mean to confuse any 
further.

-Roberto Rodriguez Jr.
Wannabe UNIX enthusiast unemployed
404-474-3997
 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: upgrading current -> graphics bug

2015-03-06 Thread Arseny Nasokin
On 5 March 2015 at 23:02, David S  wrote:

> hello,
>
> i've been using -current for awhile. lately when i try to upgrade, i see
> this screenshot after i type "shutdown now": https://i.imgur.com/58aOGnG.
> jpg
> from then on the system is unresponsive. to complete the upgrade i
> hard-reboot and jump into single user mode to finish the upgrade process.
>
> i'm following the instructions from https://www.freebsd.org/doc/
> en/books/handbook/makeworld.html
>
> it's been like this for awhile (a couple of months). it might be caused by
> the new vt terminal driver? i'm not sure. let me know if you need more
> information on how to reproduce this.
>
> greetings,
> david
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>


Which SVN revision do you use? `uname -a` should tell it.

-- Eir Nym
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: upgrading current -> graphics bug

2015-03-06 Thread Kevin Oberman
On Thu, Mar 5, 2015 at 12:38 PM, Roberto Rodriguez Jr. <
witchdoctor@gmail.com> wrote:

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

Huh? Since when is xorg.conf deprecated? While it is generally best to
start out with no xorg.conf file, reality is that you will most likely
need  a small xorg.conf file with things like additional modules,
additional fonts, setup of multiple displays, etc. As far as I know, the
use of the nvidia driver requires an xorg.conf file in all cases. (I have
not had an nVidia card for a few years, so this may have changed.) It is
certainly a good idea to keep the xorg.conf file as small as possible.

I am also confused by the series of "or"s in that xorg.conf is entirely
orthogonal to whether X is started with "startx" or a display manager.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: upgrading current -> graphics bug

2015-03-06 Thread David S

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
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"
HorizSync24 - 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


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: upgrading current -> graphics bug

2015-03-05 Thread Roberto Rodriguez Jr.
On Thu, Mar 05, 2015 at 09:02:27PM +0100, David S wrote:
> hello,
> 
> i've been using -current for awhile. lately when i try to upgrade, i see 
> this screenshot after i type "shutdown now": https://i.imgur.com/58aOGnG.jpg
> from then on the system is unresponsive. to complete the upgrade i 
> hard-reboot and jump into single user mode to finish the upgrade process.
> 
> i'm following the instructions from 
> https://www.freebsd.org/doc/en/books/handbook/makeworld.html
> 
> it's been like this for awhile (a couple of months). it might be caused 
> by the new vt terminal driver? i'm not sure. let me know if you need 
> more information on how to reproduce this.
> 
> greetings,
> david

Hello, david

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

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

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

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

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

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

Roberto Rodriguez Jr.
Mach1ne Defense Foundati0n
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


upgrading current -> graphics bug

2015-03-05 Thread David S

hello,

i've been using -current for awhile. lately when i try to upgrade, i see 
this screenshot after i type "shutdown now": https://i.imgur.com/58aOGnG.jpg
from then on the system is unresponsive. to complete the upgrade i 
hard-reboot and jump into single user mode to finish the upgrade process.


i'm following the instructions from 
https://www.freebsd.org/doc/en/books/handbook/makeworld.html


it's been like this for awhile (a couple of months). it might be caused 
by the new vt terminal driver? i'm not sure. let me know if you need 
more information on how to reproduce this.


greetings,
david
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"