Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
issues with xfce and X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mvaterlaus
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2010
Posts: 113
Location: Switzerland

PostPosted: Tue Jun 12, 2012 1:45 pm    Post subject: issues with xfce and X Reply with quote

hi,
I now have installed xfce on my computer at work. everthing works fine, I have 2 displays of the same manufacturer and model. therefore i have configured two separate x screens, one for every display.

the clue now is, that i have the xfce panels only on the left display (which is screen 0), but i want it on both. does any one knows how this works? i searched the net but didn't found a solution when working with two separate x screens. any tips or search keywords are really appreciated.

the second issue I have, is that the displays have different resolutions and I don't know why. I do not have configured any settings for even one of the displays. Screen 0 has the dimensions 1920x1080 pixels (530x301 millimeters) and a resolution of 92x91 dots per inch. Screen 1 has the dimensions 1920x1080 pixels (650x366 millimeters) and a resolution of 75x75 dots per inch. Is there any way to change these values so both of the displays work with the same dimensions and resolutions?

Displays: Benq BL2400 (both)
Videocard: nVidia GeForce 8500 GT

[edit]
oops, i forgot to supply some more infos:
one of the monitors is connected at the dvi and the other on the vga port of the graphic card.
nvidia-drivers: 295.40
xorg-server: 1.11.4-r1
xfce-meta: 4.10
system: amd64 kernel 3.2.12
[/edit]
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 569

PostPosted: Mon Jun 18, 2012 2:01 am    Post subject: Reply with quote

8500 GT is only the chip, the graphics processor, or gpu. Who made the card
(or the motherboard if the 8500 GT is embedded on the motherboard)?
The manual from the manufacturer may be available.

Chatter on the www says dual monitors with one on dvi and the other on vga
should work, but this could vary with the card, with the motherboard, etc,
which is why having the manual would be good. (Some cards expect you to
split the one dvi output with a dvi splitter cable to use dual monitors, while
others can use both the dvi output and vga output at the same time.)

If you have a graphics controller that can drive only the dvi port *or* the vga
port, but not both at the same time, that would explain why you only have
an image on one dispay, irrespective of how software tries to direct the output.
(There are plenty of possible software reasons why only one output port
is in use, but this can be an artifact of hardware limitations, too.)
_________________
TIA
Back to top
View user's profile Send private message
mvaterlaus
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2010
Posts: 113
Location: Switzerland

PostPosted: Mon Jun 18, 2012 9:58 am    Post subject: Reply with quote

thanks for the reply.
at the moment, both monitors do work. the problem is, that they do not have the same resolutions. the following resolutions are autoconfigured by xorg:

screen 0: dimensions 1920x1080 pixels (530x301 millimeters) and a resolution of 92x91 dpi
screen 1: dimensions 1920x1080 pixels (650x366 millimeters) and a resolution of 75x75 dpi

now what i want to accomplish is, that both of the screens have the same dimensions (in millimeters) and resolution. how do i configure that? for completition, the lspci output for my video card:
Code:

# lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8500 GT] (rev a1)


this is not an onboard card. and both ports do work at the same time.
Back to top
View user's profile Send private message
mvaterlaus
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2010
Posts: 113
Location: Switzerland

PostPosted: Mon Jun 18, 2012 12:37 pm    Post subject: Reply with quote

update:
I fixed the problem with the different resolutions. I made the some changes in /usr/share/X11/xorg.conf.d/40-monitors.conf. I added the DisplaySize and Option "DPI" values to the config.
Code:

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BenQ BL2400"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
    DisplaySize      650 366
    Option      "DPI" "75 x 75"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "BenQ BL2400"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
    DisplaySize      650 366
    Option      "DPI" "75 x 75"
EndSection


now the last thing for me is to find out, how i get the xfce panels on both monitors. if someone could give me a hint on that, I would be glad.
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 569

PostPosted: Tue Jun 19, 2012 3:38 pm    Post subject: Reply with quote

The Gentoo dual monitor guide has some guidance:
http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors
_________________
TIA
Back to top
View user's profile Send private message
mvaterlaus
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2010
Posts: 113
Location: Switzerland

PostPosted: Thu Jun 21, 2012 2:20 pm    Post subject: Reply with quote

thanks for the reply,
I allready knew this guide, but it didn't helped me. I'm using the generated xorg config from the nvidia-settings tool. it launches two separate x-servers, but on the second screen there is still no panel. I don't know, how to go further from here, so other advices would be great.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2570
Location: Slovenia

PostPosted: Thu Jun 21, 2012 2:57 pm    Post subject: Reply with quote

Did you start a panel on the second screen? With separate screens you need to explicitly tell each app where it should start by using the DISPLAY variable.
Back to top
View user's profile Send private message
derk
Apprentice
Apprentice


Joined: 10 Mar 2003
Posts: 273
Location: St Thomas Ontario

PostPosted: Thu Jun 21, 2012 6:17 pm    Post subject: Reply with quote

try emerging and using arandr (a gui for xrandr) .. it will help you manage your screens (it installs under the settings menu in xfce)
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2570
Location: Slovenia

PostPosted: Thu Jun 21, 2012 6:53 pm    Post subject: Reply with quote

arandr doesn't work with nvidia. Maybe with the 302.17 driver, but definitely not with pre-3xx drivers. Also, he's using separate screens, while xrandr and twinview used a merged framebuffer.
Back to top
View user's profile Send private message
mvaterlaus
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2010
Posts: 113
Location: Switzerland

PostPosted: Mon Jun 25, 2012 7:49 am    Post subject: Reply with quote

@Gusar: if I get you right, I should do something like the "code" below in my .xinitrc
Code:

exec startxfce4 --with-ck-launch                 #starting xfce on default screen (allready in .xinitrc)
DISPLAY=:0.1 startxfce4 --with-ck-launch &      #for starting the panels on the second screen?


Sorry for the noob question, but I'm not used to having 2 separate xscreens within xfce4, since I worked on debian with gnome 2.x which made all the configs automatically.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum