You are not logged in.

#1 2016-10-18 13:19:27

Cain05
Member
Registered: 2016-08-11
Posts: 9

Attempt #2 trying to get Cinnamon working on laptop with Optimus

I tried this one before and gave up, but I'm stubborn and want to fix this issue and use Arch on my laptop.  What's happening is when I start Cinnamon through lightdm, it doesn't display correctly, as in it's not handling the screens properly.  If I use the function key to cycle through the display options of the laptop, I can eventually get it to show the desktop correctly.  The problem is, the next time I start the laptop I have to repeat the process, and occasionally it will break Cinnamon completely because it gets stuck trying to load the default theme.  Other distros I've tried don't have this problem, they always display correctly.  I followed the guide on setting up optimus on the wiki.  I'm fairly confident that it's because both the VGA-0 and LVDS-1 displays are active, but I can't figure out how to just display to one of them.  When I use another distro and Cinnamon, only LVDS-1 display is active.  Interestingly, when I run startx, it display correctly.  Furthermore, when I use xfce instead of Cinnamon, it still has both displays active, but at least it displays correctly without having to fiddle around with switch displays via the keyboard.  Any help would be greatly appreciated

Relevant config files and stuff:

UPDATE: It seems it displays fine when I launch Cinnamon in software rendering mode.  I guess it's a configuration issue or something within cinnamon

output from xrandr

Screen 0: minimum 8 x 8, current 1366 x 768, maximum 16384 x 16384
VGA-0 connected 1024x768+332+0 (normal left inverted right x axis y axis) 0mm x 0mm panning 1366x768+0+0
   1024x768      60.00*+
   800x600       72.19    60.32    56.25
   640x480       59.94
   512x384       60.00
   400x300       72.19
   320x240       60.05
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768      60.03*+
   1024x768      60.04    60.00
   960x720       60.00
   928x696       60.05
   896x672       60.01
   800x600       60.00    60.32    56.25
   700x525       59.98
   640x512       60.02
   640x480       60.00    59.94
   512x384       60.00
   400x300       60.32    56.34
   320x240       60.05
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
  1024x768 (0x48) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x4d) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x4e) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x52) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  512x384 (0x53) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  320x240 (0x56) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz

/etc/X11/xorg.conf

Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

/etc/lightdm/display_setup.sh (properly configured to load in /etc/lightdm/lightdm.conf

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

Last edited by Cain05 (2016-10-18 16:10:24)

Offline

Board footer

Powered by FluxBB