2025년 1월 30일 목요일

rsmsx sdlfy

 * https://stackoverflow.com/questions/74776801/rustsdl2-how-to-store-a-texture-in-a-struct

texture를 struct 에 저장 불가능 한 듯?


* 일단 texture 를 저장하지 않는다

* install sdl3 on debian 12

Building SDL on UNIX

https://github.com/libsdl-org/SDL/blob/main/docs/README-cmake.md

https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md

* error while loading shared libraries: libSDL3.so.0: cannot open shared object file: No such file or directory

* Add a file /etc/ld.so.conf.d/local.conf that contains one line:

/usr/local/lib 
* sudo ldconfig 

https://stackoverflow.com/questions/69061258/permanent-fix-for-export-ld-library-path-usr-local-libld-library-path

2025년 1월 16일 목요일

USB DAC troubleshooting

 * could not play until 30% volume

https://wiki.archlinux.org/title/PipeWire

No sound from USB DAC until 30% volume

* restarting pipewire

systemctl --user restart pipewire

* dac drop connection(symptom)

pipewire[1920]: spa.alsa: front:3: snd_pcm_drop No such device
 

2024년 10월 29일 화요일

rdp "your credentials did not work"

log off(lock) & re-login with password(or reset pin)

https://answers.microsoft.com/en-us/windows/forum/all/remote-desktop-connection-your-credentials-did-not/b8c5470f-ed0b-4acb-b2fa-927cb4711e71?page=2


2024년 9월 15일 일요일

[waydroid] opensource android emulator on arch linux

  • install waydroid
  • firewall-cmd (dns, packet forwarding, add the waydroid interface to a trusted, make your changes persist after a restart.)
  • install libhoudini to run ARM binary on x86
    • sudo venv/bin/python3 main.py install libhoudini
       

 https://wiki.archlinux.org/title/Waydroid

 https://github.com/casualsnek/waydroid_script

 

2024년 7월 24일 수요일

[tip] grim dawn unable to save settings

regedit  Personal의 문서위치를 onenote 아래가 아니라 c:\users\USERNAME\Documents로 수정


HKEY_CURRENT_USER \SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
 

 https://www.thewindowsclub.com/how-to-remove-a-folder-from-onedrive

 

2024년 7월 13일 토요일

[tips] more info for BSOD

* To make the BSOD screen display the additional info on the BSOD screen we need to add a field to the registry. If you are not comfortable editing the registry then do not do this step. Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl, right click on the empty area on the right section and select New → DWORD value with the name "DisplayParameters". Right click on it, modify and set the value data to 1 (Does not matter if you use Hexadecimal or Decimal). It should look like this once done. Reboot to apply the registry change. 

 

With this crash the top line tells you which component it recorded an issue with. 0 is CPU, 4 is PCIe, 10 is NVMe. 


* Go to Start > Windows System > Control Panel > System > Advanced system settings. The Advanced tab should be selected. Click the Settings button under Startup and Recovery. Clear the checkbox for Automatically restart. Click OK and close remaining windows you opened.

Now, when a system failure occurs, the BSOD will remain on-screen until you manually restart the computer.

2024년 7월 11일 목요일

[tips] hidpi for ghidra on linux

in $GHIDRA_ROOT/support is a file named launch.properties. In this launch.properties file is the following configuration key:

VMARGS_LINUX=-Dsun.java2d.uiScale=1

Change this line to:

VMARGS_LINUX=-Dsun.java2d.uiScale=2

 

 https://gist.github.com/nstarke/baa031e0cab64a608c9bd77d73c50fc6

 

debian 13 trixie setup

install git fonts-firacode libwayland-bin for raylib libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libx...