CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Linux
Discussion about CrossOver Linux

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

New customer with 2 small problems.

Hi!

I bought xover some days ago for playing World of Warcraft and Civ5. My system is running Debian Wheezy 64bit and I have 2 Monitors attached:

majo@quahog:~$ xrandr 
Screen 0: minimum 8 x 8, current 2960 x 1050, maximum 16384 x 16384
DVI-I-0 connected 1280x1024+1680+26 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   76.0     75.0     72.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3  
   640x480        75.0     72.8     59.9  
   640x350        70.1  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050      59.9*+   60.0  
   1440x900       59.9  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3     56.2  
   640x480        75.0     59.9  

The Graphics Card is a nvidia, with the prop. driver installed through apt-get.

root@quahog:~# aptitude show libgl1-nvidia-glx:i386
Package: libgl1-nvidia-glx               
New: yes
State: installed
Automatically installed: no
Multi-Arch: same
Version: 304.64-4
Priority: optional

Problem 1.)
I'm using the Steam version of Civ5, when I start it via Steam it uses my "DVI-I-0" Monitor, not the "DVI-I-3" which is set as primary device in the nvidia-settings.

Problem 2.)
I have no sound in World of Warcraft. Sound settings are set to "System Default" and 32 Channels and the system uses pulseaudio.

I appreciate any tips or help.

Brgds,
Berny

Bernhard Seiler wrote:

Problem 1.)
I'm using the Steam version of Civ5, when I start it via Steam it
uses my "DVI-I-0" Monitor, not the "DVI-I-3" which is set as primary
device in the nvidia-settings.

I'd need the output from "xrandr --verbose" to be sure, but I suspect xrandr doesn't think so. You may be able to change the primary with "xrandr --output DVI-I-3 --primary". (For normal drivers you'd set Option "Primary" "true" in the appropriate "Monitor" section of xorg.conf, but I'm not sure if the NVIDIA drivers pay any attention to that. TwinView is a pain, and their RandR implementation isn't much better.)

Promblem 1)

As an Nvidia user, the only solution to making a screen primary that I have found as stable is hooking up your screen according that what the stupid computer thinks is primary. Xorg settings are useless...

In other words, look at where the screen that is being used as primary is hooked up, then hook the screen you want primary on that port. Then set up your screen config to reflect the positions, as that works relatively well.

Problem 2)

I assume that you have pavucontrol (pulseaudio mixer) on your system. Make sure you have the right "default" output there by making all others unavailable in the config tab (i.e. turn them off).

If you have a recent Nvidia video card, you have HDMI output(s). These outputs are sometimes considered as "defaults" for the games among other things. At least, my system kept changing the sound to the HDMI for my games sound output until I turned them off in pavucontrol. The result was that sound worked great on the desktop, and wouldn't work for games as I had nothing hooked up to the HDMI. This sort of crap might be happening to you too, so it's worth checking out.

Hi Henri!

Here's the output vom xrandr --verbose.

majo@quahog:~/vid-vdr$ xrandr --verbose
Screen 0: minimum 8 x 8, current 2960 x 1050, maximum 16384 x 16384
DVI-I-0 connected 1280x1024+1680+26 (0x27c) normal (normal left inverted right x axis y axis) 376mm x 301mm
    Identifier: 0x27b
    Timestamp:  8894
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:    
    CRTC:       1
    CRTCs:      1 0
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    EDID:
        00ffffffffffff0009d18476bd070000
        1b0e01036c261e78eaa150a3574c9d25
        115054bdef80714f81908180818c0101
        010101010101302a009851002a403070
        1300782d1100001ed50980a0205e6310
        10605208782d1100001a000000fd0038
        4c1f530e000a202020202020000000fc
        0042656e51204650393337730a20008e
    SignalFormat:    VGA
        supported: VGA         
    ConnectorType:    DVI-I
    ConnectorNumber: 0 (0x00000000)
    _ConnectorLocation: 0 (0x00000000)
  1280x1024 (0x27c)  108.0MHz +HSync +VSync *current +preferred
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1280x1024 (0x27d)  141.8MHz -HSync +VSync
        h: width  1280 start 1376 end 1512 total 1744 skew    0 clock   81.3KHz
        v: height 1024 start 1025 end 1028 total 1070           clock   76.0Hz
  1280x1024 (0x27e)  135.0MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
  1280x1024 (0x27f)  132.8MHz -HSync +VSync
        h: width  1280 start 1368 end 1504 total 1728 skew    0 clock   76.8KHz
        v: height 1024 start 1025 end 1028 total 1067           clock   72.0Hz
  1152x864 (0x280)  108.0MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
        v: height  864 start  865 end  868 total  900           clock   75.0Hz
  1024x768 (0x281)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
        v: height  768 start  769 end  772 total  800           clock   75.0Hz
  1024x768 (0x282)   75.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  1024x768 (0x283)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x284)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0x285)   50.0MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0x286)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x287)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x288)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  696 total  832 skew    0 clock   37.9KHz
        v: height  480 start  481 end  484 total  520           clock   72.8Hz
  640x480 (0x289)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
  640x350 (0x28a)   25.2MHz +HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  350 start  387 end  389 total  449           clock   70.1Hz
