Disabling EXA

2011-11-26 Thread Christoph Bartoschek

Hi,

how can I disable EXA and use XAA? I am on opensuse and added the 
following section to /etc/X11/xorg.conf.d/50-device.conf:


Section Device
  Option AccelMethod xaa
  Identifier Default Device
EndSection

Xorg reads the file because it says in its logfile:

[21.481] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[21.481] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 
bpp pixmaps)

[21.481] (==) RADEON(0): Default visual is TrueColor
[21.481] (**) RADEON(0): Option AccelMethod xaa
[21.481] (==) RADEON(0): RGB weight 888
[21.481] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[21.481] (--) RADEON(0): Chipset: ATI Radeon Mobility X300 (M22) 
5460 (PCIE) (ChipID = 0x5460)

[21.481] (II) RADEON(0): PCIE card detected

But EXA is still used:

[21.481] (II) Loading sub module exa
[21.481] (II) LoadModule: exa
[21.482] (II) Loading /usr/lib/xorg/modules/libexa.so
[21.488] (II) Module exa: vendor=X.Org Foundation
[21.488]compiled for 1.10.4, module version = 2.5.0
...
[21.575] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
...
[21.635] (II) RADEON(0): Setting EXA maxPitchBytes
[21.635] (II) EXA(0): Driver allocated offscreen pixmaps
[21.635] (II) EXA(0): Driver registered support for the following 
operations:

[21.635] (II) Solid
[21.635] (II) Copy
[21.635] (II) Composite (RENDER acceleration)
[21.635] (II) UploadToScreen
[21.635] (II) DownloadFromScreen


How can I disable EXA and use XAA?. I suspect EXA to be responsible for 
a huge performance regression.


Thanks
Christoph
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


hdmi output not detected by xrandr

2011-11-26 Thread sashan
Hi

I'm trying to figure out why the external hdmi output on my laptop doesn't work
but am not sure where the problem is or if this is the right mailing list. I've
posted on distribution specific forums asking the same question but there hasn't
been any response that leads to a fix. As far as understand xrandr should be
able to detect an external monitor irrespective of what is in the xorg.conf
file.

This is the output from xrandr when the monitor is connected to the laptop over
the hdmi cable:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm 
x 193mm
   1920x1080  60.0*+   40.0 
   1400x1050  60.0 
   1280x1024  60.0 
   1280x960   60.0 
   1024x768   60.0 
   800x60060.3 56.2 
   640x48059.9 
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Only the laptop's display is detected. 

The vga controllers on the laptop are:

01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1) 
(prog-if 00 [VGA controller])
Subsystem: Dell Device 0446
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f000 (32-bit, non-prefetchable) [size=16M]
Memory at c000 (64-bit, prefetchable) [size=256M]
Memory at d000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at f100 [disabled] [size=512K]
Capabilities: access denied
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau00:02.0 VGA compatible controller:

Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0446
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at f140 (64-bit, non-prefetchable) [size=4M]
Memory at e000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at unassigned [disabled]
Capabilities: access denied
Kernel driver in use: i915
Kernel modules: i915

Any pointers about the correct diagnoistic path to take would be great.

Thanks

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: hdmi output not detected by xrandr

2011-11-26 Thread Keith Packard
On Sun, 27 Nov 2011 16:01:52 +1100, sashan sas...@zenskg.net wrote:
 Hi
 
 I'm trying to figure out why the external hdmi output on my laptop doesn't 
 work
 but am not sure where the problem is or if this is the right mailing
 list.

I'd bet money that the hdmi connector is only hooked up to the nVidia
device, which means you'd have to use that one to display anything over
that connector.

-- 
keith.pack...@intel.com


pgpO0ePXw16ja.pgp
Description: PGP signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: hdmi output not detected by xrandr

2011-11-26 Thread sashan
On Sat Nov 26 22:13:49 2011, Keith Packard wrote:
 On Sun, 27 Nov 2011 16:01:52 +1100, sashan sas...@zenskg.net wrote:
  Hi
  
  I'm trying to figure out why the external hdmi output on my laptop doesn't 
  work
  but am not sure where the problem is or if this is the right mailing
  list.
 
 I'd bet money that the hdmi connector is only hooked up to the nVidia
 device, which means you'd have to use that one to display anything over
 that connector.
 

Yeah that might be the case but the document
http://www.nvidia.com/object/LO_optimus_whitepapers.html about nvidia optimus
basically says that the datapath to the physical monitor is always through the
Intel IGP and then the IGP is responsible for writing to the display. The
nVidia chip is between the application and the IGP, therefore I expected that
the IGP would be connected to the HDMI port. However I'm probably wrong and
would appreciate if you or someone could clarify my understanding about how this
is meant to work.

The laptop is a Dell XPS 15z
(http://reviews.cnet.com/laptops/dell-xps-15z/4507-3121_7-34714594.html)


___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com