On 12/17/2014 11:32 AM, Carsten Haitzler (The Rasterman) wrote: > On Wed, 17 Dec 2014 08:14:22 +0100 Sebastian Dransfeld <s...@tango.flipp.net> > said: > >> On 12/17/2014 01:43 AM, Carsten Haitzler wrote: >>> raster pushed a commit to branch master. >>> >>> http://git.enlightenment.org/core/enlightenment.git/commit/?id=43f1dc012d733fa7b24988a49400bfa01f3d2e69 >>> >>> commit 43f1dc012d733fa7b24988a49400bfa01f3d2e69 >>> Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> >>> Date: Wed Dec 17 09:33:45 2014 +0900 >>> >>> Revert "Randr: Fix null dereference." >>> This reverts commit 4aef218d28ed66e80d882f052c704d92d11c3c81. >>> >>> Revert "randr: remember crtcid for fast lookup on reconnect" >>> This reverts commit 55b4ad41d19f1e4573203bf4296356d8f991e809. >>> >>> Revert "randr: further cleanup" >>> This reverts commit 3e02824663a2d6b54a2a9ba6d5d9ab760c42aff2. >>> >>> these make nvidia randr resolution changing work again. sorry seb. >>> even though cleanups might be nice... this code is FIDDLY and every >>> driver seems to work differently, so take it easy and be very careful >>> - make no assumptions. i know it works on my intel desktop and nvidia >>> deskop atm. once i get a vga cable i'll fix up intel laptop with >>> external display that has problems. i can try radeon too later. but >>> right now - this stuff needs to work. being clean is far less >>> important than working. :) >> nvidia sucks :) > yeah. but sorry - had to do this. it made it work again. :) >
I guess the main problem should be in _e_randr_output_crtc_find if you cannot turn off and on monitors. Maybe the nvidia drivers don't provide the output/crtc mapping stuff, and the user must just select one crtc? It seems the main difference you add is the looping of the crtcs and just use the first available for output. I have a laptop with two hdmi monitors and intel gfx. dock/undock, open/close lid, on off monitors, moving. All works if I get _my_ code :) So since it seems like nvidia sucks I would be very happy if you could find out what it does not provide so we can fix it so all are happy. Sebastian ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel