Re: [PATCH xf86-video-amdgpu] extend conditional group GBM_BO_USE_LINEAR over both usages

2015-05-17 Thread Michel Dänzer
On 17.05.2015 05:00, Brian Paterni wrote:
> Fixes 'GBM_BO_USE_LINEAR' undeclared error when compiling against older
> libgbm
> 
> Signed-off-by: Brian Paterni 
> ---
>  src/amdgpu_bo_helper.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/amdgpu_bo_helper.c b/src/amdgpu_bo_helper.c
> index e4f30f1..1de2a0a 100644
> --- a/src/amdgpu_bo_helper.c
> +++ b/src/amdgpu_bo_helper.c
> @@ -75,13 +75,13 @@ struct amdgpu_buffer *amdgpu_alloc_pixmap_bo(ScrnInfoPtr 
> pScrn, int width,
>   if ( bitsPerPixel == pScrn->bitsPerPixel)
>   bo_use |= GBM_BO_USE_SCANOUT;
>  
> +#ifdef GBM_BO_USE_LINEAR
>  #ifdef CREATE_PIXMAP_USAGE_SHARED
>   if (usage_hint == CREATE_PIXMAP_USAGE_SHARED) {
>   bo_use |= GBM_BO_USE_LINEAR;
>   }
>  #endif
>  
> -#ifdef GBM_BO_USE_LINEAR
>   if (usage_hint & AMDGPU_CREATE_PIXMAP_LINEAR) {
>   bo_use |= GBM_BO_USE_LINEAR;
>   }
> 

Reviewed and applied, thanks!


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 90474] ATI Mobility Radeon HD 2700 seems no more supported

2015-05-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90474

--- Comment #3 from Michel Dänzer  ---
Does it work without xorg.conf?

Which version of Xorg were you using before?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Bug#785448: xserver-xorg-video-ati: Screen is badly tinged with green when using the open source driver

2015-05-17 Thread Michel Dänzer
On 16.05.2015 21:21, Owen Riddy wrote:
> Package: xserver-xorg-video-ati
> Version: 1:7.5.0-1+b1
> Severity: important
> 
> Dear Maintainer,
> 
> I'm using the open source ati graphics with a 3-screen setup. After upgrading 
> to unstable after the release of Jessie everything ran without issue.
> 
> I booted into a seperate install of Jessie on the same computer that had 
> flgrx installed, and after rebooting into unstable one of the screens 
> (connected by a HDMI cable) has acquired a distinct green tinge that obscures 
> whatever the screen is trying to show. It is a sort of neon green.
> 
> This image is a graphical corruption bug - I took a screenshot using 
> ksnapshot and on my other two screens the image dispaled withouth the green 
> tinge.
> 
> The tinge is not present:
>   * In the BIOS
>   * When GRUB is active
>   * Early in the boot process when the kernel is still printing text
>   * On a separate Debian install on the same hardware, using fglrx
> 
> I tried changing the gamma settings of the screen and poking at the backlight 
> settings but this did not help. Changing the gamma made a very slight 
> difference but the tinge does nto seem to be caused by a rogue gamma setting.
> 
> At some points during, eg, shutdown my screens go blank - usually this is 
> black but at present the green tinged screen goes straight green.

It sounds like there might be a problem with the physical display
connection. Have you checked the connector seating at both ends, maybe
unplugging and re-plugging them, or even using a different cable?


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH xf86-video-amdgpu] extend conditional group GBM_BO_USE_LINEAR over both usages

2015-05-17 Thread Brian Paterni
Fixes 'GBM_BO_USE_LINEAR' undeclared error when compiling against older
libgbm

Signed-off-by: Brian Paterni 
---
 src/amdgpu_bo_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amdgpu_bo_helper.c b/src/amdgpu_bo_helper.c
