Skip to content

Dotnet run web project in Linux x64, Sometimes Warning"waring:pci id for fd 49:1ab8:0010 " show up and sometimes error "VA-API test failed: failed to initialise VAAPI connection" show up #52284

@Susie-1989

Description

@Susie-1989

REGRESSION INFO: Repro for 10.0.100

INSTALL STEPS

  1. OS: Linux x64
  2. Install SDK 10.0.101

Platform

  • Windows
  • macOS
  • Linux

REPRO STEPS

  1. Use the below code to create an ASP.NET Web App(Razor Pages)
dotnet new razor -o razor02
cd razor02
  1. Type "dotnet watch" to run the project

Note:
1.This issue works well for windows x64
2.This issue works well for dotnet run

ACTUAL Some times Warning"waring:pci id for fd 49:1ab8:0010 " show up and sometimes error "VA-API test failed: failed to initialise VAAPI connection" show up

Image

Warning log
parallels@ubuntu-linux-22-04-02-desktop:~$ dotnet new razor -o razor2
The template "ASP.NET Core Web App (Razor Pages)" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/10.0-third-party-notices for details.

Processing post-creation actions...
Restoring /home/parallels/razor2/razor2.csproj:
Restore succeeded.

parallels@ubuntu-linux-22-04-02-desktop:$ cd razor2
parallels@ubuntu-linux-22-04-02-desktop:
/razor2$ dotnet watch
dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
dotnet watch 💡 Press Ctrl+R to restart.
dotnet watch 🔨 Building /home/parallels/razor2/razor2.csproj ...
dotnet watch 🔨 Build succeeded: /home/parallels/razor2/razor2.csproj
Using launch settings from /home/parallels/razor2/Properties/launchSettings.json...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5136
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/parallels/razor2
Gtk-Message: 21:40:10.369: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
pci id for fd 21: 1ab8:0010, driver (null)
pci id for fd 46: 1ab8:0010, driver (null)
libEGL warning: pci id for fd 70: 1ab8:0010, driver (null)

pci id for fd 71: 1ab8:0010, driver (null)
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.

Image

Error log
parallels@ubuntu-linux-22-04-02-desktop:~$ dotnet new razor -o razor78
The template "ASP.NET Core Web App (Razor Pages)" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/10.0-third-party-notices for details.

Processing post-creation actions...
Restoring /home/parallels/razor78/razor78.csproj:
Restore succeeded.

parallels@ubuntu-linux-22-04-02-desktop:$ cd razor78
parallels@ubuntu-linux-22-04-02-desktop:
/razor78$ dotnet watch
dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
dotnet watch 💡 Press Ctrl+R to restart.
dotnet watch 🔨 Building /home/parallels/razor78/razor78.csproj ...
dotnet watch 🔨 Build succeeded: /home/parallels/razor78/razor78.csproj
Using launch settings from /home/parallels/razor78/Properties/launchSettings.json...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5027
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/parallels/razor78
Gtk-Message: 21:43:04.236: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
ATTENTION: default value of option mesa_glthread overridden by environment.
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.

EXPECTED No warning and no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions