Bug 33254 - [RADEON:UMS:DDX] problem rendering fonts in java when scroll down big text file
Summary: [RADEON:UMS:DDX] problem rendering fonts in java when scroll down big text file
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 12:32 UTC by benderamp
Modified: 2018-06-12 19:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
corrupted fonts (82.69 KB, image/png)
2011-01-18 12:32 UTC, benderamp
no flags Details
Xorg.0.log (57.03 KB, text/plain)
2011-01-18 12:33 UTC, benderamp
no flags Details
xorg conf files (2.06 KB, application/x-bzip-compressed-tar)
2011-03-09 00:48 UTC, benderamp
no flags Details
Xorg.0.log with kms and without radeonhd (52.39 KB, text/x-log)
2011-03-10 11:55 UTC, benderamp
no flags Details
dmesg with kms and without radeonhd (70.25 KB, text/plain)
2011-03-10 11:56 UTC, benderamp
no flags Details

Description benderamp 2011-01-18 12:32:59 UTC
Created attachment 42182 [details]
corrupted fonts

I have ATI R600 with opensource driver. 

In netbeans 6.8/6.9 (with 1.6.0_20) the fonts are messed up when scroll down file with at least 4000 rows - see attached screenshot. This does not happen with smaller files - for example if I take file with 2000 rows I don't receive this issue, then select all contents and paste to the bottom of the file (so receive file with 4000 rows) - the problem starts to show itself, then ctrl+z to undo to 2000 rows - the problem disappears.

I understand, that this might be java-specific or even netbeans-specific issue, but I did not receive it on old fglrx on opensuse 10.3 which was installed on the same machine for a long time, so report it here.
Comment 1 benderamp 2011-01-18 12:33:57 UTC
Created attachment 42183 [details]
Xorg.0.log
Comment 2 Michel Dänzer 2011-01-19 03:03:10 UTC
(In reply to comment #2)
> In netbeans 6.8/6.9 (with 1.6.0_20) the fonts are messed up when scroll down
> file with at least 4000 rows - see attached screenshot. This does not happen
> with smaller files - for example if I take file with 2000 rows I don't receive
> this issue, then select all contents and paste to the bottom of the file (so
> receive file with 4000 rows) - the problem starts to show itself, then ctrl+z
> to undo to 2000 rows - the problem disappears.

I can't seem to reproduce this, though my distro only has netbeans 6.0.1.

Is the point where it starts to fail at exactly 4000 lines, or can you try to find out where?

Anyway, this is more likely an issue in the X server than the Xft library, let's start with the driver.
Comment 3 benderamp 2011-01-19 03:52:48 UTC
>Is the point where it starts to fail at exactly 4000 lines, or can you try to
find out where?

I have created file with 2229 lines - the issue shows itself at the beginning of the file until line 204 - starting from that line to the end of file no corruption.

If I double the number of rows to 4457, the issue shows itself till line 2053.

Reducing number of rows from 2229 down:
with 2050 rows the issue stop at 36 row;
with 2038 rows about the same;
with 2028 row the issue does not show up.

it seems that 2037-2038 rows is the border for the issue - with 2038 I have some messed rows at the beginning of the file, with 2037 rows all looks fine.

The file is as simple as copy-pasted import rows like:
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JSeparator;import java.awt.FlowLayout;
import java.awt.event.KeyEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Properties;
import java.util.Random;
import java.util.Set;
Comment 4 benderamp 2011-03-05 22:35:45 UTC
also this does not happen with disabled kms
Comment 5 Jerome Glisse 2011-03-08 10:28:48 UTC
Please completely remove radeonhd and attach you xorg config file, also output of lspci

We don't support UMS anymore and KMS doesn't work with radeonhd, from xorg log i am having trouble understanding what endup being use with your strange configuration
Comment 6 benderamp 2011-03-09 00:48:54 UTC
Created attachment 44262 [details]
xorg conf files

Attach the whole xorg.conf.d dir, actually most lines are commented inside. I have removed x11-xorg-driver-radeonhd package from system (it was installed by default in opensuse), but I don't think it was used as video driver ("sysinfo:/" showed driver "radeon").

Now with radeonhd package removed:
> cat /var/log/Xorg.0.log | grep radeon
[    25.230] (==) Matched radeonhd as autoconfigured driver 1
[    25.232] (II) LoadModule: "radeonhd"
[    25.232] (WW) Warning, couldn't open module radeonhd
[    25.232] (II) UnloadModule: "radeonhd"
[    25.232] (EE) Failed to load module "radeonhd" (module does not exist, 0)
[    25.250] (II) LoadModule: "radeon"
[    25.250] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    25.324] (II) Module radeon: vendor="X.Org Foundation"


> sudo /sbin/lspci
00:00.0 Host bridge: ATI Technologies Inc RX780/RX790 Chipset Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 port A)
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port F)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3870
01:00.1 Audio device: ATI Technologies Inc Radeon HD 3870 Audio device
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)

>We don't support UMS anymore and KMS doesn't work with radeonhd, from xorg log
i am having trouble understanding what endup being use with your strange
configuration

When I have said about disabled KMS, I meant that I was booting kernel with "nomodeset" option (if that makes sense) - 2d works just fine in this case, but 3d does not - I have to do it because of another bug: https://bugs.freedesktop.org/show_bug.cgi?id=33146
Comment 7 benderamp 2011-03-10 00:45:10 UTC
I was wrong with the comment that it does not happen with disabled kms - I have rechecked the issue when booted with nomodeset option and can see the problem.
Comment 8 Jerome Glisse 2011-03-10 09:33:40 UTC
The other bug you are mentioning is close as fixed (duplicate is fixed).

Please attach a new Xorg log now that you removed radeonhd, also attach dmesg. Do this using kms, we don't care about ums.
Comment 9 benderamp 2011-03-10 11:55:42 UTC
Created attachment 44323 [details]
Xorg.0.log with kms and without radeonhd
Comment 10 benderamp 2011-03-10 11:56:48 UTC
Created attachment 44324 [details]
dmesg with kms and without radeonhd
Comment 11 Adam Jackson 2018-06-12 19:08:33 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.