VOGONS


VGA Capture Thread

Topic actions

Reply 1440 of 1488, by Kordanor

User metadata
Rank Member
Rank
Member

You can also just upload the original file to some place where it can downloaded. That way there wouldnt be additional compression.

Reply 1441 of 1488, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

Looks like a new Linux driver for the Datapath Vision cards is out today: https://www.datapathsoftware.com/downloads/li … nstall-v7-28-0/.

Supports up to Ubuntu 24.04 with kernel 6.8. Somebody wanna give it a go? Lots of people were having trouble with the previous version that only supported up to kernel 5.

Reply 1442 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member

404 error.

Reply 1444 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member

I'll see about making a 24.04 bootable Monday and test. Sadly, in Windows my card only receives a signal now for sync. I get just a black image instead of an actual image.

Reply 1445 of 1488, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

sweet, I'll see how it compiles, I've been off kernel 5 for so long I gave up on datapath updating the driver.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 1446 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member

Kernel compiled fine on Ubuntu 24.04 and loaded so long as I had secure boot off (was testing on a live distro). Compiled the Vision program (VCS fails to compile, despite having all deps installed). Got an image, before the system hard-locked yet again. I wonder if just going back yet again to Windows 10 from a clean install would get this card working in Windows again?

Reply 1447 of 1488, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

VCS should build out of the box on Ubuntu 20.04. Needs GCC 9, newer ones have a problem or two.

Doesn't sound good for the card, but maybe it has a problem with DMA. VCS doesn't use it but Datapath's apps do. Could also be a problem with the video card in that case I guess, it's some kind of a Direct3D DMA thing that they use.

Reply 1448 of 1488, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

the datapath vision driver wont build for me. Im on 22.04, 6.5-lowlatency and I guess it has enough of a change from 6.8 to not be build-able out of the box. I'm going to see if I can build 6.8 mainline from source and see if it makes a difference.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 1449 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member
vvbee wrote on 2024-08-05, 22:58:

VCS should build out of the box on Ubuntu 20.04. Needs GCC 9, newer ones have a problem or two.

Doesn't sound good for the card, but maybe it has a problem with DMA. VCS doesn't use it but Datapath's apps do. Could also be a problem with the video card in that case I guess, it's some kind of a Direct3D DMA thing that they use.

I was trying to compile on 24.04

Reply 1450 of 1488, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

20.04 live image in a vm might be the way to go for compiling it, should only need the datapath header files and whatever qt/opencv dev stuff that isn't installed by default. If the binary compiled on 20.04 doesn't run on 24.04 then you could make an appimage of it. Otherwise if you're building on 24.04 make sure you have qt 5 and gcc 9, if no go then do it in 20.04.

Last edited by vvbee on 2024-08-06, 01:52. Edited 1 time in total.

Reply 1451 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member

I didn't use 20.04 at all. Only downloaded 24.04 to test the new driver.

Reply 1452 of 1488, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

As far as I know the stock 24.04 comes with qt 6, which is already not recommended for building it. Stick with qt 5 era stuff and you'll have a better time.

Reply 1453 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member

Huh, I did set up QT5. It was more the OpenCV4 stuff that caused the errors.

Reply 1454 of 1488, by vvbee

User metadata
Rank Oldbie
Rank
Oldbie

A few years ago I tested it against whatever version of OpenCV 4 comes with Ubuntu 22.04, worked. Without knowing what the errors are it's not possible to say anything more, but I recommend reporting the issue to the vcs repo.

Reply 1455 of 1488, by Deano

User metadata
Rank Newbie
Rank
Newbie

New Ubuntu 24.04.01 install (6.8.0.41 Kernel), latest VisionInstall 7.28.0.7204 and its doesn't compile for me.

make[3]: *** No rule to make target '/home/deano/VisionInstall-7.28.0.7402/bin/rgb133.64.o', needed by '/home/deano/VisionInstall-7.28.0.7402/rgb133.o'. Stop.
make[2]: *** [/usr/src/linux-headers-6.8.0-41-generic/Makefile:1926: /home/deano/VisionInstall-7.28.0.7402] Error 2

Trying to figure it out. Suspect some dependency is missing

Game dev since last century

Reply 1456 of 1488, by Deano

User metadata
Rank Newbie
Rank
Newbie

Just noticed that the compat matrix says 22.04 (6.8.0.36 Kernel). Maybe I'll try and find that exact version as technically my Ubuntu is slightly too new 😳

Game dev since last century

Reply 1457 of 1488, by NightSprinter

User metadata
Rank Member
Rank
Member

Curious, how did you try to build the driver?

Reply 1458 of 1488, by Deano

User metadata
Rank Newbie
Rank
Newbie

Tried with both scripts/install.sh and make
All stop in the same place.
Tried with a self compiled 6.8.0 kernel and its the same.
Maybe I messed up the kernel header/source and/or the build environment.

Maybe a nuke from orbit and re-install just in case...

Game dev since last century

Reply 1459 of 1488, by Deano

User metadata
Rank Newbie
Rank
Newbie

SUCCESS!!

Latest driver and vcs compiled and running on a modern linux distro!

I'll do a proper write up (and maybe a videos...) next weekend as it wasn't a straight route, so i want to do it again knowing what I know now.

Linux Distro: MX Linux MX-23.3_x64 “ahs” with updates which installed kernel (uname -v) #1 ZEN SMP PREEMPT liquorix 6.10-6~mx23ahs (2024-08-20)
Qt 5: dev from the package manager (I remember q5base-dev but tried other things so need to investigate what I installed exactly)
Gcc: gcc version 12.2.0 (Debian 12.2.0-14)
OpenCV4: dev package from package manager (need to write down what exactly I installed...)
vcs: vcs-3.6.0 with a single patch scalar/scalar.cpp line 403 change to image_s image(FRAME_BUFFER_PIXELS, FRAME_BUFFER_RESOLUTION);

Game dev since last century