Opened 6 months ago
Last modified 5 months ago
#22075 new defect
java fonts are shown garbled with 3d support
Reported by: | teskor | Owned by: | |
---|---|---|---|
Component: | 3D support | Version: | VirtualBox-7.0.18 |
Keywords: | fonts java garbled | Cc: | teskor |
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
After updating from 6.1.50 to 7.0.18 java fonts and some window titles are not shown/garbled (see attached screenshots). Some window titles (e.g. from vlc) have the same problem while gtk windows seem to work fine. To exclude any problems with the guest I did a clean install of rocky linux 9 as guest, where I could see the same behaviour. I started the same vm on a different host (linux) where it worked fine, so I guess it must have something to do either with windows or my hardware (Dell Precision 5540 with an NVIDIA Quadro T2000).
This is the simple java program to reproduce:
TopLevelWindow.java:
import java.awt.*; import javax.swing.*; // Create a simple GUI window public class TopLevelWindow { private static void createWindow() { JFrame frame = new JFrame("Simple GUI"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JLabel textLabel = new JLabel("I'm a label in the window",SwingConstants.CENTER); textLabel.setPreferredSize(new Dimension(300, 100)); frame.getContentPane().add(textLabel, BorderLayout.CENTER); //Display the window. frame.setLocationRelativeTo(null); frame.pack(); frame.setVisible(true); } public static void main(String[] args) { createWindow(); } }
edit: unfortunately I labled the logs as screenshots, sorry I cannot change the description
Attachments (4)
Change History (7)
by , 6 months ago
Attachment: | 3d_rocky9-2024-05-17-11-31-01 added |
---|
by , 6 months ago
Attachment: | without_3d_rocky9-2024-05-17-11-35-42 added |
---|
without 3d support it looks fine
comment:1 by , 6 months ago
Description: | modified (diff) |
---|
by , 6 months ago
Attachment: | with_3d_VirtualBox_rocky9_17_05_2024_11_30_27.png added |
---|
now really the screenshot with garbled fonts and 3d support on
by , 6 months ago
Attachment: | without_3d_VirtualBox_rocky9_17_05_2024_11_35_09.png added |
---|
now really: without 3d support it looks fine
comment:2 by , 6 months ago
One observation, if I disable the NVIDIA Quadro T2000 in the device manager, so that my laptop only uses the Intel UHD Graphics 630, 3d support works fine. So I assume this problem is due to the double display adapter setup or an NVIDIA specific problem. The other host I tried where it worked, has only intel-graphics, too.
comment:3 by , 5 months ago
This is not so new; you can see a similar trouble with JMeter here, and it was reported about 8 months ago. As you can see from the ticket and the list of similar tickets in this ticket, graphic and 3D acceleration aren't much of priority here. So it takes some time to fix the issues. You need some passion here.
screenshot with garbled fonts