The following warnings occurred:
Warning [2] Trying to access array offset on value of type bool - Line: 50 - File: inc/plugins/mention.php PHP 8.2.25 (Linux)
File Line Function
/inc/plugins/mention.php 50 errorHandler->error
/inc/plugins/MentionMe/forum.php 212 mentionGetMyAlertsStatus
/inc/plugins/MentionMe/forum.php 16 mentionMeInitialize
/inc/plugins/mention.php 30 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Trying to access array offset on value of type null - Line: 50 - File: inc/plugins/mention.php PHP 8.2.25 (Linux)
File Line Function
/inc/plugins/mention.php 50 errorHandler->error
/inc/plugins/MentionMe/forum.php 212 mentionGetMyAlertsStatus
/inc/plugins/MentionMe/forum.php 16 mentionMeInitialize
/inc/plugins/mention.php 30 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.2.25 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$mention - Line: 524 - File: inc/plugins/MentionMe/forum.php PHP 8.2.25 (Linux)
File Line Function
/inc/plugins/MentionMe/forum.php 524 errorHandler->error
/inc/class_plugins.php 142 mentionMeBuildPopup
/global.php 479 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$mention_autocomplete_loading - Line: 5 - File: inc/plugins/MentionMe/forum.php(557) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/inc/plugins/MentionMe/forum.php(557) : eval()'d code 5 errorHandler->error
/inc/plugins/MentionMe/forum.php 557 eval
/inc/class_plugins.php 142 mentionMeBuildPopup
/global.php 479 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.2.25 (Linux)
File Line Function
/global.php 550 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.2.25 (Linux)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.2.25 (Linux)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 25 - File: global.php(872) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(872) : eval()'d code 25 errorHandler->error
/global.php 872 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 937 - File: global.php PHP 8.2.25 (Linux)
File Line Function
/global.php 937 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.2.25 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 937 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.2.25 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 937 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.2.25 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.25 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.25 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.25 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.25 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.2.25 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.2.25 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



MME4CRT Forum
CRTSwitchres creates resolutions on wrong device in Manjaro - Printable Version

