Re: Making a driver for the Matrox P650 card.

2018-01-17 Thread peter
*   From: Dan Ritter d...@randomstring.org
*   Date: Tue, 16 Jan 2018 16:11:29 -0500
> Have you tried asking Matrox? They might have someone who 
> can tell you definitively.

Submitted this to their Web based input yesterday.
  One of your P650 dual output PCI cards is here and I wonder whether it 
  can work in Debian 9.  The 1.4.6 and 1.4.7 installer each fails with 
  an error message.   Any chance of either case being resolved?

  The log is rather long in each case.  I won't try to impose it here.
  
The reply is essentially a duplication of the information from  
their Web site.  
"For the P650, those are the supported distributions:
- Red Hat Enterprise Linux 4 WS (updates 7 and 8)
- Red Hat Enterprise Linux 5 WS (updates 2 and 3)
- SuSE Linux Enterprise Server 10 (sp2)
- SuSE Linux Enterprise Desktop 11
- Fedora 10
- OpenSuse 10.3 and 11.1
- Ubuntu 8.04 and 8.10"

 And "... try using one of those distributions."  I won't be 
installing Ubuntu 8  to make an old video card work but still wonder 
how far a driver which  makes in Ubuntu 8 is from making in Debian 9.  
If anyone has a tip to  resolve the failure reported in my preceeding 
message, please let me know.
 
Thanks,  ... Peter E.
 

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202  Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: Making a driver for the Matrox P650 card.

2018-01-16 Thread peter
*   From: Dan Ritter d...@randomstring.org
*   Date: Tue, 16 Jan 2018 16:11:29 -0500
> I'm assuming you're trying to compile a driver from
> http://www.matrox.com/graphics/en/support/drivers/download/certified/

Yes, from that Web site, but the page notifies 
"There is no software available for download. 
Can't find what you're looing for?  Simply contact us."

To get an installer, I registered, logged in, traced through a 
hierarchy of menues to identify the requirement and ultimately got 
these files. 
mtxdriver-installer-x86_32-cvs-1.4.7.run
mtxdriver-installer-x86_32-cvs-1.4.6.run

Each of them contains an elaborate shell script followed by a binary 
archive.  "sh <...>.run" extracts the archive and proceeds to attempt 
making the driver.  The log in my previous message is from 1.4.6 
whereas 1.4.7 fails earlier in the script.

> Have you tried asking Matrox? They might have someone who 
> can tell you definitively.

Just submitted a request.  Will report later.

Thanks, ... Peter E.

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202  Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: Making a driver for the Matrox P650 card.

2018-01-16 Thread Dan Ritter
On Tue, Jan 16, 2018 at 12:15:52PM -0800, pe...@easthope.ca wrote:
> An attempt to make the driver fails with the following log.
> Is a solution feasible?  Debian has evolved too far for the P650?
> 

I'm assuming you're trying to compile a driver from
http://www.matrox.com/graphics/en/support/drivers/download/certified/

because Debian only has support up through the 550 series.

Have you tried asking Matrox? They might have someone who 
can tell you definitively.

-dsr-



Making a driver for the Matrox P650 card.

2018-01-16 Thread peter
An attempt to make the driver fails with the following log.
Is a solution feasible?  Debian has evolved too far for the P650?

Thanks,  ... Peter E.
=
Using kernel headers in /lib/modules/4.9.0-5-686-pae/build/include for kernel 
version 4.9.x
making all in /parhelia...
make[1]: Entering directory 
'/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 
'/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia'
making all in /mtxvxd...
make[1]: Entering directory 
'/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtxvxd'
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxCpu.c -o MtxCpu.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxCs.c -o MtxCs.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxIo.c -o MtxIo.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxMem.c -o MtxMem.o
MtxMem.c: In function âĘmemFileAllocâę:
MtxMem.c:79:55: warning: passing argument 2 of âĘClientMemAllocâę makes 
integer from pointer without a cast [-Wint-conversion]
 pvChunk = ClientMemAlloc(dwSize + sizeof(UINT32), NULL);
   ^~~~
In file included from precomp.h:33:0,
 from MtxMem.c:19:
/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtx_client.h:41:30: note: 
expected âĘHREGION {aka long unsigned int}âę but argument is of type âĘvoid 
*âę
 EXTERN_C STACK_LINKAGE void* ClientMemAlloc(size_t size, HREGION region);
  ^~
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxPci.c -o MtxPci.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main 
-I/lib/modules/4.9.0-5-686-pae/build/include 
-I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ 
-c MtxMap.c -o MtxMap.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer 
-finline-functions  -DMODULE 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include 
-I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd 
-I