DVI-I-1 disconnected (normal left inverted right x axis y axis)
    Identifier: 0x28b
    Timestamp:  8894
    Subpixel:   unknown
    Clones:    
    CRTCs:      1 0
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    SignalFormat:    VGA
        supported: VGA         
    ConnectorType:    DVI-I
    ConnectorNumber: 1 (0x00000001)
    _ConnectorLocation: 1 (0x00000001)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
    Identifier: 0x28c
    Timestamp:  8894
    Subpixel:   unknown
    Clones:    
    CRTCs:      1 0
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    SignalFormat:    TMDS
        supported: TMDS        
    ConnectorType:    DVI-I
    ConnectorNumber: 0 (0x00000000)
    _ConnectorLocation: 0 (0x00000000)
HDMI-0 disconnected (normal left inverted right x axis y axis)
    Identifier: 0x28d
    Timestamp:  8894
    Subpixel:   unknown
    Clones:    
    CRTCs:      1 0
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    SignalFormat:    TMDS
        supported: TMDS        
    ConnectorType:    HDMI
    ConnectorNumber: 2 (0x00000002)
    _ConnectorLocation: 2 (0x00000002)
DVI-I-3 connected 1680x1050+0+0 (0x28f) normal (normal left inverted right x axis y axis) 474mm x 296mm
    Identifier: 0x28e
    Timestamp:  8894
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:    
    CRTC:       0
    CRTCs:      1 0
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    EDID:
        00ffffffffffff001e6d6f56649e0000
        0b110103ea312078ea56b5a7573baa26
        0f5054a76b80950081808140714f0101
        0101010101017c2e90a0601a1e403020
        3600da281100001a21399030621a2740
        68b03600da281100001c000000fd0038
        4b1e530f000a202020202020000000fc
        004c323237570a2020202020202000b2
    SignalFormat:    TMDS
        supported: TMDS        
    ConnectorType:    DVI-I
    ConnectorNumber: 1 (0x00000001)
    _ConnectorLocation: 1 (0x00000001)
  1680x1050 (0x28f)  119.0MHz +HSync -VSync *current +preferred
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock   64.7KHz
        v: height 1050 start 1053 end 1059 total 1080           clock   59.9Hz
  1680x1050 (0x290)  146.2MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
  1440x900 (0x291)  106.5MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz
  1280x1024 (0x27e)  135.0MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
  1280x1024 (0x27c)  108.0MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1280x960 (0x292)  108.0MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
  1152x864 (0x280)  108.0MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
        v: height  864 start  865 end  868 total  900           clock   75.0Hz
  1024x768 (0x281)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
        v: height  768 start  769 end  772 total  800           clock   75.0Hz
  1024x768 (0x283)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x284)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0x286)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x293)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0x287)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x289)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz

I'll give that xrandr --output... a try

Thanks!

Brgds,
Berny

Hi Jean-Patrick!

I'll give the changing of the Monitors a try after I've tested the xrandr command mentioned by Henri.

Ad Prb. 2:

It was set (inGame) to HDMI Output, I'll check the settings in Pulse.

Thanks to you both for the help!

Brgds,
Berny.

Bernhard Seiler wrote:

DVI-I-0 connected 1280x1024+1680+26 (0x27c) normal (normal left inverted right x axis y axis) 376mm x 301mm
...
CRTC: 1
CRTCs: 1 0
...
DVI-I-3 connected 1680x1050+0+0 (0x28f) normal (normal left inverted right x axis y axis) 474mm x 296mm
CRTC: 0
CRTCs: 1 0
...



Yeah, it definitely thinks DVI-I-0 is the primary. (What you actually care about is the order of the CRTCs. The primary CRTC is always first in the list. In this case that's CRTC 1, and it's associated with output DVI-I-0.)

I other words, the physical changing around of the cabling is the way to go.

After years of Nvidia on Linux, I see no real change of this for some time. Xrandr just isn't useful with Nvidia at this time. I heard that will change with the next Xorg/Xrandr, but that isn't here yet. Eventually, if wayland comes of age, that also will change things I guess.

J-P Simard wrote:

I other words, the physical changing around of the cabling is the
way to go.

Hi!

I changed the cabling of the Card/Monitors:

majo@quahog:~$ xrandr --verbose | grep -E "^DVI|CRTC"
DVI-I-0 disconnected (normal left inverted right x axis y axis)
    CRTCs:      0 1
DVI-I-1 connected 1280x1024+1680+26 (0x27d) normal (normal left inverted right x axis y axis) 376mm x 301mm
    CRTC:       1
    CRTCs:      0 1
DVI-I-2 connected 1680x1050+0+0 (0x28d) normal (normal left inverted right x axis y axis) 474mm x 296mm
    CRTC:       0
    CRTCs:      0 1
    CRTCs:      0 1
DVI-I-3 disconnected (normal left inverted right x axis y axis)
    CRTCs:      0 1

But the damn Civ5 started again on the smaller (for me secondary) DVI-I-1.
I tried again the "xrandr --output DVI-I-2 --primary" but it didn't change anything.

The last thing I tried was to change the "Primary Monitor" Flag in the nvidia-settings tool, but that just changed the location of the gnome-shell bar but didn't change the behaviour of Civ5.

Brgds,
Berny.

Well at that point, maybe you'll have to do something similar to me.

You see, I have now 4 screens and two cards with xinerama, and that isn't game friendly. Xinerama isn't even compositing friendly... So, I have two Xorg configs, on with 4 screens and 2 cards for one huge display, and another for 1 screen and 2 cards in SLI. I switch between setup with scripts that I use to copy either config over the current config and then I ctrl+alt+backspace into the new config.

The scripts are basically copying 10-monitor.play or 10-monitor.game over 10-monitor.conf in /etc/X11/xorg.conf.d. As an example, the command for the gaming script goes:

gksudo cp /etc/X11/xorg.con/10-monitor.game /etc/X11/xorg.con/10.montinor.conf

I use gksudo, because X11 folders are root owned folders and I don't want to change permissions for the folder. Therefore, some kind of authentication must happen to get the rights. I place shortcuts to those scripts in my XFCE menu and use them with gnome-do for quick use.

Changing between Xorg configs makes things "complicated" because of the switching, but really simple for deciding which display is in use.

There are more complicated setups where you actually have nested Xorg servers and such, but I find that sucks resources and I like my way better.

That's how I do thing right now, I hope this helps.

Hi Jean-Patrick!

Thanks alot for your help. I tried your setup and with only 1 Monitor active and this workaround is fine, but Civ5 respond very lazy when running fullscreen.
I reconfigured the Wine Config (with the Bottle-Tool) to use a virtual Desktop where Steam starts, I started Civ5 with Steam and it works smooth and fast and I just love it.

Edit: After testing around a little I got it fullscreen on my "primary" monitor again. Just do this with the virtual Desktop, and select inGame the Resolution you want (click "Fullscreen") and it's running smooth, fullscreen on my primary desktop.

But my old enemy pulseaudio got me again: If Civ5 is started without the virtual desktop, I have perfect stutterfree sound, and in the Virtual Desktop there is just no sound at all. (It's not a big deal, but it would be nice to have that running too).

2nd Edit: I disabled the non-used Audiodevices in the Pulse-Audio-Config, just let the Creative X-FI enabled:
image

In WoW I see some of the devices from my card, but I didn't see a simple "Stereo" Output..
(please click on the link for screenshot): http://imageshack.us/photo/my-images/14/screenshotfrom201302101.png/

Maybe you got another hint for me for this audio problem ?

Thanks again for your time!

Brgs,
Berny

I solved my audio-problem too... I enabled debugging and started the Blizzard Launcher and stopped it.
The Logfile said:

ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so

so I installed libasound2-plugins:i386 and voila, it worked fine :).

Thanks alot for the support!

Brgds.

Good gaming to you then!

1 to 12 of 12

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoiODhBd2tycEhTN2VTeUF4NiIsImdkcHIiOjB9