index e4f30f1..1de2a0a 100644
--- a/src/amdgpu_bo_helper.c
+++ b/src/amdgpu_bo_helper.c
@@ -75,13 +75,13 @@ struct amdgpu_buffer *amdgpu_alloc_pixmap_bo(ScrnInfoPtr 
pScrn, int width,
if ( bitsPerPixel == pScrn->bitsPerPixel)
bo_use |= GBM_BO_USE_SCANOUT;
 
+#ifdef GBM_BO_USE_LINEAR
 #ifdef CREATE_PIXMAP_USAGE_SHARED
if (usage_hint == CREATE_PIXMAP_USAGE_SHARED) {
bo_use |= GBM_BO_USE_LINEAR;
}
 #endif
 
-#ifdef GBM_BO_USE_LINEAR
if (usage_hint & AMDGPU_CREATE_PIXMAP_LINEAR) {
bo_use |= GBM_BO_USE_LINEAR;
}
-- 
2.1.4

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Bug#785448: xserver-xorg-video-ati: Screen is badly tinged with green when using the open source driver

2015-05-17 Thread Owen Riddy
Package: xserver-xorg-video-ati
Version: 1:7.5.0-1+b1
Severity: important

Dear Maintainer,

I'm using the open source ati graphics with a 3-screen setup. After upgrading 
to unstable after the release of Jessie everything ran without issue.

I booted into a seperate install of Jessie on the same computer that had flgrx 
installed, and after rebooting into unstable one of the screens (connected by a 
HDMI cable) has acquired a distinct green tinge that obscures whatever the 
screen is trying to show. It is a sort of neon green.

This image is a graphical corruption bug - I took a screenshot using ksnapshot 
and on my other two screens the image dispaled withouth the green tinge.

The tinge is not present:
  * In the BIOS
  * When GRUB is active
  * Early in the boot process when the kernel is still printing text
  * On a separate Debian install on the same hardware, using fglrx

I tried changing the gamma settings of the screen and poking at the backlight 
settings but this did not help. Changing the gamma made a very slight 
difference but the tinge does nto seem to be caused by a rogue gamma setting.

At some points during, eg, shutdown my screens go blank - usually this is black 
but at present the green tinged screen goes straight green.

I can't test it because it will not go away, but I think this problem was 
caused by using the card with fglrx then restarting the computer.

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Jun 17  2014 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 2384712 May  5 09:24 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X] [1002:683d]

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.0.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 4.9.2 
(Debian 4.9.2-16) ) #1 SMP Debian 4.0.2-1 (2015-05-11)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 72560 May 16 21:35 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[ 2.955] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[ 2.956] X Protocol Version 11, Revision 0
[ 2.956] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 2.956] Current Operating System: Linux cyclone 4.0.0-1-amd64 #1 SMP 
Debian 4.0.2-1 (2015-05-11) x86_64
[ 2.956] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.0.0-1-amd64 
root=UUID=b83e383f-49aa-4f43-bf09-93f7238eff15 ro quiet
[ 2.956] Build Date: 04 May 2015  11:22:06PM
[ 2.956] xorg-server 2:1.17.1-2 (http://www.debian.org/support) 
[ 2.956] Current version of pixman: 0.32.6
[ 2.956]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2.956] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2.956] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 16 21:35:12 
2015
[ 2.961] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 2.965] (==) No Layout section.  Using the first Screen section.
[ 2.965] (==) No screen section available. Using defaults.
[ 2.965] (**) |-->Screen "Default Screen Section" (0)
[ 2.965] (**) |   |-->Monitor ""
[ 2.965] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 2.965] (==) Automatically adding devices
[ 2.965] (==) Automatically enabling devices
[ 2.965] (==) Automatically adding GPU devices
[ 2.967] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 2.967]Entry deleted from font path.
[ 2.967] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 2.967]Entry deleted from font path.
[ 2.967] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 2.967]Entry deleted from font path.
[ 2.969] (WW) `fonts.dir' not found (or not valid) in 
"/usr/share/fonts/X11/Type1".
[ 2.969]Entry deleted from font path.
[ 2.969](Run 'mkfontdir' on "/usr/share/fonts/X11/Type1").
[ 2.969] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 2.969]Entry deleted from font path.
[ 2.969] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 2.969]Entry deleted from font path.
[ 2.969] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 2.969] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 2.969] (II) The serve