LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-12-2007, 12:21 AM   #1
punker22
Member
 
Registered: Sep 2003
Location: Tucson
Distribution: Fedora
Posts: 64

Rep: Reputation: 15
X.org Xinerama and RandR *sigh*


Well Xinerama worked nicely up until the new version of Xorg I assume with the built in RandR support. Xinearama is supposed to disable it. Well it does not at least on my default install and telling it to disable doesn't do a thing. So now I'm running on cloned monitors instead of xinearama... anyone else having a issue like this?

Here is the error:
Code:
(II) RADEON(1): RandR 1.2 enabled, ignore the following RandR disabled message.

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x81) [0x80cdee1]
1: [0x110420]
2: /usr/bin/X(RRCrtcSetRotations+0x9) [0x81678a9]
3: /usr/bin/X(xf86RandR12SetRotations+0x6b) [0x80f893b]
4: /usr/bin/X(xf86CrtcScreenInit+0x9e) [0x80f35ae]
5: /usr/lib/xorg/modules//drivers/radeon_drv.so(RADEONScreenInit+0x17cd) [0x3bb31d]
6: /usr/bin/X(AddScreen+0x1ee) [0x806fb7e]
7: /usr/bin/X(InitOutput+0x225) [0x80a2b65]
8: /usr/bin/X(main+0x27b) [0x807032b]
9: /lib/libc.so.6(__libc_start_main+0xe0) [0x7c2390]
10: /usr/bin/X(FontFileCompleteXLFD+0x1f1) [0x806f831]

Fatal server error:
Caught signal 11.  Server aborting

(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x000010a0, 0x000010a0)
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x000010c4, 0x000010c4)
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x000010d4, 0x000010d4)
disable montype: 1
disable montype: 0
(II) RADEON(1): RADEONRestoreMemMapRegisters() :
(II) RADEON(1):   MC_FB_LOCATION   : 0x1fff0000
(II) RADEON(1):   MC_AGP_LOCATION  : 0x27ff2000
finished PLL2
finished PLL1
Entering Restore TV
Restore TV PLL
Restore TVHV
Restore TV Restarts
Restore Timing Tables
Restore TV standard
Leaving Restore TV
if I set it to Clone "on" it works fine.. *sigh*
 
Old 12-31-2007, 07:29 AM   #2
sieira
Member
 
Registered: Dec 2007
Location: Alcalá de Henares (Madrid)
Distribution: Debian
Posts: 40

Rep: Reputation: 16
I'm suffering the same issue than you, I posted it at esDebian (Spanish debian forums).

//This link will redirect you to the specific thread

Last two replies are mine, thread is in Spanish, If you want me to translate it for you, just ask me to do so.

I've just registered, and I didn't read forums rules yet, my apologies if I shoud have post my replies from the other forum here instead of linking them.

I hope this will help both of us, I have a terrible headache because of the dual-head, sorry about my Tarzanian english.

Last edited by sieira; 12-31-2007 at 07:32 AM. Reason: links weren't written properly
 
Old 12-31-2007, 08:23 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Hi, can you post your xorg.conf.
 
Old 12-31-2007, 10:13 AM   #4
sieira
Member
 
Registered: Dec 2007
Location: Alcalá de Henares (Madrid)
Distribution: Debian
Posts: 40

Rep: Reputation: 16
I solved my problem, I posted my sollution in esDebian, i'll try to translate it here:

______________________

I've found the sollution (i guess):

I've find this article, and it says that xinerama is now useless to manage dual-head mode on intel i810, you should use xrandr instead (you knew that, i didn't :-p)

After configuring things as I wanted (more or less), and checked that it worked, i changed my xorg.conf till it was like this:

Code:
Section "Files"
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/share/fonts/X11/75dpi"
EndSection

Section "Extensions"
#	Option	"Composite" "Enable"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
	Load	"dbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Monitor"
	Identifier	"Internal LCD"
	Option		"DPMS"
	HorizSync	30-63
	VertRefresh	50-75
EndSection

Section "Monitor"
	Identifier	"External CRT"
	Option		"DPMS"
	HorizSync	30-83
	VertRefresh	55-75
EndSection

Section "Device"
	Identifier	"Intel"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option		"MonitorLayout" "CRT"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device "Intel"
	Monitor "External CRT"
	DefaultDepth 24
	SubSection "Display"
		Depth 24
			Modes "1280x1024" "1024x768" "800x600"
			Virtual	2560 1600 #Tamaño máximo de escritorio para xrandr
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection
As you can see, I've included both Monitors, but only one Screen, I've ordered this Screen to use the external CRT monitor, and wrote a supported modes list. When I tried to do this using the internal one, I couldn't reach the resollution I wanted in the other one).

Then I started with xrandr

Code:
$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2560 x 1600
VGA connected 1280x1024+0+0 (normal left inverted right) 338mm x 270mm
   1280x1024      60.0*+
   1024x768       70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     60.0
   720x400        70.1
LVDS connected 1024x768+0+0 (normal left inverted right) 0mm x 0mm
   1024x768       60.1*+   85.0     75.0     70.1     60.0
   832x624        74.6
   800x600        85.1     72.2     75.0     60.3     56.2
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TMDS disconnected (normal left inverted right)
then i wrote

Code:
$ xrandr --output VGA --right-of LVDS
Y POR FIN! I did it.

