comatose
comatose
comatose
comatose
hyenas
hyenas
hyenas
hyenas
Linux MintPPC Forums • View topic - weird colors in X on powerbook G4 alu

All times are UTC + 1 hour





Post new topic Reply to topic  [ 10 posts ] 
  Print view

weird colors in X on powerbook G4 alu
Author Message
PostPosted: Sat May 26, 2012 3:08 pm 
Offline

Joined:Sat May 26, 2012 2:27 pm
Posts:6
Hi all,

I'm having some issues with colors in X: please see the attached screenshot (taken with a camera).

I've just finished installing MintPPC 11 on my Powerbook G4 Aluminium 12" which ships an Nvidia Geforce 4 MX video board. I previously ha plain Debian installed, using the nv driver, and everything worked fine. Now nouveau is provided by default and switching back to nv is impossible due to a broken dependency.

Some programs aren't even showing a content in their window.

Some others work fine, for example the Gimp shows a good quality picture (only with a reduced bit depth, maybe 16?)

Everything went fine with debian-installer, except I had a notification toward the end of the process (see the second snapshot).

Can someone help please?
Thank you!


Attachments:
File comment: warning during install
shot2.JPG
shot2.JPG [ 148.81 KiB | Viewed 663 times ]
File comment: weird colors in X
shot1.JPG
shot1.JPG [ 235.88 KiB | Viewed 663 times ]
Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Sat May 26, 2012 4:29 pm 
Offline

Joined:Wed Jun 15, 2011 10:57 pm
Posts:403
Location: SoCal
Mischa: You probably need to install the proper Xorg.conf file for your machine. You could try search the database here and see if someone has your same machine and see if they list what that file is which would be something like "(mac.linux.be) powerbook6.txt" . . . (that's just an example from memory) . . . . Or hopefully JD will be along and he might be able to tell you which file to use.

e.e.p.

_________________
iBook G4 933 MHz 640MB SDRAM [14e4:4320] BCM 4306/3 b/g. xorg config: http://mac.linux.be/files/xorg/ibook7.txt--MintPPC11
iMac G4 800 MHz 512?MB RAM http://www.everymac.com/imac//imac_800_fp.html


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Sat May 26, 2012 6:52 pm 
Site Admin
Offline

Joined:Fri Oct 08, 2010 3:45 pm
Posts:2744
you need an xorg.conf file based on the nouveau driver. My own compiled nv driver is broken at the moment. You will most likely use nouveau anyway, but apparently your computer needs an xorg.conf file.

Try this one and replace nv by nouveau. In a terminal:

Code:
su

login with root password
Code:
wget http://mac.linux.be/files/xorg/powerbook4.txt
nano powerbook4.txt

you enter a text editor, replace 'nv' by 'nouveau'
CTRL-X and "y" to save
Code:
mv powerbook4.txt /etc/X11/xorg.conf
reboot

if that does not work, please add the file
/var/log/Xorg.0.log here in this thread


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Sun May 27, 2012 10:38 pm 
Offline

Joined:Sat May 26, 2012 2:27 pm
Posts:6
EEP and JD, thank you so much for your help.
JD, I did as you suggested, and X failed to start; but then I removed the "Device" section altogether and it worked great! :) I did so because I felt it was just a matter of setting the color depth, and in fact it seems that everything's working now.

I also tried to manually fix the problem i had with debian-installer and it seems there's a bug in the system of dependencies, in this sense: package "mint-artwork-gnome" depends on a "gtk2-engines-clearlooks" which really doesn't exist, because engine clearlooks is shipped together with "gtk2-engines".
However, manually installing all the requested engines did the trick.

Now, only some programs seem to expect that gtk theme is set by gnome (they don't use the one I choose, they fall back to the default theme). Among them, Abiword, gnome-mplayer and some utilities like "date and time".
Do you have any suggestions to fix their appearance to fit my theme?

Thank you again!


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Tue May 29, 2012 12:07 pm 
Offline

Joined:Sat May 26, 2012 2:27 pm
Posts:6
So, there are still some (not so) minor things currently not working in my install:

- xsane crashes openbox (but luckily Simple Scan works fine)

- xscreensaver-demo won't start, apparently because of problems with gtk:


Code:
xscreensaver-demo: 12:35:00: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:00: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:00: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:01: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:01: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:01: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:01: Gtk-warning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
xscreensaver-demo: 12:35:01: no widget "dpms_quickoff_button" (wrong Glade file?)
Annullato


- gnome apps look terrible (how to change gtk theme?)

- webcam has wrong colors in ekiga (but not in v4l control panel)

Any suggestion?

By the way, I've created an icon set for Powerprefs using icons from Mint-X theme, because the ones coming with the app look terrible...
Feel free to replace the existing ones and to redistribute.

Thank you to all.


Attachments:
File comment: Mint-X icon pack for powerprefs.
powerprefs_mint-x.tar.gz [15.05 KiB]
Downloaded 19 times
Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Thu May 31, 2012 12:04 am 
Offline

Joined:Sat May 26, 2012 2:27 pm
Posts:6
Quick update.

I just found out that LxAppearance takes care of gtk3 themes as well.
The fact was that the themes installed didn't cover gtk3.
So I installed the good looking Zukitwo-colors and every app has now the same look. :)

About powerprefs: IMHO, its .desktop entry should be modified so as to run the program as root, because changes cannot be saved if you launch it as a normal user.
I edited the line in /usr/share/applications/powerprefs.desktop as follows:
Code:
Exec=gksu -u root powerprefs


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Thu May 31, 2012 8:08 am 
Site Admin
Offline

Joined:Fri Oct 08, 2010 3:45 pm
Posts:2744
well done. I thought I had taken care of that. Will add it to my list again.


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Sat Jun 09, 2012 1:07 pm 
Site Admin
Offline

Joined:Fri Oct 08, 2010 3:45 pm
Posts:2744
Dou you know where the desktop file contents reside in the source file of a program like powerprefs ?


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Mon Jun 11, 2012 7:27 pm 
Offline

Joined:Sat May 26, 2012 2:27 pm
Posts:6
Sorry, I have no idea... I've tried to have a look inside the tarball but unfortunately I'm not a programmer...


Top
 Profile  
 

Re: weird colors in X on powerbook G4 alu
PostPosted: Mon Jun 11, 2012 8:03 pm 
Site Admin
Offline

Joined:Fri Oct 08, 2010 3:45 pm
Posts:2744
I looked into it too. There is no such thing, so it's added by some other protocol. I am sorry, but I cannot figure out this. The only thing I can do is change the file during installation. Maybe I will try that in the future.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


  Who is online

Users browsing this forum: Google [Bot] and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Style by web designer custom , optymalizacja seo pozycjonowanie stron pozycjonowanie
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
comatose
comatose
comatose
comatose
hyenas
hyenas
hyenas
hyenas