Bug 37522 - Blank window with 3D
Summary: Blank window with 3D
Status: RESOLVED FIXED
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-05-23 15:26 UTC by Justin Noah
Modified: 2011-06-30 03:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (60.41 KB, text/plain)
2011-05-23 15:26 UTC, Justin Noah
no flags Details
Dmesg output (68.54 KB, text/plain)
2011-05-23 15:26 UTC, Justin Noah
no flags Details
glxinfo (24.33 KB, text/plain)
2011-05-23 15:27 UTC, Justin Noah
no flags Details
viewport height has to be even (2.25 KB, patch)
2011-05-26 07:33 UTC, Alex Deucher
no flags Details | Splinter Review

Description Justin Noah 2011-05-23 15:26:25 UTC
Created attachment 47078 [details]
Xorg log

glxgears and openarena seem to be blank screens while nexuiz appears to work fine until you exit. When exiting nexuiz, the screen 'froze' if you will. I could switch to a VT, but nothing was happening in GNOME.
Comment 1 Justin Noah 2011-05-23 15:26:47 UTC
Created attachment 47079 [details]
Dmesg output
Comment 2 Justin Noah 2011-05-23 15:27:57 UTC
Created attachment 47080 [details]
glxinfo

in case this is needed.
Comment 3 Justin Noah 2011-05-23 16:09:07 UTC
I would also like to add:

Blank window with 3D if resolution is set to 1680x945, however, no matter the resolution, GNOME 3 will go into fallback mode.
Comment 4 Justin Noah 2011-05-23 16:48:00 UTC
(In reply to comment #3)
> I would also like to add:
> 
> Blank window with 3D if resolution is set to 1680x945, however, no matter the
> resolution, GNOME 3 will go into fallback mode.

Scratch that, I was in force fallback mode. GNOME 3 works at other resolutions just fine.
Comment 5 Michel Dänzer 2011-05-24 08:54:32 UTC
If you disable page flipping, does that work around any of these problems?
Comment 6 Alex Deucher 2011-05-24 10:39:40 UTC
As discussed on IRC, the issue is the 945 height of the panel.  There seems to be somewhere in the ddx or mesa where the height is not aligned properly.  The problem can be reproduced by manually setting a mode with a height of 945.  Change the mode to 1024x768 for example allows rendering to work correctly.
Comment 7 Alex Deucher 2011-05-26 07:33:27 UTC
Created attachment 47189 [details] [review]
viewport height has to be even

The viewport height has to be even for vblanks to work.  This patches fixes things for me.
Comment 8 Justin Noah 2011-05-27 04:43:26 UTC
(In reply to comment #7)
> Created an attachment (id=47189) [details]
> viewport height has to be even
> 
> The viewport height has to be even for vblanks to work.  This patches fixes
> things for me.

This works for me as well.
Comment 9 Alex Deucher 2011-05-27 07:06:22 UTC
Patch sent to Dave.  Thanks for testing.
http://lists.freedesktop.org/archives/dri-devel/2011-May/011620.html
Comment 10 Florian Mickler 2011-06-30 03:31:51 UTC
A patch referencing this bug report has been merged in Linux v3.0-rc3:

commit adcfde516e10aad72d66f6fefd36e6d0e6bd7be7
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Fri May 27 10:05:03 2011 -0400

    drm/radeon/kms: viewport height has to be even


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.