Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nouveau creates scrambled screen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 85
Location: Vienna

PostPosted: Fri Feb 18, 2011 5:31 pm    Post subject: nouveau creates scrambled screen Reply with quote

Hi!

In the last 5 years, whenever I update *any* Xorg package, there is a problem with the X server afterwards which needs several hours to fix - which actually is very frustrating (I'm thinking of not updating any X server files any more).

This time, from one day to the other, my nouveau driver just creates a scrambled screen with a Nvidia Geforce GTX 560 Ti - something that worked the day before :(. There's no error in Xorg0.log or similar, so I don't really know what's going on.

greetings

Philipp
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Sat Feb 19, 2011 6:05 pm    Post subject: Reply with quote

Do you happen to have KMS enabled in your kernel with a framebuffer also enabled?
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 85
Location: Vienna

PostPosted: Sat Feb 19, 2011 6:59 pm    Post subject: Reply with quote

KMS?
I have framebuffer enabled, but no hardware specific drivers are activated. So, framebuffer support -> yes, nvidia or similar -> no

Philipp
Back to top
View user's profile Send private message
Pitou
n00b
n00b


Joined: 18 Feb 2011
Posts: 7

PostPosted: Sat Feb 19, 2011 7:10 pm    Post subject: Reply with quote

I have the exact same problem.

Also, when I enable "nouveau" in the kernel (staging drivers), "support for framebuffer" gets selected automatically. No hardware specific drivers are activated though.

Pitou!
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Sat Feb 19, 2011 7:33 pm    Post subject: Reply with quote

According this this page, KMS (kernel mode setting) is enabled by default with the latest nouveau drivers:
http://nouveau.freedesktop.org/wiki/KernelModeSetting

This is good, but you need to make sure that you don't have another framebuffer enabled, like uvesafb, vesafb, etc. If you do, your display will get messed up in the way you were describing.

...of course there are other ways for the display to get messed up, but let's start with this :wink:
Back to top
View user's profile Send private message
Pitou
n00b
n00b


Joined: 18 Feb 2011
Posts: 7

PostPosted: Sat Feb 19, 2011 7:43 pm    Post subject: Reply with quote

Thanks for the hint. And where should we disable uvesafb and vesafb?

Pitou!
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Sat Feb 19, 2011 11:28 pm    Post subject: Reply with quote

Those options are found under:
Code:

Device Drivers
   -> Graphics support
     -> Support for frame buffer devices
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 85
Location: Vienna

PostPosted: Tue Feb 22, 2011 2:54 pm    Post subject: Reply with quote

well - I don't have any framebuffer devices enabled. The more interesting part is that the X Server already worked, but stopped working after a nouveau-driver update (without changing anythin in the kernel). So I'm suspecting that it's the drivers fault.

greetings

Philipp
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3573
Location: Dallas area

PostPosted: Tue Feb 22, 2011 3:07 pm    Post subject: Reply with quote

What does "grep FB /usr/src/linux/.config" return?

What does "emerge -pv nouveau-drm" return?

Is nouveau compiled as module or built-in?
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon


Last edited by Anon-E-moose on Tue Feb 22, 2011 3:12 pm; edited 4 times in total
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Tue Feb 22, 2011 3:08 pm    Post subject: Reply with quote

Ok, well the framebuffer was a good shot. I take it that these issues came after the recent upgrade to xorg-server-1.9? Have you tried to start X without an xorg.conf?

I would say to try and downgrade/upgrade xf86-video-nouveau, but there is only one version of the package in portage...
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Wed Feb 23, 2011 1:03 am    Post subject: Reply with quote

I enabled drm and framebuffers (per the nouveau wiki's
advice), but I did not enable any specific framebuffer
drivers (like vesafb, uvesafb, nvidiafb, etc). I enabled
the various framebuffer helpers. The nouveau driver
in staging has a built-in framebuffer that does not need
to be enabled with a separate kernel configuration option
(unlike intel, nvidia, etc), other than the not-hardware-specific
framebuffer support.

To get rid of the scrambled display, I unmerged

libdrm-2.4.23
xf86-video-nouveau_0.0.16_pre20101130
mesa-7.9.1

and replaced them with

libdrm-2.4.22
xf86-video-nouveau_0.0.16_pre20101010
mesa-7.9

When I start X, the scrambled display is no longer
scrambled.
_________________
TIA
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 85
Location: Vienna

PostPosted: Tue Mar 01, 2011 9:30 am    Post subject: Reply with quote

I've now switched to the nvidia drivers (though I have to use 270 with my graphics card). Works pretty fine - graphics are nicer than with nouveau...
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