2020년 11월 28일 토요일

ryzen screen tearing fix

 

/etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "TearFree" "true"
  EndSection

 

https://wiki.archlinux.org/index.php/Ryzen

2020년 11월 21일 토요일

archlabs + openbox

* ibus

  in .xprofile

export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"

https://teqnograf.blogspot.com/2019/05/ibus-on-antergos.html


* install d2coding, noto-fonts-cjk

* dpi

You can set the dpi in ~/.Xresources. I think the default is

Xft.dpi: 96
https://forums.bunsenlabs.org/viewtopic.php?id=5673
* sakura for terminal 
* clipit for clipboard manager 
  * add clipit to autostart  
* visual-studio-code-bin
* gitflow-avh 
* thunar
* gvfs-smb 
* pamac-aur
  * add pamac-try to autostart 
* notification fix(cannot run update on pamac)
  * https://wiki.archlinux.org/index.php/Desktop_notifications#Standalone
notification-daemon
    * add org.freedesktop.Notifications.service 

2020년 11월 14일 토요일

ECS - entity component system

 https://github.com/EngoEngine/ecs

 

system - 게임 로직

component - 데이터

entity - component의 묶음, id를 가짐

 

monogame 3.8.0.1641 on ubuntu 20.10



https://docs.monogame.net/articles/getting_started/1_setting_up_your_development_environment_ubuntu.html

  • Install .NET Core SDK
    • Add repository:
      • wget https://packages.microsoft.com/config/ubuntu/20.0410/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb
      • sudo dpkg -i /tmp/packages-microsoft-prod.deb
      • sudo vi /etc/apt/sources.list.d/microsoft-prod.list

deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.10/prod groovy main

      • sudo apt update
    • Install packages
  • Install MonoGame templates
  • Install MGCB Editor

















pop!os 20.10

kernel 5.8.0 (ryzen apu support?)

  • packages
    • ibus-hangul
    • keepassxc
    • syncthing
    • gnome-tweaks
    • telegram-desktop
    • dconf-editor
    • git-flow 
    • visual-studio-code ( from pop!shop & update)

 

  • packages for ebiten
    • libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev mesa-common-dev libxxf86vm-dev

https://drailing.net/2019/02/installing-ebiten-on-fedora/

 

2020년 11월 8일 일요일

vlc creates "zombie-process"

Change the video output to XCB & it closes properly .

 https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1876505

linux video encoding for ryzen renoir APU

  • install vaapi driver ( libva-mesa-driver )
    • VBR 5M 
      • ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf 'format=p010,hwupload' -c:v hevc_vaapi -b:v 5M -profile 2 output.mp4  
    • VBR 15M (too much?)
      • ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf 'format=p010,hwupload' -c:v hevc_vaapi -b:v 15M -profile 2 output.mp4

https://wiki.archlinux.org/index.php/Hardware_video_acceleration#Verifying_VA-API

https://wiki.archlinux.org/index.php/Codecs_and_containers

https://trac.ffmpeg.org/wiki/Hardware/VAAPI