Main > Linux
Genres modeline generator and switchres dynamic modeline switcher
bitbytebit:
--- Quote from: Quinny on October 21, 2010, 01:03:54 pm ---
--- Quote from: bitbytebit on October 20, 2010, 08:52:04 am ---Yeah just search in google about it and you'll see this is a big problem with fglrx that lots of people run into. It likes to delete system files and doesn't uninstall cleanly so people have to end up reinstalling parts of X Windows after uninstalling fglrx. There seems to be plenty of information about it so something should help, but there's no quick easy clearcut way to clean up after fglrx from what I could tell unfortunately. I just kind of fiddled around with my system when setting it up, tried fglrx at first and it didn't work and took a day or so of mucking around and re-installing stuff till I got the radeon driver to work. Part of the key of getting working was the uninstalling fglrx and just reinstalling parts of X Windows/opengl/drm/dri and all those involved components for X. Just reinstall "Mesa" "libdrm" at first, those are the main ones it definitely overwrites, then recompile and install the xf86-ati driver over that. Then you might want to try recompiling/installing the xserver itself, but the one of course that came with your system most likely is the best one to use else the versions won't match with all the little parts of X Windows there are. The way that you installed fglrx hopefully gives a way to uninstall, and there's that uninstall script possibly that it installs which can be used but some say they can't find while others can (I'm not sure what I did exactly, but it was either the uninstall script or I found a command line arg in the install script they have to uninstall. It was a few months ago, and I have totally removed all traces of it from my system since then :) ).
--- End quote ---
Yeah, I'm definitely not so happy with my radeon now because I realize it won't do the waitforvsync option. The driver seems to not be able to support it through opengl, and so it won't do the vertical refresh rate and avoid tearing in Linux. I'm not sure if they have improved the radeon support in newer kernel versions or not. One thing to note is these arcade VGA cards don't work, as far as I can tell, with the new kernel modeline switching (KMS) option enabled. That is enabled by default on anything above 2.6.34 I think, and it's something else to watch for. Then again I also think that may make the radeon cards act better in newer kernels, but the ArcadeVGA card might be incompatible since it has non-standard bios/firmware on it. At least I suspect that, because so far in Linux everything says basically the Atom Bios is not correct and fails to get the memory buffer or something odd like that.
Thanks for the input. This is just being difficult I guess. I can boot into old linux versions, like 2.6.31, and get into vesa graphics mode. I was able to download the latest updates from synaptic but that hasn't helped anyway.
For some reason I can't use the vesa mode in the latest linux version and as for ati I haven't gotten that to work at all.
You'd think this would be easy, right? Even with no xorg.conf file I just get a boot to the xterm login.
--- End quote ---
Quinny:
--- Quote from: bitbytebit on October 21, 2010, 01:09:33 pm ---Yeah, I'm definitely not so happy with my radeon now because I realize it won't do the waitforvsync option. The driver seems to not be able to support it through opengl, and so it won't do the vertical refresh rate and avoid tearing in Linux. I'm not sure if they have improved the radeon support in newer kernel versions or not. One thing to note is these arcade VGA cards don't work, as far as I can tell, with the new kernel modeline switching (KMS) option enabled. That is enabled by default on anything above 2.6.34 I think, and it's something else to watch for. Then again I also think that may make the radeon cards act better in newer kernels, but the ArcadeVGA card might be incompatible since it has non-standard bios/firmware on it. At least I suspect that, because so far in Linux everything says basically the Atom Bios is not correct and fails to get the memory buffer or something odd like that.
--- End quote ---
What does a waitforvsync option do?
Ahhh haaaa!!! Yes, it is this kernel modeline switching thing which is preventing me from using vesa, and from what you say, preventing my card from working at all. How do I turn it off?
I haven't seen any messages about Atom Bios or memory buffers. Where do you see that?
Maybe this card needs a custom driver?
Quinny:
--- Quote from: Quinny on October 22, 2010, 08:56:07 am ---Ahhh haaaa!!! Yes, it is this kernel modeline switching thing which is preventing me from using vesa, and from what you say, preventing my card from working at all. How do I turn it off?
--- End quote ---
I turned it off with this command:
echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
And I am back in the GUI once again! I now realise all the changing of the xorg.conf I did over the past few days has been for naught as KMS was taking over and X did not get a chance.
My xorg is similar to the one in GenRes 0.11. Everything seems to be running smooth and at a good speed. I guess I can check out how the different resolutions go when I plug in my TV using a scart-vga cable I made. It uses composite sync, so would the waitforvsync issue affect me too?
bitbytebit:
--- Quote from: Quinny on October 22, 2010, 09:57:27 am ---
--- Quote from: Quinny on October 22, 2010, 08:56:07 am ---Ahhh haaaa!!! Yes, it is this kernel modeline switching thing which is preventing me from using vesa, and from what you say, preventing my card from working at all. How do I turn it off?
--- End quote ---
I turned it off with this command:
echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
And I am back in the GUI once again! I now realise all the changing of the xorg.conf I did over the past few days has been for naught as KMS was taking over and X did not get a chance.
My xorg is similar to the one in GenRes 0.11. Everything seems to be running smooth and at a good speed. I guess I can check out how the different resolutions go when I plug in my TV using a scart-vga cable I made. It uses composite sync, so would the waitforvsync issue affect me too?
--- End quote ---
Ah yeah, interesting, that KMS stuff crashes my card no matter what so much be some bug there in it. I sent a bug report to the drm people about that, hopefully they can figure out what is going on. That is needed if we want the waitforvsync to work with throttle off. This would allow the vsync to work properly through openGL supposedly. Although Also there's some thing about how rv500 and below GPU's can do vsync and page flipping but above that they can't in linux yet. So I'm looking into all that. Nvidia can't do the vsync either, and xrandr at the same time and looking at it the radeon driver is more stable and further along than the nvidia one.
I actually flashed my BIOS for my ArcadeVGA 3000 card today and made it a normal Radeon 2600 HD card and actually seems to be performing better now. I still can't get KMS to work so it seems it wasn't the odd bios that was doing it I guess.
Basically it should all work well for modeswitching and generally running but you won't be able to get the waitforvsync and throttle off to work properly, it'll just go full speed when setup like that. I still haven't seen a video card/software setup combo in Linux yet that can do all that and do xrandr modeswitching too. Which I'm still digging into things and looking for that possibility, should be possible, might be that whole RV500 or less GPU on the radeon issue and a card with one of those would work with vsync maybe. I tried to force vsync on, and it just locked up glxgears, so obviously they are turning it off for a reason I guess :).
bitbytebit:
Have ported this to C, modeline generation is looking much better than older versions, pretty decent modeline generator or mame wrapper and xrandr caller now. Test and report any feedback about problems or success.
Navigation
[0] Message Index
[*] Previous page
Go to full version