VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: slow youtube / changing xorg driver [solved]  (Read 5187 times)

mr_volvo

  • Member
  • *
  • Posts: 36
slow youtube / changing xorg driver [solved]
« on: January 29, 2008, 04:02:27 am »

Hi,
I'm still loving my 5.9 experience but...

youtube (and all the other flash vid sites) is basically unwatchable, the frame rate is ridiculously slow and thus I have been under the impression for the last 2 weeks thats every new music filmclip is stop motion. Now I think that this is a driver issue as (as I mentioned in another post) the screen sometimes gets a bit funky with black and white lines appearing randomly until that section of the screen is redrawn.
the only difference between my 5.8soho xorg and my 5.9 xorg is the driver section:

5.8
Code: [Select]
Driver      "i810"
5.9
Code: [Select]
Driver      "intel"
Now excuse my naïvety but I just changed the above section (intel to i810), restarted, and nothing had improved. Have I proven that it isn't a driver issue, or have I just proven that I'm still learning?

Any help would be appreciated I don't really know what to try next.
« Last Edit: February 19, 2008, 03:56:36 am by mr_volvo »
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: slow youtube / changing xorg driver
« Reply #1 on: January 29, 2008, 06:31:58 am »

mr_vovlo,
Try the vesa driver first. the intel drivers are pretty bad on some cards.
there are a lot of driver options that you can try if the vesa driver doesnt work for you then let us know what chipset your video card uses and we can try and figure it out from there.
Logged

mr_volvo

  • Member
  • *
  • Posts: 36
Re: slow youtube / changing xorg driver
« Reply #2 on: January 29, 2008, 05:49:11 pm »

Thanks uelsk8s, I changed to the vesa driver xorg.conf in vasm and I couldn't get X to start at all. Apprently, the graphics chip inside is an Intel i830M.
Any thoughts?
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: slow youtube / changing xorg driver
« Reply #3 on: January 29, 2008, 05:53:38 pm »

post the putput of "lspci|grep VGA" ran as root.
I have never heard of a chipset that wouldnt run with the vesa driver.
try editing the file as root and changing the Driver      "i810" to Driver      "vesa"
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: slow youtube / changing xorg driver
« Reply #4 on: January 30, 2008, 01:02:07 am »

I have never heard of a chipset that wouldnt run with the vesa driver.
My ATI mobility Radeon x2300 doesn't work with vesa either.
Logged
Most music on my soundcloud page was arranged in programs running on VL.

mr_volvo

  • Member
  • *
  • Posts: 36
Re: slow youtube / changing xorg driver
« Reply #5 on: January 30, 2008, 01:17:57 am »

Thanks for the continued help.
Once again I couldn't get vesa to work, the error was 'No Screens Found' after i typed startx back in the console.

Code: [Select]
root:# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 04)


« Last Edit: January 30, 2008, 01:24:22 am by mr_volvo »
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: slow youtube / changing xorg driver
« Reply #6 on: January 30, 2008, 09:27:43 am »

try commenting out the dri lines in your xorg.conf file there should be a few
#Load "dri"
and
#Section "DRI"
#Mode 0666
#EndSection
you can also try lowering your default depth to 16 instead of 24
« Last Edit: January 30, 2008, 09:33:48 am by uelsk8s »
Logged

mr_volvo

  • Member
  • *
  • Posts: 36
Re: slow youtube / changing xorg driver
« Reply #7 on: January 30, 2008, 07:16:20 pm »

wow, I just broke X!

I had edited out the DRI entries in xorg.conf when I came across an intel driver pack at linuxpackages. That was a mistake. Now I get an error about a module being unable to load whichever driver I select. Running vasm autoconfig doesn't fix it (neither does switching to the vesa conf) so I think I have messed up my drivers fairly well. But it is ok, I was having fun messing around with stuff and now I have an excuse to do less work. I'm at work without my cd drive so I guess my original problem is put on hold for a couple of days; until I can reinstall vector.

But I'm still wondering why the problem (poor vid card drivers/poor frame rate) wasn't apparent in 5.8. Is there a list of drivers that have been removed from the base install? Is it possible to install another distro and  steal the drivers? I'm quite happy to do some compiling and configuring to get it to work it just baffles me how I could lose support for the chip.

Thanks again. Perhaps this means I will just have to learn how to do all my work from the console. vi and wget here i come!

 
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: slow youtube / changing xorg driver
« Reply #8 on: January 31, 2008, 06:23:27 am »

wow, I just broke X!