you have an screenshot here

http://imageupload.com/out.php/i59829_hehe.png

I do still have some problems, like how to set this stuff up at boot time, but I hope to learn how to easily.

Unfortunately, I don't know if this will help punker who is using an ATI card...


P.D: I've seen it right now, xrandr automatically modified my xorg.conf, so now it's not like I posted before, writing it like this gave me the option to use xrandr properly, perhaps you'll not need to change it at all, but just use xrandr options

Last edited by sieira; 12-31-2007 at 10:31 AM.
 
Old 01-11-2008, 09:28 AM   #5
choser
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Newer xorg.conf is completely different.

I feel I must mention my experiences here. I know you guys got it working, but just in case some google search turns this up, this may help someone.

I had my i810 driver-based Intel 915GM laptop working with dual head and xinerama (but not with DRI at the same time) before, but after some upgrades it no longer worked. This is because X.org has completely changed things, and your xorg.conf should be completely different. New intel driver, new settings, everything.

Basically, with Debian at least, an upgrade will keep your same xorg.conf even if the software changes and needs a completely different setup. Well, since x.org has completely changed, and I would recommend starting anew.

I backed up my xorg.conf file, and ran:

dpkg-reconfigure -phigh xserver-xorg

It will save your existing xorg.conf if you did not. But this will start you with a new xorg.conf after asking a few basic questions. Other distributions should have a basic way to redo this file.

Thing to note is that a lot of the xorg stuff isn't needed any more. Mine is so simple now, simpler than it has been in years. The entire "files" section is gone, no longer needed, as is the modules/plugins section whatever it was. There is only one monitor section (even though I have two), and it is only two lines. Resolution and timing information is read on the fly and calculated by X, you don't need to set it manually. If you ever may randomly connect a monitor, I would recommend doing it this way. (On a laptop, you never know when you may have to connect to a projector). No worries about if the monitor will work or not, so long as it isn't ancient, a monitor has EDID information about what its size and preferred refresh and supported resolutions are. Using xrandr you can see most of this, also the info is in your X logs.

The ServerLayout now is simple, no information on how the screen works there. The *ONE* line you have to add to get multi head working is to the subsection "Display" under "Screen":

Code:
Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1280x1024" "1280x800"
                Virtual         2048 2048
        EndSubSection
EndSection
Notice that there no longer are dozens of resolution and color modes. I added "1280x800" to that, uncertain if that even really matters. This sets the maximum space for x to be a 2048x2048 square, which your screens will then use. (It should be as small as you think you will need. I may hook this into a 1920x1200 screen somewhere, so I just set this to the max.) Then using the xrandr tool you set what you need. Note that you no longer need to use the "i810" driver. Intel has released a good open source driver that supports everyone, so the "intel" driver works and works better now for cards going back to the i830. 915GM users now better off using "intel" driver.

The one thing is that for the 915GM at least, I have a 1280x800 laptop and an external 1280x1024 LCD on VGA. Width wise, that would be 2560 together. This is greater than 2048 width we set with the 2048x2048 Virtual setting, the maximum resolution supported for using xrandr/multihead and DRI at the same time. In order to use both together, I tell xrandr to put my external monitor "below" the laptop, even though it is physically to the right. So it is a bit odd. But it works. Multihead, and DRI, Compiz Fusion, "Xinerama"-like window dragging (xinerama itself isn't being used any more), all working together. If you don't use DRI and want the screens to properly be side by side, you can do it. (Virtual 2560 1024) I think the limitation for this is in hardware, not the driver or Linux related. The old i810 driver could not do Xinerama and DRI at the same time either. At least now it is possible. The syntax for the command is simple:

xrandr --output LVDS --auto --output VGA --auto --below LVDS

That I run after I start. If you don't want to type this every time, you should be able to put it in your .xinitrc file. I just put it into /etc/X11/xinit/xinitrc global file so that all users can see it. But I haven't restarted x yet (rare occurrence) to see if it works there (I don't know if global xinitrc runs as the user or as root, I'll see). The only thing here of course is that when I remove the monitor, or when I restart the laptop without it, it may still make a second screen that I can't see. Or not, maybe it is smart enough not to use it with the --auto flag. I'll find out.

I am hoping that this is a stepping stone to making multi monitors a breeze. It seems like such a challenge. I have not tried on a mac (I bet it is simple), but it definitely sucks on the few Windows laptops (how often does a projector not work with someone at a meeting or in a classroom?). Once fully realized, I bet we will have daemons that constantly appropriate the screen. Imagine plugging a monitor in, and your desktop extends to it. Turn it off, and the windows that were on it move onto your remaining screen. Plug in a projector, and bam it works and you can drag whatever program to it to use it. I think this will happen soon and it is exciting to see X progress as it is.

Hope some of this info/opinion helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reflection without RandR? thepr0fess0r Linux - General 3 04-12-2005 07:35 AM
xinerama and non-xinerama displays edgood1 Linux - Software 0 04-02-2005 03:08 PM
RANDR and ATI radeon 9600XT Darthdan Linux - Hardware 0 10-12-2004 08:44 AM
RANDR problem with ATI 9600XT Darthdan Linux - Newbie 0 10-11-2004 02:10 PM
Sigh* FuLL-On-Newbie Linux - General 2 03-28-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration