Skip to content

Error 0x8007046b running emacs -nw with software rendering disabled #18677

Open
@PinaBG

Description

@PinaBG

Windows Terminal version

1.21.10351.0

Windows build number

10.0.26100.3194

Other Software

emacs (inside wsl)

Steps to reproduce

  • Disable software rendering (WARP).
  • Open a terminal.
  • Run emacs -nw.
  • Observe the error message or unexpected behavior.

Expected Behavior

Emacs should open in terminal mode (-nw) without errors

Actual Behavior

  • The following error messages appear:
    • "Renderer encountered an unexpected error: 0x8007046b A potential deadlock condition has been detected."
    • "This terminal has encountered an issue with the graphics driver and it could not recover in time."
  • Emacs does not open in terminal mode (-nw).
  • When enabling software rendering, Emacs works normally.
  • However, enabling software rendering disables the "experimental.pixelShaderPath" feature.
  • Looking for a solution that allows both "experimental.pixelShaderPath" and Emacs in terminal mode to work together.

Here's my settings.json in case it helps troubleshoot the issue!

{
   "$help":"https://aka.ms/terminal-documentation",
   "$schema":"https://aka.ms/terminal-profiles-schema",
   "actions":[
      {
         "command":"toggleFocusMode",
         "id":"User.toggleFocusMode",
         "keys":"shift+f11"
      },
      {
         "command":"toggleShaderEffects",
         "id":"User.toggleShaderEffects",
         "keys":"shift+f10"
      },
      {
         "command":{
            "action":"splitPane",
            "split":"auto",
            "splitMode":"duplicate"
         },
         "id":"User.splitPane.A6751878",
         "keys":"alt+shift+d"
      },
      {
         "command":{
            "action":"copy",
            "singleLine":false
         },
         "id":"User.copy.644BA8F2",
         "keys":"ctrl+c"
      },
      {
         "command":"paste",
         "id":"User.paste",
         "keys":"ctrl+v"
      },
      {
         "command":"find",
         "id":"User.find",
         "keys":"ctrl+shift+f"
      }
   ],
   "centerOnLaunch":true,
   "copyFormatting":"none",
   "copyOnSelect":false,
   "defaultProfile":"{a5a97cb8-8961-5535-816d-772efe0c6a3f}",
   "initialCols":90,
   "initialPosition":",",
   "newTabMenu":[
      {
         "type":"remainingProfiles"
      }
   ],
   "profiles":{
      "defaults":{
         "colorScheme":"Dracula",
         "experimental.pixelShaderPath":"C:\\Users\\bruno\\Documents\\workspace\\windows-terminal-shaders\\crt.hlsl",
         "font":{
            "face":"Cascadia Mono",
            "size":12
         }
      },
      "list":[
         {
            "commandline":"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
            "guid":"{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "hidden":false,
            "name":"Windows PowerShell"
         },
         {
            "commandline":"%SystemRoot%\\System32\\cmd.exe",
            "guid":"{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "hidden":false,
            "name":"Command Prompt"
         },
         {
            "commandline":"C:\\Program Files\\Git\\bin\\bash.exe",
            "font":{
               "face":"Monocraft Nerd Font"
            },
            "guid":"{5127da2a-63e0-4d74-8b4d-52d9166b4759}",
            "hidden":false,
            "icon":"C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
            "name":"Git Bash"
         },
         {
            "font":{
               "face":"Monocraft Nerd Font",
               "size":14
            },
            "guid":"{a5a97cb8-8961-5535-816d-772efe0c6a3f}",
            "hidden":false,
            "name":"Arch",
            "source":"Windows.Terminal.Wsl"
         }
      ]
   },
   "schemes":[
      {
         "background":"#282A36",
         "black":"#21222C",
         "blue":"#BD93F9",
         "brightBlack":"#6272A4",
         "brightBlue":"#D6ACFF",
         "brightCyan":"#A4FFFF",
         "brightGreen":"#69FF94",
         "brightPurple":"#FF92DF",
         "brightRed":"#FF6E6E",
         "brightWhite":"#FFFFFF",
         "brightYellow":"#FFFFA5",
         "cursorColor":"#F8F8F2",
         "cyan":"#8BE9FD",
         "foreground":"#F8F8F2",
         "green":"#50FA7B",
         "name":"Dracula",
         "purple":"#FF79C6",
         "red":"#FF5555",
         "selectionBackground":"#44475A",
         "white":"#F8F8F2",
         "yellow":"#F1FA8C"
      }
   ],
   "startOnUserLogin":true,
   "themes":[
      
   ]
}

Metadata

Metadata

Assignees

Labels

Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingProduct-TerminalThe new Windows Terminal.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions