You are not logged in.

#1 2016-08-01 13:49:06

Ehrax
Member
Registered: 2016-08-01
Posts: 2

[solved] i3 is bugging with xrandr

Hey guys,

So i kind of decided to reinstall arch linux, everything worked fine,
until ill plugged my notebook into a second display and tried to configure it
with arandr!

So thats how it looks like:

i3 bug

command generated from arandr

xrandr --output HDMI1 --mode 2560x1440 --pos 0x0 --rotate normal --output VIRTUAL1 --off --output eDP1 --mode 1366x768 --pos 520x1440 --rotate normal

First i thought i failed to install the correct gpu driver,
but using gnome and xfce4 with a second montir is working without problems.

So i guess my gpu driver is working.

Secondly i thought its a bug with i3-gaps, tried to install i3 still the same bug.

Then i tried just using xrandr wihout auto generated command:

xrandr --output HDMI1 --auto --left of eDP1

xrandr output:

Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 290mm x 160mm
   1366x768      60.02*+
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
HDMI1 connected (normal left inverted right x axis y axis)
   2560x1440     59.95 +
   2048x1152     60.00  
   1920x1200     59.95  
   1920x1080     60.00    60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1200x960      59.99  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y 

if you need my xorg output just say it smile

Thanks a lot guys smile

Last edited by Ehrax (2016-08-02 11:02:13)

Offline

#2 2016-08-02 10:15:49

dkao
Member
Registered: 2013-02-01
Posts: 7

Re: [solved] i3 is bugging with xrandr

Do you happen to have a combination of: xf86-video-intel (running with newly default DRI3) + compton --backend glx?

Offline

#3 2016-08-02 10:37:40

Ehrax
Member
Registered: 2016-08-01
Posts: 2

Re: [solved] i3 is bugging with xrandr

yeah i am running xf86-video-intel with compton as backend and it breaks me everything! I have disabled compton and now its working, 

is there a possible solution to fix this problem without to disable compton?

thanks a lot!

Last edited by Ehrax (2016-08-02 10:39:38)

Offline

#4 2016-08-02 19:16:39

dkao
Member
Registered: 2013-02-01
Posts: 7

Re: [solved] i3 is bugging with xrandr

You can either fallback to DRI2 as the post install message suggests:

>>> This driver now uses DRI3 as the default Direct Rendering
    Infrastructure. You can try falling back to DRI2 if you run
    into trouble. To do so, save a file with the following 
    content as /etc/X11/xorg.conf.d/20-intel.conf :
      Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "DRI" "2"             # DRI3 is now default 
        #Option      "AccelMethod"  "sna" # default
        #Option      "AccelMethod"  "uxa" # fallback
      EndSection

Or try compton's xrender backend.
I didn't notice tearing with:

compton --backend xrender --vsync drm --unredir-if-possible --xrender-sync-fence

Or if, like me, you were using compton only to get rid of video tearing. You could consider switching to xf86-video-modesetting and leave compton disabled.

Last edited by dkao (2016-08-02 19:31:26)

Offline

Board footer

Powered by FluxBB