+- MME4CRT Forum (https://mme4crt.alphanudesign.co.uk/forum)
+-- Forum: MME4CRT (https://mme4crt.alphanudesign.co.uk/forum/forumdisplay.php?fid=1)
+--- Forum: Support (https://mme4crt.alphanudesign.co.uk/forum/forumdisplay.php?fid=21)
+--- Thread: CRTSwitchres creates resolutions on wrong device in Manjaro (/showthread.php?tid=1783)



CRTSwitchres creates resolutions on wrong device in Manjaro - DukeSkinny - 06-14-2020

Copied from my post over at Libretro Forums:

So running Manjaro on a 780Ti, I am unable to have Switchres properly switch resolution. This is the case with Vulkan, GL & GLcore. RA reports a change in refresh rate, and the visible area scales to fill the screen. Resolution stays, though.

Switchres always worked on my Windows install. Here's my log from attempting to switch in Captain Commando:


Code:
    [INFO] RetroArch 1.8.8 (Git 9552f87157)
    [INFO] === Build =======================================
    [INFO] CPU Model Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
    [INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
    [INFO] Built: May 27 2020
    [INFO] Version: 1.8.8
    [INFO] Git: 9552f87157
    [INFO] =================================================
    [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
    [INFO] Redirecting save file to "/run/media/dukeskinny/Feting/RetroArch Data/saves/.srm".
    [INFO] Redirecting save state to "/run/media/dukeskinny/Feting/RetroArch Data/states/.state".
    [INFO] Version of libretro API: 1
    [INFO] Compiled against API: 1
    [INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
    [INFO] [Video]: Video @ fullscreen
    [ERROR] [Wayland]: Failed to connect to Wayland server.
    [INFO] Vulkan dynamic library loaded.
    [INFO] [Vulkan]: Found vulkan context: x
    [INFO] [Vulkan]: Detecting screen resolution 1024x768.
    [INFO] [GLX]: Window manager is Xfwm4.
    [INFO] [GLX]: Using override-redirect workaround.
    [INFO] [XINERAMA]: Xinerama version: 1.1.
    [INFO] [XINERAMA]: Xinerama screens: 1.
    [INFO] [GLX]: Using Xinerama on screen #0.
    [INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 768.
    [INFO] [GLX]: Requesting compositor bypass.
    [INFO] [GLX]: Using true fullscreen.
    [INFO] [Vulkan]: Found GPU at index 0: GeForce GTX 780 Ti
    [INFO] [Vulkan]: Using GPU index 0.
    [INFO] [Vulkan]: Using GPU: GeForce GTX 780 Ti
    [INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
    [INFO] [Vulkan]: Swapchain supports present mode: 2.
    [INFO] [Vulkan]: Swapchain supports present mode: 3.
    [INFO] [Vulkan]: Swapchain supports present mode: 0.
    [INFO] [Vulkan]: Creating swapchain with present mode: 2
    [INFO] [Vulkan]: Using swapchain size 1024 x 768.
    [INFO] [Vulkan]: Got 2 swapchain images.
    [INFO] [Vulkan]: Using resolution 1024x768
    [INFO] [Vulkan]: Using RGB565 format.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: Loading stock shader.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [udev]: Plugged pad: Microsoft Microsoft® SideWinder™ X3 Mouse Consumer Control (1118:1884) on port #0.
    [INFO] [udev]: Pad #0 (/dev/input/event22) supports 0 force feedback effects.
    [INFO] [udev]: Plugged pad: Microsoft X-Box One S pad (1118:746) on port #1.
    [INFO] [udev]: Pad #1 (/dev/input/event16) supports force feedback.
    [INFO] [udev]: Pad #1 (/dev/input/event16) supports 16 force feedback effects.
    [INFO] [Joypad]: Found joypad driver: "udev".
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [DBus]: Suspended screensaver via DBus.
    [INFO] [Video]: Found display server: x11
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/gtu-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-gtu.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-composite-3phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-lottes-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-lottes.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-adjust.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite-3phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/mupen64plus_next_libretro.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-256px-gtusimplified.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-256px-svideo-gtusimplified.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-320px-svideo.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/play_libretro.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/retroarch.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock half.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-imgmangler-kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-lcd-grid-v2-psp-color.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-lcdgrid2-pspcolor-gtu.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/svideo-2phase-gtu.slangp"
    [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
    [INFO] [Menu]: Found menu display driver: "vulkan".
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Menu]: Found menu display driver: "vulkan".
    [INFO] [LED]: LED driver = 'null' 0x5557f8b83ce0
    [INFO] [MIDI]: Initializing ...
    [INFO] [MIDI]: Input disabled.
    [INFO] [MIDI]: Output disabled.
    [INFO] [MIDI]: Initialized "alsa" driver.
    [INFO] SRAM will not be saved.
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_history.lpl].
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_music_history.lpl].
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_video_history.lpl].
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_image_history.lpl].
    [INFO] Loading favorites file: [/home/dukeskinny/.config/retroarch/content_favorites.lpl].
    [INFO] [Vulkan]: VSync => on
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [Vulkan]: VSync => on
    [INFO] [PulseAudio]: Pausing.
    [INFO] [Vulkan]: Do not need to re-create swapchain.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] Using content: /run/media/dukeskinny/External/LaunchBox/Games/Arcade/Capcom Play System/captcomm.zip.
    [INFO] arg #0: retroarch
    [INFO] arg #1: /run/media/dukeskinny/External/LaunchBox/Games/Arcade/Capcom Play System/captcomm.zip
    [INFO] arg #2: -s
    [INFO] arg #3: /run/media/dukeskinny/Feting/RetroArch Data/saves
    [INFO] arg #4: -S
    [INFO] arg #5: /run/media/dukeskinny/Feting/RetroArch Data/states
    [INFO] arg #6: -c
    [INFO] arg #7: /home/dukeskinny/.config/retroarch/retroarch.cfg
    [INFO] arg #8: -L
    [INFO] arg #9: /home/dukeskinny/.config/retroarch/cores/mame_libretro.so
    [INFO] arg #10: -v
    [INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
    [INFO] Unloading game..
    [INFO] Unloading core..
    [INFO] Unloading core symbols..
    [INFO] [XINERAMA]: Xinerama version: 1.1.
    [INFO] [XINERAMA]: Xinerama screens: 1.
    [INFO] [XINERAMA]: Saved monitor #0.
    [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
    [INFO] RetroArch 1.8.8 (Git 9552f87157)
    [INFO] Redirecting save file to "/run/media/dukeskinny/Feting/RetroArch Data/saves/captcomm.srm".
    [INFO] Redirecting save state to "/run/media/dukeskinny/Feting/RetroArch Data/states/captcomm.state".
    [INFO] === Build =======================================
    [INFO] CPU Model Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
    [INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
    [INFO] Built: May 27 2020
    [INFO] Version: 1.8.8
    [INFO] Git: 9552f87157
    [INFO] =================================================
    [INFO] Loading dynamic libretro core from: "/home/dukeskinny/.config/retroarch/cores/mame_libretro.so"
    [INFO] [Overrides] core-specific overrides found at /run/media/dukeskinny/Feting/RetroArch Data/config/MAME/MAME.cfg.
    [INFO] [Overrides] content-dir-specific overrides found at /run/media/dukeskinny/Feting/RetroArch Data/config/MAME/captcomm.cfg.
    [INFO] [Overrides] content-dir-specific overrides stacking on top of previous overrides.
    [INFO] [Overrides] no game-specific overrides found at /run/media/dukeskinny/Feting/RetroArch Data/config/MAME/captcomm.cfg.
    [INFO] Config: appending config "/run/media/dukeskinny/Feting/RetroArch Data/config/MAME/MAME.cfg"
    [INFO] Config: appending config "/run/media/dukeskinny/Feting/RetroArch Data/config/MAME/Capcom Play System.cfg"
    [INFO] [Environ]: SET_VARIABLES.
    [INFO] [Remaps]: remap directory: /home/dukeskinny/.config/retroarch/config/remaps
    [INFO] Redirecting save file to "/run/media/dukeskinny/Feting/RetroArch Data/saves/captcomm.srm".
    [INFO] Redirecting save state to "/run/media/dukeskinny/Feting/RetroArch Data/states/captcomm.state".
    [INFO] [Environ]: GET_LOG_INTERFACE.
    [INFO] [Environ]: SYSTEM_DIRECTORY: "/run/media/dukeskinny/Feting/RetroArch Data/system".
    [libretro INFO] SYSTEM_DIRECTORY: /run/media/dukeskinny/Feting/RetroArch Data/system
    [INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/home/dukeskinny/.config/retroarch/downloads".
    [libretro INFO] CONTENT_DIRECTORY: /home/dukeskinny/.config/retroarch/downloads
    [libretro INFO] SAVE_DIRECTORY: /run/media/dukeskinny/Feting/RetroArch Data/saves
    [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
    [INFO] Content loading skipped. Implementation will load it on its own.
    [libretro INFO] Joystick map: disabled
    [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
    [INFO] Skipping SRAM load..
    [INFO] Version of libretro API: 1
    [INFO] Compiled against API: 1
    [libretro INFO] Joystick map: disabled
    [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
    [libretro INFO] AV_INFO: width=640 height=480
    [libretro INFO] AV_INFO: max_width=640 max_height=480
    [libretro INFO] AV_INFO: aspect_ratio = 1.333333
    [libretro INFO] AV_INFO: fps = 60.000000 sample_rate = 48000.000000
    [INFO] [Cheats]: Load game-specific cheatfile: /home/dukeskinny/.config/retroarch/cheats/MAME/captcomm.cht
    [INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
    [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 120.00 Hz, Game = 60.00 Hz)
    [INFO] [Video]: Video @ fullscreen
    [ERROR] [Wayland]: Failed to connect to Wayland server.
    [INFO] Vulkan dynamic library loaded.
    [INFO] [Vulkan]: Found vulkan context: x
    [INFO] [Vulkan]: Detecting screen resolution 1024x768.
    [INFO] [GLX]: Window manager is Xfwm4.
    [INFO] [GLX]: Using override-redirect workaround.
    [INFO] [XINERAMA]: Xinerama version: 1.1.
    [INFO] [XINERAMA]: Xinerama screens: 1.
    [INFO] [GLX]: Using Xinerama on screen #0.
    [INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 768.
    [INFO] [GLX]: Requesting compositor bypass.
    [INFO] [GLX]: Using true fullscreen.
    [INFO] [Vulkan]: Found GPU at index 0: GeForce GTX 780 Ti
    [INFO] [Vulkan]: Using GPU index 0.
    [INFO] [Vulkan]: Using GPU: GeForce GTX 780 Ti
    [INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
    [INFO] [Vulkan]: Swapchain supports present mode: 2.
    [INFO] [Vulkan]: Swapchain supports present mode: 3.
    [INFO] [Vulkan]: Swapchain supports present mode: 0.
    [INFO] [Vulkan]: Creating swapchain with present mode: 2
    [INFO] [Vulkan]: Using swapchain size 1024 x 768.
    [INFO] [Vulkan]: Got 2 swapchain images.
    [INFO] [Vulkan]: Using resolution 1024x768
    [INFO] [Vulkan]: Using BGRA8888 format.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Shaders]: preset directory: /run/media/dukeskinny/Feting/RetroArch Data/config/
    [INFO] [Shaders]: preset directory: /home/dukeskinny/.config/retroarch/
    [INFO] [Shaders]: preset directory: /run/media/dukeskinny/Feting/RetroArch Data/shaders/presets
    [INFO] [Vulkan]: Loading stock shader.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [udev]: Plugged pad: Microsoft Microsoft® SideWinder™ X3 Mouse Consumer Control (1118:1884) on port #0.
    [INFO] [udev]: Pad #0 (/dev/input/event22) supports 0 force feedback effects.
    [INFO] [udev]: Plugged pad: Microsoft X-Box One S pad (1118:746) on port #1.
    [INFO] [udev]: Pad #1 (/dev/input/event16) supports force feedback.
    [INFO] [udev]: Pad #1 (/dev/input/event16) supports 16 force feedback effects.
    [INFO] [Joypad]: Found joypad driver: "udev".
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [DBus]: Suspended screensaver via DBus.
    [INFO] [Video]: Found display server: x11
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/gtu-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-gtu.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-composite-3phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-lottes-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-lottes.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-adjust.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite-3phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/mupen64plus_next_libretro.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-256px-gtusimplified.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-256px-svideo-gtusimplified.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-320px-svideo.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/play_libretro.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/retroarch.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock half.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-imgmangler-kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-lcd-grid-v2-psp-color.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-lcdgrid2-pspcolor-gtu.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/svideo-2phase-gtu.slangp"
    [INFO] [PulseAudio]: Requested 12288 bytes buffer, got 9216.
    [INFO] [Menu]: Found menu display driver: "vulkan".
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [LED]: LED driver = 'null' 0x5557f8b83ce0
    [INFO] [MIDI]: Initializing ...
    [INFO] [MIDI]: Input disabled.
    [INFO] [MIDI]: Output disabled.
    [INFO] [MIDI]: Initialized "alsa" driver.
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_history.lpl].
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_music_history.lpl].
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_video_history.lpl].
    [INFO] Loading history file: [/home/dukeskinny/.config/retroarch/content_image_history.lpl].
    [INFO] Loading favorites file: [/home/dukeskinny/.config/retroarch/content_favorites.lpl].
    [INFO] [Vulkan]: VSync => on
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [libretro INFO] Starting game:/run/media/dukeskinny/External/LaunchBox/Games/Arcade/Capcom Play System/captcomm.zip
    [libretro INFO] Game name: captcomm, Game description: Captain Commando (World 911202)
    [libretro ERROR] System not found: Capcom Play System
    [libretro WARN] Driver Capcom Play System not found -1
    [libretro INFO] Creating frontend for game: captcomm
    [libretro INFO] Softlists: 1
    [libretro INFO] SOURCE FILE: ../../../../../src/mame/drivers/cps1.cpp
    [libretro INFO] PARENT: 0
    [libretro INFO] NAME: captcomm
    [libretro INFO] DESCRIPTION: Captain Commando (World 911202)
    [libretro INFO] YEAR: 1991
    [libretro INFO] MANUFACTURER: Capcom
    [libretro INFO] RES:1
    [libretro INFO] MAIN FIRST
    [libretro INFO] Joystick map: disabled
    [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
    [libretro INFO] AV_INFO: width=384 height=224
    [libretro INFO] AV_INFO: max_width=384 max_height=224
    [libretro INFO] AV_INFO: aspect_ratio = 1.333333
    [libretro INFO] AV_INFO: fps = 59.637405 sample_rate = 48000.000000
    [INFO] [Environ]: SET_SYSTEM_AV_INFO.
    [INFO] [XINERAMA]: Xinerama version: 1.1.
    [INFO] [XINERAMA]: Xinerama screens: 1.
    [INFO] [XINERAMA]: Saved monitor #0.
    [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
    [INFO] [Audio]: Set audio input rate to: 48291.84 Hz.
    [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 120.00 Hz, Game = 59.64 Hz)
    [INFO] [Video]: Video @ fullscreen
    [ERROR] [Wayland]: Failed to connect to Wayland server.
    [INFO] Vulkan dynamic library loaded.
    [INFO] [Vulkan]: Found vulkan context: x
    [INFO] [Vulkan]: Detecting screen resolution 1024x768.
    [INFO] [GLX]: Window manager is Xfwm4.
    [INFO] [GLX]: Using override-redirect workaround.
    [INFO] [XINERAMA]: Xinerama version: 1.1.
    [INFO] [XINERAMA]: Xinerama screens: 1.
    [INFO] [GLX]: Using Xinerama on screen #0.
    [INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 768.
    [INFO] [GLX]: Requesting compositor bypass.
    [INFO] [GLX]: Using true fullscreen.
    [INFO] [Vulkan]: Found GPU at index 0: GeForce GTX 780 Ti
    [INFO] [Vulkan]: Using GPU index 0.
    [INFO] [Vulkan]: Using GPU: GeForce GTX 780 Ti
    [INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
    [INFO] [Vulkan]: Swapchain supports present mode: 2.
    [INFO] [Vulkan]: Swapchain supports present mode: 3.
    [INFO] [Vulkan]: Swapchain supports present mode: 0.
    [INFO] [Vulkan]: Creating swapchain with present mode: 2
    [INFO] [Vulkan]: Using swapchain size 1024 x 768.
    [INFO] [Vulkan]: Got 2 swapchain images.
    [INFO] [Vulkan]: Using resolution 1024x768
    [INFO] [Vulkan]: Using BGRA8888 format.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: Loading stock shader.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [udev]: Plugged pad: Microsoft Microsoft® SideWinder™ X3 Mouse Consumer Control (1118:1884) on port #0.
    [INFO] [udev]: Pad #0 (/dev/input/event22) supports 0 force feedback effects.
    [INFO] [udev]: Plugged pad: Microsoft X-Box One S pad (1118:746) on port #1.
    [INFO] [udev]: Pad #1 (/dev/input/event16) supports force feedback.
    [INFO] [udev]: Pad #1 (/dev/input/event16) supports 16 force feedback effects.
    [INFO] [Joypad]: Found joypad driver: "udev".
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [DBus]: Suspended screensaver via DBus.
    [INFO] [Video]: Found display server: x11
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/gtu-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-gtu.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-composite-3phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-kurozumi.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-lottes-svideo-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler-lottes.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/imgmangler.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-adjust.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite-3phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/kurozumi-composite.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/mupen64plus_next_libretro.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-256px-gtusimplified.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-256px-svideo-gtusimplified.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/ntsc-320px-svideo.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/play_libretro.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/retroarch.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock half.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-imgmangler-kurozumi-composite-2phase.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-lcd-grid-v2-psp-color.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/stock-lcdgrid2-pspcolor-gtu.slangp"
    [INFO] Found shader "/run/media/dukeskinny/Feting/RetroArch Data/shaders/svideo-2phase-gtu.slangp"
    [INFO] [PulseAudio]: Requested 12288 bytes buffer, got 9216.
    [INFO] [Menu]: Found menu display driver: "vulkan".
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [LED]: LED driver = 'null' 0x5557f8b83ce0
    [INFO] [MIDI]: Initializing ...
    [INFO] [MIDI]: Input disabled.
    [INFO] [MIDI]: Output disabled.
    [INFO] [MIDI]: Initialized "alsa" driver.
    [INFO] Game focus is: : off.
    [libretro INFO] ChangeAV: w:384 h:224 ra:1.333333.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [Vulkan]: VSync => on
    [INFO] [PulseAudio]: Pausing.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] Setting refresh rate to: 120.000 Hz.
    [INFO] Setting refresh rate to: 119.275 Hz.
    [INFO] [Vulkan]: Do not need to re-create swapchain.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
    [INFO] [slang]: Building pass #0 (N/A)
    [INFO] [Vulkan filter chain]: Not using frame history.
    [INFO] [Vulkan filter chain]: Not using framebuffer feedback.
    [INFO] [Overrides] configuration overrides unloaded, original configuration restored.
    [INFO] [PulseAudio]: Unpausing.
    [INFO] [Cheats]: Save game-specific cheatfile: /home/dukeskinny/.config/retroarch/cheats/MAME/captcomm.cht
    [INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
    [INFO] Unloading game..
    [INFO] [PulseAudio]: Pausing.
    [INFO] Unloading core..
    [INFO] Unloading core symbols..
    [INFO] [Core Options]: Saved core options file to "/run/media/dukeskinny/Feting/RetroArch Data/config/MAME/MAME.opt"
    [INFO] [XINERAMA]: Xinerama version: 1.1.
    [INFO] [XINERAMA]: Xinerama screens: 1.
    [INFO] [XINERAMA]: Saved monitor #0.
    [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
    [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.


**Update** This is the output from xrandr. It seems resolutions are created successfully, just not actualized. **No wait, the resolutions are created on the wrong device, aren't they?**

https://imgur.com/a/BL0PK0y

**Update 2** Tried setting Monitor Index to 0 (Auto). No luck. Neither 0 nor 1 worked. This is with only the CRT active and designated as primary.


RE: CRTSwitchres creates resolutions on wrong device in Manjaro - alphanu - 06-15-2020

Hey Duke,

Sorry about the delay. I have responded to you on the Libretro forum.

For other viewing the post, when a fix has been found this will be placed in the knowledge base.

-Ben


RE: CRTSwitchres creates resolutions on wrong device in Manjaro - DukeSkinny - 06-25-2020

I should update this as the situation's changed somewhat.

Figured my VGA extension cable might've played a role so I removed it from the equation. To my surprise it worked! Somewhat. I could only see a zoomed in stretch of the top part of the screen, not horizontally aligned.

After much fiddling about I booted into Linux with the LCD monitor completely disconnected, CRT set as primary, monitor index set to 0 (auto), Integer Scale ON. Any other relevant settings? V-sync I try both ON & OFF, same with 'sync to exact content framerate'.

What happened then was I managed to get Captain Commando to display perfectly! The 31KHz Dynamic mode in all its' glory! Tried a PSX game with in-game switching, Tales of Phantasia, and lo'! Perfectly displayed the 240p and to my surprise switched seamlessly to an actually interlaced title screen (I didn't know my VGA could do that!).

So naturally I was quite excited. But then I tried the Parallel core, running a couple games. Even though they reported 320x240 there was no switching to be had. I was dumbstruck. Genesis games displayed fine until I activated the Switchres function, upon which they did switch but all was suddenly black. NES games behaved just like things did right after I removed the extension cable. That is, zoomed in upper portion with no possibility of screen adjustment for proper compensation, horizontal misalignment etc.

So now it's on a core-by-core basis? I can't seem to wrap my head around this. Sad