The new Weiliang XMOS XU208 may not fit with Weiliang ES9018DAC because it’s too big. Either removing balanced outputs or stacking more pins under it are needed.
BIOS of Intel Atom Tablet or TV Box are poorly design. You can soft brick if config BIOS incorrectly. Assuming that you are not disable USB port. You could connect USB keyboard to device and enter BIOS. Although it wouldn’t show anything on screen. This is how you might able to un-brick your device. In my case, I soft bricked my Chinese made Intel X5-z8300 TV Box.
- Hit “Del” repeatedly about 5-10 sec to enter BIOS. Wait for another 5-10 sec before proceed
- Press “F3” then “Enter” (Load Optimized Defaults)
- Press “F4” then “Enter” (Save & Exit)
Hope It could help you, too.
Check folder first whether which one existed for *buntu mostly /usr/share/X11/xorg.conf.d/
Section "Device" Identifier "Intel Graphics" Driver "Intel" Option "AccelMethod" "sna" Option "TearFree" "true" Option "DRI" "3" Option "TripleBuffer" "true" Option "MigrationHeuristic" "greedy" Option "Tiling" "true" EndSection
Section "Device" Identifier "Intel Graphics" Driver "Intel" Option "AccelMethod" "uxa" Option "DRI" "2" Option "TripleBuffer" "true" Option "MigrationHeuristic" "greedy" Option "Tiling" "true" EndSection
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "DRI" "false" EndSection
- SNA acceleration is default, change to UXA only you encounter pixelated graphics, corrupt text, etc.
- “TearFree” doesn’t work with UXA acceleration
- by default DRI is 3 change to 2 if you’re using virtual desktops and switching between desktops cause artifacts
Force load PulseAudio and ALSA at the same time. Buggy, if you set Kodi Audio output to same device as default desktop audio output. In my case, work like charm as my default desktop audio route to HDMI while Kodi using another device.
create file /usr/share/applications/kodi-alsa.desktop and paste this into the file
[Desktop Entry] Version=1.0 Name=Kodi-ALSA GenericName=Media Center Comment=Forced Kodi to run on ALSA instead of PulseAudio Exec=/usr/share/applications/kodi-alsa.sh TryExec=/usr/share/applications/kodi-alsa.sh Icon=kodi Terminal=false Type=Application Categories=AudioVideo;Video;Player;TV; Actions=Fullscreen;Standalone; Path= StartupNotify=false
Create file /usr/share/applications/kodi-alsa.sh and paste this into file
#! /bin/bash # this makes kodi start with ALSA instead of FUCKING pulse audio # disable pulse audio pasuspender # start kodi with ALSA AE_SINK=ALSA kodi
Set permission so kodi-alsa.sh could be executed.
credit : https://gist.github.com/bmaeser/1918514429e4855d5188
To disable PulseAudio (affect every user)
change this line from
; autospawn = yes
autospawn = no
To set sample format, check sample spec first by
resample-method = speex-float-5 default-sample-format = float32ne default-sample-rate = 88200 alternate-sample-rate = 96000 default-sample-channels = 2 default-channel-map = front-left,front-right
As my PC has 16GB ram and SSD. I decided to tweak it like this.
In /etc/fstab, for SSD drive I replace “errors=remount-ro” with “errors=remount-ro,noatime,nodiratime,commit=60”
and add these lines to move system tmp and log to Ramdrive
#Create Ram Disk for cache tmpfs /var/log tmpfs defaults,noatime,nodiratime,size=10M 0 0 tmpfs /tmp tmpfs defaults,noatime,nodiratime,mode=1777,size=50% 0 0
In /etc/rc.local add these lines before exit 0 to create “.cache” folder in /tmp (Ramdrive) and bind its to folder “.cache” of current user. Therefore, all apps caches are moved to Ramdrive. Both Chrome and Firefox are included. Don’t forget to change my_username to your username
for u in my_username my_username1 my_username2; do RamDIR0=/tmp/$u/.cache HDDDIR0=/home/$u/.cache RamDIR1=/tmp/$u/.thumbnails HDDDIR1=/home/$u/.thumbnails sudo -u $u -- sh -c "mkdir -p $RamDIR0 && mkdir -p $RamDIR1 && chmod -R 700 /tmp/$u" mount --bind $RamDIR0 $HDDDIR0 mount --bind $RamDIR1 $HDDDIR1 done
In file /etc/sysctl.conf
# tweak - start net.core.wmem_max=33554432 net.core.rmem_max=33554432 net.ipv4.tcp_rmem= 10240 87380 33554432 net.ipv4.tcp_wmem= 10240 87380 33554432 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_timestamps = 1 net.ipv4.tcp_sack = 1 net.ipv4.tcp_no_metrics_save = 1 net.core.netdev_max_backlog = 5000 # tweak - end
In file /etc/rc.local
ip link set mtu 7000 dev enp4s0
Set MTU size by add this line
ip link set mtu [supported MTU] dev [NIC]
Check MTU size that your NIC supported first.
sudo ifconfig [NIC] mtu [MTU]