{"action":"created","issue":{"url":"https://api.github.com/repos/BearishSun/BansheeEngine/issues/180","repository_url":"https://api.github.com/repos/BearishSun/BansheeEngine","labels_url":"https://api.github.com/repos/BearishSun/BansheeEngine/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/BearishSun/BansheeEngine/issues/180/comments","events_url":"https://api.github.com/repos/BearishSun/BansheeEngine/issues/180/events","html_url":"https://github.com/BearishSun/BansheeEngine/issues/180","id":303737812,"number":180,"title":"Number of combined texture units less than the number of individual units!?","user":{"login":"jonesmz","id":755783,"avatar_url":"https://avatars2.githubusercontent.com/u/755783?v=4","gravatar_id":"","url":"https://api.github.com/users/jonesmz","html_url":"https://github.com/jonesmz","followers_url":"https://api.github.com/users/jonesmz/followers","following_url":"https://api.github.com/users/jonesmz/following{/other_user}","gists_url":"https://api.github.com/users/jonesmz/gists{/gist_id}","starred_url":"https://api.github.com/users/jonesmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonesmz/subscriptions","organizations_url":"https://api.github.com/users/jonesmz/orgs","repos_url":"https://api.github.com/users/jonesmz/repos","events_url":"https://api.github.com/users/jonesmz/events{/privacy}","received_events_url":"https://api.github.com/users/jonesmz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-03-09T06:26:51Z","updated_at":"2018-03-09T08:04:47Z","closed_at":null,"author_association":"NONE","body":"I'm not able to run any of the executable files from a freshly compiled Banshee3d.\r\n\r\n\r\n\r\n\r\n~/BansheeEngine/bin/x64/Release $ ./Game\r\nCannot open file: GameSettings.asset\r\n                 in bs::FileDataStream::FileDataStream(const bs::Path&, bs::DataStream::AccessMode, bool) [/home/jonesmz/BansheeEngine/Source/BansheeUtility/FileSystem/BsDataStream.cpp:338]\r\n\r\nA fatal error occurred and the program has to terminate!\r\n  - Error: InternalErrorException\r\n  - Description: Number of combined texture units less than the number of individual units!?\r\n  - In function: void bs::ct::GLRenderAPI::initFromCaps(bs::RenderAPICapabilities*)\r\n  - In file: /home/jonesmz/BansheeEngine/Source/BansheeGLRenderAPI/BsGLRenderAPI.cpp:2444\r\n\r\nStack trace:\r\n0) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeUtility.so: bs::CrashHandler::getStackTrace[abi:cxx11]()+0x1fc [0x7f415ed556ec]\r\n1) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeUtility.so: bs::CrashHandler::logErrorAndStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x373 [0x7f415ed368b3]\r\n2) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeUtility.so: bs::CrashHandler::reportCrash(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x2c [0x7f415ed5523c]\r\n3) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeGLRenderAPI.so: bs::ct::GLRenderAPI::initFromCaps(bs::RenderAPICapabilities*)+0xc8c [0x7f415a605fac]\r\n4) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeGLRenderAPI.so: bs::ct::GLRenderAPI::initializeWithWindow(std::shared_ptr<bs::ct::RenderWindow> const&)+0x16c [0x7f415a60cafc]\r\n5) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeCore.so: bs::CommandQueueBase::playbackWithNotify(std::queue<bs::QueuedCommand, std::deque<bs::QueuedCommand, bs::StdAlloc<bs::QueuedCommand, bs::GenAlloc> > >*, std::function<void (unsigned int)>)+0x190 [0x7f415f2c7b90]\r\n6) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeCore.so: bs::CoreThread::runCoreThread()+0xfd8 [0x7f415f2d5698]\r\n7) /home/jonesmz/BansheeEngine/bin/x64/Release/libBansheeUtility.so: bs::PooledThread::run()+0x250 [0x7f415ecd1c10]\r\n8) /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6: +0xecc1d [0x7f415d8e6c1d]\r\n9) /lib64/libpthread.so.0: +0x7a53 [0x7f415caf0a53]\r\n10) /lib64/libc.so.6: clone+0x3f [0x7f415d00e8df]\r\n\r\n\r\n\r\n\r\n\r\n\r\nHere's my system specs\r\n\r\n\r\n\r\n\r\nemerge --info\r\nPortage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r10, 4.14.8-gentoo-r1 x86_64)\r\n\r\n=================================================================\r\nSystem uname: Linux-4.14.8-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.4.1\r\nKiB Mem:    16390432 total,   5779952 free\r\nKiB Swap:    4196348 total,   4196348 free\r\nTimestamp of repository gentoo: Wed, 07 Mar 2018 23:56:50 +0000\r\nHead commit of repository gentoo: 0a6fe232843e4f4b2f0e689ff99920a2c42ecbeb\r\n\r\nHead commit of repository jonesmz-public-overlay: 254da725d35c176ca0ded9125747ba935805f6bb\r\n\r\nHead commit of repository steam-overlay: 46d2624c5f248bf28e25c25e172e60c2eb988e5f\r\n\r\nsh bash 4.4_p12\r\nld GNU ld (Gentoo 2.29.1 p3) 2.29.1\r\ndistcc 3.2rc1 x86_64-pc-linux-gnu [disabled]\r\napp-shells/bash:          4.4_p12::gentoo\r\ndev-lang/perl:            5.24.3::gentoo\r\ndev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo\r\ndev-util/cmake:           3.9.6::gentoo\r\ndev-util/pkgconfig:       0.29.2::gentoo\r\nsys-apps/baselayout:      2.4.1-r2::gentoo\r\nsys-apps/sandbox:         2.12::gentoo\r\nsys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo\r\nsys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo\r\nsys-devel/binutils:       2.29.1-r1::gentoo\r\nsys-devel/gcc:            6.4.0-r1::gentoo\r\nsys-devel/gcc-config:     1.8-r1::gentoo\r\nsys-devel/libtool:        2.4.6-r3::gentoo\r\nsys-devel/make:           4.2.1::gentoo\r\nsys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)\r\nsys-libs/glibc:           2.25-r10::gentoo\r\nRepositories:\r\n\r\ngentoo\r\n    location: /usr/portage\r\n    sync-type: git\r\n    sync-uri: https://github.com/gentoo-mirror/gentoo\r\n    priority: -1000\r\n\r\njonesmz-public-overlay\r\n    location: /usr/portage-overlays/jonesmz-public-overlay\r\n    sync-type: git\r\n    sync-uri: https://github.com/jonesmz/gentoo-overlay.git\r\n    masters: gentoo\r\n\r\nsteam-overlay\r\n    location: /usr/local/portage/steam-overlay\r\n    sync-type: git\r\n    sync-uri: https://github.com/anyc/steam-overlay.git\r\n    masters: gentoo\r\n    priority: 50\r\n\r\nInstalled sets: @amd64-desktop-applications, @archive, @lxqt, @pc-base-system, @portage, @vcs, @virt-client\r\nACCEPT_KEYWORDS=\"amd64\"\r\nACCEPT_LICENSE=\"* -@EULA\"\r\nCBUILD=\"x86_64-pc-linux-gnu\"\r\nCFLAGS=\"-O2 -pipe -march=x86-64 -mtune=generic -O2 -pipe\"\r\nCHOST=\"x86_64-pc-linux-gnu\"\r\nCONFIG_PROTECT=\"/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt\"\r\nCONFIG_PROTECT_MASK=\"/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c\"\r\nCXXFLAGS=\"-O2 -pipe -O2 -pipe -march=x86-64 -mtune=generic -O2 -pipe\"\r\nDISTDIR=\"/usr/portage-distfiles\"\r\nEMERGE_DEFAULT_OPTS=\" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y\"\r\nFCFLAGS=\"-O2 -pipe\"\r\nFEATURES=\"assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr\"\r\nFFLAGS=\"-O2 -pipe\"\r\nGENTOO_MIRRORS=\"http://distfiles.gentoo.org\"\r\nLANG=\"en_US.utf8\"\r\nLDFLAGS=\"-Wl,-O1 -Wl,--as-needed\"\r\nLINGUAS=\"en en_US\"\r\nMAKEOPTS=\"-j10\"\r\nPKGDIR=\"/usr/portage-packages\"\r\nPORTAGE_COMPRESS=\"xz\"\r\nPORTAGE_CONFIGROOT=\"/\"\r\nPORTAGE_RSYNC_OPTS=\"--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git\"\r\nPORTAGE_TMPDIR=\"/var/tmp\"\r\nUSE=\"X a52 aac acl acpi alsa amd64 apng avahi branding bzip2 cairo cdda cdr clang crypt cxx dbus dri dts dvd egl emboss encode exif fam ffmpeg flac gd gif gnome-keyring gpm gstreamer gtk gtk3 gudev hardened iconv icu ipv6 jpeg kmod lcms libnotify libsecret lm_sensors minizip mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf perforce pie png policykit pulseaudio python qt5 readline samba sdl seccomp sound spell sqlite ssl ssp startup-notification svg systemd text theora threads tiff truetype udev udisks unicode upower usb vaapi vorbis wayland widevine wifi x264 xattr xcb xinerama xml xtpax xv xvid zeroconf zlib\" ABI_X86=\"64\" ALSA_CARDS=\"ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci\" APACHE2_MODULES=\"authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias\" CALLIGRA_FEATURES=\"kexi words flow plan sheets stage tables krita karbon braindump author\" COLLECTD_PLUGINS=\"df interface irq load memory rrdtool swap syslog\" CPU_FLAGS_X86=\"mmx sse sse2 mmxext\" ELIBC=\"glibc\" GPSD_PROTOCOLS=\"ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx\" GRUB_PLATFORMS=\"coreboot efi-64 emu qemu pc\" INPUT_DEVICES=\"libinput\" KERNEL=\"linux\" L10N=\"en en-US\" LCD_DEVICES=\"bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text\" LIBREOFFICE_EXTENSIONS=\"presenter-console presenter-minimizer\" OFFICE_IMPLEMENTATION=\"libreoffice\" PHP_TARGETS=\"php5-6 php7-0\" POSTGRES_TARGETS=\"postgres9_5\" PYTHON_SINGLE_TARGET=\"python3_5\" PYTHON_TARGETS=\"python2_7 python3_5\" QEMU_SOFTMMU_TARGETS=\"arm aarch64 x86_64\" QEMU_USER_TARGETS=\"arm aarch64 x86_64\" RUBY_TARGETS=\"ruby22 ruby23\" USERLAND=\"GNU\" VIDEO_CARDS=\"vesa modesetting qxl nouveau intel\" XTABLES_ADDONS=\"quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account\"\r\nUnset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS\r\n\r\n\r\nMesa version:\r\n\r\nmedia-libs/mesa-17.2.8::gentoo was built with the following:\r\nUSE=\"classic dri3 egl gallium gbm gles1 gles2 llvm nptl opencl openmax pic vaapi vdpau wayland xa xvmc -bindist -d3d9 -debug -osmesa -pax_kernel (-selinux) -unwind -valgrind -vulkan\" ABI_X86=\"32 (64) (-x32)\" VIDEO_CARDS=\"intel nouveau (-freedreno) -i915 -i965 (-imx) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware\"\r\n\r\n\r\nI tried on my laptop, which has nvidia graphics, and on my desktop with an AMD card, both made in the last 5 years."},"comment":{"url":"https://api.github.com/repos/BearishSun/BansheeEngine/issues/comments/371741634","html_url":"https://github.com/BearishSun/BansheeEngine/issues/180#issuecomment-371741634","issue_url":"https://api.github.com/repos/BearishSun/BansheeEngine/issues/180","id":371741634,"user":{"login":"BearishSun","id":6533403,"avatar_url":"https://avatars1.githubusercontent.com/u/6533403?v=4","gravatar_id":"","url":"https://api.github.com/users/BearishSun","html_url":"https://github.com/BearishSun","followers_url":"https://api.github.com/users/BearishSun/followers","following_url":"https://api.github.com/users/BearishSun/following{/other_user}","gists_url":"https://api.github.com/users/BearishSun/gists{/gist_id}","starred_url":"https://api.github.com/users/BearishSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BearishSun/subscriptions","organizations_url":"https://api.github.com/users/BearishSun/orgs","repos_url":"https://api.github.com/users/BearishSun/repos","events_url":"https://api.github.com/users/BearishSun/events{/privacy}","received_events_url":"https://api.github.com/users/BearishSun/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T08:04:47Z","updated_at":"2018-03-09T08:04:47Z","author_association":"OWNER","body":"The `/dev/input` permissions is a known problem, turns out reading raw input isn't a good idea. Technically it shouldn't cause any problems despite the error messages as mouse/keyboard input is done through XInput2 which should require no permissions.\r\n\r\nThe vorbis dependency might need to be recompiled, I think there is an additional `libvorbisenc.so` that I'm failing to distribute. You'll also need to edit `Source/CMake/Modules/Findvorbis.cmake` and comment out the `APPLE` specific bit that looks for `vorbisenc`."}}
{"actor":{"display_login":"BearishSun"}}