Re: xorg-server 1.18 ready for testing on x86 and shark

2016-08-22 Thread Dave Tyson
On Monday 22 Aug 2016 06:52:34 matthew green wrote:
> > nbmake[13]: nbmake[13]: don't know how to make
> > /usr/obj/external/mit/xorg/server/xorg-server/glamor/libglamor.a. Stop
> 
> ah, this is a simple ordering issue i had missed due to manually
> building this once..
> 
> please try with external/mit/xorg/server/xorg-server/Makefile rev 1.27.
> 
> thanks for testing!
> 
> 
> .mrg.

Hi Matthew,

thanks, that fixed the problem... build.sh release finished (with couple of 
unrelated errors due to unbound) and installed OK.

Light testing with Firefox 47 and a few other packages revealed no problems. 
I'll get kde & libreoffice installed in a few days and hit it a bit harder.

X.Org X Server 1.18.4
Release Date: 2016-07-19
[70.840] X Protocol Version 11, Revision 0
[70.840] Build Operating System: NetBSD/amd64  - 
[70.840] Current Operating System: NetBSD dell.anduin.org.uk 7.99.36 
NetBSD 7.99.36 (GENERIC) #0: Sat Aug 20 17:33:51 BST 2016  
r...@dell.anduin.org.uk:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
[70.843] Build Date: 14 August 2016  01:29:29AM
[70.843]  
[70.852] Current version of pixman: 0.32.6
[70.852]Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
[70.852] Markers: (--) probed, (**) from config file, (==) default 
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[70.852] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 22 14:04:59 
2016
[70.875] (II) Loader magic: 0x10ba96c40
[70.875] (II) Module ABI versions:
[70.875]X.Org ANSI C Emulation: 0.4
[70.875]X.Org Video Driver: 20.0
[70.875]X.Org XInput driver : 22.1
[70.875]X.Org Server Extension : 9.0
[70.891] (--) PCI:*(0:0:2:0) 8086:2e32:1028:043e rev 3, Mem @ 
0xfe40/4194304, 0xd000/268435456, I/O @ 0xec00/8
[70.891] (==) Using default built-in configuration (30 lines)
[70.892] (==) --- Start of built-in configuration ---

