链接已复制
We've reached out to our development team about this vtune-gui issue.
Meanwhile, please check environment variables for GTK conflicts. Make sure you are not setting any environment variables (like LD_LIBRARY_PATH) that might cause the wrong GTK libraries to be loaded.
Also, we recommend try using "Remote Linux Target" or "VTune Profiler Server" features from host system rather than vtune-gui from the Linux target system.
User Guide:
VTune Profiler Server
Remote Linux Target
An issue for me, as well.
I'm on Fedora 42, using GNOME 48.4 on Wayland.
❯ ./vtune-gui
(process:97648): Gtk-ERROR **: 17:13:12.449: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
fish: Job 1, './vtune-gui' terminated by signal SIGTRAP (Trace or breakpoint trap)
Yet, running ./vtune-gui --help does work - as does running vtune-self-checker.sh
I'm attaching the output of running it with strace.
It seems like it might be trying to use a library related to Gnome that uses GTK 4. Can you try adding --gtk-version=3 after vtune-gui? It would be nice if there was more documentation related to the Linux GUI.
I get an error:
Unknown arguments: gtk-version, gtkVersion
Furthermore this is an option used for electron apps. I don't know if vtune is one.
If true, developers should expose the option. Btw the issue is fixed in more recent electron version, so they could update it.
Thanks for the response - I generally use VTune in CLI or web server on Linux, and last I remember it used wxWidgets. Since there was no Intel answer, I thought maybe a solution for the error in a different app might work.
From what I can tell of the logs from the other person, it loads GTK 3, then later connects to X11/X0, then loads mutter/wayland, and then GTK 4. Maybe somewhere there is a workaround; I'm not familiar enough with X11 or Linux GUI to know.
Otherwise I generally set up the web server for profiling on Linux, since I tend to use a remote server where setting up VNC is a pain. You can try that as a workaround.
If you're not running on AWS, you can skip to the Run VTune Profiler as a Web Service section:
Run the VTune Profiler Web Service:
<vtune_install_dir>/latest/bin64/vtune-backend –-allow-remote-access –-enable-server-profiling –-web-port=8080
The vtune-backend command returns a URL with the private IP for the instance as well as a one-time token.
Replace the private IP with the public IP or DNS for the instance. For example, https://172.29.129.54:8080/?one-time-token=b8cafc89721e781161aba4ddcef5a718 becomes https://18.236.194.236:8080/?one-time-token=b8cafc89721e781161aba4ddcef5a718.Copy the URL into your browser.
I had the same problem on my Ubuntu machine.
Downgrading vtune to 2025.3.0-15 allowed me to go back to a version that worked.
sudo apt install intel-oneapi-vtune=2025.3.0-15
(Using the APT method of installation)