LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   fglrx driver monitor hot-plugging issue (https://www.linuxquestions.org/questions/linux-hardware-18/fglrx-driver-monitor-hot-plugging-issue-4175513714/)

niowluka 08-06-2014 08:27 AM

fglrx driver monitor hot-plugging issue
 
Hi everyone,

Newly registered on the forum, although I have been visiting for years, and found lots of helpful tips, so Thank You.

I now have a problem I can't find a solution to, so I'm counting on you guys ;)

I have a Gigabyte motherboard with integrated Radeon HD 4250 graphic card. Used that for some 3 years now with open source driver, in Arch and Mint.

Recently I bought a PCI Radeon R7 260X, and I have a few troubles with it.
The radeon driver works OK, but it does leave some artifacts on text sometimes (e.g. black square instead of a letter), and it crashed a couple of times while watching a movie.
So I tried fglrx and so far it works well, but it does have a couple of other small issues, one of which below.

I use double screen setup, a DVI/HDMI monitor and HDMI tv (left to right). Both are permanently connected, although TV is off most of the time. Now, when I switch off the monitor (or change source to my work laptop), and then switch back on, fglrx detects hot-plug event and briefly messes up the resolution. It ends up with a correct one, but by that time all windows would have moved to the right, that includes conky and trayer, with the latter ending up half on monitor and half on tv. I have to log out (or restart those two) in order for them to get back to position.
I tried Xinerama, which worked, but can't enable compositing with it. I am happy to use fixed output, regardless of whether the screens are on or off, which seemed to be the case with radeon driver.

Is there a way to disable the monitor hot-plugging ?

Linux Mint 17 64b
kernel 3.15.8 vanilla
Catalyst 14.6 beta, compiled
X 1.15
xorg.conf as created by aticonfig/amdcccle

mostlyharmless 08-06-2014 01:54 PM

I would imagine the driver is putting things where it thinks they're supposed to be with your "new screen" combining both screens and therefore in the middle of both. How did you setup your dual monitor setup with aticonfig?
I see there are a few options, eg. mirroring, extending.

There's a few different things to try here:
http://wiki.cchtml.com/index.php/Configuring

and a boat load of troubleshooting tips here:
https://wiki.archlinux.org/index.php/AMD_Catalyst

but perhaps you've seen all that before?

niowluka 08-06-2014 03:16 PM

1 Attachment(s)
Yeah, I have... But thanks :)

I use extended desktop, tv to the right of the monitor. I attached xorg.conf file but it's very basic, really. Actually, if I don't use xorg.conf, at startup all works fine as well, and when I disconnect / connect the monitor, the resolution also gets screwed, but until I manually fix it with xrandr. The screen seems to be split in half until then, with black on the right and below...

So now that I think of it, it's not related to xorg.conf but to driver itself, which would mean it can't be changed... Unless there are some kernel options...


I am now experimenting with dual head set up, i.e. connect tv to integrated HD 4250 and monitor to R7 260X, but X will not detect anything connected to HD 4250 for some reason...

niowluka 08-20-2014 03:21 PM

Shameless bump...

I tried dual head, but can't get to output to both cards at the same time, neither in tty nor in X. It's always one card at a time.

I tried nomodeset, disabling acpi in aticonfig, using atieventsd with acpi, disabling randr in xorg.conf... no avail. udev and kernel don't detect anything, but fglrx insists on detecting the event and messing everything up.


All times are GMT -5. The time now is 02:50 AM.