Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to get beyond basic 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
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Thu Apr 02, 2009 2:27 am    Post subject: [SOLVED] How to get beyond basic graphics? Reply with quote

Hi All,

I'm trying to configure a Gentoo on an IBM NetVista, but cannot get more than 640x480, 8bit.

Here is what a dmesg gives:

Code:
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i810 E Chipset.
agpgart: Maximum main memory to use for agp memory: 148M
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt link [PIN 1] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI interrupt 0000:00:01.0[A] -> GSI 11 (level, low) -> IRQ 11
[drm] Initialized i810 1.4.0 20030605 on minor 0: Intel Corp. 82810E DC-133 CGC
[Chipset Graphics Controller]
ACPI: PCI interrupt 0000:00:01.0[A] -> GSI 11 (level, low) -> IRQ 11
I810FB: fb0          : Intel (R) 810E Framebuffer Device v 0.9.0
I810FB: Video RAM :4096K
I810FB: Monitor    : H: 29-30 KHz V: 60-60 Hz
I810FB: Mode       : 640x480-8bpp@60Hz


and lspci gives:
Code:
0000:00.01.0 VGA compatible controller Intel Corp. 82810E DC-133 CGC
[Chipset Graphics Controller] (rev 03)


I enabled frame buffers and compiled the driver in the kernel.

I am certain that I can have better performance, as a PuppyLinux CD is able to go for 1024x768x24 (or more, but I don't like the result).

What can I do?

Thanks for your suggestions,
SxN


Last edited by SxN on Sat Apr 04, 2009 4:05 am; edited 1 time in total
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2390
Location: Germany

PostPosted: Thu Apr 02, 2009 2:53 am    Post subject: Reply with quote

Hi SxN!

Take a look at this: gentoo-wiki.com-farembuffer

Especially the part with the grub/or_your_bootloader configuration.

Quote:

title=Gentoo Linux
root(hd0,0)
kernel /boot/bzImage root=/dev/hda3 video=uvesafb:ywrap,mtrr:3,1024x768-32@70


And if you want another Bootsplash... Fbsplash

Have Fun!
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Thu Apr 02, 2009 1:59 pm    Post subject: Reply with quote

Sorry I wasn't clear enough: I have troubles with the graphic performance in X; I mentioned that frame buffers are enabled just to give a complete picture of what configuration I have.

My concern is the X server.

Thanks,
SxN
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Thu Apr 02, 2009 2:27 pm    Post subject: Reply with quote

SxN wrote:
Sorry I wasn't clear enough: I have troubles with the graphic performance in X; I mentioned that frame buffers are enabled just to give a complete picture of what configuration I have.

My concern is the X server.

Thanks,
SxN


If the X server is the concern, your xorg.conf would be interesting.
So would emerge --info (Or more specifically your video_card entry)
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Fri Apr 03, 2009 3:26 am    Post subject: Reply with quote

From xorg.conf:
Code:
Section "Monitor"
        Identifier  "My Monitor"
   VendorName   "DELL"
   ModelName    "DELL  M781p"
   Option       "DPMS"
   HorizSync    30.0-85.0
   VertRefresh  50.0-85.0
   Option      "PreferredMode" "1024x768"
EndSection

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Intel Corporation"
    BoardName   "82810E DC-133 CGC [Chipset Graphics Controller]"
    Driver     "vga"
    BusID      "PCI:0:1:0"
    VideoRam   4096
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Standard VGA"
    Monitor     "My Monitor"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection


From emerge --info
Code:
USE="x86 ... video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_intel video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo ..."


SxN
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Apr 03, 2009 3:40 am    Post subject: Reply with quote

Having a line in your xorg.conf that says : Driver "vga"
is probably not what you want.

Try letting xorg generate a config file for you, and see if it works better.
Code:
# X -configure
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Fri Apr 03, 2009 7:37 am    Post subject: Reply with quote

There's no point in having ALL drivers enabled.
Set video_cards="intel"

Like cyrilic said, vga is probably not what you want.
I'd try setting it to vesa.
And trying X -configure is also a good idea :)

However, I've never had much luck with autoconfigure, I'd probably try going to x.org 1.5.3 first, it's gonna go stable "some time soon" anyway.
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 594

PostPosted: Fri Apr 03, 2009 10:07 pm    Post subject: Reply with quote

Letharion wrote:
There's no point in having ALL drivers enabled.
Set video_cards="intel"

Like cyrilic said, vga is probably not what you want.
I'd try setting it to vesa.
And trying X -configure is also a good idea :)

If he's got an i810, then he wants 'Driver "intel"'.
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Fri Apr 03, 2009 11:07 pm    Post subject: Reply with quote

Carnildo wrote:
Letharion wrote:
There's no point in having ALL drivers enabled.
Set video_cards="intel"

Like cyrilic said, vga is probably not what you want.
I'd try setting it to vesa.
And trying X -configure is also a good idea :)

If he's got an i810, then he wants 'Driver "intel"'.


and change your default depth to 24 and if you don't get the results you want post the result of

cat /var/log/Xorg.0.log | grep -i EE
Back to top
View user's profile Send private message
SxN
Apprentice
Apprentice


Joined: 08 Jan 2007
Posts: 165
Location: Toronto, ON, Canada

PostPosted: Sat Apr 04, 2009 4:15 am    Post subject: Reply with quote

Hi All,

Thanks for your suggestions, I am a happy camper now.

At first I tried the "intel" driver (copied after PuppyLinux' xorg.conf), but I got an error message of the "unknown driver" type. That's why I put "vga".

But, after running an X -configure, I found the needed inspiration. The configuration file generated wasn't working either, but the driver name was "i810". I put that in my xorg.conf, et voila, I'm writing now from my Gentoo.

In the version of xorg.conf that I published the default depth was 16 by chance, as I played with values (and 8 was the only one that worked).

Right now I have 1024x768x24, I will try an 1280x1024x32 a bit later.

Thanks. Danke. Domo arigato. Merci. Hvala...

SxN
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