[71.002] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[71.002] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[71.002] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[71.002] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 
6200, P6300
[71.002] (II) VESA: driver for VESA chipsets: vesa
[71.002] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode 
(version 3.32)
[71.002] (--) using VT number 5
[71.035] (II) intel(0): Using Kernel Mode Setting driver: i915, version 
1.6.0 20080730
[71.040] (WW) Falling back to old probe method for vesa
[71.041] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[71.041] (--) intel(0): Integrated Graphics Chipset: Intel(R) G41
[71.041] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3
[71.041] (II) intel(0): Creating default Display subsection in Screen 
section
"Builtin Default intel Screen 0" for depth/fbbpp 24/32
[71.041] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[71.041] (==) intel(0): RGB weight 888
[71.041] (==) intel(0): Default visual is TrueColor
[71.060] (II) intel(0): Output VGA1 has no monitor section
[71.060] (II) intel(0): Enabled output VGA1
[71.060] (--) intel(0): Using a maximum size of 256x256 for hardware 
cursors
[71.060] (II) intel(0): Output VIRTUAL1 has no monitor section
[71.061] (II) intel(0): Enabled output VIRTUAL1
[71.061] (--) intel(0): Output VGA1 using initial mode 1280x1024 on pipe 0
[71.061] (==) intel(0): TearFree disabled
[71.061] (==) intel(0): DPI set to (96, 96)
[71.061] (II) Loading sub module "dri2"
[71.061] (II) LoadModule: "dri2"
[71.061] (II) Module "dri2" already built-in
[71.061] (II) UnloadModule: "vesa"
[71.061] (II) Unloading vesa
[71.061] (==) Depth 24 pixmap format is 32 bpp
[71.069] (II) intel(0): SNA initialized with Eaglelake (gen4.5) backend
[71.069] (==) intel(0): Backing store enabled
[71.069] (==) intel(0): Silken mouse enabled
[71.077] (II) intel(0): HW Cursor enabled
[71.077] (II) intel(0): RandR 1.2 enabled, ignore the following RandR 
disabled message.
[71.081] (==) intel(0): DPMS enabled
[71.084] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[71.089] (II) intel(0): [DRI2] Setup complete
[71.089] (II) intel(0): [DRI2]   DRI driver: i965
[71.089] (II) intel(0): [DRI2]   VDPAU driver: i965
[71.089] (II) intel(0): direct rendering: DRI2 enabled
[71.089] (--) RandR disabled
[71.281] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[

re: xorg-server 1.18 ready for testing on x86 and shark

2016-08-21 Thread matthew green
> nbmake[13]: nbmake[13]: don't know how to make 
> /usr/obj/external/mit/xorg/server/xorg-server/glamor/libglamor.a. Stop

ah, this is a simple ordering issue i had missed due to manually
building this once..

please try with external/mit/xorg/server/xorg-server/Makefile rev 1.27.

thanks for testing!


.mrg.


Re: xorg-server 1.18 ready for testing on x86 and shark

2016-08-21 Thread Mike
On Sun, Aug 21, 2016 at 05:46:01PM +0100, Dave Tyson wrote:
> cvs updated current src,xsrc earlier today and just had a try at building 
> this 
> with a clean obj directory and it blows up being unable to make libglamor.a
> 
> ===> build.sh command:./build.sh -V HAVE_XORG_SERVER_VER=118 -u -U -x -T 
> /usr/tools -O /usr/obj -j 2 release
> ===> build.sh started:Sun Aug 21 12:01:37 BST 2016
> ===> NetBSD version:  7.99.36
> ===> MACHINE: amd64
> ===> MACHINE_ARCH:x86_64
> ===> Build platform:  NetBSD 7.99.36 amd64
> ===> HOST_SH: /bin/sh
> ===> MAKECONF file:   /etc/mk.conf
> #objdir  /usr/obj/tools
> ===> TOOLDIR path:/usr/tools
> ===> DESTDIR path:/usr/obj/destdir.amd64
> ===> RELEASEDIR path: /usr/obj/releasedir
> ===> Updated makewrapper: /usr/tools/bin/nbmake-amd64
> --- release ---
> distribution ===> .
> --- distribution ---
> build ===> .(with: NOPOSTINSTALL=1)
> --- build ---
> Build started at: Sun Aug 21 12:01:38 BST 2016
> ...
> ...
> ...
> #create  Xorg/dummy.d
> CC=/usr/tools/bin/x86_64--netbsd-gcc /usr/tools/bin/nbmkdep -f dummy.d.tmp  
> --   
> -std=gnu99--sysroot=/usr/obj/destdir.amd64 -I/usr/xsrc/external/mit/xorg-
> server/dist/include  
> -I/usr/xsrc/external/mit/xorg-server/dist/Xext  -
> I/usr/obj/destdir.amd64/usr/X11R7/include/pixman-1  -
> I/usr/xsrc/external/mit/xorg-server/dist/../include -I/usr/obj/destdir.amd64/
> usr/X11R7/include/X11  -I/usr/xsrc/external/mit/xorg-server/dist/fb  -
> I/usr/xsrc/external/mit/xorg-server/dist/mi  -I/usr/xsrc/external/mit/xorg-
> server/dist/include  -I/usr/xsrc/e
> xternal/mit/xorg-server/dist/os  -I/usr/xsrc/external/mit/xorg-
> server/dist/Xext  -I/usr/obj/destdir.amd64/usr/X11R7/include/X11/extensions  -
> I/usr/obj/destdir.amd64/usr/X11R7/incl
> ude/libdrm  -I/usr/obj/destdir.amd64/usr/X11R7/include/pixman-1  -
> I/usr/obj/destdir.amd64/usr/X11R7/include/xorg  -I/usr/xsrc/external/mit/xorg-
> server/dist/render  -DHAVE_DIX_CONF
> IG_H -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR  -DDDXOSVERRORF -DDDXTIME -
> DUSB_HID -DHAVE_DIX_CONFIG_H -D_BSD_SOURCE -DHAS_FCHOWN  -DHAS_STICKY_DIR_BIT 
> -D_POSIX_THREAD_SAFE_FUNC
> TIONS  -DHAVE_XORG_CONFIG_H  -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC  -
> DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE  -DXF86MISC -DDPMSExtension -DEVI  -
> DSCREENSAVER -DXV -DXVMC -D
> GLXEXT  -DRES  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP  -DXCSECURITY 
> -DTOGCUP 
> -DXF86BIGFONT  -DDPMSExtension -DPIXPRIV -DPANORAMIX  -DRENDER -DRANDR -
> DXFIXES -DDAMAGE  -DCOMPOSIT
> E -DXEVIE -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING  -DGLX_USE_DLOPEN -
> DGLX_USE_MESA -DXF86VIDMODE -D__GLX_ALIGN64  -DCSRG_BASED -DFUNCPROTO=15 -
> DNARROWPROTO -I/usr/obj/destdir.am
> d64/usr/X11R7/include -D__AMD64__ dummy.c &&  mv dummy.d.tmp dummy.d
> --- .depend ---
> #create  Xorg/.depend
> rm -f .depend
> CC=/usr/tools/bin/x86_64--netbsd-gcc /usr/tools/bin/nbmkdep -s .o\ .ln\ .d -d 
> -f .depend dummy.d
> --- dependall ---
> --- .gdbinit ---
> rm -f .gdbinit
> echo "set solib-absolute-prefix /usr/obj/destdir.amd64" > .gdbinit
> nbmake[13]: nbmake[13]: don't know how to make 
> /usr/obj/external/mit/xorg/server/xorg-server/glamor/libglamor.a. Stop
> nbmake[13]: stopped in /usr/src/external/mit/xorg/server/xorg-
> server/hw/xfree86/Xorg
> *** [dependall] Error code 2
> nbmake[12]: stopped in /usr/src/external/mit/xorg/server/xorg-
> server/hw/xfree86/Xorg
> 1 error
> nbmake[12]: stopped in /usr/src/external/mit/xorg/server/xorg-
> server/hw/xfree86/Xorg
> *** [dependall-Xorg] Error code 2
> ...
> 
> Dave
> 
> -- 
> 
> Phone: 07805784357
> Open Source O/S: www.netbsd.org
> Caving: http://www.wirralcavinggroup.org.uk
> 
I had the exactly same error... (and as work-around I specified
HAVE_XORG_GLAMOR=no in MAKECONF-after that all compiled fine).
BTW, I tried new native xorg (I also tried modular-xorg from pkgsrc,
1.18.4)...
Unfortunately it turned out to be unsuitable for me at this moment...
The reason is simple: Videocard which I am now use (it's Geforce6, nv44
based video) is not supported by kernel-nouveau driver...
(I think it should be supported, but in fact it does not work. So I use
 generic genfb with nv driver in old-xorg. This combination works well
for me).
And the new xorg with nv driver doesn't seem to support some kind of
acceleration - so video works unbeleivebly slow...(Besides that xv
extension doesn't work. Though it may be  supported, and I just can't figure
out how to make it work).


Re: xorg-server 1.18 ready for testing on x86 and shark

2016-08-21 Thread Dave Tyson
cvs updated current src,xsrc earlier today and just had a try at building this 
with a clean obj directory and it blows up being unable to make libglamor.a

===> build.sh command:./build.sh -V HAVE_XORG_SERVER_VER=118 -u -U -x -T 
/usr/tools -O /usr/obj -j 2 release
===> build.sh started:Sun Aug 21 12:01:37 BST 2016
===> NetBSD version:  7.99.36
===> MACHINE: amd64
===> MACHINE_ARCH:x86_64
===> Build platform:  NetBSD 7.99.36 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file:   /etc/mk.conf
#objdir  /usr/obj/tools
===> TOOLDIR path:/usr/tools
===> DESTDIR path:/usr/obj/destdir.amd64
===> RELEASEDIR path: /usr/obj/releasedir
===> Updated makewrapper: /usr/tools/bin/nbmake-amd64
--- release ---
distribution ===> .
--- distribution ---
build ===> .(with: NOPOSTINSTALL=1)
--- build ---
Build started at: Sun Aug 21 12:01:38 BST 2016
...
...
...
#create  Xorg/dummy.d
CC=/usr/tools/bin/x86_64--netbsd-gcc /usr/tools/bin/nbmkdep -f dummy.d.tmp  --  
 
-std=gnu99--sysroot=/usr/obj/destdir.amd64 -I/usr/xsrc/external/mit/xorg-
server/dist/include  
-I/usr/xsrc/external/mit/xorg-server/dist/Xext  -
I/usr/obj/destdir.amd64/usr/X11R7/include/pixman-1  -
I/usr/xsrc/external/mit/xorg-server/dist/../include -I/usr/obj/destdir.amd64/
usr/X11R7/include/X11  -I/usr/xsrc/external/mit/xorg-server/dist/fb  -
I/usr/xsrc/external/mit/xorg-server/dist/mi  -I/usr/xsrc/external/mit/xorg-
server/dist/include  -I/usr/xsrc/e
xternal/mit/xorg-server/dist/os  -I/usr/xsrc/external/mit/xorg-
server/dist/Xext  -I/usr/obj/destdir.amd64/usr/X11R7/include/X11/extensions  -
I/usr/obj/destdir.amd64/usr/X11R7/incl
ude/libdrm  -I/usr/obj/destdir.amd64/usr/X11R7/include/pixman-1  -
I/usr/obj/destdir.amd64/usr/X11R7/include/xorg  -I/usr/xsrc/external/mit/xorg-
server/dist/render  -DHAVE_DIX_CONF
IG_H -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR  -DDDXOSVERRORF -DDDXTIME -
DUSB_HID -DHAVE_DIX_CONFIG_H -D_BSD_SOURCE -DHAS_FCHOWN  -DHAS_STICKY_DIR_BIT 
-D_POSIX_THREAD_SAFE_FUNC
TIONS  -DHAVE_XORG_CONFIG_H  -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC  -
DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE  -DXF86MISC -DDPMSExtension -DEVI  -
DSCREENSAVER -DXV -DXVMC -D
GLXEXT  -DRES  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP  -DXCSECURITY -DTOGCUP 
-DXF86BIGFONT  -DDPMSExtension -DPIXPRIV -DPANORAMIX  -DRENDER -DRANDR -
DXFIXES -DDAMAGE  -DCOMPOSIT
E -DXEVIE -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING  -DGLX_USE_DLOPEN -
DGLX_USE_MESA -DXF86VIDMODE -D__GLX_ALIGN64  -DCSRG_BASED -DFUNCPROTO=15 -
DNARROWPROTO -I/usr/obj/destdir.am
d64/usr/X11R7/include -D__AMD64__ dummy.c &&  mv dummy.d.tmp dummy.d
--- .depend ---
#create  Xorg/.depend
rm -f .depend
CC=/usr/tools/bin/x86_64--netbsd-gcc /usr/tools/bin/nbmkdep -s .o\ .ln\ .d -d 
-f .depend dummy.d
--- dependall ---
--- .gdbinit ---
rm -f .gdbinit
echo "set solib-absolute-prefix /usr/obj/destdir.amd64" > .gdbinit
nbmake[13]: nbmake[13]: don't know how to make 
/usr/obj/external/mit/xorg/server/xorg-server/glamor/libglamor.a. Stop
nbmake[13]: stopped in /usr/src/external/mit/xorg/server/xorg-
server/hw/xfree86/Xorg
*** [dependall] Error code 2
nbmake[12]: stopped in /usr/src/external/mit/xorg/server/xorg-
server/hw/xfree86/Xorg
1 error
nbmake[12]: stopped in /usr/src/external/mit/xorg/server/xorg-
server/hw/xfree86/Xorg
*** [dependall-Xorg] Error code 2
...

Dave

-- 

Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk



Re: xorg-server 1.18 ready for testing on x86 and shark

2016-08-19 Thread Rhialto
On Fri 19 Aug 2016 at 16:31:00 +1000, matthew green wrote:
> to test, simply pass -V HAVE_XORG_SERVER_VER=118 to build.sh or set
> it in mk.conf.

I recently filed a PR about weird mouse defects, which turned out to be
about left-handed mice. Some xorg 1.11.x version has a fix for this.
See http://gnats.netbsd.org/51348 and 51149.

Since 1.18 sounds higher than 1.11.x, the fix should already be in
there. I can't try it out quickly right now; maybe somebody else can do
a quick check?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl-- are condemned to reinvent it. Poorly.


signature.asc
Description: PGP signature


xorg-server 1.18 ready for testing on x86 and shark

2016-08-19 Thread matthew green
hi folks.


i've gotten native xorg server updated to 1.18.4 and working for me
on i386, amd64 and shark.  more testing is needed.

to test, simply pass -V HAVE_XORG_SERVER_VER=118 to build.sh or set
it in mk.conf.

if you'd like to test, i recommend having a completely clean obj
and destdir for it (one of the failure modes is kdump not building.)
i also welcome help porting to other platforms, or updating drivers
(many older drivers are disabled with the newer server mostly due to
needing to be updated for modern xorg-server APIs.)

this also enables the xf86-video-amdgpu driver that supports modern
amd gpus.

as always, please send-pr to send me email about issues.


.mrg.