You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请求协助解决Kubuntu下Wine运行PL/SQL Developer的闪烁及报错问题

Fixing PL/SQL Developer Flickering & Crash on Kubuntu 16.04 LTS with Wine

Hey there, let's work through this PL/SQL Developer issue you're facing—flickering followed by a crash after installing it via Wine on your high-res ThinkPad T540p. This is a common problem tied to high DPI displays, dual graphics setups, or Wine's default configurations, so let's go through actionable fixes step by step:

1. Tweak Wine's High-DPI Settings

Your 2880x1620 resolution is likely throwing off Wine's display handling. Try these adjustments:

  • Open Wine Configuration by running winecfg in the terminal. Switch to the Display tab.
  • Check "Allow Wine to use system DPI settings" or manually set a DPI value (192 is a good starting point for 200% scaling, matching your screen).
  • Launch PL/SQL Developer in a virtual desktop to limit resolution conflicts:
    wine explorer /desktop=PLSQLDev,1920x1080 "C:\Program Files\Allround Automations\PL/SQL Developer\plsqldev.exe"
    

2. Resolve Dual Graphics (Intel HD 4600 + NVIDIA GT 730M) Conflicts

Wine can struggle with hybrid graphics setups. Try switching to your NVIDIA GPU for the app:

  • Use NVIDIA Prime Profiles: Open NVIDIA X Server Settings, go to Prime Profiles, select "NVIDIA (Performance Mode)", then restart your system.
  • Or launch Wine directly with NVIDIA offloading (no restart needed):
    __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia wine "C:\Program Files\Allround Automations\PL/SQL Developer\plsqldev.exe"
    

3. Update Wine to a More Stable Version

Kubuntu 16.04's default Wine version might be outdated. Upgrade to WineHQ's stable build:

  1. Add the WineHQ repository:
    sudo dpkg --add-architecture i386
    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    sudo apt-key add winehq.key
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
    
  2. Install the latest stable Wine:
    sudo apt update && sudo apt install --install-recommends winehq-stable
    
  3. Re-run PL/SQL Developer after the upgrade to see if the flickering stops.

4. Adjust KDE Plasma's Compositor Settings

Kubuntu's compositor can clash with Wine apps. Try these tweaks:

  • Open System Settings → Display and Monitor → Compositor.
  • Temporarily disable the compositor (click "Disable Compositor") and test launching the app. If that fixes it, you can either keep it disabled or switch the backend to XRender (instead of OpenGL) and restart Plasma:
    kquitapp5 plasmashell && kstart5 plasmashell
    

5. Enable Windows Compatibility Mode for PL/SQL Developer

Sometimes forcing a specific Windows version resolves display issues:

  • Right-click PL/SQL Developer's shortcut in Wine, select Properties → Compatibility.
  • Check "Run this program in compatibility mode for" and choose Windows 7 (PL/SQL Developer has solid support for this version).
  • Also check "Disable visual themes" and "Disable desktop elements" to rule out UI conflicts.

If none of these fixes work, enable Wine's debug logging to get more details about the crash:

WINEDEBUG=+window wine "C:\Program Files\Allround Automations\PL/SQL Developer\plsqldev.exe"

Share the log output, and we can dig deeper into the root cause.

内容的提问来源于stack exchange,提问作者Tural

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 03:16:08