Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grainy looking graphics
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
Mystic
n00b
n00b


Joined: 30 Oct 2003
Posts: 21
Location: Benson, MN USA

PostPosted: Fri Nov 07, 2003 3:30 pm    Post subject: Grainy looking graphics Reply with quote

Well, I just got KDE running WooT! But now my problem is that the graphics all look kinda grainy. This is my first time messing around with X files (hehe) and I was wondering what kinda of things might help me fix this. I have the nvidia drivers installed as well and it still looks like this.

Basicly just wondering what I can tweak.

Thank you
_________________
I'm not a slacker, I'm just doing what I do best.
Back to top
View user's profile Send private message
mattschwartz
n00b
n00b


Joined: 07 Nov 2003
Posts: 29

PostPosted: Fri Nov 07, 2003 3:56 pm    Post subject: Two things Reply with quote

Seems like it could be one of two things: resolution or color depth. First try holding Ctrl and Alt and pressing +. Do it a few times and see if there's any improvement. That cycles through resolutions so you can easily see if one is better than another. Also try setting the default color depth in your XF86Config file to a higher number if available. Check the list of all color depths you have set. I have NVidia also (the nvidia driver, not nv) and it defaults to 24 IIRC, but has the option for 8 and 16. Set the default to the highest available (should be 24 or 32) and see if the grainyness goes away.

Also, are you using the nvidia driver or nv? They both look the same to me (just nv is not accelerated) but maybe on yours there's a difference.
_________________
Plenty of reasons to not use Microsoft software
Back to top
View user's profile Send private message
Mystic
n00b
n00b


Joined: 30 Oct 2003
Posts: 21
Location: Benson, MN USA

PostPosted: Fri Nov 07, 2003 4:12 pm    Post subject: Reply with quote

I tried the Ctrl-Alt + and that didn' t help. I just checked my config and I see the Depths you talking about but I don't see a place were it says which one I'm using atm.
_________________
I'm not a slacker, I'm just doing what I do best.
Back to top
View user's profile Send private message
gyaikhom
n00b
n00b


Joined: 06 Jul 2003
Posts: 19
Location: Edinburgh

PostPosted: Fri Nov 07, 2003 5:59 pm    Post subject: Reply with quote

I am interested in knowing your graphics driver, monitor resolution. I use nvidia GForce 2 Go, 1600x1200 resolution. Here is part of my XF86config. See if it is useful.

Code:

Section "Screen"
   Identifier "DellScreen"
   Device     "nVidia"
   Monitor    "DellMonitor"
   DefaultDepth     24
   SubSection "Display"
      Depth     8
      Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     15
      Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     16
      Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     24
      Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection


So, it will use the depth 24, specified in DefaultDepth. Then, for that depth, it will use the first in the Modes list... and continue till it finds the most appropriate one. So, in my case, it checks for "1600x1200", and bingo! it is appropriate. :lol: So, you can check out changing the DefaultDepth and the Modes. It is good that at least, your X is working. That's the difficult part.

And, XDM, GDM starts X with different dpi. Set it to a consistent dpi. For me, I use 'X -dpi 100'.[/list]
Back to top
View user's profile Send private message
Mystic
n00b
n00b


Joined: 30 Oct 2003
Posts: 21
Location: Benson, MN USA

PostPosted: Fri Nov 07, 2003 10:47 pm    Post subject: Reply with quote

I'm using the nvidia driver on a GeForce 4 MX 420, 1024 x 768 reso (for now, I plan on going higher).

I tried your Config setting and they don't work for me. The DefaultDisplay is unknown on my box.

Here is my entire Config file....

Code:
Section "ServerLayout"
   Identifier     "XFree86 Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
   Load  "record"
   Load  "extmod"
   Load  "dbe"
   Load  "glx"
   Load  "xtrap"
   Load  "type1"
   Load  "speedo"
#   Load  "dri"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver         "keyboard"
   Option    "XkbModel"    "pc104"
   Option    "XkbLayout"    "us"
EndSection

Section "InputDevice"
   Identifier     "Mouse0"
   Driver      "mouse"
   Option          "Protocol"       "auto"
   Option          "Device"          "/dev/mouse"
   Option         "ZAxisMapping"    "4 5"
EndSection

Section "Monitor"
#   DisplaySize     360   270   # mm
   Identifier      "Monitor0"
   VendorName   "AOC"
   ModelName       "9K"
   Option          "DPMS"
   ModeLine      "1280x1024/100Hz" 181.75 1280 1312 1440 1696 1024 1031 1046 1072  -HSync -VSync
   ModeLine      "1024x768/100Hz" 115.5 1024 1056 1248 1440 768 771 781 802  -HSync -VSync
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
   Identifier     "Nvidia GeForce"
   Driver            "nvidia"
   VendorName  "nVidia Corporation"
   BoardName      "NV17 [GeForce4 MX 420]"
   BusID          "PCI:1:0:0"
    Option       "NvAGP" "3"
#   Option     "SWcursor"              # [<bool>]
#   Option     "HWcursor"              # [<bool>]
#   Option     "NoAccel"               # [<bool>]
#   Option     "ShowCache"         # [<bool>]
#   Option     "ShadowFB"              # [<bool>]
#   Option     "UseFBDev"              # [<bool>]
#   Option     "Rotate"                # [<str>]
#   Option     "VideoKey"              # <i>
#   Option     "FlatPanel"             # [<bool>]
#   Option     "FPDither"              # [<bool>]
#   Option     "CrtcNumber"            # <i>
EndSection

Section "Screen"
   Identifier       "Screen0"
   Device        "Nvidia GeForce"
   Monitor       "Monitor0"
   SubSection    "Display"
      Depth     1
      Virtual 0 0
   EndSubSection
   SubSection    "Display"
      Depth     4
      Virtual 0 0
   EndSubSection
   SubSection    "Display"
      Depth     8
      Virtual 0 0
   EndSubSection
   SubSection    "Display"
      Depth     15
      Virtual 0 0
   EndSubSection
   SubSection    "Display"
      Depth     16
      Virtual 0 0
   EndSubSection
   SubSection    "Display"
      Depth     24
      Virtual 0 0
   EndSubSection
EndSection

Section "ServerFlags"

EndSection


Quote:
And, XDM, GDM starts X with different dpi. Set it toa consistent dpi. For me, I use 'X -dpi 100


Where exactly do you do that at? I tried it at the command line and and X did start up, but its just a black screen hehe. Also for some reason, my mouse protcol "auto" never saves between sessions. It always gets reset to "" ???

And for the last of this message :P I seem it get alot of error looking stuff when I Ctrl+Alt+Backspace out of X. Is that normal as well?

Thank you very much for the Info so far.
_________________
I'm not a slacker, I'm just doing what I do best.
Back to top
View user's profile Send private message
mike4148
l33t
l33t


Joined: 09 Sep 2003
Posts: 641

PostPosted: Fri Nov 07, 2003 11:30 pm    Post subject: Reply with quote

Add this line somewhere in your "Screen" section:
Code:
DefaultDepth 24

Otherwise, X defaults to 8-bit color, which is undoubtedly what you're seeing.
Back to top
View user's profile Send private message
Mystic
n00b
n00b


Joined: 30 Oct 2003
Posts: 21
Location: Benson, MN USA

PostPosted: Fri Nov 07, 2003 11:44 pm    Post subject: Reply with quote

Go figure...it was the DefaultDepth :P

Even though oddly....I had that in there before and it caused an error...oh well! it works now!!! *hands out beers to everyone*

Thank for all the help guys!
_________________
I'm not a slacker, I'm just doing what I do best.
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