driver

CUDA - nvidia driver crash while running

瘦欲@ 提交于 2021-02-07 08:38:13
问题 I run a raytracer in CUDA with N Bounces (each ray will bounce N times). I view the results using openGL. once N is small (1~4) everything works great. once i make N big (~10) each thread (about 800x1000) has to do a lot of computing and this when the screen goes black, and than back on, with the note that my nvidia crash. i searched online and think now that what cause it some sort of a watch-dog timer since i use the same graphic card for my display and my computing (computing takes more

Execute shell command in kernel module

て烟熏妆下的殇ゞ 提交于 2021-02-06 12:51:32
问题 Is it possible to execute shell command in kernel module. I know that we can do it in user space C code using system subroutine. I am debugging a kernel module which has memory leak issue. After doing insmod and rmmod module.ko in an infinite loop, system goes out of memory within few minutes with 8G RAM. It would be helpful to know memory status using free command before and after the call to API responsible to free memory so i can know that API is working or not. This is the way i am

Execute shell command in kernel module

痴心易碎 提交于 2021-02-06 12:49:22
问题 Is it possible to execute shell command in kernel module. I know that we can do it in user space C code using system subroutine. I am debugging a kernel module which has memory leak issue. After doing insmod and rmmod module.ko in an infinite loop, system goes out of memory within few minutes with 8G RAM. It would be helpful to know memory status using free command before and after the call to API responsible to free memory so i can know that API is working or not. This is the way i am

DirectShow based Virtual camera is not showing any frame in Zoom and other Desktop apps

有些话、适合烂在心里 提交于 2021-02-05 11:21:11
问题 I tried one of sample DirectShow based virtual camera https://github.com/roman380/tmhare.mvps.org-vcam I am able to compile and build and its working fine in Google Meet. But this virtual camera is not working properly in Zoom and other Desktop apps. Its visible as video device but not showing any content like I am able to see random data in Google Meet. Zoom is using DirectShow as well as Media Foundation So Virtual camera is visible in Zoom. In zoom on selecting Virtual camera I am seeing

Test system is not shown in HLK controller

本小妞迷上赌 提交于 2021-01-29 10:02:21
问题 I have 2 Windows 2016 server VM, I have installed HLK Controller in 1 VM as told in the docs Step 1 https://docs.microsoft.com/en-us/windows-hardware/test/hlk/getstarted/step-1-install-controller-and-studio-on-the-test-server I installed HLK Client on second VM as shown in Step 2 of the same doc above But when i open HLK Studio in VM 1 I am not able to see VM 2 as test server in Configuration of HLK Studio. Please help me resolve this , I have tried everything told in troubleshoot doc nothing

DebugView doesn't capture KdPrint output

给你一囗甜甜゛ 提交于 2021-01-29 08:59:17
问题 I cannot make DbgView.exe work properly on my Windows 10 64-bit v2004 Virtual Machine. The program doesn't capture any kernel message from the driver if using KdPrint, but works fine with DbgPrint. I've already tried "bcdedit /debug on", adding "Debug Print Filter" on the registry editor and rebooting, enabling verbose kernel output. I've also tried on my host machine, same outcome. It is a very simple driver, only to be loaded and unloaded, copied from the book Windows Kernel Programming.

Type Cast Truncation from HANDLE to ULONG C++

做~自己de王妃 提交于 2021-01-29 06:38:00
问题 I am getting the warning (treated as error): Type Cast Pointer Truncation from HANDLE to ULONG When I try to compile, I understand that the type has a different length as I am compiling ARM64 rather than ARM, therefore I need to change the type or static_cast it, however I receive errors such as "expected (" when changing the line to something like this: return static_cast<ULONG>PsGetProcessId(current_process); //this gives me invalid conversion type as //there are no brackets around the

The specified database user/password combination is rejected: org.hsqldb.HsqlException: unexpected token: NOT

别等时光非礼了梦想. 提交于 2021-01-29 05:04:00
问题 I am using HSQLDB to connect to my database via IDEA. However I am getting the error - username/password rejected, even though I entered correctly: The specified database user/password combination is rejected: org.hsqldb.HsqlException: unexpected token: NOT The database connection was successful before, but after had I modified the SQL code for one of the tables, the error started to occur The code for establishing the connection is below: import java.sql.Connection; import java.sql

Can upload / download files at Karate Driver?

风格不统一 提交于 2021-01-28 11:11:32
问题 When using KarateDriver, I want to upload and download files on the browser. Upload : Using <input type="file" /> Download : Browser download. The response header is Content-Disposition: attachment; filename=sample.txt But I don't know how to do it. Is that possible? 回答1: Sorry we haven't implemented it yet. If you have some sample Selenium code we can take a look at that. Maybe we should open a feature request. 来源: https://stackoverflow.com/questions/56329658/can-upload-download-files-at

php postgres from query to fetching rows in theory

孤人 提交于 2021-01-28 06:04:24
问题 I would like to know what precisely is happening since php script runs the query to the moment when database returns data and php script starts to fetch them. In theory, I have a Postgre database with huge table, talking about 10/20 million records with 20+ columns and I have a php script which is requesting all that rows from database to be placed in, lets say, some file. My knowledge is: php script runs the pg_query command with sql query through postgres php driver/extension query is