Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg nouveau: works but with terrible flickering
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kennethB
n00b
n00b


Joined: 06 Jan 2015
Posts: 5

PostPosted: Fri Jan 09, 2015 10:50 am    Post subject: Xorg nouveau: works but with terrible flickering Reply with quote

Hello all, I'm having a strange problem when trying to use nouveau drivers for my NVidia card.

First of all, after enabling the nouveau support in the kernel I started getting the "waiting for uevents to be processed" behavior (https://forums.gentoo.org/viewtopic-t-955618-highlight-waiting+uevents+processed.html). Escaping out of it with Ctrl-C, I startx, but get a flickering screen. The X server is working and displaying keyboard actions but the flickering slows things down greatly. The Xorg logs do not contain error lines, but the lines

Quote:
[ 344.789] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 344.840] removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1
[ 344.889] removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1


are spawned over and over again. So it's constantly adding and removing a nonexistent GPU device. Could someone tell me how to stop that?

Here's my xorg.conf.d/10-main.conf:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
   # ModulePath     "/usr/lib/xorg/modules/extensions/nvidia"
   # ModulePath     "/usr/lib/xorg/modules"
    FontPath       "catalogue:/etc/X11/fontpath.d"
    FontPath       "built-ins"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Samsung"
    ModelName      "CRT-1"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
    Option         "PreferredMode" "1024x768"
EndSection

Section "Device"
    Identifier     "Device0"
    Option         "UseEDID" "false"
    Option         "VGA-0" "Monitor0"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 630"
   
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "1024x768 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "DRI"
    Group          0
    Mode           0666
EndSection


Thank you!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 09, 2015 12:56 pm    Post subject: Reply with quote

You do not need xorg.conf, try without it.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
kennethB
n00b
n00b


Joined: 06 Jan 2015
Posts: 5

PostPosted: Fri Jan 09, 2015 3:50 pm    Post subject: Reply with quote

Jaglover,
that didn't help. It's still flickering.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri Jan 09, 2015 4:45 pm    Post subject: Reply with quote

Do you have several graphics chips connected to your system? What does "lspci -k" say?
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Fri Jan 09, 2015 5:39 pm    Post subject: Reply with quote

Through out keyboard and mouse and insert evdev in this line

Code:
INPUT_DEVICES="evdev"


of your make.conf, if you haven't already.
For this case, recompile your world with -DuvaN options.

Just a shot in the dark, cause the syntax of your xorg.conf.d/10-main.conf

Much success, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
omghaxzs
n00b
n00b


Joined: 04 Mar 2015
Posts: 1

PostPosted: Wed Mar 04, 2015 6:40 am    Post subject: Reply with quote

Not sure if you're still running into this issue, but this may help the next person looking for info on this error.

I ran into this when I was trying to have nouveau and nvidia proprietary coexist but use nouveau exclusively (compiled nouveau as a module and prevented nvidia from being loaded via /etc/modules.d or /etc/modules-load.d)
Everything ran cool with Xorg but I was seeing that "removing GPU device error" along with a lot of fuss coming from journalctl and syslog about the nvidia module trying to load while nouveau had already registered the card.

What I observed was Xorg listening to udev constantly add and remove the nvidia GPU, this was confirmed by the spam coming from 'udevadm monitor.'
Later I learned that the nvidia-drivers package installs a udev rule in /lib/udev/rules.d/99-nvidia.rules that was causing this constant add/removal in udev.

Commenting out the rules in that file stopped the spam and Xorg mesasges for me. When I want to use nvidia I'll probably add those back.

With that said, I don't know what the context of your install is like (all I know is you're trying to use nouveau) but I was experiencing this issue and that was how I solved it.
Hope this provides some help to some without having to dig like I did (although you should, its good for you :D )

-omghaxzs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum