2021.07.15
2ヵ月近く放置してしまった・・・
今回は、以前購入したx230iでは、アレになってきたのでバージョンアップを実施するためまた、中古品を探しにいってきました。
プチプチでわからないかと思いますが、x260を購入してきました。
とりあえず、中身の改装を行います。

裏返してバッテリーとネジを外します。

ケースを外したら中身の確認。
メモリやSSD、あと内臓バッテリーなんかもありますね。
あと、M.2の空きスロットルも(ネタふり)

新規メモリやSSDに交換完了。
ハードはあっさりと終了・・・したのですが。
ソフト周りにて、色々と問題が多発。
①DVDドライブからOSイメージが起動されない。
BIOS。結局USBメモリからboot
②BOOT起動順番
このBIOSがアホなのか、BIOSで設定した順番通りにBOOTしなかった。(F12で手動ブートしたら次もその場所からブートしようとする。)
③マウスパッドがBIOSでは、「無効」に設定したが、Xでマウスパッドが有効になり、時折Xが起動しない現象が起こる
意味がわからないですが、OSインストール後、Xを起動させると動かない場合が発生する。
調査すると、event(マウスパッド)の処理が止まっているような感じになっており、対処としてsysctl(loadr.confに記載)でもマウスパッドを無効化することでXを機能させることに成功しました。
1 |
hw.psm.synaptics_support="0" |
④openCVで画像が描画されない
13ではなく、FreeBSD12.2Rをインストールしたわけですが、描画されずしょうがないので、ソースコードをダウンロードしてインストールその際、2週間近くかけて悪戦苦闘をしました。
そもそもパッケージからインストールした場合、imreadやimshowといったメソッドが起動せずabortしてしまう現象が発生(C++とpythonで確認)。
ネット界隈を検索してみると「原因がわらからんけど、portsからならOK」というありがたい言葉があったのですが、portsを使うと色々とバージョン管理がまずかったので、ソースからインストールすることにしました。
で、こちらがmakeする際のオプションとなります。
1 2 3 4 |
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_FLAGS="-std=c++11" -DINSTALL_C_EXAMPLES=ON -DINSTALL_TESTS=ON -DWITH_CUDA=ON -DWITH_CUDNN=ON -DWIT\ H_MKL=OFF -DWITH_TBB=ON -DWITH_V4L=OFF -DWITH_QT=ON -DWITH_GTK=ON -DWITH_OPENCL=ON -DWITH_GDAL=ON -DWITH_OPENGL=ON -DWITH_PYTHON=YES -DBUILD_EX\ AMPLES=OFF -DBUILD_TBB=ON -DENABLE_FAST_MATH=ON -DCVV_DEBUG_MODE=ON -DOPENCV_SKIP_DLLMAIN_GENERATION=ON -DBUILD_opencv_python2=OFF -DWITH_VA=OF\ F -DBUILD_opencv_python3=ON -DINSTALL_PYTHON_EXAMPLES=ON -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules .. |
で、コンパイル結果がこちら。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
-- OpenCV: system-specific configuration file is not found: 'FreeBSD' -- Detected processor: amd64 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Looking for ccache - found (/usr/local/bin/ccache) -- Found ZLIB: /usr/lib/libz.so (found suitable version "1.2.11", minimum required is "1.2.3") -- Found system OpenJPEG: openjp2 (found version "") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found OpenEXR: /usr/local/lib/libIlmImf-2_5.so -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] -- at: /root/SDK/opencv/build/3rdparty/ippicv/ippicv_lnx/icv -- found Intel IPP Integration Wrappers sources: 2020.0.0 -- at: /root/SDK/opencv/build/3rdparty/ippicv/ippicv_lnx/iw -- LAPACK(OpenBLAS): LAPACK_LIBRARIES: /usr/local/lib/libopenblas.so -- LAPACK(OpenBLAS): Support is enabled. -- Found apache ant: /usr/local/bin/ant (1.10.8) -- Could NOT find Pylint (missing: PYLINT_EXECUTABLE) -- Could NOT find Flake8 (missing: FLAKE8_EXECUTABLE) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Checking for module 'gtkglext-1.0' -- Package 'gtkglext-1.0', required by 'virtual:world', not found -- OpenCV Python: during development append to PYTHONPATH: /root/SDK/opencv/build/python_loader -- Module opencv_alphamat disabled because the following dependencies are not found: Eigen -- freetype2: YES (ver 23.4.17) -- harfbuzz: YES (ver 2.8.0) -- Julia not found. Not compiling Julia Bindings. -- Module opencv_ovis disabled because OGRE3D was not found -- Module opencv_sfm disabled because the following dependencies are not found: Eigen -- Checking for module 'tesseract' -- Package 'tesseract', required by 'virtual:world', not found -- Tesseract: NO -- Allocator metrics storage type: 'long long' -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /root/SDK/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- highgui: using builtin backend: QT5 -- rgbd: Eigen support is disabled. Eigen is Required for Posegraph optimization -- -- General configuration for OpenCV 4.5.3-pre ===================================== -- Version control: 4.5.2-264-ge9a860d9cb -- -- Extra modules: -- Location (extra): /root/SDK/opencv_contrib/modules -- Version control (extra): 4.5.2-50-gf7b566fc -- -- Platform: -- Timestamp: 2021-06-24T01:23:32Z -- Host: FreeBSD 12.2-RELEASE amd64 -- CMake: 3.19.6 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/local/bin/gmake -- Configuration: RELEASE -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (17 files): + SSSE3 SSE4_1 -- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (31 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (7 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: /usr/bin/c++ (ver 10.0.1) -- C++ flags (Release): -std=c++11 -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=addres\ s -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -\ Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-ar\ gs -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wno-long-long -pthrea\ d -Qunused-arguments -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DN\ DEBUG -- C++ flags (Debug): -std=c++11 -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=addres\ s -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -\ Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-ar\ gs -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wno-long-long -pthrea\ d -Qunused-arguments -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -\ D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=seq\ uence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arit\ h -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comme\ nt -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wno-long-long -pthread -Qunused-ar\ guments -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=seq\ uence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arit\ h -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comme\ nt -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wno-long-long -pthread -Qunused-ar\ guments -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed -- ccache: YES -- Precompiled headers: NO -- Extra dependencies: m pthread /usr/local/lib/libGL.so /usr/local/lib/libGLU.so -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: aruco barcode bgsegm bioinspired calib3d ccalib core cvv datasets dnn dnn_objdetect dnn_superres dpm face f\ eatures2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform java line_descriptor mcc ml objdetect optflo\ w phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tr\ acking ts video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto -- Disabled: world -- Disabled by dependency: - -- Unavailable: alphamat cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cu\ daoptflow cudastereo cudawarping cudev julia matlab ovis python2 sfm viz -- Applications: tests perf_tests apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- QT: YES (ver 5.15.2) -- QT OpenGL support: YES (Qt5::OpenGL 5.15.2) -- GTK+: YES (ver 3.24.27) -- GThread : YES (ver 2.66.7) -- GtkGlExt: NO -- OpenGL support: YES (/usr/local/lib/libGL.so /usr/local/lib/libGLU.so) -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/libz.so (ver 1.2.11) -- JPEG: /usr/local/lib/libjpeg.so (ver 80) -- WEBP: /usr/local/lib/libwebp.so (ver encoder: 0x020f) -- PNG: /usr/local/lib/libpng.so (ver 1.6.37) -- TIFF: /usr/local/lib/libtiff.so (ver 42 / 4.2.0) -- JPEG 2000: OpenJPEG (ver 2.4.0) -- OpenEXR: /usr/local/lib/libImath-2_5.so /usr/local/lib/libIlmImf-2_5.so /usr/local/lib/libIex-2_5.so /usr/local/lib/\ libHalf-2_5.so /usr/local/lib/libIlmThread-2_5.so (ver 2_5) -- GDAL: YES (/usr/local/lib/libgdal.so) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: YES (2.2.6) -- FFMPEG: YES -- avcodec: YES (58.91.100) -- avformat: YES (58.45.100) -- avutil: YES (56.51.100) -- swscale: YES (5.7.100) -- avresample: YES (4.0.0) -- GStreamer: YES (1.16.2) -- -- Parallel framework: TBB (ver 2020.2 interface 11102) -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: /root/SDK/opencv/build/3rdparty/ippicv/ippicv_lnx/icv -- Intel IPP IW: sources (2020.0.0) -- at: /root/SDK/opencv/build/3rdparty/ippicv/ippicv_lnx/iw -- Lapack: YES (/usr/local/lib/libopenblas.so) -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.5.1) -- -- NVIDIA CUDA: NO -- -- cuDNN: NO -- -- OpenCL: YES (no extra features) -- Include path: /root/SDK/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: /usr/local/bin/python3.7 (ver 3.7.10) -- Libraries: /usr/local/lib/libpython3.7m.so (ver 3.7.10) -- numpy: /usr/local/lib/python3.7/site-packages/numpy/core/include (ver 1.16.6) -- install path: lib/python3.7/site-packages/cv2/python-3.7 -- -- Python (for build): /usr/local/bin/python3.7 -- -- Java: -- ant: /usr/local/bin/ant (ver 1.10.8) -- JNI: /usr/local/openjdk11/include /usr/local/openjdk11/include/freebsd /usr/local/openjdk11/include -- Java wrappers: YES -- Java tests: YES -- -- Install to: /usr/local -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /root/SDK/opencv/build |
x260ということで、NVIDIA CUDAとNVIDIA CUDAはNo
なので、hashcatなんかは動きません。
⑤Android SDKが動かない(未解決)
そもそも機種変する発端は、Androidのバージョンを11に変更したので、Adnroid SDKを最新にしようとしてうまくいかなかったことが発端なのですが、今回、これ最初のインストーラで躓き、放置しています。
いや、ほんと、忘れてはいないよ。
まぁ、そんな感じで、現在、以下のような感じで利用しております。

CPUが違うとこんなにも違うんだということを、久しぶりに思い知らされました。
ゲーム動かすと、90%近くリソースを喰っていたのが、30%ぐらいだよ。すごいね。
インストールしなおしたといことで、一からシュタインズゲートを目指します。
・
・
・
さて、ここまで読んでいただきありがとうございます。
ここまででなんとなく、記載していないことがあるような気がしませんか?
そう、一番最初の画像に「M.2 SSD 430S」も購入しているのです。
このディスク以前から使用しております、「GPD Micro PC 」のディスクとして使用している大変重宝しているディスクになります。(元は、256GBなので、512GBに変更しています。)

x260にも空きポートがあるのです。
私も男の子。
穴があって、誘われればホイホイと入れるわけですよ。
で、入れてみたら認識しない。
おや?他の記事を読む限り、認識したという話があったのですが・・・
そう読み間違えてました。
なぜか、x260は、認識しないということが判明。
x250やx270は認識するそうです。
そもそもこの穴(スロット)は、なにかというとLTE用のカードが刺さる場所で、日本ではサポート外ということで空いているそうです。
つまり、LTE用カード(WWAN)ならば使えるということで、ディスクでは無理という話みたいです。
実際、ケーブルもあるわけなので、まぁ、他の機種が行けるかなっと思ったのですが、使えませんでした。
他の機種は使えるのですが。
・・・女の子だとおもったら、男の娘という使用用途の違う穴だった…パターンです。
今回の「とほほ」でした。
#個人的には、BIOSがおかしいのではと思っています。
あと、購入して直ぐに筐体ふったら、ネジがでてきました。