Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Augh! Tux is Pink!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
SyntheticDNA
n00b
n00b


Joined: 07 Nov 2002
Posts: 29
Location: Alaska

PostPosted: Wed Nov 27, 2002 2:04 am    Post subject: Augh! Tux is Pink! Reply with quote

When my machine boots, the little picture of Tux is mostly pink and other assorted colors - they almost seem to be the opposite of what they should be. What is wrong?

Also, when I tried to configure XFree86, it will not allow me to go beyond 8bit color. My GPU is a GeForce 2MX and I know it can do 24bit color. Yet when I tell XF86 to try even 16bit, it refuses to start. When in 8bit, the colors in KDE look like the opposite of what they should be too…possibly similar to little Tux’s problem?

I am using the "nv" drivers. Should I be using another one?

Thank You for any help!:)
_________________
If life gives you lined paper, write the other way...
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Nov 27, 2002 9:31 am    Post subject: Reply with quote

You should check your framebuffer settings in the kernel,
and the VGA=xxx command in your bootloader (lilo in my case).

For my GF, I use VESAFB, not rivafb, because I cannot change resolution properly usinf rivaFB.
My kernelconfig (x86) looks like this:
Quote:

#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CYBER2000 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_HGA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
# CONFIG_FBCON_MFB is not set
# CONFIG_FBCON_CFB2 is not set
# CONFIG_FBCON_CFB4 is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
# CONFIG_FBCON_VGA_PLANES is not set
# CONFIG_FBCON_VGA is not set
# CONFIG_FBCON_HGA is not set
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
CONFIG_FBCON_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set


And I boot with vga=791 (1024*768*16bits) in lilo.
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Wed Nov 27, 2002 10:36 am    Post subject: Reply with quote

About the X driver, you should be using the nvidia driver, and not the nv in order to get proper aceleration on the X server, although 8bits seems VERY WRONG! :wink:
Just do emerge -S nvidia and emerge them all :o
Back to top
View user's profile Send private message
SyntheticDNA
n00b
n00b


Joined: 07 Nov 2002
Posts: 29
Location: Alaska

PostPosted: Wed Nov 27, 2002 3:26 pm    Post subject: Reply with quote

darktux wrote:
Just do emerge -S nvidia and emerge them all :o


Sorry, I don't follow the "emerge them all." Or are you just saying emerge nvidia and let it go? Will I need to reconfigure XF86Config-4 or will it add those bits in for me?

Oh, AlterEgo, how do I check the kernelconfig?
Once again, Thank You :)
_________________
If life gives you lined paper, write the other way...
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Wed Nov 27, 2002 3:53 pm    Post subject: Reply with quote

SyntheticDNA wrote:
darktux wrote:
Just do emerge -S nvidia and emerge them all :o


Sorry, I don't follow the "emerge them all." Or are you just saying emerge nvidia and let it go? Will I need to reconfigure XF86Config-4 or will it add those bits in for me?

Oh, AlterEgo, how do I check the kernelconfig?
Once again, Thank You :)


Eeerm, you are running Gentoo right?
Then somewhere in the process you built a kernel right?
(You configured and compiled that kernel since your computer starts up.)
When you followed the install doc, you'd have run into a "configure the kernel" part . When you typed "make menuconfig" in the kernel source directory you were able to configure the kernel.
Repeating that will show you the config of the latest kernel you built (unless you did "make mrproper"). In a "chapter" called "Console drivers" -> "Frame-buffer support" you'll be able to set it to use vesa instead of riva. If you don't get what's going on here, I would suggest printing the gentoo install document and reading through it again ..
http://www.gentoo.org/doc/en/gentoo-x86-install.xml

About the nvidia driver: Info can be found here:
http://www.gentoo.org/doc/en/desktop.xml
(after code listing 2.10 in that file)

It basically emerging nvidia-kernel and nvidia-glx
and modifying your XF86Config file to contain nvidia instead of nv.

Good luck...
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Thu Nov 28, 2002 10:17 am    Post subject: Reply with quote

Incase no one noticed, this is the PowerPC section, meaning these should be Mac machines, and nvidia-kernel is marked as x86 ONLY!
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Thu Nov 28, 2002 10:54 am    Post subject: Reply with quote

uh oh... :oops:
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Nov 28, 2002 11:12 am    Post subject: Reply with quote

I am struck with shame....
:oops:

BTW: is the procedure for a PPC that much different except for the nvidia drivers?

Quote:

Incase no one noticed, this is the PowerPC section, meaning these should be Mac machines, and nvidia-kernel is marked as x86 ONLY!
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Thu Nov 28, 2002 3:22 pm    Post subject: Reply with quote

Yes, the procedures are very much different. The provided nvidia stuffs in portage are x86 only binaries

If your tux is pink, then you likely don't have the right console drivers setup or passed to kernel (it doesnt remap 8 bit correctly). You will likely have to pass the proper driver information to the kernel at boot time (something like video=rivafb etc), the exact syntac escapes me right now.

Also to use X you might want to look at the Xeasyconf page, it's not super easy with nvidia (the ppc dirvers suck pretty bad, but considering that nvidia didn't help the ppc driver writer and he did it all from trial and error they are not that bad).

Xeasyconf is at: http://gentoo.org/~gerk/xeasyconf/

Gerk
Back to top
View user's profile Send private message
SyntheticDNA
n00b
n00b


Joined: 07 Nov 2002
Posts: 29
Location: Alaska

PostPosted: Thu Nov 28, 2002 7:12 pm    Post subject: Yup, PPC Reply with quote

Yup, I am on PPC hardware. I thought it would be rather obvious this is in the PPC section, and I was kinda wondering about the x86 comments.:wink: I thought it was the same for every platform. Oh well.:roll: Thanks for everyone’s help anyway. :)
_________________
If life gives you lined paper, write the other way...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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