← Back to team overview

graphics-drivers-testers team mailing list archive

Re: Trouble with nvidia-370 / nvidia-375 and startx?


To be more precise, here's the workaround I scripted:

    if ! test -f /etc/X11/Xwrapper.config
        apt-get install -y xserver-xorg-legacy
    if ! grep "needs_root_rights = yes" /etc/X11/Xwrapper.config
        cat > lines.txt.tmp <<_EOF_
allowed_users = anybody
needs_root_rights = yes
        cat lines.txt.tmp >> /etc/X11/Xwrapper.config

I need that fragment in different situations, not just with
nvidia-370+ and startx, but also
with intel and amd drivers when running X servers inside lxc containers.
So I'm glad they left this escape hatch behind when they switched to
non-setuid X!

On Fri, Dec 2, 2016 at 2:37 PM, Dan Kegel <dank@xxxxxxxxx> wrote:
> Turns out 370 and up need setuid root again, so installing
> xserver-xorg-legacy works around the problem.
> Seems like a bug somehow...?
> On Tue, Nov 22, 2016 at 7:32 PM, Dan Kegel <dank@xxxxxxxxx> wrote:
>> 367 works great for me.
>> It's the newer ones in the ppa that give me black screens, and only with startx.
>> Guess I'll try to test on a few more machines.
>> On Tue, Nov 22, 2016 at 6:55 PM, Tuomas Lähteenmäki <lahtis@xxxxxxxxx> wrote:
>>> 23.11.2016, 02:29, Dan Kegel kirjoitti:
>>>> Hi!
>>>> I've been using nvidia-370 from the graphics-drivers ppa
>>>> happily for some time with various cards and ubuntu 16.04;
>>>> I start a simple graphics environment with
>>>>    systemctl start multi-user.target
>>>>    startx
>>>> and it's happy.
>>>> But lately with either 370 or 375, I'm seeing startx just leave me with a black
>>>> screen, using a gtx 1060 card.  367 works fine.  This will probably make
>>>> it hard to use the bigger gtx 1050 cards, which I think require the
>>>> newer driver.
>>>> It's probably user error, but just in case, has anyone else had trouble
>>>> with startx and newer drivers?
>>> Hi!
>>> Im using nvidia-367 (367.57 closed drivers) from graphics-drivers ppa,
>>> it is working great. The last time I used phoronix-test-suite program
>>> (new version of phoronix site). A single program would crash. I do not
>>> remember now what. And I saw a small stability problems. The letters on
>>> the screen and the pictures seemed to be going blur. The problem was
>>> pretty much the same as NVIDIA 349.12, 346.47 and 346.35 drivers.
>>> Rebooting the machine fixed the problem.
>>> Im using NVIDIA GeFORCE GTX 770 with Ubuntu 16.04 LTS
>>> lahtis