Re: Massive libxo-zation that breaks everything

2015-03-06 Thread Craig Rodrigues
On Mon, Mar 2, 2015 at 7:33 PM, Alfred Perlstein  wrote:
>
>
> Actually I want to shame third party ports into adopting libxo (or at
least providing machine readable output).


Well if upstream third party ports adopt libxo will remain to be seen.
However, one thing we can do is to make it super-duper easy for them to
incorporate.
Then it will be a no-brainer for them to use libxo.

I would like to see a Debian package of libxo made, so it can be
incorporated
into Debian and Ubuntu derived Linux distributions.

I have done similar Debian packaging efforts for kyua, atf, and lutok:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773277
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773278
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773279

Does anyone have connections in the Debian community to push
these kinds of reviews forward?  I've asked on the debian-bsd mailing list,
but got no help.  I basically need a "Debian Developer" who has
privileges to upload packages to the Debian distribution to take the
packages that I have made
and upload them (after making sure they pass lintian checks).

I can take a whack and do something similar for libxo.

I was actually very surprised at how hard/bureaucratic it is to get a new
package
into Debian.  FreeBSD ports and Mac Homebrew are actually way easier to
work with in terms
of adding a new package.  However, Debian and Ubuntu have a lot of users,
so it is worth
the effort to push this kind of stuff through.

--
Craig
___
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"