I had edited out the DRI entries in xorg.conf when I came across an intel driver pack at linuxpackages. That was a mistake. Now I get an error about a module being unable to load whichever driver I select. Running vasm autoconfig doesn't fix it (neither does switching to the vesa conf) so I think I have messed up my drivers fairly well. But it is ok, I was having fun messing around with stuff and now I have an excuse to do less work. I'm at work without my cd drive so I guess my original problem is put on hold for a couple of days; until I can reinstall vector.

But I'm still wondering why the problem (poor vid card drivers/poor frame rate) wasn't apparent in 5.8. Is there a list of drivers that have been removed from the base install? Is it possible to install another distro and  steal the drivers? I'm quite happy to do some compiling and configuring to get it to work it just baffles me how I could lose support for the chip.

Thanks again. Perhaps this means I will just have to learn how to do all my work from the console. vi and wget here i come!
we have not removed any drivers.
if you google your card you will see many problems across all distro's.
if you look at the man page for intel you will see all the options you can try.
Logged

mr_volvo

  • Member
  • *
  • Posts: 36
Re: slow youtube / changing xorg driver
« Reply #9 on: February 04, 2008, 03:03:09 am »

You are correct uelsk8s, from what I've read these past few days it appears to be a problem with newer versions of X. That said I'm not about to downgrade as I guess that would be a sure fire way to mess up my otherwise working installation. I guess im stuck for a bit.

Cheers for the help.
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: slow youtube / changing xorg driver
« Reply #10 on: February 04, 2008, 07:20:18 am »

if your willing to try a few things I think you can find something that will work there.
the first thing i would try is to open the file /etc/profile.d/vasm.sh and comment out the last line
then save it and reboot, and open a terminal and try a few things out if all  that is ok open a full screen app and see if its better or worse. If its better leave it if not change it back and reboot.

the next thing to try would be the driver options in xorg.conf.
here is a good device section to start with. it has the extra driver options commented out.
Code: [Select]
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "CacheLines"          # <i>
        #Option     "Dac6Bit"            # [<bool>]
        #Option     "DRI"                # [<bool>]
        #Option     "NoDDC"              # [<bool>]
        #Option     "ShowCache"          # [<bool>]
        #Option     "XvMCSurfaces"        # <i>
        #Option     "PageFlip"            # [<bool>]
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "82830 CGC [Chipset Graphics Controller]"
BusID       "PCI:0:2:0"
EndSection
try going through them and enabling the options like this
Code: [Select]
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "CacheLines"          # <i>
        #Option     "Dac6Bit"            # [<bool>]
        #Option     "DRI"                # [<bool>]
        #Option     "NoDDC"              # [<bool>]
        #Option     "ShowCache"          # [<bool>]
        #Option     "XvMCSurfaces"        # <i>
        #Option     "PageFlip"            # [<bool>]
        Option      "Legacy3D"               "True"
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "82830 CGC [Chipset Graphics Controller]"
BusID       "PCI:0:2:0"
EndSection

there are more options in the intel man page. I think the Legacy3d option would be good for your card.

HTH, and let us know how it goes
Uelsk8s
Logged

mr_volvo

  • Member
  • *
  • Posts: 36
Re: slow youtube / changing xorg driver
« Reply #11 on: February 06, 2008, 03:23:53 pm »

Thanks for this, I'll go through all the options on the weekend. For now I have enabled legacy 3d and while I haven't noticed a massive improvement at least it hasn't broken X. What would I be losing if I tried to install a previous (<7) version of X? I was wondering as I'm not trying to run compiz or anything particularly taxing or new at the moment. I don't even watch dvd's, just the odd downloaded movie.
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: slow youtube / changing xorg driver
« Reply #12 on: February 06, 2008, 04:01:58 pm »

I dont think you would be losing anything, but there is no guarantee that a version of X <7 will work on 5.9 at all.
Logged

mr_volvo

  • Member
  • *
  • Posts: 36
Re: slow youtube / changing xorg driver
« Reply #13 on: February 19, 2008, 03:55:54 am »

So legacy 3d and removing the dri entries seems to have solved my funky black lines problem. I'm using the intel driver with 24 bit colour depth.

Now the flash problem turned out not to be a driver problem at all. As the following post suggests it was really just flash 9. I have downgraded to flash 7 and things are working well enough.
http://www.vectorlinux.com/forum2/index.php?topic=5611.0

Cheers.
Logged
Vector 5.8 SOHO on
Dell Latitude C400 (1Ghz, 256mb)