You are not logged in.

#1 2015-02-15 11:03:21

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

xorg-server conflicting with modesetting

A couple of days ago I finally managed to get the x server to run on the dedicated nvidia GPU by using this wiki guide:
https://wiki.archlinux.org/index.php/NV … ing_nvidia which suggested, among others, that I install xf86-video-modesetting

Now after running the update it notified me that xorg conflicted with that very package, which had to be removed. I updated nonetheless, and now the x-server won't run via nvidia, just the intergrated intel card. Is there a workaround for this ? I'd like to only use the nVidia card, and there is no option in BIOS to disable the integrated GPU.

Here is the thread with the initial problem: https://bbs.archlinux.org/viewtopic.php?id=193597

EDIT: Related report here: https://bugs.archlinux.org/task/43830?p … &sort=desc

Last edited by Dalian (2015-02-16 00:56:54)

Offline

#2 2015-02-15 12:18:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 23,482
Website

Re: xorg-server conflicting with modesetting

Those packages do not conflict - something else must have gone wrong in your update.  Please post the actal error messages.

What happens when you try to reinstall the xf86-video-modesetting?

EDIT: oops - my appologies.  I just updated now and after syncing my databases I realized that xf86-video-modesetting has been removed from the repos and dropped to the AUR and the current AUR package does require the older xorg-server package.  This all seems to have occurred over the past several hours, so there will likely need to be many revisions to the wiki.  I suspect there has been mailing list activity on the topic (edit: though I'm no finding any).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-02-15 12:42:36

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: xorg-server conflicting with modesetting

Same problem here after update. modesettings gets removed because of the new xorg-server. Then the nVidia only setup doesn;t work because the xrandr line using "modesetting" no longer works. xorg-server and xorg-server-common downgrading and re-adding xf86-video-modesetting fixes the issue.

So far I have not found the problem, but the upgrade does kill using nVidia only setup from the Optimus page of the Wiki.


Matt

"It is very difficult to educate the educated."

Offline

#4 2015-02-15 13:11:18

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 291

Re: xorg-server conflicting with modesetting

Trilby wrote:

Those packages do not conflict - something else must have gone wrong in your update.  Please post the actal error messages.

What happens when you try to reinstall the xf86-video-modesetting?

xf86-video-modessting is now part of xorg-server package, following upstream

Offline

#5 2015-02-15 13:46:12

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,252

Re: xorg-server conflicting with modesetting

The only thing I'm seeing is that kalu is reporting this for x86_64, but when I do an update it isn't there yet.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2015-02-15 14:07:13

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: xorg-server conflicting with modesetting

mrunion wrote:

Same problem here after update. modesettings gets removed because of the new xorg-server. Then the nVidia only setup doesn;t work because the xrandr line using "modesetting" no longer works. xorg-server and xorg-server-common downgrading and re-adding xf86-video-modesetting fixes the issue.

So far I have not found the problem, but the upgrade does kill using nVidia only setup from the Optimus page of the Wiki.

Does removing the driver line help ?

EDIT:  Apparently it's not working because it crashes. The backtrace shows both modesetting and nvidia libraries, so I guess there is a bug in xorg or nvidia drivers.

Last edited by AnAkkk (2015-02-15 15:11:41)

Offline

#7 2015-02-15 15:57:10

antsunrise
Member
Registered: 2014-12-19
Posts: 26

Re: xorg-server conflicting with modesetting

Ah. I installed some catalyst drivers and now it's sort of impossible for me to update. Had to take apart whole system to do so. Think I may do a reinstall today.

Offline

#8 2015-02-15 17:50:34

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

Re: xorg-server conflicting with modesetting

I personally settled to running xorg on the integrated card and using bumblebee for certain apps, adding launch rules. I suggest everybody do the same if possible, the modesetting workaround seems to be too troublesome.

Offline

#9 2015-02-15 17:52:49

smithw
Member
Registered: 2014-05-10
Posts: 18

Re: xorg-server conflicting with modesetting

Bumblebee, last time I checked, doesn't get near the same performance as using the modesetting workaround. In the two separate systems I tested, using the discrete cards with Bumblebee actually had worse performance (at least on glxspheres) than using the integrated cards.

Offline

#10 2015-02-15 18:09:24

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: xorg-server conflicting with modesetting

smithw wrote:

Bumblebee, last time I checked, doesn't get near the same performance as using the modesetting workaround. In the two separate systems I tested, using the discrete cards with Bumblebee actually had worse performance (at least on glxspheres) than using the integrated cards.

That's normal, you shouldn't use glxspheres/glxgears to mesure performance with bumblebee (or at all, maybe). If you test in a game you will see that the performance is much higher with the nvidia card.

Offline

#11 2015-02-15 18:35:10

kabads
Member
Registered: 2012-09-22
Posts: 267
Website

Re: xorg-server conflicting with modesetting

I'm guessing that there is something wrong in the config here. I used to use the modesetting in my xorg.conf - but that now has changed. If someone has worked out a workaround so the config could reflect. If I get time, I'll post the relevant part of my xorg.conf which should need changing. (But, as I said - this is all guess work - here be dragons).

Last edited by kabads (2015-02-15 22:01:39)

Offline

#12 2015-02-15 18:44:27

kabads
Member
Registered: 2012-09-22
Posts: 267
Website

Re: xorg-server conflicting with modesetting

My Xorg is crashing with Segmentation Fault at address 0x0

Should this xorg.conf file work with the new modsetting moving to the xorg package itself?

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    # e.g. BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Offline

#13 2015-02-15 21:02:13

AnAkkk
Member
Registered: 2014-03-03
Posts: 148

Re: xorg-server conflicting with modesetting

kabads wrote:

My Xorg is crashing with Segmentation Fault at address 0x0

Should this xorg.conf file work with the new modsetting moving to the xorg package itself?

There is no reason why it shouldn't. It just isn't normal that it crashes. I have tried to set "intel" instead of "modesetting" (that used to work IIRC), but it doesn't seem to work either now.

EDIT: Seems related:
https://bugs.archlinux.org/task/43830?p … &sort=desc

Last edited by AnAkkk (2015-02-15 21:11:52)

Offline

#14 2015-02-15 22:13:58

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

Re: xorg-server conflicting with modesetting

smithw wrote:

Bumblebee, last time I checked, doesn't get near the same performance as using the modesetting workaround. In the two separate systems I tested, using the discrete cards with Bumblebee actually had worse performance (at least on glxspheres) than using the integrated cards.

The only application I ran with both modesetting and bumblebee was the Interstellar Marines game (I run steam with primusrun so all the games are automatically run on the discrete GPU). I got the exact same amounts of fps for it with different resolutions on bumblebee as I did when I ran the whole thing with nvidia through modesetting. If anything, it seems more natural to use the integrated graphics for less-demanding applications, while using the dedicated GPU for games and others.

Last edited by Dalian (2015-02-15 22:14:13)

Offline

#15 2015-02-16 01:22:25

hal9king
Member
Registered: 2015-02-16
Posts: 3

Re: xorg-server conflicting with modesetting

nice to know I'm not the only one having problems with this upgrade.  In my case I had tcp -nolisten diabled for remote use of a server -- now after upgrade 'tcp listen' no longer works.  This upgrade is BAD!

Offline

#16 2015-02-16 01:24:38

verona007
Member
Registered: 2015-02-16
Posts: 3

Re: xorg-server conflicting with modesetting

Hy!

I have a Lenovo Z50-70 laptop vith Optimus graphics.

Two days ago, I can successfully get to work my machine with this tutorial: NVIDIA Optimus - ArchWiki
Today, I updated my system, and the xorg-server was updated to 1.17.1 from 1.16
I asked to remove the xf86-video-modesetting package, and I push yes.
The update completed, I rebooted the laptop, and now, the X not starting.
I read that xorg-server 1.17 now has included the modesetting driver, but I can't get to work my system.
What should I do to work again with only the nVidia GPU?

Offline

#17 2015-02-16 10:05:46

HNKNTA
Member
Registered: 2011-03-28
Posts: 2

Re: xorg-server conflicting with modesetting

Guys! Please check intel-virtual-output, can it run with new xorg? I got
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 20 requests (20 known processed) with 0 events remaining.

Offline

#18 2015-02-16 18:48:44

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

Re: xorg-server conflicting with modesetting

The wiki has been updated, and the modesetting inustructions removed: https://wiki.archlinux.org/index.php/NV … ing_nvidia

I'm not sure if it works though

Offline

#19 2015-02-16 21:03:20

hal9king
Member
Registered: 2015-02-16
Posts: 3

Re: xorg-server conflicting with modesetting

I'm still having to 'tcp listen' problem.  It was working before the upgrade, now it acts like its hardcoded to 'tcp -nolisten'.
Any ideas of a work around?  My guess is that there is a config entry somewhre to enable -- but where?
(I.ve tried the 'usual suspects', the display manager and xserverrc).

Offline

#20 2015-02-16 21:57:55

yetanothergeek
Member
Registered: 2008-12-11
Posts: 13

Re: xorg-server conflicting with modesetting

hal9king wrote:

I'm still having to 'tcp listen' problem.  It was working before the upgrade, now it acts like its hardcoded to 'tcp -nolisten'. Any ideas of a work around?

Had the same problem here, but it works if I add -listen tcp directly to the startx command line:

startx -- -listen tcp

Offline

#21 2015-02-17 00:14:08

hal9king
Member
Registered: 2015-02-16
Posts: 3

Re: xorg-server conflicting with modesetting

Thanks for the tip, I had to put -listen tcp in the lxdm.conf file and bow works fine.
Had to use the experimental arg optin as the tcp_listen=1 command no longer works
dues to the change in the Xorg defalut from 'tcp-listen' being on thereby requiring
then -nolisten option to turn it off.

security mad sys-admin's strike again!

Offline

#22 2015-02-17 19:46:06

Dalian
Member
From: Romania
Registered: 2015-01-31
Posts: 18

Re: xorg-server conflicting with modesetting

did anyone reach a concrete fix yet ? I tried downgrading xorg and installing modesetting from AUR but that didn´t seem to work. And bumblebee is giving me headaches.

Last edited by Dalian (2015-02-17 19:46:35)

Offline

#23 2015-02-18 17:19:31

almandin
Member
Registered: 2014-02-23
Posts: 29

Re: xorg-server conflicting with modesetting

Same problem here, my xorg server can't start now since the update. (lightdm doesn't start, failing at boot)

Offline

#24 2015-02-18 18:24:39

kabads
Member
Registered: 2012-09-22
Posts: 267
Website

Re: xorg-server conflicting with modesetting

I fixed it by adding the option specified on the wiki -

Option "AccelMethod" "none"

in the Device section for the Intel section.

https://wiki.archlinux.org/index.php/NVIDIA

Offline

#25 2015-02-19 11:01:30

almandin
Member
Registered: 2014-02-23
Posts: 29

Re: xorg-server conflicting with modesetting

Problem solved here !
I just removed "nomodeset" in my boot config line ...

Offline

Board footer

Powered by FluxBB